Simple Question (Direct)
Simple Question
Q1248992
P22
Q502895
USER
Which male person has a child named Louis Ratisbonne ?
(Q1248992,P22,c(Q502895))
action filter_type
action find
entity Q1248992
relation P22
type Q502895
['Q1248992', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1248992 property:P22 ?j }
Louis Ratisbonne
action filter_type
action find
entity Louis Ratisbonne
relation father
type common name
['Louis Ratisbonne', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Louis_Ratisbonne property:father ?j }
[]
common name
Q19972045
SYSTEM
Jacques Adolphe Ratisbonne
Q19972045
(Q1248992,P22,c(Q502895))
action filter_type
action find
entity Q1248992
relation P22
type Q502895
[ANSWER] has a child named Louis Ratisbonne
['Q1248992', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1248992 property:P22 ?j }
Jacques Adolphe Ratisbonne
Jacques Adolphe Ratisbonne has a child named Louis Ratisbonne
Jacques Adolphe Ratisbonne
action filter_type
action find
entity Louis Ratisbonne
relation father
type common name
['Louis Ratisbonne', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Louis_Ratisbonne property:father ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19972045
P9
Q502895
USER
Who are the siblings of that one ?
(Q19972045,P9,c(Q502895))
action filter_type
action find
entity Q19972045
relation P9
type Q502895
['Q19972045', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q19972045 property:P9 ?u . ?u rdf:type ontology:Q502895 }
Jacques Adolphe Ratisbonne
action filter_type
action find
entity Jacques Adolphe Ratisbonne
relation sister
type common name
['Jacques Adolphe Ratisbonne', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Jacques_Adolphe_Ratisbonne property:sister ?u . ?u rdf:type ontology:common_name }
[]
common name
Q20897736 Q20897614
SYSTEM
Elisa Adèle Augustine Ratisbonne, Ernestine Beyfus
Q20897736 Q20897614
(Q19972045,P9,c(Q502895))
action filter_type
action find
entity Q19972045
relation P9
type Q502895
The siblings of that one are the [ANSWERS]
['Q19972045', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q19972045 property:P9 ?u . ?u rdf:type ontology:Q502895 }
Elisa Adèle Augustine Ratisbonne Ernestine Beyfus
The siblings of that one are the Elisa Adèle Augustine Ratisbonne and Ernestine Beyfus
Elisa Adèle Augustine Ratisbonne Ernestine Beyfus
action filter_type
action find
entity Jacques Adolphe Ratisbonne
relation sister
type common name
['Jacques Adolphe Ratisbonne', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Jacques_Adolphe_Ratisbonne property:sister ?u . ?u rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20897614
P40
Q502895
USER
Which person has that one as an offspring ?
(c(Q502895),P40,Q20897614)
action filter_type
action find_reverse
entity Q20897614
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q20897614']
SELECT DISTINCT ?g WHERE { ?g property:P40 resource:Q20897614 . ?g rdf:type ontology:Q502895 }
Ernestine Beyfus
action filter_type
action find_reverse
entity Ernestine Beyfus
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ernestine Beyfus']
SELECT DISTINCT ?g WHERE { ?g property:child resource:Ernestine_Beyfus . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q20897736
SYSTEM
Did you mean Elisa Adèle Augustine Ratisbonne ?
Q20897736 Q20897614
(c(Q502895),P40,Q20897736) (c(Q502895),P40,Q20897614)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q20897736'] [{'concept': 'Q502895'}, 'P40', 'Q20897614']
SELECT DISTINCT ?g WHERE { ?g property:P40 resource:Q20897614 . ?g rdf:type ontology:Q502895 }
Elisa Adèle Augustine Ratisbonne Ernestine Beyfus
Did you mean Elisa Adèle Augustine Ratisbonne ?
Elisa Adèle Augustine Ratisbonne
[{'concept': 'common name'}, 'child', 'Elisa Adèle Augustine Ratisbonne'] [{'concept': 'common name'}, 'child', 'Ernestine Beyfus']
SELECT DISTINCT ?g WHERE { ?g property:child resource:Ernestine_Beyfus . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Ernestine Beyfus. Could you tell me the answer for that?
(c(Q502895),P40,Q20897614)
Q20897614
[{'concept': 'Q502895'}, 'P40', 'Q20897614']
[{'concept': 'common name'}, 'child', 'Ernestine Beyfus']
[]
Q16192508
SYSTEM
Auguste Ratisbonne
Q16192508
(c(Q502895),P40,Q20897614)
action filter_type
action find_reverse
entity Q20897614
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q20897614']
SELECT DISTINCT ?g WHERE { ?g property:P40 resource:Q20897614 . ?g rdf:type ontology:Q502895 }
Auguste Ratisbonne
Auguste Ratisbonne has that one as an offspring
Auguste Ratisbonne
action filter_type
action find_reverse
entity Ernestine Beyfus
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ernestine Beyfus']
SELECT DISTINCT ?g WHERE { ?g property:child resource:Ernestine_Beyfus . ?g rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q19972045
P21 P7
Q502895
USER
Which people are Jacques Adolphe Ratisbonne a brother of and are a male ?
AND((c(Q502895),P7,Q19972045), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19972045
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q19972045'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P7 resource:Q19972045 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Jacques Adolphe Ratisbonne
action filter_type
action intersection
action find_reverse
entity Jacques Adolphe Ratisbonne
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Jacques Adolphe Ratisbonne'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:brother resource:Jacques_Adolphe_Ratisbonne . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q707274 Q2166049
SYSTEM
Marie Theodor Ratisbonne, Marie-Alphonse Ratisbonne
Q707274 Q2166049
AND((c(Q502895),P7,Q19972045), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19972045
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are Jacques Adolphe Ratisbonne a brother of and are a male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q19972045'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P7 resource:Q19972045 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Marie Theodor Ratisbonne Marie-Alphonse Ratisbonne
Marie Theodor Ratisbonne and Marie-Alphonse Ratisbonne are Jacques Adolphe Ratisbonne a brother of and are a male
Marie Theodor Ratisbonne Marie-Alphonse Ratisbonne
action filter_type
action intersection
action find_reverse
entity Jacques Adolphe Ratisbonne
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Jacques Adolphe Ratisbonne'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:brother resource:Jacques_Adolphe_Ratisbonne . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]