Updated ERH Fact schema and created core ERH Facts. Still some open questions to EPIM on facts.
Showing
3 changed files
with
94 additions
and
0 deletions
1 | +# baseURI: http://www.reportinghub.no/ep/schema/1.0/erhfacts | ||
2 | +# imports: http://www.reportinghub.no/np/schema/1.0/npd | ||
3 | + | ||
4 | +@prefix erh: <http://www.reportinghub.no/ep/schema/erhfacts#> . | ||
5 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
6 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
7 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
8 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
9 | + | ||
10 | +<http://www.reportinghub.no/ep/schema/1.0/erhfacts> | ||
11 | + rdf:type owl:Ontology ; | ||
12 | + owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> ; | ||
13 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
14 | + | ||
15 | +erh:AlternativeIdInField | ||
16 | + rdf:type owl:Class ; | ||
17 | + rdfs:subClassOf erh:LabelInContext ; | ||
18 | + rdfs:subClassOf | ||
19 | + [ rdf:type owl:Restriction ; | ||
20 | + owl:minCardinality "1"^^xsd:nonNegativeInteger ; | ||
21 | + owl:onProperty erh:id | ||
22 | + ] ; | ||
23 | + rdfs:subClassOf | ||
24 | + [ rdf:type owl:Restriction ; | ||
25 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
26 | + owl:onProperty erh:labelContext | ||
27 | + ] ; | ||
28 | + rdfs:subClassOf | ||
29 | + [ rdf:type owl:Restriction ; | ||
30 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/facility#Field> ; | ||
31 | + owl:onProperty erh:labelContext | ||
32 | + ] . | ||
33 | + | ||
34 | +erh:AlternativeNameInField | ||
35 | + rdf:type owl:Class ; | ||
36 | + rdfs:subClassOf erh:LabelInContext ; | ||
37 | + rdfs:subClassOf | ||
38 | + [ rdf:type owl:Restriction ; | ||
39 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
40 | + owl:onProperty erh:labelContext | ||
41 | + ] ; | ||
42 | + rdfs:subClassOf | ||
43 | + [ rdf:type owl:Restriction ; | ||
44 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/facility#Field> ; | ||
45 | + owl:onProperty erh:labelContext | ||
46 | + ] ; | ||
47 | + rdfs:subClassOf | ||
48 | + [ rdf:type owl:Restriction ; | ||
49 | + owl:minCardinality "1"^^xsd:nonNegativeInteger ; | ||
50 | + owl:onProperty erh:name | ||
51 | + ] . | ||
52 | + | ||
53 | +erh:LabelInContext | ||
54 | + rdf:type owl:Class ; | ||
55 | + rdfs:subClassOf owl:Thing . | ||
56 | + | ||
57 | +erh:id | ||
58 | + rdf:type owl:DatatypeProperty ; | ||
59 | + rdfs:range xsd:string . | ||
60 | + | ||
61 | +erh:identifies | ||
62 | + rdf:type owl:ObjectProperty ; | ||
63 | + rdfs:domain erh:LabelInContext . | ||
64 | + | ||
65 | +erh:isConvertedToDPR2 | ||
66 | + rdf:type owl:DatatypeProperty ; | ||
67 | + rdfs:comment "Set to true for those fields where DPR1 files are converted to DPR2 format on submission"^^xsd:string ; | ||
68 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ; | ||
69 | + rdfs:label "is converted to DPR2"^^xsd:string ; | ||
70 | + rdfs:range xsd:boolean . | ||
71 | + | ||
72 | +erh:labelContext | ||
73 | + rdf:type owl:ObjectProperty ; | ||
74 | + rdfs:domain erh:LabelInContext . | ||
75 | + | ||
76 | +erh:name | ||
77 | + rdf:type owl:DatatypeProperty ; | ||
78 | + rdfs:range xsd:string . |
www.reportinghub.no/examples/erh-facts.ttl
0 → 100644
This diff could not be displayed because it is too large.
1 | +# baseURI: null | ||
2 | + | ||
3 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
4 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
5 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
6 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
7 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
8 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
9 | +@prefix visual: <http://topbraid.org/visual#> . | ||
10 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | + | ||
12 | +<http://www.reportinghub.no/ep/schema/erhfacts#AlternativeNameInField> | ||
13 | + forms:keyProperties (<http://www.reportinghub.no/ep/schema/erhfacts#name>) . | ||
14 | + | ||
15 | +<http://www.reportinghub.no/ep/schema/facility#Facility> | ||
16 | + forms:keyProperties (rdfs:label rdfs:comment <http://www.reportinghub.no/np/schema/npd#name>) . |
-
Please register or login to post a comment