Simple Question (Direct)
Simple Question
Q302629
P40
Q502895
USER
Which person is a successor of Luc Boltanski ?
(Q302629,P40,c(Q502895))
action filter_type
action find
entity Q302629
relation P40
type Q502895
['Q302629', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q302629 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Luc Boltanski
action filter_type
action find
entity Luc Boltanski
relation child
type common name
['Luc Boltanski', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Luc_Boltanski property:child ?f . ?f rdf:type ontology:common_name }
[]
common name
Q21140987
SYSTEM
Christophe Boltanski
Q21140987
(Q302629,P40,c(Q502895))
action filter_type
action find
entity Q302629
relation P40
type Q502895
[ANSWER] is a successor of Luc Boltanski
['Q302629', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q302629 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Christophe Boltanski
Christophe Boltanski is a successor of Luc Boltanski
Christophe Boltanski
action filter_type
action find
entity Luc Boltanski
relation child
type common name
['Luc Boltanski', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Luc_Boltanski property:child ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q302629
P22
Q502895
USER
Who is the offspring of Luc Boltanski ?
(c(Q502895),P22,Q302629)
action filter_type
action find_reverse
entity Q302629
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q302629']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q302629 . ?w rdf:type ontology:Q502895 }
Luc Boltanski
action filter_type
action find_reverse
entity Luc Boltanski
relation father
type common name
[{'concept': 'common name'}, 'father', 'Luc Boltanski']
SELECT DISTINCT ?w WHERE { ?w property:father resource:Luc_Boltanski . ?w rdf:type ontology:common_name }
[]
common name
Q21140987
SYSTEM
Christophe Boltanski
Q21140987
(c(Q502895),P22,Q302629)
action filter_type
action find_reverse
entity Q302629
relation P22
type Q502895
The offspring of Luc Boltanski is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q302629']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q302629 . ?w rdf:type ontology:Q502895 }
Christophe Boltanski
The offspring of Luc Boltanski is the Christophe Boltanski
Christophe Boltanski
action filter_type
action find_reverse
entity Luc Boltanski
relation father
type common name
[{'concept': 'common name'}, 'father', 'Luc Boltanski']
SELECT DISTINCT ?w WHERE { ?w property:father resource:Luc_Boltanski . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21140987
P1038
Q502895
USER
Who is related to that one ?
(c(Q502895),P1038,Q21140987)
action filter_type
action find_reverse
entity Q21140987
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q21140987']
SELECT DISTINCT ?y WHERE { ?y property:P1038 resource:Q21140987 . ?y rdf:type ontology:Q502895 }
Christophe Boltanski
action filter_type
action find_reverse
entity Christophe Boltanski
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Christophe Boltanski']
SELECT DISTINCT ?y WHERE { ?y property:relative resource:Christophe_Boltanski . ?y rdf:type ontology:common_name }
[]
common name
Q21141809
SYSTEM
Jean-Élie Boltanski
Q21141809
(c(Q502895),P1038,Q21140987)
action filter_type
action find_reverse
entity Q21140987
relation P1038
type Q502895
[ANSWER] is related to that one
[{'concept': 'Q502895'}, 'P1038', 'Q21140987']
SELECT DISTINCT ?y WHERE { ?y property:P1038 resource:Q21140987 . ?y rdf:type ontology:Q502895 }
Jean-Élie Boltanski
Jean-Élie Boltanski is related to that one
Jean-Élie Boltanski
action filter_type
action find_reverse
entity Christophe Boltanski
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Christophe Boltanski']
SELECT DISTINCT ?y WHERE { ?y property:relative resource:Christophe_Boltanski . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q871566 Q21140987
P40
Q502895
USER
Which people have Christophe Boltanski or Mizuno Nobumoto as a child ?
OR((c(Q502895),P40,Q21140987), (c(Q502895),P40,Q871566))
action filter_type
action union
action find_reverse
entity Q21140987
relation P40
action find_reverse
entity Q871566
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q21140987'], [{'concept': 'Q502895'}, 'P40', 'Q871566']]}
SELECT DISTINCT ?q WHERE { { { ?q property:P40 resource:Q21140987 } UNION { ?q property:P40 resource:Q871566 } } . ?q rdf:type ontology:Q502895 }
Mizuno Nobumoto Christophe Boltanski
action filter_type
action union
action find_reverse
entity Christophe Boltanski
relation child
action find_reverse
entity Mizuno Nobumoto
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Christophe Boltanski'], [{'concept': 'common name'}, 'child', 'Mizuno Nobumoto']]}
SELECT DISTINCT ?q WHERE { { { ?q property:child resource:Christophe_Boltanski } UNION { ?q property:child resource:Mizuno_Nobumoto } } . ?q rdf:type ontology:common_name }
[]
common name
Q302629 Q1188498
SYSTEM
Luc Boltanski, Mizuno Tadamasa
Q302629 Q1188498
OR((c(Q502895),P40,Q21140987), (c(Q502895),P40,Q871566))
action filter_type
action union
action find_reverse
entity Q21140987
relation P40
action find_reverse
entity Q871566
relation P40
type Q502895
[ANSWERS] have Christophe Boltanski or Mizuno Nobumoto as a child
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q21140987'], [{'concept': 'Q502895'}, 'P40', 'Q871566']]}
SELECT DISTINCT ?q WHERE { { { ?q property:P40 resource:Q21140987 } UNION { ?q property:P40 resource:Q871566 } } . ?q rdf:type ontology:Q502895 }
Luc Boltanski Mizuno Tadamasa
Luc Boltanski and Mizuno Tadamasa have Christophe Boltanski or Mizuno Nobumoto as a child
Luc Boltanski Mizuno Tadamasa
action filter_type
action union
action find_reverse
entity Christophe Boltanski
relation child
action find_reverse
entity Mizuno Nobumoto
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Christophe Boltanski'], [{'concept': 'common name'}, 'child', 'Mizuno Nobumoto']]}
SELECT DISTINCT ?q WHERE { { { ?q property:child resource:Christophe_Boltanski } UNION { ?q property:child resource:Mizuno_Nobumoto } } . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q302629
P7
Q502895
USER
Which people have that one as their brother ?
(c(Q502895),P7,Q302629)
action filter_type
action find_reverse
entity Q302629
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q302629']
SELECT DISTINCT ?q WHERE { ?q property:P7 resource:Q302629 . ?q rdf:type ontology:Q502895 }
Luc Boltanski
action filter_type
action find_reverse
entity Luc Boltanski
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Luc Boltanski']
SELECT DISTINCT ?q WHERE { ?q property:brother resource:Luc_Boltanski . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q302629
SYSTEM
Did you mean Luc Boltanski ?
Q302629 Q1188498
(c(Q502895),P7,Q302629) (c(Q502895),P7,Q1188498)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q302629'] [{'concept': 'Q502895'}, 'P7', 'Q1188498']
SELECT DISTINCT ?q WHERE { ?q property:P7 resource:Q302629 . ?q rdf:type ontology:Q502895 }
Luc Boltanski Mizuno Tadamasa
Did you mean Luc Boltanski ?
Luc Boltanski
[{'concept': 'common name'}, 'brother', 'Luc Boltanski'] [{'concept': 'common name'}, 'brother', 'Mizuno Tadamasa']
SELECT DISTINCT ?q WHERE { ?q property:brother resource:Luc_Boltanski . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P7,Q302629)
[{'concept': 'Q502895'}, 'P7', 'Q302629']
[{'concept': 'common name'}, 'brother', 'Luc Boltanski']
[]
Q705225 Q21141809
SYSTEM
Christian Boltanski, Jean-Élie Boltanski
Q705225 Q21141809
(c(Q502895),P7,Q302629)
action filter_type
action find_reverse
entity Q302629
relation P7
type Q502895
[ANSWERS] have that one as their brother
[{'concept': 'Q502895'}, 'P7', 'Q302629']
SELECT DISTINCT ?q WHERE { ?q property:P7 resource:Q302629 . ?q rdf:type ontology:Q502895 }
Christian Boltanski Jean-Élie Boltanski
Christian Boltanski and Jean-Élie Boltanski have that one as their brother
Christian Boltanski Jean-Élie Boltanski
action filter_type
action find_reverse
entity Luc Boltanski
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Luc Boltanski']
SELECT DISTINCT ?q WHERE { ?q property:brother resource:Luc_Boltanski . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q871566
P21 P7
Q502895
USER
Which people had Mizuno Nobumoto as brother and have the gender as male ?
AND((c(Q502895),P7,Q871566), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q871566
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q871566'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P7 resource:Q871566 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
male Mizuno Nobumoto
action filter_type
action intersection
action find_reverse
entity Mizuno Nobumoto
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Mizuno Nobumoto'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:brother resource:Mizuno_Nobumoto . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]
common name
Q10565652 Q10565565 Q10565616 Q10565620
SYSTEM
Mizuno Chikamori, Mizuno Tadashige, Mizuno Tadawake, Mizuno Tadamori
Q10565652 Q10565565 Q10565616 Q10565620
AND((c(Q502895),P7,Q871566), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q871566
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] had Mizuno Nobumoto as brother and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q871566'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P7 resource:Q871566 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
Mizuno Chikamori Mizuno Tadashige Mizuno Tadawake Mizuno Tadamori
Mizuno Chikamori, Mizuno Tadashige, Mizuno Tadawake and Mizuno Tadamori had Mizuno Nobumoto as brother and have the gender as male
Mizuno Chikamori Mizuno Tadashige Mizuno Tadawake Mizuno Tadamori
action filter_type
action intersection
action find_reverse
entity Mizuno Nobumoto
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Mizuno Nobumoto'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:brother resource:Mizuno_Nobumoto . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q10281374
P40
Q502895
USER
Do Fernando Gusmão have those ones as a child ?
(Q10281374,P40,Q10565652) (Q10281374,P40,Q10565565) (Q10281374,P40,Q10565616) (Q10281374,P40,Q10565620)
action is_in
entity prev_answer
action find
entity Q10281374
relation P40
['Q10281374', 'P40', 'Q10565652'] ['Q10281374', 'P40', 'Q10565565'] ['Q10281374', 'P40', 'Q10565616'] ['Q10281374', 'P40', 'Q10565620']
ASK WHERE { resource:Q10281374 property:P40 ?w . VALUES ( ?w ) { ( resource:Q10565652 ) ( resource:Q10565565 ) ( resource:Q10565616 ) } }
Fernando Gusmão
action is_in
entity prev_answer
action find
entity Fernando Gusmão
relation child
['Fernando Gusmão', 'child', 'Mizuno Chikamori'] ['Fernando Gusmão', 'child', 'Mizuno Tadashige'] ['Fernando Gusmão', 'child', 'Mizuno Tadawake'] ['Fernando Gusmão', 'child', 'Mizuno Tadamori']
ASK WHERE { resource:Fernando_Gusmão property:child ?w . VALUES ( ?w ) { ( resource:Mizuno_Chikamori ) ( resource:Mizuno_Tadashige ) ( resource:Mizuno_Tadawake ) } }
[]
common name
SYSTEM
NO
(Q10281374,P40,Q10565652) (Q10281374,P40,Q10565565) (Q10281374,P40,Q10565616) (Q10281374,P40,Q10565620)
action is_in
entity prev_answer
action find
entity Q10281374
relation P40
[ANSWER]
['Q10281374', 'P40', 'Q10565652'] ['Q10281374', 'P40', 'Q10565565'] ['Q10281374', 'P40', 'Q10565616'] ['Q10281374', 'P40', 'Q10565620']
ASK WHERE { resource:Q10281374 property:P40 ?w . VALUES ( ?w ) { ( resource:Q10565652 ) ( resource:Q10565565 ) ( resource:Q10565616 ) } }
No
action is_in
entity prev_answer
action find
entity Fernando Gusmão
relation child
['Fernando Gusmão', 'child', 'Mizuno Chikamori'] ['Fernando Gusmão', 'child', 'Mizuno Tadashige'] ['Fernando Gusmão', 'child', 'Mizuno Tadawake'] ['Fernando Gusmão', 'child', 'Mizuno Tadamori']
ASK WHERE { resource:Fernando_Gusmão property:child ?w . VALUES ( ?w ) { ( resource:Mizuno_Chikamori ) ( resource:Mizuno_Tadashige ) ( resource:Mizuno_Tadawake ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q10565620 Q10565652 Q871566
P7
Q502895
USER
Is Mizuno Tadamori a sibling of Mizuno Chikamori and Mizuno Nobumoto ?
(Q10565620,P7,Q10565652) (Q10565620,P7,Q871566)
action is_in
entity Q10565620
action intersection
action find_reverse
entity Q10565652
relation P7
action find_reverse
entity Q871566
relation P7
['Q10565620', 'P7', 'Q10565652'] ['Q10565620', 'P7', 'Q871566']
ASK WHERE { resource:Q10565620 property:P7 resource:Q10565652 . resource:Q10565620 property:P7 resource:Q871566 }
Mizuno Tadamori Mizuno Chikamori Mizuno Nobumoto
action is_in
entity Mizuno Tadamori
action intersection
action find_reverse
entity Mizuno Chikamori
relation brother
action find_reverse
entity Mizuno Nobumoto
relation brother
['Mizuno Tadamori', 'brother', 'Mizuno Chikamori'] ['Mizuno Tadamori', 'brother', 'Mizuno Nobumoto']
ASK WHERE { resource:Mizuno_Tadamori property:brother resource:Mizuno_Chikamori . resource:Mizuno_Tadamori property:brother resource:Mizuno_Nobumoto }
[]
common name
SYSTEM
YES
(Q10565620,P7,Q10565652) (Q10565620,P7,Q871566)
action is_in
entity Q10565620
action intersection
action find_reverse
entity Q10565652
relation P7
action find_reverse
entity Q871566
relation P7
[ANSWER]
['Q10565620', 'P7', 'Q10565652'] ['Q10565620', 'P7', 'Q871566']
ASK WHERE { resource:Q10565620 property:P7 resource:Q10565652 . resource:Q10565620 property:P7 resource:Q871566 }
Yes
action is_in
entity Mizuno Tadamori
action intersection
action find_reverse
entity Mizuno Chikamori
relation brother
action find_reverse
entity Mizuno Nobumoto
relation brother
['Mizuno Tadamori', 'brother', 'Mizuno Chikamori'] ['Mizuno Tadamori', 'brother', 'Mizuno Nobumoto']
ASK WHERE { resource:Mizuno_Tadamori property:brother resource:Mizuno_Chikamori . resource:Mizuno_Tadamori property:brother resource:Mizuno_Nobumoto }
[]