Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A sequence of more than one item is not allowed as the value of parameter $iri #32

Open
justin2004 opened this issue Feb 19, 2021 · 1 comment

Comments

@justin2004
Copy link

hello,

i am getting this error:

LODE error

Reason: A sequence of more than one item is not allowed as the value of parameter $iri ("http://www.w3.org/2004/02/skos...", "http://www.w3.org/2004/02/skos...") 

for this tiny ontology (which passes riot --validate):

<rdf:RDF
    xmlns:dct="http://purl.org/dc/terms/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:skos="http://www.w3.org/2004/02/skos/core#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:skosxl="http://www.w3.org/2008/05/skos-xl#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
  <owl:Ontology rdf:about="http://www.example.com/ont">
    <rdfs:label>an ontology</rdfs:label>
    <rdfs:comment>comment here</rdfs:comment>
  </owl:Ontology>
  <owl:AnnotationProperty rdf:about="http://www.w3.org/2004/02/skos/core#editorialNote">
    <rdfs:subPropertyOf>
      <owl:AnnotationProperty rdf:about="http://www.w3.org/2004/02/skos/core#note">
        <skos:scopeNote xml:lang="en">This property may be used directly, or as a super-property for more specific note types.</skos:scopeNote>
        <skos:definition xml:lang="en">A general note, for any purpose.</skos:definition>
        <rdfs:label xml:lang="en">note</rdfs:label>
        <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2004/02/skos/core"/>
      </owl:AnnotationProperty>
    </rdfs:subPropertyOf>
    <skos:definition xml:lang="en">A note for an editor, translator or maintainer of the vocabulary.</skos:definition>
    <rdfs:label xml:lang="en">editorial note</rdfs:label>
    <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2004/02/skos/core"/>
  </owl:AnnotationProperty>
</rdf:RDF>

full log:

____#### 8081 : http
Error on line 628 of extraction.xsl:
  XTTE0590: A sequence of more than one item is not allowed as the value of parameter $iri
  ("http://www.w3.org/2004/02/skos...", "http://www.w3.org/2004/02/skos...")
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#1946)
     processing /rdf:RDF/owl:AnnotationProperty[1]/rdfs:subPropertyOf[1]/owl:AnnotationProperty[1]/rdfs:label[1]
  at xsl:call-template name="get.entity.name" (file:///mnt/LODE/src/main/webapp/extraction.xsl#577)
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#663)
     processing /rdf:RDF/owl:AnnotationProperty[1]/rdfs:subPropertyOf[1]/owl:AnnotationProperty[1]
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#1676)
     processing /rdf:RDF/owl:AnnotationProperty[1]/rdfs:subPropertyOf[1]
  at xsl:call-template name="get.property.superproperty" (file:///mnt/LODE/src/main/webapp/extraction.xsl#1597)
  at xsl:call-template name="get.property.description" (file:///mnt/LODE/src/main/webapp/extraction.xsl#587)
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#2259)
     processing /rdf:RDF/owl:AnnotationProperty[1]
  at xsl:call-template name="get.annotationproperties" (file:///mnt/LODE/src/main/webapp/extraction.xsl#238)
  at xsl:call-template name="structure" (file:///mnt/LODE/src/main/webapp/extraction.xsl#260)
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#121)
     processing /rdf:RDF/owl:Ontology[1]
  in built-in template rule
Error on line 628 of extraction.xsl:
  XTTE0590: A sequence of more than one item is not allowed as the value of parameter $iri
  ("http://www.w3.org/2004/02/skos...", "http://www.w3.org/2004/02/skos...")
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#1946)
     processing /rdf:RDF/owl:AnnotationProperty[1]/rdfs:subPropertyOf[1]/owl:AnnotationProperty[1]/rdfs:label[1]
  at xsl:call-template name="get.entity.name" (file:///mnt/LODE/src/main/webapp/extraction.xsl#577)
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#663)
     processing /rdf:RDF/owl:AnnotationProperty[1]/rdfs:subPropertyOf[1]/owl:AnnotationProperty[1]
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#1676)
     processing /rdf:RDF/owl:AnnotationProperty[1]/rdfs:subPropertyOf[1]
  at xsl:call-template name="get.property.superproperty" (file:///mnt/LODE/src/main/webapp/extraction.xsl#1597)
  at xsl:call-template name="get.property.description" (file:///mnt/LODE/src/main/webapp/extraction.xsl#587)
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#2259)
     processing /rdf:RDF/owl:AnnotationProperty[1]
  at xsl:call-template name="get.annotationproperties" (file:///mnt/LODE/src/main/webapp/extraction.xsl#238)
  at xsl:call-template name="structure" (file:///mnt/LODE/src/main/webapp/extraction.xsl#260)
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#121)
     processing /rdf:RDF/owl:Ontology[1]
  in built-in template rule
Error on line 628 of extraction.xsl:
  XTTE0590: A sequence of more than one item is not allowed as the value of parameter $iri
  ("http://www.w3.org/2004/02/skos...", "http://www.w3.org/2004/02/skos...")
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#1946)
     processing /rdf:RDF/owl:AnnotationProperty[1]/rdfs:subPropertyOf[1]/owl:AnnotationProperty[1]/rdfs:label[1]
  at xsl:call-template name="get.entity.name" (file:///mnt/LODE/src/main/webapp/extraction.xsl#577)
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#663)
     processing /rdf:RDF/owl:AnnotationProperty[1]/rdfs:subPropertyOf[1]/owl:AnnotationProperty[1]
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#1676)
     processing /rdf:RDF/owl:AnnotationProperty[1]/rdfs:subPropertyOf[1]
  at xsl:call-template name="get.property.superproperty" (file:///mnt/LODE/src/main/webapp/extraction.xsl#1597)
  at xsl:call-template name="get.property.description" (file:///mnt/LODE/src/main/webapp/extraction.xsl#587)
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#2259)
     processing /rdf:RDF/owl:AnnotationProperty[1]
  at xsl:call-template name="get.annotationproperties" (file:///mnt/LODE/src/main/webapp/extraction.xsl#238)
  at xsl:call-template name="structure" (file:///mnt/LODE/src/main/webapp/extraction.xsl#260)
  at xsl:apply-templates (file:///mnt/LODE/src/main/webapp/extraction.xsl#121)
     processing /rdf:RDF/owl:Ontology[1]
  in built-in template rule


@jaygray0919
Copy link

what happens if you remove the unused: xmlns:skosxl="http://www.w3.org/2008/05/skos-xl#". Or, add a property from skosxl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants