On 30/10/2018 07:22, Laura Morales wrote:
Is it enough to load the Schema triples along with my triples? I thought I would need some of those
"inference" or "reasoner" extensions.
No need to load
Either unionDefaultGraph
Or
SELECT ?entity
WHERE {
?entity rdf:type ?T .
GRAPH { ?T
As I said, neither TDB component distinguishes between ontology triples and
other RDF. Are you using the word ontology in some other sense?
How a given query is executed depends on a great deal of detail, including the
form of the query. Perhaps you can explain more of the background to your
Martynas's link is not Alex's solution at all.
Both are useful, in different ways. As Alex wrote, SPARQL property paths [1]
can be used to calculate property or class subsumption if you have the ontology
with the instance data. Andy did a good presentation years ago about SPARQL 1.1
For TDB1 (you don't say whether you mean TDB1 or TDB2):
https://jena.apache.org/documentation/tdb/architecture.html
OWL, to either TDB, is just more RDF. TDB makes no distinction between ontology
and instance data. Indexing is as described in the link above, along with any
additional text or
Hi,
Is there any documentation regarding TDB structure. How does it store owl
files(ontology)?
How does indexing happen in TDB?
Thanks
Kind Regards
Ashutosh
I'm confused: you were asking about inference and my link is about inference.
Alex's suggestion is something else. But you could emulate inference
using CONSTRUCT to add the "inferred" properties.
On Tue, Oct 30, 2018 at 11:46 AM Laura Morales wrote:
>
> Thanks for the link. It might not be the
Thanks for the link. It might not be the solution to my problem though. If I
understand correctly, inference/reasoning is to create new properties on top of
existing graphs, whereas Alex's solution (load all triples together) is about
using existing properties that already exist and are defined
Maybe this can help:
https://github.com/jfmunozf/Jena-Fuseki-Reasoner-Inference/wiki/Configuring-Apache-Jena-Fuseki-2.4.1-inference-and-reasoning-support-using-SPARQL-1.1:-Jena-inference-rules,-RDFS-Entailment-Regimes-and-OWL-reasoning
On Tue, Oct 30, 2018 at 8:22 AM Laura Morales wrote:
>
> Is
Is it enough to load the Schema triples along with my triples? I thought I
would need some of those "inference" or "reasoner" extensions.
Sent: Tuesday, October 30, 2018 at 8:06 AM
From: "Alex To"
To: users@jena.apache.org
Subject: Re: Inference
See SPARQL property path
See SPARQL property path https://www.w3.org/TR/sparql11-query/#propertypaths
Assuming you have the Schema vocab loaded in the same dataset (or graph),
the following should work
SELECT ?entity
WHERE {
?entity rdf:type/rdfs:subClassOf* :CreativeWork
}
On Tue, Oct 30, 2018 at 5:20 PM Laura
Let's say I have a node of type schema:Book and one of type schema:VideoGame.
In the Schema vocabulary, both are subclasses of schema:CreativeWork.
Can somebody please give me a hint how to query Fuseki for schema:CreativeWork
in order to retrieve both types?
11 matches
Mail list logo