tisdag 26 juli 2016

People part in the Gallipoli campaign

WikiTree Category:Anzacs:World_War_One

P607 Q164983 = conflict Gallipoli campaign

# Query Find people in WikiTree people part in Q164983 Gallipoli conflict
SELECT  ?person ?personLabel ?personDescription ?WikiTree ?pic ?MiltaryBranchLabel ?awardsLabel WHERE {

    ?person wdt:P607 wd:Q164983 . #Gallipoli conflict
OPTIONAL{ ?person wdt:P2949 ?WikiTreeID}
OPTIONAL{ ?person wdt:P241 ?MiltaryBranch}
OPTIONAL{ ?person wdt:P18 ?pic}
OPTIONAL{ ?person wdt:P166 ?awards}
BIND (URI(CONCAT("http://www.wikitree.com/wiki/",?WikiTreeID)) as ?WikiTree)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en"}
LIMIT 1000

People marked in WikiData to have an profile in WikiTree and are part of Gallipoli campaign

==> ?person P607 Q164983

Inga kommentarer:

Skicka en kommentar