Hi,
As many of you know, I have a data set which is the genealogies of particular people form early Ireland. I was doing some searching for the ancestors of a particular person so I ran the query below against my data with Stardog 7.1.0 and I was specifically looking at this file with Reasoning turned on (and sameAs Full, punning on):
prefix rel: <http://purl.org/vocab/relationship/>
prefix foaf: <http://xmlns.com/foaf/0.1/>
select ?a
from <tag:stardog:api:context:all>
where {
?a rel:ancestorOf <http://example.com/LU/de_genelogia_con_culaind.trig#CúCulaind>
}
This query returned 25 results:
a
http://example.com/LU/de_genelogia_con_culaind.trig#Soaldaim-4d4d44a4
http://example.com/LU/de_genelogia_con_culaind.trig#Dubtaigi
http://example.com/LU/de_genelogia_con_culaind.trig#Cubair-76516a19
http://example.com/LU/de_genelogia_con_culaind.trig#Lir-46304844
http://example.com/LU/de_genelogia_con_culaind.trig#Cusantin
http://example.com/LU/de_genelogia_con_culaind.trig#Adachair
http://example.com/LU/de_genelogia_con_culaind.trig#Báetain
http://example.com/LU/de_genelogia_con_culaind.trig#Midgni
http://example.com/LU/de_genelogia_con_culaind.trig#Úachaill
http://example.com/LU/de_genelogia_con_culaind.trig#CaisClothaig
http://example.com/LU/de_genelogia_con_culaind.trig#Cermata-1bbbbd55
http://example.com/LU/de_genelogia_con_culaind.trig#inDagdai-dd481355
http://example.com/LU/de_genelogia_con_culaind.trig#Inde
http://example.com/LU/de_genelogia_con_culaind.trig#Dorain
http://example.com/LU/de_genelogia_con_culaind.trig#Nomail
http://example.com/LU/de_genelogia_con_culaind.trig#Condlai
http://example.com/LU/de_genelogia_con_culaind.trig#Memnón
http://example.com/LU/de_genelogia_con_culaind.trig#Samrith
http://example.com/LL/dáil_araide.trig#puithe
http://example.com/LU/de_genelogia_con_culaind.trig#Buithe
http://example.com/LU/de_genelogia_con_culaind.trig#Tigerndmais
http://example.com/LU/de_genelogia_con_culaind.trig#Follaig
http://example.com/LU/de_genelogia_con_culaind.trig#Ethrióil
http://example.com/Laud_Misc_610/CGH/senchus_síl_hérimóin_annso_fo_héirind.trig#IarélFaíth
http://example.com/Laud_Misc_610/CGH/senchus_síl_hérimóin_annso_fo_héirind.trig#Hérimón
If you look in the file, you will notice that #Lir-46304844
is the same as #Lir
and as such the results should contain #Nelruaid
. This is one specific example but there are plenty more missing. As an aside, I also ran the following query:
prefix rel: <http://purl.org/vocab/relationship/>
select ?o
from <tag:stardog:api:context:all>
where {
<http://example.com/LU/de_genelogia_con_culaind.trig#Lir> rel:childOf ?o
}
This returns the expected outcome 2: http://example.com/LU/de_genelogia_con_culaind.trig#Nelruaid
and http://example.com/LU/de_genelogia_con_culaind.trig#Cusantin
.
This could be because I do not understand RDF Datasets well enough to know how that effects reasoning but even without that, there are missing individuals who should be in the result set.
I am happy, as always, to share a dump of the database if needed.
Thank you for your time.