query-19668bb1d410b345643439a87c9c7a2c
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?st (str(?unit) as ?str_unit)
{
?st wikibase:quantityUnit ?unit .
FILTER( strstarts( str(?unit), "http://www.wikidata.org/entity/P" ) )
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?st"):::projected
v3("?str_unit")
v1("?unit"):::projected
f0[["starts-with(str(?unit),'http://www.wikidata.org/entity/P')"]]
f0 --> v1
v2 --"wikibase:quantityUnit"--> v1
bind1[/"str(?unit)"/]
v1 --o bind1
bind1 --as--o v3