我试图按照this answer中给出的关于Blazegraph中OWL推理的示例,但查询:
select * where {
:John rdf:type ?type
}
仅返回:
type: owl:NamedIndividual, owl:Thing
但不是预期的推断:
type: :Vegetarian
我在Blazegraph中的命名空间配置:
com.bigdata.namespace.kb.spo.com.bigdata.btree.BTree.branchingFactor 1024
com.bigdata.relation.container test-owl
com.bigdata.journal.AbstractJournal.bufferMode DiskRW
com.bigdata.journal.AbstractJournal.file bigdata.jnl
com.bigdata.journal.AbstractJournal.initialExtent 209715200
com.bigdata.rdf.store.AbstractTripleStore.vocabularyClass com.bigdata.rdf.vocab.DefaultBigdataVocabulary
com.bigdata.rdf.store.AbstractTripleStore.textIndex false
com.bigdata.btree.BTree.branchingFactor 128
com.bigdata.namespace.kb.lex.com.bigdata.btree.BTree.branchingFactor 400
com.bigdata.rdf.store.AbstractTripleStore.axiomsClass com.bigdata.rdf.axioms.OwlAxioms
com.bigdata.rdf.sail.isolatableIndices false
com.bigdata.service.AbstractTransactionService.minReleaseAge 1
com.bigdata.rdf.sail.truthMaintenance true
com.bigdata.journal.AbstractJournal.maximumExtent 209715200
com.bigdata.rdf.store.AbstractTripleStore.justify true
com.bigdata.rdf.sail.namespace test-owl
com.bigdata.relation.class com.bigdata.rdf.store.LocalTripleStore
com.bigdata.rdf.store.AbstractTripleStore.quads false
com.bigdata.relation.namespace test-owl
com.bigdata.btree.writeRetentionQueue.capacity 4000
com.bigdata.rdf.store.AbstractTripleStore.statementIdentifiers false
我错过了什么?