From: Kaushik C. <kay...@gm...> - 2015-04-27 18:04:43
|
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 ? |