Holger Knublauch

Added browser for report metadata

...@@ -23,15 +23,16 @@ sioc:id ...@@ -23,15 +23,16 @@ sioc:id
23 report:AbstractDR 23 report:AbstractDR
24 rdf:type owl:Class ; 24 rdf:type owl:Class ;
25 rdfs:comment "Abstract base class for various types of daily reports."^^xsd:string ; 25 rdfs:comment "Abstract base class for various types of daily reports."^^xsd:string ;
26 + rdfs:label "Daily report"^^xsd:string ;
26 rdfs:subClassOf foaf:Document ; 27 rdfs:subClassOf foaf:Document ;
27 rdfs:subClassOf 28 rdfs:subClassOf
28 [ rdf:type owl:Restriction ; 29 [ rdf:type owl:Restriction ;
29 owl:cardinality "1"^^xsd:nonNegativeInteger ; 30 owl:cardinality "1"^^xsd:nonNegativeInteger ;
30 - owl:onProperty sioc:id 31 + owl:onProperty <http://purl.org/dc/terms/created>
31 ] ; 32 ] ;
32 rdfs:subClassOf 33 rdfs:subClassOf
33 [ rdf:type owl:Restriction ; 34 [ rdf:type owl:Restriction ;
34 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 35 + owl:allValuesFrom xsd:dateTime ;
35 owl:onProperty <http://purl.org/dc/terms/created> 36 owl:onProperty <http://purl.org/dc/terms/created>
36 ] ; 37 ] ;
37 rdfs:subClassOf 38 rdfs:subClassOf
...@@ -41,6 +42,16 @@ report:AbstractDR ...@@ -41,6 +42,16 @@ report:AbstractDR
41 ] ; 42 ] ;
42 rdfs:subClassOf 43 rdfs:subClassOf
43 [ rdf:type owl:Restriction ; 44 [ rdf:type owl:Restriction ;
45 + owl:allValuesFrom xsd:date ;
46 + owl:onProperty <http://purl.org/dc/terms/date>
47 + ] ;
48 + rdfs:subClassOf
49 + [ rdf:type owl:Restriction ;
50 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
51 + owl:onProperty sioc:id
52 + ] ;
53 + rdfs:subClassOf
54 + [ rdf:type owl:Restriction ;
44 owl:allValuesFrom xsd:string ; 55 owl:allValuesFrom xsd:string ;
45 owl:onProperty sioc:id 56 owl:onProperty sioc:id
46 ] . 57 ] .
...@@ -58,12 +69,12 @@ report:DDR ...@@ -58,12 +69,12 @@ report:DDR
58 rdfs:subClassOf 69 rdfs:subClassOf
59 [ rdf:type owl:Restriction ; 70 [ rdf:type owl:Restriction ;
60 owl:cardinality "1"^^xsd:nonNegativeInteger ; 71 owl:cardinality "1"^^xsd:nonNegativeInteger ;
61 - owl:onProperty report:xml 72 + owl:onProperty report:wellBoreId
62 ] ; 73 ] ;
63 rdfs:subClassOf 74 rdfs:subClassOf
64 [ rdf:type owl:Restriction ; 75 [ rdf:type owl:Restriction ;
65 owl:cardinality "1"^^xsd:nonNegativeInteger ; 76 owl:cardinality "1"^^xsd:nonNegativeInteger ;
66 - owl:onProperty report:wellBoreId 77 + owl:onProperty report:xml
67 ] . 78 ] .
68 79
69 report:DPR 80 report:DPR
......
1 +# baseURI: http://www.reportinghub.no/system/swp/reporting
2 +# imports: http://www.reportinghub.no/system/schema/reporting
3 +# imports: http://www.reportinghub.no/system/swp/SWP-logging
4 +
5 +@prefix app: <http://appschema.org/> .
6 +@prefix arg: <http://spinrdf.org/arg#> .
7 +@prefix default: <http://uispin.org/default#> .
8 +@prefix html: <http://uispin.org/html#> .
9 +@prefix let: <http://uispin.org/let#> .
10 +@prefix letrs: <http://uispin.org/letrs#> .
11 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
12 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
13 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
14 +@prefix report: <http://www.reportinghub.no/system/schema/reporting#> .
15 +@prefix sp: <http://spinrdf.org/sp#> .
16 +@prefix spin: <http://spinrdf.org/spin#> .
17 +@prefix spl: <http://spinrdf.org/spl#> .
18 +@prefix ui: <http://uispin.org/ui#> .
19 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
20 +
21 +report:AbstractDR
22 + app:keyProperties (<http://purl.org/dc/terms/created> <http://purl.org/dc/terms/date> rdf:type <http://rdfs.org/sioc/ns#id>) ;
23 + ui:instanceView
24 + [ rdf:type report:DRFormBody ;
25 + arg:resource spin:_this
26 + ] .
27 +
28 +report:DDR
29 + app:keyProperties (<http://purl.org/dc/terms/created> <http://purl.org/dc/terms/date> rdf:type report:wellBoreId <http://rdfs.org/sioc/ns#id>) ;
30 + ui:instanceView
31 + [ rdf:type ui:group ;
32 + default:subject spin:_this ;
33 + ui:child
34 + [ rdf:type report:DRFormBody ;
35 + arg:resource spin:_this ;
36 + ui:childIndex 0
37 + ] ;
38 + ui:child
39 + [ rdf:type app:Object ;
40 + arg:label "Well bore id"^^xsd:string ;
41 + arg:predicate report:wellBoreId ;
42 + ui:childIndex 1
43 + ]
44 + ] .
45 +
46 +report:DPR
47 + app:keyProperties (<http://purl.org/dc/terms/created> <http://purl.org/dc/terms/date> rdf:type report:owner <http://rdfs.org/sioc/ns#id>) ;
48 + ui:instanceView
49 + [ rdf:type ui:group ;
50 + default:subject spin:_this ;
51 + ui:child
52 + [ rdf:type report:DRFormBody ;
53 + arg:resource spin:_this ;
54 + ui:childIndex 0
55 + ]
56 + ] .
57 +
58 +report:DRFormBody
59 + rdf:type ui:ResourceViewClass ;
60 + rdfs:label "DRForm body"^^xsd:string ;
61 + rdfs:subClassOf app:FormBody ;
62 + ui:prototype
63 + [ rdf:type html:Div ;
64 + default:subject
65 + [ sp:varName "resource"^^xsd:string
66 + ] ;
67 + ui:child
68 + [ rdf:type app:ColumnLayout ;
69 + arg:colWidths "50%,50%"^^xsd:string ;
70 + arg:width "600px"^^xsd:string ;
71 + ui:child
72 + [ rdf:type app:Object ;
73 + arg:label "Created"^^xsd:string ;
74 + arg:predicate <http://purl.org/dc/terms/created> ;
75 + ui:childIndex 0
76 + ] ;
77 + ui:child
78 + [ rdf:type app:Object ;
79 + arg:label "Date on Report"^^xsd:string ;
80 + arg:predicate <http://purl.org/dc/terms/date> ;
81 + ui:childIndex 1
82 + ] ;
83 + ui:childIndex 0
84 + ]
85 + ] .
86 +
87 +<http://www.reportinghub.no/system/swp/reporting>
88 + rdf:type owl:Ontology ;
89 + owl:imports <http://www.reportinghub.no/system/schema/reporting> , <http://www.reportinghub.no/system/swp/SWP-logging> ;
90 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .