Reputation: 177
My question is how to save all the triples in my graph variable from URI. When I execute my code:
IGraph g = new Graph();
g.LoadFromUri(new Uri("http://data.linkedmdb.org/page/film/14931"));
I get only 2 triples in that graph, my question is how can I get others like actors, director, editor,...?
Those 2 triples are:
{http://data.linkedmdb.org/page/film/14931 , http://www.w3.org/1999/xhtml/vocab#stylesheet , http://data.linkedmdb.org/snorql/style.css}
{http://data.linkedmdb.org/page/film/14931 , http://www.w3.org/1999/xhtml/vocab#alternate , http://data.linkedmdb.org/data/film/14931}
Upvotes: 0
Views: 105
Reputation: 85813
The LinkedMDB homepage includes:
Start Exploring
- Use your web browser to explore the HTML view provided by the D2R server at http://data.linkedmdb.org/page/film/2014
- Use the following semantic web browsers to explore the resource URI http://data.linkedmdb.org/resource/film/2014
It sounds like you should request http://data.linkedmdb.org/resource/film/14931 instead. (Note that retrieving that in a web browser, you'll get redirected to the first. Be sure to try it in your code, not just in a web browser.)
Upvotes: 1