rdfs

Open world assumption and SPARQL in triple stores

六眼飞鱼酱① 提交于 2019-12-08 20:56:30
I would like to know if SPARQL, by default, adopts the open world assumption or if this depends on the triple stores that execute the SPARQL queries. And what are the implications of this assumption in queries. Best regards. 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

add RDFS inference rules support in endpoint SPARQL

痴心易碎 提交于 2019-12-08 10:56:28
问题 I have create an endpoint SPAQL on OpenLink Virtuoso. All work well, but i have to access on the data in a Container, in particular a rdf:Seq. I have a Seq like this: <myrdf:has_stoptimes> <rdf:Seq rdf:about="http://test.com/343"> <rdf:li> <myrdf:StopTime rdf:about="http://test.com/StopTime/434"> ... </ns0:StopTime> </rdf:li> <rdf:li> <myrdf:StopTime rdf:about="http://test.com/StopTime/435"> ... </ns0:StopTime> </rdf:li> </rdf:Seq> Now i see that to access data in a container i can use rdfs

How to install SILK workbench?

浪子不回头ぞ 提交于 2019-12-08 10:05:17
问题 I want to install Silk - The Linked Data Integration Framework. I have downloaded latest version (2.6.1) of SILK WorkBench (https://github.com/silk-framework/silk/releases). I want to install it in both Mac and Windows Machine. Project README file is saying that "The bin-folder contains scripts for running the Silk Workbench on Windows, Linux and iOS." I have tried to run silk-workbench.bat file. However it is giving me following errors. Mac: ./silk-workbench.bat: line 1: @REM: command not

Open world assumption and SPARQL in triple stores

旧时模样 提交于 2019-12-08 06:01:21
问题 I would like to know if SPARQL, by default, adopts the open world assumption or if this depends on the triple stores that execute the SPARQL queries. And what are the implications of this assumption in queries. Best regards. 回答1: 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

Can I configure Jena Fuseki with inference and TDB?

对着背影说爱祢 提交于 2019-12-08 00:37:06
问题 I want to configure Fuseki with an inference model supported by TDB. I have been able to configure it with a Memory Model, but not with a TDB Model where I could update triples. I am using the following assembler description: @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#

Explain inference in Jena

醉酒当歌 提交于 2019-12-07 22:01:01
问题 In Jena, I have created an RDFS inference model using InfModel class: InfModel infmodel = ModelFactory.createRDFSModel(schema, data); Given an inferred statement from infmodel, how do we get the two statements that were used to infer it, similar to the the "explain inference" option in Protégé? For instance, if infModel contains the statement :a rdf:type :t , we might get two statements used to infer it, e.g., :a :p :b and :p rdfs:domain :t . 回答1: According to the documentation (and testing

is it correct that a class can be an instance?

杀马特。学长 韩版系。学妹 提交于 2019-12-07 13:29:20
In this document https://www.w3.org/TR/rdf-schema/#ch_introduction it is written: rdfs:Resource is an instance of rdfs:Class. however it is also written: This is the class of everything is this a typo? can a class be an instance ? That's actually an interesting question. I just want to add to your comment in CaptSolo's answer: but can I define my custom classes as instances of an instance? ( i highly doubt that ) It's not so much a question of whether you "can" do something or not (at least not in this case), but rather whether what you do will make sense. After all the Semantic Web was built

How do owl and rdfs property domain range work?

ε祈祈猫儿з 提交于 2019-12-07 02:34:26
I am trying to understand the semantics of rdfs domain and range. Because I am from an object oriented background, I am struggling to understand the semantics and how to validate data against the rdfs statements. Here is a sample file in turtle format: PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix tmpl: <http://template.example.com/> prefix data: <http://data.example.com/> tmpl:Thing a owl:Class. tmpl:Employment rdfs:subClassOf tmpl:TemporalThing. tmpl:Party rdfs:subClassOf tmpl

Can I configure Jena Fuseki with inference and TDB?

孤街醉人 提交于 2019-12-06 10:39:37
I want to configure Fuseki with an inference model supported by TDB. I have been able to configure it with a Memory Model, but not with a TDB Model where I could update triples. I am using the following assembler description: @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . [] ja:loadClass "com.hp.hpl.jena.tdb.TDB" . tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset . tdb

Difference between rdf:seeAlso and rdfs:seeAlso

不羁岁月 提交于 2019-12-06 09:27:59
What is the difference between rdf:seeAlso and rdfs:seeAlso ? When I can use rdf:seeAlso and when I can use rdfs:seeAlso ? Can you do any examples? First, note that rdf and rdfs are prefixes commonly used to reference the RDF syntax and RDF schema vocabularies respectively. The rdf is typically used for http://www.w3.org/1999/02/22-rdf-syntax-ns# , so that rdf:seeAlso would expand to http://www.w3.org/1999/02/22-rdf-syntax-ns#seeAlso . However, if you follow the vocabulary reference, you won't find a term defined for seeAlso . The RDF syntax is used for basic types such as rdf:type, rdf