fredag 15 juli 2016

People with citizenship in Indonesia



* Query URL
* Query Image gallery of people in Wikidata Indonesia and also have WikiTree P2949 attribute set - Result - URL query





# People with citizenship in Indonesia on a map with Birth Death and burial locations
# If Wikitree property set you will have a link
#defaultView:Map
Select ?person ?personLabel ?WikiTreeIDf ?pic ?coord ?coord2 ?coord3 ?BirthDate ?DeathDate {
?person wdt:P27 wd:Q252   # P27 country of citizenship Q252 Indonesia
OPTIONAL {?person wdt:P2949 ?WikiTreeID} # P2949 all Wikidata articles with WikiTree id set
    BIND (URI(CONCAT("http://www.wikitree.com/wiki/",?WikiTreeID)) AS ?WikiTreeIDf)
OPTIONAL {?person wdt:P18 ?pic}
    OPTIONAL {  ?person wdt:P19 ?loc . # P19 Place of Birth
    ?loc wdt:P625 ?coord } .     # Get coordinates from Place of Birth
    OPTIONAL {  ?person wdt:P20 ?loc2 . # P19 Place of Death
    ?loc2 wdt:P625 ?coord2 } .     # Get coordinates from Place of Death
    OPTIONAL {  ?person wdt:P119 ?loc3 . # P19 Place of Burial
    ?loc3 wdt:P625 ?coord3 } .     # Get coordinates from Place of Burial

    OPTIONAL {?person wdt:P569 ?BirthDate}
  OPTIONAL {?person wdt:P570 ?DeathDate}

    SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}
ORDER BY ?BirthDate


Same search but people with a picture are displayed with pictures

Another search https://goo.gl/7BXiyo


Inga kommentarer:

Skicka en kommentar