Open world assumption and SPARQL in triple stores

六眼飞鱼酱① 提交于 2019-12-08 20:56:30

Well....

I wonder whether this is really a good question for this site. I think not, but I'm gonna throw a few cents into the bucket anyway.

To start with -- does it matter whether SPARQL "adopts" (and what does that mean, to you?) OWA, and, if so, why?

Then, to address @AKSW's comment -- W3 differs with @AKSW's assertion, in at least the RDF 1.0 Spec (granted, that has since been revised to RDF 1.1, and the key statement has now been left out; regrettably, "What's new in RDF 1.1" doesn't mention this omission), and a draft of the Government Linked Data WG Glossary (again, later omitted without explanation I could find). Wikipedia and various others concur, that RDF does base itself on OWA.

OWA basically says, if I don't have a statement (or its inverse) explicitly providing its truth or falsity, the answer to "is this statement true?" is neither "yes" nor "no," but "I don't know."

In similarly overly-simplified terms, SPARQL looks in a given Graph for matches to a Basic Graph Pattern. If the match is not found, the answer is not TRUE ... but does this mean that the pattern is therefore FALSE? I suggest, no.

But again -- so what? What's your use case? Are you working with sparse data, or solid data? Far too much of your question is left open; still, it's easy to answer based on a closed world assumption...

SPARQL follows the Closed World Assumption and assumes RDF data to be complete. This does not affect positive queries, but SPARQL queries with negation make only sense under closed world semantics.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!