query-dedc4cc6abd929580c5084f1ff1cdc9f
wd items with smg url
SELECT DISTINCT ?item ?itemLabel ?groupLabel ?urlLabel WHERE { ?item wdt:P8694 ?group . ?item wdt:P973 ?url . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#wd items with smg url
SELECT DISTINCT ?item ?itemLabel ?groupLabel ?urlLabel WHERE {
?item wdt:P8694 ?group .
?item wdt:P973 ?url .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?group")
v1("?item"):::projected
v3("?url")
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P8694"--> v2
v1 --"wdt:P973"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end