Project:Example Queries: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 76: Line 76:
WHERE  
WHERE  
{
{
  ?item wdt:P29|wdt:P28|wdt:P27|wdt:P26 [] .
   OPTIONAL { ?item wdt:P29 ?val_0 . }
   OPTIONAL { ?item wdt:P29 ?val_0 . }
   OPTIONAL { ?item wdt:P28 ?val_1 . }
   OPTIONAL { ?item wdt:P28 ?val_1 . }
Line 81: Line 82:
   OPTIONAL { ?item wdt:P26 ?val_3 . }
   OPTIONAL { ?item wdt:P26 ?val_3 . }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
}</syntaxhighlight>
}</syntaxhighlight>


Navigation menu