|
From: Bryan T. <br...@bl...> - 2016-05-07 17:10:18
|
Bob, You need to create a namespace in which inference is enabled. You can do this using the workbench. Or you can do this using the REST API. See https://wiki.blazegraph.com/wiki/index.php/InferenceAndTruthMaintenance. Especially look at https://wiki.blazegraph.com/wiki/index.php/InferenceAndTruthMaintenance#Triples_Modes (properties required) and https://wiki.blazegraph.com/wiki/index.php/Quick_Start#Create_Namespace (workbench). See https://wiki.blazegraph.com/wiki/index.php/REST_API#Triples_.2B_Inference_.2B_Truth_Maintenance for doing this with the REST API. Thanks, Bryan On Sat, May 7, 2016 at 12:11 PM, Bob DuCharme <bo...@sn...> wrote: > I want to have SPARQL queries on http://192.168.0.79:9999/blazegraph > return inferred triples, so that after loading the data at > http://learningsparql.com/2ndeditionexamples/ex417.ttl I can query for > dc:creator values and see the dm:composer and dm:photographer values > returned. I was able to do a query on dm:photographer with no problem, > but couldn 't get at any inferred triples. > > Based on what I saw at > > https://wiki.blazegraph.com/wiki/index.php/SPARQL_Update#Manage_truth_maintenance_in_SPARQL_UPDATE > , > on http://192.168.0.79:9999/blazegraph/#update I entered ENABLE > ENTAILMENTS with a Type of "SPARQL Update" selected underneath. This > gave me a bunch of errors starting with this: > > java.util.concurrent.ExecutionException: > java.util.concurrent.ExecutionException: > org.openrdf.query.UpdateExecutionException: java.lang.RuntimeException: > java.util.concurrent.ExecutionException: > java.lang.ArrayIndexOutOfBoundsException: 3 > > I had hoped that ENABLE (or CREATE) ENTAILMENTS as an update request > would let me query for the dc:creator values. Is this possible? What am > I doing wrong? > > Thanks, > > Bob > > > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > Bigdata-developers mailing list > Big...@li... > https://lists.sourceforge.net/lists/listinfo/bigdata-developers > |