query-5023dbae80209c3106deca2d3e0765aa
TO BE IMPROVED(Maybe try MINUS) 1. I think this query is also counting interwiki links. I would like this query to tell me how many statements there are for each of these file formats. I'm not sure how to do it. )?count(DESC ORDER BY ?formatLabel ?format GROUP BY } } . "en" language:wikibase serviceParam:bd { label:wikibase SERVICE . ?s ?p ?format . Q235557:wd P31:wdt ?format { WHERE )?count AS )?p(COUNT( ?formatLabel ?format SELECT 2. Return all predicates and all objects for all items that are instances of emulator:
Use at
- https://query.wikidata.org/sparql
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 ?p ?o
WHERE {
?emulator wdt:P31 wd:Q202871 .
?emulator ?p ?o .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?emulator")
v3("?o"):::projected
v2("?p"):::projected
c4(["bd:serviceParam"]):::iri
c2(["wd:Q202871"]):::iri
c6(["en"]):::literal
v1 --"wdt:P31"--> c2
v1 -->v2--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end