New system ontology to store schematron and metadata about them
Showing
1 changed file
with
31 additions
and
0 deletions
| 1 | +# baseURI: http://www.reportinghub.no/system/schema/schematron | ||
| 2 | + | ||
| 3 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 4 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 5 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 6 | +@prefix schematron: <http://www.reportinghub.no/system/schema/schematron#> . | ||
| 7 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 8 | + | ||
| 9 | +<http://www.reportinghub.no/system/schema/schematron> | ||
| 10 | + rdf:type owl:Ontology ; | ||
| 11 | + owl:versionInfo "0.1.0"^^xsd:string . | ||
| 12 | + | ||
| 13 | +schematron:File | ||
| 14 | + rdf:type owl:Class ; | ||
| 15 | + rdfs:comment "A schematron file as uploaded by the admin. Associated with a field. The content is stored in content."^^xsd:string ; | ||
| 16 | + rdfs:label "File"^^xsd:string ; | ||
| 17 | + rdfs:subClassOf owl:Thing . | ||
| 18 | + | ||
| 19 | +schematron:content | ||
| 20 | + rdf:type owl:DatatypeProperty ; | ||
| 21 | + rdfs:comment "The XML content of the schematron file."^^xsd:string ; | ||
| 22 | + rdfs:domain schematron:File ; | ||
| 23 | + rdfs:label "content"^^xsd:string ; | ||
| 24 | + rdfs:range xsd:string . | ||
| 25 | + | ||
| 26 | +schematron:fieldId | ||
| 27 | + rdf:type owl:DatatypeProperty ; | ||
| 28 | + rdfs:comment "The NPD id of the Field that the schematron file has been uploaded for."^^xsd:string ; | ||
| 29 | + rdfs:domain schematron:File ; | ||
| 30 | + rdfs:label "field id"^^xsd:string ; | ||
| 31 | + rdfs:range xsd:string . |
-
Please register or login to post a comment