query-ad7318cbeaf15a9076e44afd0dcb2630

rq turtle/ttl

Tagishsimonthis table(P2214)parallax Wikidata:Database reports/Constraint violations/P2214#Units statistics(P2583)distance from Earth Wikidata:Database reports/Constraint violations/P2583#Units statistics

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?property ?propertyLabel ?unit ?unitLabel ?normalized ?normalizedLabel
WHERE
{
  VALUES ?property { wd:P2067 wd:P2215 wd:P2216 wd:P215 wd:P2060 wd:P2227 wd:P6257 wd:P6258 wd:P6879 }
  ?property p:P1855 ?example .
  ?example ?pqv ?full_value .
  ?full_value wikibase:quantityUnit ?unit .
  OPTIONAL { ?full_value wikibase:quantityNormalized / wikibase:quantityUnit ?normalized . }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
}
ORDER BY ?property

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?example") v4("?full_value") v6("?normalized"):::projected v3("?pqv") v2("?property"):::projected v5("?unit"):::projected a1((" ")) c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/VALUES ?property/] bind0-->v2 bind00(["wd:P2067"]) bind00 --> bind0 bind01(["wd:P2215"]) bind01 --> bind0 bind02(["wd:P2216"]) bind02 --> bind0 bind03(["wd:P215"]) bind03 --> bind0 bind04(["wd:P2060"]) bind04 --> bind0 bind05(["wd:P2227"]) bind05 --> bind0 bind06(["wd:P6257"]) bind06 --> bind0 bind07(["wd:P6258"]) bind07 --> bind0 bind08(["wd:P6879"]) bind08 --> bind0 v2 --"p:P1855"--> v2 v2 -->v3--> v4 v4 --"wikibase:quantityUnit"--> v5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v4 -."wikibase:quantityNormalized".-> a1 a1 --"wikibase:quantityUnit"--> v6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end