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  
{
{
   OPTIONAL { ?item wdt:P148 ?val_0 . }
   OPTIONAL { ?item wdt:P29 ?val_0 . }
   OPTIONAL { ?item wdt:P59 ?val_1 . }
   OPTIONAL { ?item wdt:P28 ?val_1 . }
   OPTIONAL { ?item wdt:P1 ?val_2 . }
   OPTIONAL { ?item wdt:P27 ?val_2 . }
   OPTIONAL { ?item wdt:P287 ?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