Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.7k views
in Technique[技术] by (71.8m points)

sparql - How to get the directly linked movie through wikiPageWikiLink in DBpedia?

Before 12 days the below sparql query was working properly but when Dbpedia update the interface of the website in 2021 the same query could not retrieve any result. Actually there is no wikipagewikilink that was exist to connect movies and other resources. the query that I used is

PREFIX dbont: <http://dbpedia.org/ontology/> 
    SELECT distinct ?p ?o
    WHERE { <http://dbpedia.org/resource/The_Terminator> ?p ?o. ?o <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> dbont:Film.}

The result that I got before was all movies that are linked with terminator Film by WikiPageWikiLink predicate. but now there are no such results.

Are there any changes occurred on DBpedia server? Is this property(WikiPageWikiLink) removed ?

Is there any other way to get the movies that are directly linked to specific movie?

Thank you.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

After contacting Dbpedia on Slack chat they said that there was a dataset missing in the last update. They solved the issue now and the same query that I Posted it works now. Many thanks to Patric for his follow up with databus team to solve this issue.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...