We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The ePO ontology produces SHACL with references to rdf:plainliteral, that is either a xsd:string or rdf:langString like in this example
xsd:string
rdf:langString
core-shape:org-Organization-epo-hasLegalFormType a sh:PropertyShape ; rdfs:isDefinedBy core-shape:core-shape ; sh:datatype rdf:PlainLiteral ; sh:maxCount 1 ; sh:name "Has legal form type" ; sh:path :hasLegalFormType .
However, this is not recognized by most SHACL engines
A mechanism is needed to export SHACL that can be used by such engines.
One option is to export something like this:
core-shape:org-Organization-epo-hasLegalFormType a sh:PropertyShape ; rdfs:isDefinedBy core-shape:core-shape ; sh:maxCount 1 ; sh:name "Has legal form type" ; sh:path :hasLegalFormType ; sh:or ( [ sh:datatype xsd:string ] [ sh:datatype rdf:langString ] ) .
Alternatively declare a sh:NodeShape, in this case, the a a4g_shape:PlainLiteral
sh:NodeShape
a4g_shape:PlainLiteral
a4g_shape:PlainLiteral a sh:NodeShape ; sh:or ( [ sh:datatype xsd:string ] [ sh:datatype rdf:langString ] ) .
So it can be used as
sh:node a4g_shape:PlainLiteral
Related: OP-TED/ted-rdf-mapping-eforms#20
The text was updated successfully, but these errors were encountered:
related: OP-TED/ted-rdf-mapping#407
Sorry, something went wrong.
No branches or pull requests
The ePO ontology produces SHACL with references to rdf:plainliteral, that is either a
xsd:string
orrdf:langString
like in this exampleHowever, this is not recognized by most SHACL engines
A mechanism is needed to export SHACL that can be used by such engines.
One option is to export something like this:
Alternatively declare a
sh:NodeShape
, in this case, the aa4g_shape:PlainLiteral
So it can be used as
Related: OP-TED/ted-rdf-mapping-eforms#20
The text was updated successfully, but these errors were encountered: