query-75b56ee0b3999d41be5f58dd039c6462
How to adjust the title? 23:02, 24 June 2017 (UTC) questions? Q.Zanden prefix? Or make it something different? I know that with Bind(?variable as str) is possible, but that is only for adding things to the variable. wd:For a normal query the outcome gives something like wd:Qxxx. How to remove the 07:13, 26 June 2017 (UTC)) talk (Edgars2007: Hmm, could you give some (real) example? Didn't quite understand, what you want. --QZanden@ 20:43, 25 June 2017 (UTC) questions? Q.Zanden! And when I do not want the suffix? for example the query gives Page/Sub and I want only the Page part? Edgars2007Thanks, 04:28, 25 June 2017 (UTC)) talk (Edgars2007(STRAFTER(STR(?item), STR(wd:)) AS ?1) --
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 WHERE {
?item wdt:P31 wd:Q14204246.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
LIMIT 50
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
c4(["bd:serviceParam"]):::iri
c2(["wd:Q14204246"]):::iri
c6(["en"]):::literal
v1 --"wdt:P31"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end