Sunday, April 29, 2018

Hibiscus rosa-sinensis - "Example: a query for DBpedia URIs for all countries," How about for all languages?, Stanford: "Film Screening & Livestream Q&A: Human Flow, A Film by Ai Weiwei" about the worldwide refugee crisis, "How could US citizen's help refugees with online education in all ~200 countries? (and in the refugees main languages)?", Check out the Taoism wiki subject for open teaching and learning @WorldUnivAndSch ~ & re this new translation of The Tao Te Ching here

Hi Paris Writers' News/PWN, Markus, and Wikidatans, 

Based on your example (, Markus, I'm seeking to learn how to do a similar query for all languages. 

In Wikidata I found a Q item # for "language" - Q34770 ( - and plugged this into your query, replaced the word "countries" with "languages," etc. but didn't get a result, where your query yields 209 countries, Markus. 

In a parallel way, how would one compute them from the names of the articles in Wikipedia?




(English) DBpedia URIs are basically just (English) Wikipedia URIs with the first part exchanged. So one can compute them from the names of the articles. Example: a query for DBpedia URIs for all countries:

SELECT ?dbpediaId
  ?item wdt:P31 wd:Q6256 . # for the example: get IDs for all countries
  ?sitelink schema:about ?item ;
            schema:isPartOf <> .

BIND(URI(CONCAT("",SUBSTR(STR(?sitelink),31))) as ?dbpediaId)

Of course, depending on your use case, you can do the same offline (without requiring SPARQL to rewrite the id strings for you).

In theory, one could use federation to pull in data from the DBpedia endpoint, but in practice I could not find an interesting query that completes within the timeout (but I did not try for very long to debug this).

Best regards,


About DBpedia:


Hi Ki,

Thanks for connecting on Twitter just now (@scottmacleod).

I'm heading to Ai Weiwei's film "Human Flow" at Stanford tomorrow afternoon,, and have already RSVPed.

Any interest in seeing this - - and perhaps meeting beforehand?



Film Screening & Livestream Q&A: Human Flow, A Film by Ai Weiwei

Sunday, April 29, 2018
1:45 pm
Geology Corner, Building 320, Room 105
Sponsored by:
This event is co-sponsored by Handa Center for Human Rights & International Justice, Haas Center for Public Service, Center for Innovation in Global Health, Stanford Refugee Research Project, and The Markaz: Resource Center.
    Over 65 million people around the world have been forced from their homes to escape famine, climate change and war in the greatest human displacement since World War II. Human Flow, an epic film journey led by the internationally renowned artist Ai Weiwei, gives a powerful visual expression to this massive human migration. The documentary elucidates both the staggering scale of the refugee crisis and its profoundly personal human impact.
    Captured over the course of an eventful year in 23 countries, the film follows a chain of urgent human stories that stretches across the globe in countries including Afghanistan, Bangladesh, France, Greece, Germany, Iraq, Israel, Italy, Kenya, Mexico, and Turkey. Human Flow is a witness to its subjects and their desperate search for safety, shelter and justice: from teeming refugee camps to perilous ocean crossings to barbed-wire borders; from dislocation and disillusionment to courage, endurance and adaptation; from the haunting lure of lives left behind to the unknown potential of the future. Human Flow comes at a crucial time when tolerance, compassion and trust are needed more than ever. This visceral work of cinema is a testament to the unassailable human spirit and poses one of the questions that will define this century: Will our global society emerge from fear, isolation, and self-interest and choose a path of openness, freedom, and respect for humanity?

    In some ways, this film was quite Taoist ... and quite a change in representation of refugees from the last century ... there aren't many horrors portrayed in this film, I'm glad to say.

    The film begins along a shore/beach on Lesvos, Greece, not far from Turkey, - and on a part of Lesvos which is quite close to Angela & Victor's Yoga Hall in Eftalou, which I've visited a number of times. Nice to see this familiar stretch of the road and beach in Eftalou.

    Ai Weiwei's new film "Human Flow" about the worldwide refugee crisis:

    Thanks for posting this, Kiernan! ...

    "When there is nowhere to go, nowhere is home"



    The refugee crisis is real, global and urgent. Watch @aiww's ground-breaking documentary #HumanFlow now on @PrimeVideo:

    I asked in in the live Q&A with Ai Weiwei himself in Chicago (since this was live streamed to many universities in the US):

    How could US citizen's help refugees with online education in all ~200 countries? (and in the refugees' main languages)?


    seeking #Harmony? ------>

    The Tao Te Ching

    (read as: #Answer)

    Check out the Taoism wiki subject for open teaching and learning @WorldUnivAndSch ~ & re The Tao Te Ching ~ … (thanks for this great version) ... & #Harmony (& #Answer too) :)



    No comments: