On 1/24/17 12:22 PM, Roland Cornelissen wrote:
>
> Hi,
>
> I have this weird situation where I load a dataset into nl.dbpedia
> like this:
>
> ld_dir ('/opt/static/data/nlwiki/20170120/', '*.nt',
> 'http://nl.dbpedia.org');
> rdf_loader_run();
>
> Now when I query the data I don't get it any results through the
> sparql interface when I phrase the query like this
> <http://nl.dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fnl.dbpedia.org&qtxt=select+*+%7B%3Fs+foaf%3Adepiction+%3Fpic+%7D+limit+100%0D%0A&format=text%2Fhtml&timeout=30000&debug=on>
>
> But when the graph is explicitly specified in the query I get results
> as expected, like this
> <http://nl.dbpedia.org/sparql?default-graph-uri=&qtxt=select+*+%7Bgraph+%3Chttp%3A%2F%2Fnl.dbpedia.org%3E+%7B%3Fs+foaf%3Adepiction+%3Fpic%7D%7D+limit+100&format=text%2Fhtml&timeout=30000&debug=on>
>
> Results are not showing up in the URI resolving interface.
>
> Whats is going on here? How do I get those triples in the right graph?
>
> Thanks,
> Roland
>

What happens when you try:

http://nl.dbpedia.org/sparql?default-graph-uri=&query=select+*+%7Bgraph+%3Fg+%7B%3Fs+foaf%3Adepiction+%3Fpic%7D%7D+limit+100&format=text%2Fhtml&timeout=30000&debug=on

If that's fine, this its down do you not using: GRAPH ?g in the dataset
modifier (body) of your sparql query.


-- 
Regards,

Kingsley Idehen       
Founder & CEO 
OpenLink Software   (Home Page: http://www.openlinksw.com)

Weblogs (Blogs):
Legacy Blog: http://www.openlinksw.com/blog/~kidehen/
Blogspot Blog: http://kidehen.blogspot.com
Medium Blog: https://medium.com/@kidehen

Profile Pages:
Pinterest: https://www.pinterest.com/kidehen/
Quora: https://www.quora.com/profile/Kingsley-Uyi-Idehen
Twitter: https://twitter.com/kidehen
Google+: https://plus.google.com/+KingsleyIdehen/about
LinkedIn: http://www.linkedin.com/in/kidehen

Web Identities (WebID):
Personal: http://kingsley.idehen.net/dataspace/person/kidehen#this
        : 
http://id.myopenlink.net/DAV/home/KingsleyUyiIdehen/Public/kingsley.ttl#this

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to