From: Bryan T. <br...@sy...> - 2015-04-28 01:33:39
|
Ontologies are just data. Use any approach you would use to load the data. Bryan On Apr 27, 2015 11:04 AM, "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 > > |