Holger Knublauch

Added browser for report metadata

......@@ -23,15 +23,16 @@ sioc:id
report:AbstractDR
rdf:type owl:Class ;
rdfs:comment "Abstract base class for various types of daily reports."^^xsd:string ;
rdfs:label "Daily report"^^xsd:string ;
rdfs:subClassOf foaf:Document ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty sioc:id
owl:onProperty <http://purl.org/dc/terms/created>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:allValuesFrom xsd:dateTime ;
owl:onProperty <http://purl.org/dc/terms/created>
] ;
rdfs:subClassOf
......@@ -41,6 +42,16 @@ report:AbstractDR
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:date ;
owl:onProperty <http://purl.org/dc/terms/date>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty sioc:id
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:string ;
owl:onProperty sioc:id
] .
......@@ -58,12 +69,12 @@ report:DDR
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty report:xml
owl:onProperty report:wellBoreId
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty report:wellBoreId
owl:onProperty report:xml
] .
report:DPR
......
# baseURI: http://www.reportinghub.no/system/swp/reporting
# imports: http://www.reportinghub.no/system/schema/reporting
# imports: http://www.reportinghub.no/system/swp/SWP-logging
@prefix app: <http://appschema.org/> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix default: <http://uispin.org/default#> .
@prefix html: <http://uispin.org/html#> .
@prefix let: <http://uispin.org/let#> .
@prefix letrs: <http://uispin.org/letrs#> .
@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 report: <http://www.reportinghub.no/system/schema/reporting#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix ui: <http://uispin.org/ui#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
report:AbstractDR
app:keyProperties (<http://purl.org/dc/terms/created> <http://purl.org/dc/terms/date> rdf:type <http://rdfs.org/sioc/ns#id>) ;
ui:instanceView
[ rdf:type report:DRFormBody ;
arg:resource spin:_this
] .
report:DDR
app:keyProperties (<http://purl.org/dc/terms/created> <http://purl.org/dc/terms/date> rdf:type report:wellBoreId <http://rdfs.org/sioc/ns#id>) ;
ui:instanceView
[ rdf:type ui:group ;
default:subject spin:_this ;
ui:child
[ rdf:type report:DRFormBody ;
arg:resource spin:_this ;
ui:childIndex 0
] ;
ui:child
[ rdf:type app:Object ;
arg:label "Well bore id"^^xsd:string ;
arg:predicate report:wellBoreId ;
ui:childIndex 1
]
] .
report:DPR
app:keyProperties (<http://purl.org/dc/terms/created> <http://purl.org/dc/terms/date> rdf:type report:owner <http://rdfs.org/sioc/ns#id>) ;
ui:instanceView
[ rdf:type ui:group ;
default:subject spin:_this ;
ui:child
[ rdf:type report:DRFormBody ;
arg:resource spin:_this ;
ui:childIndex 0
]
] .
report:DRFormBody
rdf:type ui:ResourceViewClass ;
rdfs:label "DRForm body"^^xsd:string ;
rdfs:subClassOf app:FormBody ;
ui:prototype
[ rdf:type html:Div ;
default:subject
[ sp:varName "resource"^^xsd:string
] ;
ui:child
[ rdf:type app:ColumnLayout ;
arg:colWidths "50%,50%"^^xsd:string ;
arg:width "600px"^^xsd:string ;
ui:child
[ rdf:type app:Object ;
arg:label "Created"^^xsd:string ;
arg:predicate <http://purl.org/dc/terms/created> ;
ui:childIndex 0
] ;
ui:child
[ rdf:type app:Object ;
arg:label "Date on Report"^^xsd:string ;
arg:predicate <http://purl.org/dc/terms/date> ;
ui:childIndex 1
] ;
ui:childIndex 0
]
] .
<http://www.reportinghub.no/system/swp/reporting>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/system/schema/reporting> , <http://www.reportinghub.no/system/swp/SWP-logging> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .