query-99f1981ef118dea27d6fc95781876c8b

rq turtle/ttl

Jura1

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX prov: <http://www.w3.org/ns/prov#>
SELECT ?labels ?aliases ?descriptions ?sitelinks ?badges ?statements ?truthies ?qualifiers ?references
WHERE
{
  { SELECT (COUNT(?label) AS ?labels) { wd:P30 rdfs:label ?label . } }
  { SELECT (COUNT(?alias) AS ?aliases) { wd:P30 skos:altLabel ?alias . } }
  { SELECT (COUNT(?description) AS ?descriptions) { wd:P30 schema:description  ?description . } }
  { SELECT (COUNT(?sitelink) AS ?sitelinks) { ?sitelink schema:about wd:Q30 . } }
  { SELECT (COUNT(?badge) AS ?badges) { ?badge schema:about wd:Q30 ; wikibase:badge [] . } }
  { SELECT (COUNT(?statement) AS ?statements) { wd:Q30 ?p ?statement . ?statement wikibase:rank [] . } } 
  { SELECT (COUNT(?truthy) AS ?truthies) { wd:Q30 ?p ?truthy . ?truthy a wikibase:BestRank . } } 
  { SELECT (COUNT(?qualifier) AS ?qualifiers) { wd:Q30 ?p ?qualifier . ?qualifier ?pqv [] . [] wikibase:qualifierValue ?pqv . } } 
  { SELECT (COUNT(?reference) AS ?references) { wd:Q30 ?p ?reference . ?reference prov:wasDerivedFrom [] . } } 
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?alias") v4("?aliases"):::projected v9("?badge") v10("?badges"):::projected v5("?description") v6("?descriptions"):::projected v1("?label") v2("?labels"):::projected v11("?p") v17("?pqv") v16("?qualifier") v18("?qualifiers"):::projected v19("?reference") v20("?references"):::projected v7("?sitelink") v8("?sitelinks"):::projected v12("?statement") v13("?statements"):::projected v15("?truthies"):::projected v14("?truthy") a1((" ")) a2((" ")) a3((" ")) a4((" ")) a5((" ")) c1(["wd:P30"]):::iri c6(["wd:Q30"]):::iri c10(["wikibase:BestRank"]):::iri c1 --"rdfs:label"--> v1 bind1[/"count(?label)"/] v1 --o bind1 bind1 --as--o v2 c1 --"skos:altLabel"--> v3 bind3[/"count(?alias)"/] v3 --o bind3 bind3 --as--o v4 c1 --"schema:description"--> v5 bind5[/"count(?description)"/] v5 --o bind5 bind5 --as--o v6 v7 --"schema:about"--> c6 bind7[/"count(?sitelink)"/] v7 --o bind7 bind7 --as--o v8 v9 --"schema:about"--> c6 v9 --"wikibase:badge"--> a1 bind9[/"count(?badge)"/] v9 --o bind9 bind9 --as--o v10 c6 -->v11--> v12 v12 --"wikibase:rank"--> a2 bind11[/"count(?statement)"/] v12 --o bind11 bind11 --as--o v13 c6 -->v11--> v14 v14 --"a"--> c10 bind13[/"count(?truthy)"/] v14 --o bind13 bind13 --as--o v15 c6 -->v11--> v16 v16 -->v17--> a3 a4 --"wikibase:qualifierValue"--> v17 bind15[/"count(?qualifier)"/] v16 --o bind15 bind15 --as--o v18 c6 -->v11--> v19 v19 --"prov:wasDerivedFrom"--> a5 bind17[/"count(?reference)"/] v19 --o bind17 bind17 --as--o v20