query-188c58c3819e90d0eac9ea9ebcf6320d
Interactive results different from url resultsI'm not sure about if this is the right place to ask, so please forgive me if it isn't. When I run this query I get 9553 results, which looks fine:
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 ?item ?itemLabel ?ipac ?idbcn WHERE {
?item wdt:P131+ wd:Q1492.
?item wdt:P17 wd:Q29.
OPTIONAL { ?item wdt:P1600 ?ipac.}
OPTIONAL { ?item wdt:P11557 ?idbcn.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "ca, en, es" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?idbcn"):::projected
v2("?ipac"):::projected
v1("?item"):::projected
c10(["ca, en, es"]):::literal
c4(["wd:Q29"]):::iri
c8(["bd:serviceParam"]):::iri
c2(["wd:Q1492"]):::iri
v1 --"wdt:P131"--> c2
v1 --"wdt:P17"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1600".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P11557".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end