corese
corese copied to clipboard
Get only infered triples with Corese
Hi ,
is there a way to get only infered triples with corese ?
Thank's
R
Hi,
On 09/24/2017 02:48 AM, Yahiaoui Rachid wrote:
is there a way to get only infered triples with corese ?
Yes
rdfs entailment :
select * from kg:entailment where { ?x ?p ?y }
inference rules entailment:
select * from kg:rule where { ?x ?p ?y }
Best regards,
Olivier Corby
Thank you @ocorby
I'll try this
Best regards
R
This exactly what I'm looking for.
Thank you @ocorby
R
When I try to obtain only inferred triples using SELECT * FROM kg:entailment WHERE { ?x ?p ?y }
This gives me also already loaded triples. Is this the expected behavior ?
Thank you
R
Hi,
Some existing triples may be also inferred. You can select infered triples :
select * where { graph kg:entailment { ?x ?p ?y } filter not exists { graph ?g { ?x ?p ?y } filter (?g != kg:entailment) } }
Olivier
----- Mail original -----
De: "Yahiaoui Rachid" [email protected] À: "Wimmics/corese" [email protected] Cc: "ocorby" [email protected], "Mention" [email protected] Envoyé: Samedi 21 Octobre 2017 20:04:17 Objet: Re: [Wimmics/corese] Get only infered triples with Corese (#28)
When I try to obtain only inferred triples using SELECT * FROM kg:entailment WHERE { ?x ?p ?y }
This gives me also already loaded triples. Is this the expected behavior ?
Thank you
R
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub , or mute the thread .
Great !
Thank you @ocorby
R