Wikidata SPARQL GND: Difference between revisions

From annawiki
Created page with "https://w.wiki/6oWf SELECT ?id { ?item wdt:P31 wd:Q5. ?item wdt:P227 ?id. ?item wikibase:sitelinks ?sl . FILTER (?sl >= 1) . }"
 
No edit summary
Line 1: Line 1:
https://w.wiki/6oWf
https://w.wiki/6oWf
SELECT ?id
SELECT ?id
{
{
  ?item wdt:P31 wd:Q5.
  ?item wdt:P31 wd:Q5.
  ?item wdt:P227 ?id.  
  ?item wdt:P227 ?id.  
  ?item wikibase:sitelinks ?sl .
  ?item wikibase:sitelinks ?sl .
  FILTER (?sl >= 1) .
  FILTER (?sl >= 1) .
}
}

Revision as of 2023-06-07T21:54:45

https://w.wiki/6oWf

SELECT ?id
{
?item wdt:P31 wd:Q5.
?item wdt:P227 ?id. 
?item wikibase:sitelinks ?sl .
FILTER (?sl >= 1) .
}