David Price

Updated ERH Fact schema and created core ERH Facts. Still some open questions to EPIM on facts.

# baseURI: http://www.reportinghub.no/ep/schema/1.0/erhfacts
# imports: http://www.reportinghub.no/np/schema/1.0/npd
@prefix erh: <http://www.reportinghub.no/ep/schema/erhfacts#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.0/erhfacts>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
erh:AlternativeIdInField
rdf:type owl:Class ;
rdfs:subClassOf erh:LabelInContext ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty erh:id
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty erh:labelContext
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/facility#Field> ;
owl:onProperty erh:labelContext
] .
erh:AlternativeNameInField
rdf:type owl:Class ;
rdfs:subClassOf erh:LabelInContext ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty erh:labelContext
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/facility#Field> ;
owl:onProperty erh:labelContext
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty erh:name
] .
erh:LabelInContext
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing .
erh:id
rdf:type owl:DatatypeProperty ;
rdfs:range xsd:string .
erh:identifies
rdf:type owl:ObjectProperty ;
rdfs:domain erh:LabelInContext .
erh:isConvertedToDPR2
rdf:type owl:DatatypeProperty ;
rdfs:comment "Set to true for those fields where DPR1 files are converted to DPR2 format on submission"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ;
rdfs:label "is converted to DPR2"^^xsd:string ;
rdfs:range xsd:boolean .
erh:labelContext
rdf:type owl:ObjectProperty ;
rdfs:domain erh:LabelInContext .
erh:name
rdf:type owl:DatatypeProperty ;
rdfs:range xsd:string .
This diff could not be displayed because it is too large.
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/erhfacts#AlternativeNameInField>
forms:keyProperties (<http://www.reportinghub.no/ep/schema/erhfacts#name>) .
<http://www.reportinghub.no/ep/schema/facility#Facility>
forms:keyProperties (rdfs:label rdfs:comment <http://www.reportinghub.no/np/schema/npd#name>) .