[LinkedDataSailGraph] No results

12 views
Skip to first unread message

Pierre De Wilde

unread,
Apr 25, 2012, 6:33:20 PM4/25/12
to gremli...@googlegroups.com
Hi,

I haven't used LinkedDataSailGraph for a while.

I run the following steps which don't  produce any results:

gremlin> g = new LinkedDataSailGraph(new MemoryStoreSailGraph())      
==>linkeddatasailgraph[linkeddatasail]
gremlin> v.out('foaf:made')                                          
gremlin> 

A HTTP tracer shows the correct transfer of the RDF file from

Any idea?
Pierre

Marko Rodriguez

unread,
Apr 25, 2012, 7:13:59 PM4/25/12
to gremli...@googlegroups.com
Hi,

You have to explicitly add the foaf namespace now. If the documentation is inconsistent, could you please update it? Thanks Pierre

gremlin> g.addNamespace('foaf','http://xmlns.com/foaf/0.1/')
==>null
gremlin> v.out('foaf:made')                                 

Marko.

Pierre De Wilde

unread,
Apr 26, 2012, 3:16:10 AM4/26/12
to gremli...@googlegroups.com
Hey,
has been updated to add default namespaces.

Thanks, Marko.
Pierre

Pierre De Wilde

unread,
Apr 26, 2012, 3:45:27 AM4/26/12
to gremli...@googlegroups.com
Hey,


'A Recommendation Algorithm over DBPedia' doesn't return any result:
gremlin> g = new LinkedDataSailGraph(new MemoryStoreSailGraph()) 
==>linkeddatasailgraph[linkeddatasail]
gremlin> g.addNamespace('dbpedia','http://dbpedia.org/resource/')
==>null
gremlin> g.addDefaultNamespaces()                                
==>null
gremlin> v.outE                                                  
gremlin> 

After investigation (HTTP tracer shows RDF/XML), there is a RDFParse exception around dates which prevents the correct load of data. I have created an issue that shows the exception.

Thanks,
Pierre
Reply all
Reply to author
Forward
0 new messages