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 ~ https://wiki.worlduniversityandschool.org/wiki/Taoism & re this new translation of The Tao Te Ching here


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

Based on your example (http://tinyurl.com/yahwql2n), 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 (https://www.wikidata.org/wiki/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?

Thanks, 
Scott


...

Hi,

(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:

http://tinyurl.com/yahwql2n

"""
SELECT ?dbpediaId
WHERE
{
  ?item wdt:P31 wd:Q6256 . # for the example: get IDs for all countries
  ?sitelink schema:about ?item ;
            schema:isPartOf <https://en.wikipedia.org/> .

BIND(URI(CONCAT("http://dbpedia.org/resource/",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,

Markus


*
About DBpedia:
http://dbpedia.org/page/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 - https://events.stanford.edu/events/768/76849/ - and perhaps meeting beforehand?

Cheers,
Scott

*

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"

    #HumanFlow

    @PrimeVideo: http://bit.ly/HumanFlowPrime



    https://twitter.com/KiernanHaggarty/status/990585898793340928

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



    https://twitter.com/HumanFlowMovie/status/964683914056011776


    *
    I asked in Slide.com 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? ------> http://www.with.org/tao_te_ching_en.pdf

    The Tao Te Ching

    (read as: #Answer)



    https://twitter.com/KiernanHaggarty/status/990617338461458432


    *
    Check out the Taoism wiki subject for open teaching and learning @WorldUnivAndSch ~ https://wiki.worlduniversityandschool.org/wiki/Taoism & re The Tao Te Ching ~ https://twitter.com/KiernanHaggarty/status/990617338461458432 … (thanks for this great version) ... & #Harmony (& #Answer too) :)



    https://twitter.com/scottmacleod/status/990631451950333952








    *







    ...





    No comments: