rdfs:comment"The schema of metadata kept by the ReportingHub system to keep track of submitted reports. The starting point is the class foaf:Document."^^xsd:string;
owl:imports<http://purl.org/dc/terms/>;
owl:versionInfo"0.1.0"^^xsd:string.
report:DDR
rdf:typerdfs:Class;
rdfs:comment"The metadata about a Daily Drilling Report."^^xsd:string;
rdfs:comment"Gets the URI of the named graph containing the triples submitted by a report:DDR (metadata) with a given id."^^xsd:string;
rdfs:label"graph by DDRId"^^xsd:string;
rdfs:subClassOfspin:Functions;
spin:body
[rdf:typesp:Select;
sp:resultVariables([rdf:typesp:iri;
sp:arg1[sp:varName"uri"^^xsd:string
]
]);
sp:where([rdf:typesp:Bind;
sp:expression
[rdf:typefn:concat;
sp:arg1"http://www.reportinghub.no/system/ddr/";
sp:arg2[sp:varName"id"^^xsd:string
]
];
sp:variable
[sp:varName"uri"^^xsd:string
]
])
];
spin:constraint
[rdf:typespl:Argument;
rdfs:comment"The id of the DDR metadata."^^xsd:string;
spl:predicate<http://spinrdf.org/arg#id>;
spl:valueTypexsd:string
];
spin:returnTyperdfs:Resource.
reportspin:idOfDDRByDateAndWellBoreId
rdf:typespin:Function;
rdfs:comment"Gets the id of a DDR defined by date and well bore id. If preliminary reports have been created, this will return the most recent one only."^^xsd:string;
rdfs:label"id of DDR by date and well bore id"^^xsd:string;