query-3034b38605c8f2b8031cead174e59d0b
Videogame with a QRM link on french wikipedia
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?itemLabel ?link ?item ?queerly ?queerlyDisplay
WHERE
{
# ?item is a human person
?item wdt:P31 wd:Q7889 .
# has a QRM property
?item wdt:P6554 ?queerly .
# ?link is about ?item
?link schema:about ?item .
# ?link is in french
?link schema:inLanguage "fr"
BIND(CONCAT("<https://queerlyrepresentme/title/", STR(?queerly), ">") AS ?queerlyDisplay)
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr" }
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemLabel"):::projected
v4("?link"):::projected
v3("?queerly"):::projected
v5("?queerlyDisplay"):::projected
c8(["bd:serviceParam"]):::iri
c2(["wd:Q7889"]):::iri
c6(["fr"]):::literal
c10(["en,fr"]):::literal
v2 --"wdt:P31"--> c2
v2 --"wdt:P6554"--> v3
v4 --"schema:about"--> v2
v4 --"schema:inLanguage"--> c6
bind0[/"concat('<https://queerlyrepresentme/title/',str(?queerly),'>')"/]
v3 --o bind0
bind0 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end