query-88d694debf7700ba380c90bb7cdb53eb

rq turtle/ttl

Predicates that don't have a PIDIf you are curious enough, you might be interested in knowing which are the predicates that don't have a PID. The following query shows that.

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prv: <http://www.wikidata.org/prop/reference/value/>
PREFIX prn: <http://www.wikidata.org/prop/reference/value-normalized/>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX pqv: <http://www.wikidata.org/prop/qualifier/value/>
PREFIX pqn: <http://www.wikidata.org/prop/qualifier/value-normalized/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT
  ?wdt
  ?count
{
   {
  SELECT ?wdt ?count {
     {
  SELECT ?wdt (COUNT(*) AS ?count) {
    [] ?wdt [].
  }
  GROUP BY ?wdt
}
    MINUS {[] wikibase:directClaim ?wdt} # wdt:
    MINUS {[] wikibase:reference ?wdt} # pr:
    MINUS {[] wikibase:qualifier ?wdt} # pq:
    MINUS {[] wikibase:statementProperty ?wdt} # ps:
    MINUS {[] wikibase:statementValue ?wdt} # psv:
    MINUS {[] wikibase:referenceValue ?wdt} # prv:
    MINUS {[] wikibase:claim ?wdt} # p:
    MINUS {[] wikibase:qualifierValue ?wdt} # pqv:
    MINUS {[] wikibase:referenceValue ?wdt} # prv:
    MINUS {[] wikibase:statementValueNormalized ?wdt} # psn:
    MINUS {[] wikibase:qualifierValueNormalized ?wdt} # pqn:
    MINUS {[] wikibase:referenceValueNormalized ?wdt} # prn:
    MINUS {[] wikibase:directClaimNormalized ?wdt} # wdtn:
  }
}
}
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?count"):::projected v2("?wdt"):::projected a1((" ")) a10((" ")) a11((" ")) a12((" ")) a13((" ")) a14((" ")) a15((" ")) a2((" ")) a3((" ")) a4((" ")) a5((" ")) a6((" ")) a7((" ")) a8((" ")) a9((" ")) a1 -->v2--> a2 bind1[/"count(*)"/] bind1 --as--o v3 subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; a3 --"wikibase:directClaim"--> v2 end subgraph minus3["MINUS"] style minus3 stroke-width:6px,fill:pink,stroke:red; a4 --"wikibase:reference"--> v2 end subgraph minus4["MINUS"] style minus4 stroke-width:6px,fill:pink,stroke:red; a5 --"wikibase:qualifier"--> v2 end subgraph minus5["MINUS"] style minus5 stroke-width:6px,fill:pink,stroke:red; a6 --"wikibase:statementProperty"--> v2 end subgraph minus6["MINUS"] style minus6 stroke-width:6px,fill:pink,stroke:red; a7 --"wikibase:statementValue"--> v2 end subgraph minus7["MINUS"] style minus7 stroke-width:6px,fill:pink,stroke:red; a8 --"wikibase:referenceValue"--> v2 end subgraph minus8["MINUS"] style minus8 stroke-width:6px,fill:pink,stroke:red; a9 --"wikibase:claim"--> v2 end subgraph minus9["MINUS"] style minus9 stroke-width:6px,fill:pink,stroke:red; a10 --"wikibase:qualifierValue"--> v2 end subgraph minus10["MINUS"] style minus10 stroke-width:6px,fill:pink,stroke:red; a11 --"wikibase:referenceValue"--> v2 end subgraph minus11["MINUS"] style minus11 stroke-width:6px,fill:pink,stroke:red; a12 --"wikibase:statementValueNormalized"--> v2 end subgraph minus12["MINUS"] style minus12 stroke-width:6px,fill:pink,stroke:red; a13 --"wikibase:qualifierValueNormalized"--> v2 end subgraph minus13["MINUS"] style minus13 stroke-width:6px,fill:pink,stroke:red; a14 --"wikibase:referenceValueNormalized"--> v2 end subgraph minus14["MINUS"] style minus14 stroke-width:6px,fill:pink,stroke:red; a15 --"wikibase:directClaimNormalized"--> v2 end