3

I'm new on this, so sorry if I'm not clear.

My question is, why does the information shown in Yago browser for Nagoya University of Arts differ from the one in here or making a SPARQL query on the Yago endpoint like

SELECT * WHERE {
 <http://yago-knowledge.org/resource/Nagoya_University_of_Arts> ?p ?v .
}

?

To be more precise, for example, in the web browser there are much more type than in the other ones.

Joshua Taylor
  • 84,998
  • 9
  • 154
  • 353

2 Answers2

0

I'm not sure what endpoint you're using for YAGO. Try the DBpedia endpoint here, which has at least some of YAGO loaded. I get several YAGO types for this query:

SELECT * WHERE {
 <http://dbpedia.org/resource/Nagoya_University_of_Arts> ?p ?v .
}
cygri
  • 9,412
  • 1
  • 25
  • 47
  • I'm using the endpoint given in [here](http://www.mpi-inf.mpg.de/yago-naga/yago/demo.html). What annoys me is that I can't make specific querys like, "give me all the _university_ in Yago", as that information is only shown in the browser. I'm also executing the equivalent querys on DBpedia, but I need both results. Thanks anyway! – yuka_mustang Aug 14 '12 at 21:01
  • @yuka_mustang The link you give is a 404 not found. – Joshua Taylor Jul 24 '14 at 11:30
0

According to the YAGO Demo page, there's a SPARQL endpoint for YAGO data at http://lod2.openlinksw.com/sparql:

SPARQL Interface

The SPARQL endpoint for YAGO is provided by OpenLink. It does not always work, but is nice to try out if it does. Try asking, e.g., SELECT * WHERE {http://yago-knowledge.org/resource/Albert_Einstein ?p ?o}

Based on your comment:

What annoys me is that I can't make specific querys like, "give me all the university in Yago", as that information is only shown in the browser.

I think you'll find this query useful. You can get a list of all universities by asking for everything that's an instance of a class that's a subclass of University:

select * where { 
  ?university a/rdfs:subClassOf* <http://yago-knowledge.org/resource/wordnet_university_108286569>
}
limit 100

SPARQL results

Since not all of the links in your question work, I'm not sure where you're seeing more types in one place than in another, but I wouldn't be surprised if one presentation only shows the immediate types asserted in the data, whereas another gives you the types that include the superclasses. That's why I used the property path expression in the previous query to find not just all things declared as a university, but all things declared as a university or as a subclass of university, or a subclass of a subclass of a university, and so on.

Community
  • 1
  • 1
Joshua Taylor
  • 84,998
  • 9
  • 154
  • 353
  • I run the same query at [http://linkeddata1.calcul.u-psud.fr/sparql](http://linkeddata1.calcul.u-psud.fr/sparql) and I got back many more results – kostia Dec 30 '16 at 11:10