@base <http://data.businessgraph.io/>.
<status/> a skos:ConceptScheme, owl:NamedIndividual;
Note the ConceptScheme URL ends in /: I think this is a legit and often used convention for concept schemes (so one could define a prefix for it eg status:, and use it in Concept qnames, eg status:active).
Causes this error:
Type error at char 146 in xsl:variable/@select on line 1799 column 236 of extraction.xsl:
XPTY0004: An empty sequence is not allowed as the third argument of substring()
at xsl:apply-templates (extraction.xsl#1116)
processing /assertions/assertion[1]/@rdf:resource
at xsl:call-template name="get.individual.assertions" (extraction.xsl#1015)
at xsl:call-template name="get.individual.description" (extraction.xsl#454)
at xsl:apply-templates (extraction.xsl#1605)
processing /rdf:RDF/owl:NamedIndividual[3]
at xsl:call-template name="get.namedindividuals" (extraction.xsl#182)
at xsl:call-template name="structure" (extraction.xsl#193)
at xsl:apply-templates (extraction.xsl#105)
processing /rdf:RDF/owl:Ontology[1]
in built-in template rule
An empty sequence is not allowed as the third argument of substring()
Maybe iriNew is to blame? It assumes that an iri with #/ is absolute. My turtle example uses a relative IRI with / but when I examine the corresponding rdf, I don't see any relative IRIs...
Input:
Note the ConceptScheme URL ends in
/
: I think this is a legit and often used convention for concept schemes (so one could define a prefix for it egstatus:
, and use it in Concept qnames, egstatus:active
).Causes this error:
The reported line is last below:
Maybe
iriNew
is to blame? It assumes that aniri
with#/
is absolute. My turtle example uses a relative IRI with/
but when I examine the corresponding rdf, I don't see any relative IRIs...My XSL debugging skills are non-existent.