query-f58acae1557b82fcdf742aef3f67fa01
Propertiesmain subject (P921)describes a project that uses (P4510)programmed in (P277)title (P1476)
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX target: <http://www.wikidata.org/entity/Q202864>
SELECT ?item ?title ?n #?type ?typeLabel
WHERE {
{
SELECT DISTINCT ?item ?n WHERE {
?paper wdt:P921 target: .
?paper wdt:P4510 ?soft .
?soft wdt:P277 [] .
?soft rdfs:label ?n.
FILTER(LANG(?n) = "en").
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:api "Generator";
mwapi:generator "search";
mwapi:gsrsearch ?n ;
mwapi:gsrlimit "max".
?item wikibase:apiOutputItem mwapi:title .
}
} LIMIT 10000
}
?item wdt:P1476 ?title .
}
LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?item"):::projected
v1("?n"):::projected
v2("?paper")
v3("?soft")
v5("?title"):::projected
a1((" "))
c10(["www.wikidata.org"]):::literal
c17(["max"]):::literal
c3([http://www.wikidata.org/entity/Q202864]):::iri
c14(["search"]):::literal
c8(["bd:serviceParam"]):::iri
c19(["mwapi:title"]):::iri
c12(["Generator"]):::literal
f0[["?n = 'en'"]]
f0 --> v1
v2 --"wdt:P921"--> c3
v2 --"wdt:P4510"--> v3
v3 --"wdt:P277"--> a1
v3 --"rdfs:label"--> v1
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c8 --"mwapi:endpoint"--> c10
c8 --"mwapi:api"--> c12
c8 --"mwapi:generator"--> c14
c8 --"mwapi:gsrsearch"--> v1
c8 --"mwapi:gsrlimit"--> c17
v4 --"mwapi:apiOutputItem"--> c19
end
v4 --"wdt:P1476"--> v5