query-049f5cac796267b0f7b7c7c3e8bc5d1e

rq turtle/ttl

No backlinks

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
SELECT DISTINCT ?item 
WHERE
{
  ?item wikibase:sitelinks 0 .
  ?item wdt:P31 wd:Q5 .
  ?item wdt:P21 ?dummy1 .
   ?item wdt:P106 wd:Q13141064 .
  OPTIONAL{
    ?backlink ?p1 ?item .
  }
  FILTER(!bound(?backlink))  
  OPTIONAL{
    ?item ?claim ?dummy0 .
    ?property wikibase:propertyType wikibase:ExternalId .
    ?property wikibase:directClaim ?claim
  }
  FILTER(!bound(?dummy0))
  OPTIONAL{
    ?item ?p2 [prov:wasDerivedFrom ?ref] .
    ?ref ?pr [] .
  }  
  FILTER(!bound(?ref))
}
Limit 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?backlink") v7("?claim") v2("?dummy0") v5("?dummy1") v4("?item"):::projected v6("?p1") v9("?p2") v10("?pr") v8("?property") v1("?ref") a2((" ")) a1((" ")) c2(["0^^xsd:integer"]):::literal c4(["wd:Q5"]):::iri c7(["wd:Q13141064"]):::iri c9(["wikibase:ExternalId"]):::iri f0[["not bound(?ref)"]] f0 --> v1 f1[["not bound(?dummy0)"]] f1 --> v2 f2[["not bound(?backlink)"]] f2 --> v3 v4 --"wikibase:sitelinks"--> c2 v4 --"wdt:P31"--> c4 v4 --"wdt:P21"--> v5 v4 --"wdt:P106"--> c7 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -->v6--> v4 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v4 -->v7--> v2 v8 -."wikibase:propertyType".-> c9 v8 --"wikibase:directClaim"--> v7 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; a1 -."prov:wasDerivedFrom".-> v1 v4 -->v9--> a1 v1 -->v10--> a2 end