pboProperty Ontology
sparql13 lines874 B
RawDownload
1PREFIX pbo: <https://ontology.property.local/pbo#>
2PREFIX ex: <https://ontology.property.local/pbo/example#>
3PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
4PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
5PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
6
7# CQ-011: quantitative claims about a metric with value, source, authority, jurisdiction and date.
8SELECT ?claim ?value ?upper ?unit ?source ?authority ?jurisdiction ?date ?basis WHERE {
9 ?mv a pbo:MetricValue ; pbo:metric pbo:Metric_GrossYield ; rdfs:label ?claim ; pbo:numericValue ?value ; pbo:unit ?unit ; pbo:assertedIn ?doc .
10 ?doc rdfs:label ?source ; pbo:authorityLevel ?authority .
11 OPTIONAL { ?mv pbo:upperValue ?upper } OPTIONAL { ?mv pbo:describesJurisdiction ?j . ?j rdfs:label ?jurisdiction }
12 OPTIONAL { ?mv pbo:claimDate ?date } OPTIONAL { ?mv pbo:basisNote ?basis }
13} ORDER BY DESC(?value)