query-11d9bb0c4cdef6c3941c155852de81b1

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?property ?propertyLabel ?value ?lang where {
  ?item ?predicate ?stat. 
  ?stat pq:P407 wd:Q10134.
  ?property wikibase:claim ?predicate.
  ?property wikibase:propertyType  wikibase:Monolingualtext.
  ?stat ?predicate2 ?value .
  ?property wikibase:statementProperty ?predicate2.
  bind(lang(?value) as ?lang)
  filter(?lang="und" || ?lang="mis" )
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],pt,en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v8("?lang"):::projected v3("?predicate") v6("?predicate2") v5("?property"):::projected v4("?stat") v7("?value"):::projected c10(["bd:serviceParam"]):::iri c12(["#91;AUTO_LANGUAGE#93;,pt,en"]):::literal c7(["wikibase:Monolingualtext"]):::iri c4(["wd:Q10134"]):::iri f0[["(?lang = 'und' || ?lang = 'mis')"]] f0 --> v8 v2 -->v3--> v4 v4 --"pq:P407"--> c4 v5 --"wikibase:claim"--> v3 v5 --"wikibase:propertyType"--> c7 v4 -->v6--> v7 v5 --"wikibase:statementProperty"--> v6 bind1[/"?value"/] v7 --o bind1 bind1 --as--o v8 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end