Simple Question (Direct)
Simple Question
Q3591990
P40
Q502895
USER
Who are the children of Étienne-Augustin De Wailly ?
(Q3591990,P40,c(Q502895))
action filter_type
action find
entity Q3591990
relation P40
type Q502895
['Q3591990', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q3591990 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Étienne-Augustin De Wailly
action filter_type
action find
entity Étienne-Augustin De Wailly
relation child
type common name
['Étienne-Augustin De Wailly', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Étienne-Augustin_De_Wailly property:child ?p . ?p rdf:type ontology:common_name }
[]
common name
Q17154242 Q20205214 Q14911953
SYSTEM
Gustave de Wailly, Alfred de Wailly, Jules de Wailly
Q17154242 Q20205214 Q14911953
(Q3591990,P40,c(Q502895))
action filter_type
action find
entity Q3591990
relation P40
type Q502895
The children of Étienne-Augustin De are named [ANSWERS]
['Q3591990', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q3591990 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Gustave de Wailly Alfred de Wailly Jules de Wailly
The children of Étienne-Augustin De are named Gustave de Wailly, Alfred de Wailly and Jules de Wailly
Gustave de Wailly Alfred de Wailly Jules de Wailly
action filter_type
action find
entity Étienne-Augustin De Wailly
relation child
type common name
['Étienne-Augustin De Wailly', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Étienne-Augustin_De_Wailly property:child ?p . ?p rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20205214
P22
Q502895
USER
Who was the dad of that one ?
(Q20205214,P22,c(Q502895))
action filter_type
action find
entity Q20205214
relation P22
type Q502895
['Q20205214', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q20205214 property:P22 ?b . ?b rdf:type ontology:Q502895 }
Alfred de Wailly
action filter_type
action find
entity Alfred de Wailly
relation father
type common name
['Alfred de Wailly', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Alfred_de_Wailly property:father ?b . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q17154242
SYSTEM
Did you mean Gustave de Wailly ?
Q17154242 Q20205214 Q14911953
(Q17154242,P22,c(Q502895)) (Q20205214,P22,c(Q502895)) (Q14911953,P22,c(Q502895))
[ANSWER]
['Q17154242', 'P22', {'concept': 'Q502895'}] ['Q20205214', 'P22', {'concept': 'Q502895'}] ['Q14911953', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q20205214 property:P22 ?b . ?b rdf:type ontology:Q502895 }
Gustave de Wailly Alfred de Wailly Jules de Wailly
Did you mean Gustave de Wailly ?
Gustave de Wailly
['Gustave de Wailly', 'father', {'concept': 'common name'}] ['Alfred de Wailly', 'father', {'concept': 'common name'}] ['Jules de Wailly', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Alfred_de_Wailly property:father ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Alfred de Wailly. Could you tell me the answer for that?
(Q20205214,P22,c(Q502895))
Q20205214
['Q20205214', 'P22', {'concept': 'Q502895'}]
['Alfred de Wailly', 'father', {'concept': 'common name'}]
[]
Q3591990
SYSTEM
Étienne-Augustin De Wailly
Q3591990
(Q20205214,P22,c(Q502895))
action filter_type
action find
entity Q20205214
relation P22
type Q502895
The dad of that one was the [ANSWER]
['Q20205214', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q20205214 property:P22 ?b . ?b rdf:type ontology:Q502895 }
Étienne-Augustin De Wailly
The dad of that one was the Étienne-Augustin De Wailly
Étienne-Augustin De Wailly
action filter_type
action find
entity Alfred de Wailly
relation father
type common name
['Alfred de Wailly', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Alfred_de_Wailly property:father ?b . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3591990 Q274650
P22
Q502895
USER
Does Dina have that one as a parent ?
(Q274650,P22,Q3591990)
action is_in
entity Q274650
action find
entity Q3591990
relation P22
['Q274650', 'P22', 'Q3591990']
ASK WHERE { resource:Q3591990 property:P22 resource:Q274650 }
Étienne-Augustin De Wailly Dina
action is_in
entity Dina
action find
entity Étienne-Augustin De Wailly
relation father
['Dina', 'father', 'Étienne-Augustin De Wailly']
ASK WHERE { resource:Étienne-Augustin_De_Wailly property:father resource:Dina }
[]
common name
SYSTEM
NO
(Q274650,P22,Q3591990)
action is_in
entity Q274650
action find
entity Q3591990
relation P22
[ANSWER]
['Q274650', 'P22', 'Q3591990']
ASK WHERE { resource:Q3591990 property:P22 resource:Q274650 }
No
action is_in
entity Dina
action find
entity Étienne-Augustin De Wailly
relation father
['Dina', 'father', 'Étienne-Augustin De Wailly']
ASK WHERE { resource:Étienne-Augustin_De_Wailly property:father resource:Dina }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q14911953 Q2609248
P27
Q15617994
USER
Does Jules de Wailly belong to San Antonio Palopó ?
(Q14911953,P27,Q2609248)
action is_in
entity Q2609248
action find
entity Q14911953
relation P27
['Q14911953', 'P27', 'Q2609248']
ASK WHERE { resource:Q14911953 property:P27 resource:Q2609248 }
Jules de Wailly San Antonio Palopó
action is_in
entity San Antonio Palopó
action find
entity Jules de Wailly
relation country of citizenship
['Jules de Wailly', 'country of citizenship', 'San Antonio Palopó']
ASK WHERE { resource:Jules_de_Wailly property:country_of_citizenship resource:San_Antonio_Palopó }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q14911953,P27,Q2609248)
action is_in
entity Q2609248
action find
entity Q14911953
relation P27
[ANSWER]
['Q14911953', 'P27', 'Q2609248']
ASK WHERE { resource:Q14911953 property:P27 resource:Q2609248 }
No
action is_in
entity San Antonio Palopó
action find
entity Jules de Wailly
relation country of citizenship
['Jules de Wailly', 'country of citizenship', 'San Antonio Palopó']
ASK WHERE { resource:Jules_de_Wailly property:country_of_citizenship resource:San_Antonio_Palopó }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q17154242
P21 P40
Q502895
USER
Which people have Gustave de Wailly as a child and are a male ?
AND((c(Q502895),P40,Q17154242), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q17154242
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q17154242'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q17154242 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male Gustave de Wailly
action filter_type
action intersection
action find_reverse
entity Gustave de Wailly
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Gustave de Wailly'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:child resource:Gustave_de_Wailly . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
common name
Q3591990
SYSTEM
Étienne-Augustin De Wailly
Q3591990
AND((c(Q502895),P40,Q17154242), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q17154242
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Gustave de Wailly as a child and are a male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q17154242'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q17154242 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Étienne-Augustin De Wailly
Étienne-Augustin De Wailly have Gustave de Wailly as a child and are a male
Étienne-Augustin De Wailly
action filter_type
action intersection
action find_reverse
entity Gustave de Wailly
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Gustave de Wailly'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:child resource:Gustave_de_Wailly . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6807669 Q20205214
P40
Q502895
USER
Which people have Alfred de Wailly or Meera Kosambi as an offspring ?
OR((c(Q502895),P40,Q20205214), (c(Q502895),P40,Q6807669))
action filter_type
action union
action find_reverse
entity Q20205214
relation P40
action find_reverse
entity Q6807669
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q20205214'], [{'concept': 'Q502895'}, 'P40', 'Q6807669']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . { { ?j property:P40 resource:Q6807669 } UNION { ?j property:P40 resource:Q20205214 } } }
Meera Kosambi Alfred de Wailly
action filter_type
action union
action find_reverse
entity Alfred de Wailly
relation child
action find_reverse
entity Meera Kosambi
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Alfred de Wailly'], [{'concept': 'common name'}, 'child', 'Meera Kosambi']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . { { ?j property:child resource:Meera_Kosambi } UNION { ?j property:child resource:Alfred_de_Wailly } } }
[]
common name
Q20205209 Q3591990 Q2722635
SYSTEM
Joséphine-Augustine-Félicité Raffard de Marcilly, Étienne-Augustin De Wailly, Damodar Dharmananda Kosambi
Q20205209 Q3591990 Q2722635
OR((c(Q502895),P40,Q20205214), (c(Q502895),P40,Q6807669))
action filter_type
action union
action find_reverse
entity Q20205214
relation P40
action find_reverse
entity Q6807669
relation P40
type Q502895
[ANSWERS] have Alfred de Wailly or Meera Kosambi as an offspring
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q20205214'], [{'concept': 'Q502895'}, 'P40', 'Q6807669']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . { { ?j property:P40 resource:Q6807669 } UNION { ?j property:P40 resource:Q20205214 } } }
Joséphine-Augustine-Félicité Raffard de Marcilly Étienne-Augustin De Wailly Damodar Dharmananda Kosambi
Joséphine-Augustine-Félicité Raffard de Marcilly, Étienne-Augustin De Wailly and Damodar Dharmananda Kosambi have Alfred de Wailly or Meera Kosambi as an offspring
Joséphine-Augustine-Félicité Raffard de Marcilly Étienne-Augustin De Wailly Damodar Dharmananda Kosambi
action filter_type
action union
action find_reverse
entity Alfred de Wailly
relation child
action find_reverse
entity Meera Kosambi
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Alfred de Wailly'], [{'concept': 'common name'}, 'child', 'Meera Kosambi']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . { { ?j property:child resource:Meera_Kosambi } UNION { ?j property:child resource:Alfred_de_Wailly } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3591990
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q3591990)
action filter_type
action find
entity Q3591990
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3591990']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q3591990 property:P26 ?n }
Étienne-Augustin De Wailly
action filter_type
action find
entity Étienne-Augustin De Wailly
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Étienne-Augustin De Wailly']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Étienne-Augustin_De_Wailly property:spouse ?n }
[]
common name
Clarification for simple ques.
Q20205209
SYSTEM
Did you mean Joséphine-Augustine-Félicité Raffard de Marcilly ?
Q20205209 Q3591990 Q2722635
(c(Q502895),P26,Q20205209) (c(Q502895),P26,Q3591990) (c(Q502895),P26,Q2722635)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q20205209'] [{'concept': 'Q502895'}, 'P26', 'Q3591990'] [{'concept': 'Q502895'}, 'P26', 'Q2722635']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q3591990 property:P26 ?n }
Joséphine-Augustine-Félicité Raffard de Marcilly Étienne-Augustin De Wailly Damodar Dharmananda Kosambi
Did you mean Joséphine-Augustine-Félicité Raffard de Marcilly ?
Joséphine-Augustine-Félicité Raffard de Marcilly
[{'concept': 'common name'}, 'spouse', 'Joséphine-Augustine-Félicité Raffard de Marcilly'] [{'concept': 'common name'}, 'spouse', 'Étienne-Augustin De Wailly'] [{'concept': 'common name'}, 'spouse', 'Damodar Dharmananda Kosambi']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Étienne-Augustin_De_Wailly property:spouse ?n }
[]
Simple Question (Coreferenced)
USER
No, I meant Étienne-Augustin De Wailly. Could you tell me the answer for that?
(c(Q502895),P26,Q3591990)
Q3591990
[{'concept': 'Q502895'}, 'P26', 'Q3591990']
[{'concept': 'common name'}, 'spouse', 'Étienne-Augustin De Wailly']
[]
Q20205209
SYSTEM
Joséphine-Augustine-Félicité Raffard de Marcilly
Q20205209
(c(Q502895),P26,Q3591990)
action filter_type
action find
entity Q3591990
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q3591990']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q3591990 property:P26 ?n }
Joséphine-Augustine-Félicité Raffard de Marcilly
Joséphine-Augustine-Félicité Raffard de Marcilly has that one as spouse
Joséphine-Augustine-Félicité Raffard de Marcilly
action filter_type
action find
entity Étienne-Augustin De Wailly
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Étienne-Augustin De Wailly']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Étienne-Augustin_De_Wailly property:spouse ?n }
[]