query-1588a7b92d908fb221ee7ed0377abc0b
Lister tous les articles universitaires contenant un mot clé) dans le titre/label (by Matthias Winkelmann) gamification(ici
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?label ?subject
WHERE
{
SERVICE wikibase:mwapi
{
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:api "Generator";
mwapi:generator "search";
mwapi:gsrsearch "inlabel:gamification"@en;
mwapi:gsrlimit "max".
?item wikibase:apiOutputItem mwapi:title.
}
?item rdfs:label ?label. FILTER( LANG(?label)="en" )
#more restriction here
?item wdt:P31 wd:Q13442814 .
OPTIONAL { ?item wdt:P921 ?subject}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?label"):::projected
v3("?subject"):::projected
c5(["www.wikidata.org"]):::literal
c13(["max"]):::literal
c9(["search"]):::literal
c3(["bd:serviceParam"]):::iri
c18(["wd:Q13442814"]):::iri
c11([sinlabel:gamification^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"]):::literal
c15(["mwapi:title"]):::iri
c7(["Generator"]):::literal
f0[["?label = 'en'"]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c3 --"mwapi:endpoint"--> c5
c3 --"mwapi:api"--> c7
c3 --"mwapi:generator"--> c9
c3 --"mwapi:gsrsearch"--> c11
c3 --"mwapi:gsrlimit"--> c13
v2 --"mwapi:apiOutputItem"--> c15
end
v2 --"rdfs:label"--> v1
v2 --"wdt:P31"--> c18
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P921".-> v3
end