From: Kaushik C. <kay...@gm...> - 2015-04-28 01:27:01
|
Pardon my naïveté but how do one load an ontology in a kb while Blazegraph is being deployed as NanoSparqlServer ? The actual Org Ontology is at this URL - http://www.w3.org/ns/org.n3 and it has the required inverseOf relationship that you mentioned. What's the best way to tell Blazegraph to go and fetch the same from this URL and use it for inferencing as I'm adding my document in Update panel. Much thanks in advance. On Tue, Apr 28, 2015 at 12:22 AM Mike Personick <mi...@sy...> wrote: > Did you load that organization ontology into the knowledge base? > Somewhere in the kb you need the statement: > > org:memberOf owl:inverseOf org:hasMember > > > > On Mon, Apr 27, 2015 at 12:04 PM, Kaushik Chakraborty <kay...@gm...> > wrote: > >> Hi, >> >> If I put this RDF data in the Updata panel of NanoSparqlServer: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> *@prefix : <http://kg.cts.com/ <http://kg.cts.com/>> .@prefix foaf: >> <http://xmlns.com/foaf/0.1/ <http://xmlns.com/foaf/0.1/>> .@prefix rdf: >> <http://www.w3.org/1999/02/22-rdf-syntax-ns# >> <http://www.w3.org/1999/02/22-rdf-syntax-ns#>> .@prefix rdfs: >> <http://www.w3.org/2000/01/rdf-schema# >> <http://www.w3.org/2000/01/rdf-schema#>> .@prefix owl: >> <http://www.w3.org/2002/07/owl# <http://www.w3.org/2002/07/owl#>> .@prefix >> org: <http://www.w3.org/ns/org# <http://www.w3.org/ns/org#>> .:A rdf:type >> org:Organization .:139137 rdf:type foaf:Agent ; rdfs:label "139137" ; >> org:memberOf :A .* >> >> And then if I make a query like this >> >> *prefix : <http://kg.cts.com/ <http://kg.cts.com/>>* >> *prefix foaf: <http://xmlns.com/foaf/0.1/ <http://xmlns.com/foaf/0.1/>>* >> *prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns# >> <http://www.w3.org/1999/02/22-rdf-syntax-ns#>>* >> *prefix rdfs: <http://www.w3.org/2000/01/rdf-schema# >> <http://www.w3.org/2000/01/rdf-schema#>>* >> *prefix owl: <http://www.w3.org/2002/07/owl# >> <http://www.w3.org/2002/07/owl#>>* >> *prefix org: <http://www.w3.org/ns/org# <http://www.w3.org/ns/org#>>* >> >> *select distinct ?s ?w* >> *where* >> *{* >> * ?s org:hasMember ?w .* >> *}* >> >> It should list <http://kg.cts.com/A> and <http://kg.cts.com/139137> >> respectively as ?s and ?w as per the Organization Ontology ( >> http://www.w3.org/TR/vocab-org/#org:Organization) >> >> But that's not happening. Clearly the inferencing is not working for Org >> Ontology. >> >> Here're my namespace properties: >> >> com.bigdata.namespace.kb.spo.com.bigdata.btree.BTree.branchingFactor1024 >> com.bigdata.relation.containertest-import >> com.bigdata.journal.AbstractJournal.bufferModeDiskRW >> com.bigdata.journal.AbstractJournal.filebigdata.jnl >> com.bigdata.journal.AbstractJournal.initialExtent209715200 >> com.bigdata.rdf.store.AbstractTripleStore.vocabularyClass >> com.bigdata.rdf.vocab.DefaultBigdataVocabulary >> com.bigdata.rdf.store.AbstractTripleStore.textIndexfalse >> com.bigdata.btree.BTree.branchingFactor128 >> com.bigdata.namespace.kb.lex.com.bigdata.btree.BTree.branchingFactor400 >> com.bigdata.rdf.store.AbstractTripleStore.axiomsClass >> com.bigdata.rdf.axioms.OwlAxioms >> com.bigdata.service.AbstractTransactionService.minReleaseAge1 >> com.bigdata.rdf.sail.truthMaintenancetrue >> com.bigdata.journal.AbstractJournal.maximumExtent209715200 >> com.bigdata.rdf.sail.namespacetest-importcom.bigdata.relation.class >> com.bigdata.rdf.store.LocalTripleStore >> com.bigdata.rdf.store.AbstractTripleStore.quadsfalse >> com.bigdata.relation.namespacetest-import >> com.bigdata.btree.writeRetentionQueue.capacity4000 >> com.bigdata.rdf.store.AbstractTripleStore.statementIdentifiersfalse >> What am I missing here ? >> >> >> >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >> _______________________________________________ >> Bigdata-developers mailing list >> Big...@li... >> https://lists.sourceforge.net/lists/listinfo/bigdata-developers >> >> > |