query-66d771760927b8cbc8a28a6d30ec149e

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?property ?value WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en-GB,en". }
  {
    SELECT DISTINCT ?item ?property ?value WHERE {
      wd:Q355 wdt:P1687 ?property.
      ?item ?predicate ?value.
      ?property wikibase:directClaim ?predicate .
#      ?item wdt:P2013 ?value.      
      ?item wdt:P31/wdt:P279* wd:Q1785071.
    }
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v3("?predicate") v1("?property"):::projected v4("?value"):::projected a1((" ")) c2(["bd:serviceParam"]):::iri c4(["en-GB,en"]):::literal c5(["wd:Q355"]):::iri c10(["wd:Q1785071"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end c5 --"wdt:P1687"--> v1 v2 -->v3--> v4 v1 --"wikibase:directClaim"--> v3 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c10