Simple Question (Direct)
Simple Question
Q3158332
P21
Q290
USER
Which sex does Jacques Bouanich possess ?
(Q3158332,P21,c(Q290))
action filter_type
action find
entity Q3158332
relation P21
type Q290
['Q3158332', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q3158332 property:P21 ?s }
Jacques Bouanich
action filter_type
action find
entity Jacques Bouanich
relation gender
type sex
['Jacques Bouanich', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Jacques_Bouanich property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3158332,P21,c(Q290))
action filter_type
action find
entity Q3158332
relation P21
type Q290
Jacques Bouanich possesses a [ANSWER]
['Q3158332', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q3158332 property:P21 ?s }
male
Jacques Bouanich possesses a male
male
action filter_type
action find
entity Jacques Bouanich
relation gender
type sex
['Jacques Bouanich', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Jacques_Bouanich property:gender ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3158332
P40
Q502895
USER
Who are the children of that one ?
(Q6581097,P40,c(Q502895))
action filter_type
action find
entity Q3158332
relation P40
type Q502895
['Q6581097', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q3158332 property:P40 ?p }
Jacques Bouanich
action filter_type
action find
entity Jacques Bouanich
relation child
type common name
['male', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Jacques_Bouanich property:child ?p }
[]
common name
Q188441 Q3189381
SYSTEM
Claire Bouanich, Julien Bouanich
Q188441 Q3189381
(Q6581097,P40,c(Q502895))
action filter_type
action find
entity Q3158332
relation P40
type Q502895
The children of that one are named [ANSWERS]
['Q6581097', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q3158332 property:P40 ?p }
Claire Bouanich Julien Bouanich
The children of that one are named Claire Bouanich and Julien Bouanich
Claire Bouanich Julien Bouanich
action filter_type
action find
entity Jacques Bouanich
relation child
type common name
['male', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Jacques_Bouanich property:child ?p }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q638646 Q3158332
P40
Q502895
USER
Or Butvydas?
OR((Q3158332,P40,c(Q502895)), (Q638646,P40,c(Q502895)))
action filter_type
action union
action find
entity Q3158332
relation P40
action find
entity Q638646
relation P40
type Q502895
{'OR': [['Q3158332', 'P40', {'concept': 'Q502895'}], ['Q638646', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3158332 property:P40 ?k } UNION { resource:Q638646 property:P40 ?k } } . ?k rdf:type ontology:Q502895 }
Butvydas Jacques Bouanich
action filter_type
action union
action find
entity Jacques Bouanich
relation child
action find
entity Butvydas
relation child
type common name
{'OR': [['Jacques Bouanich', 'child', {'concept': 'common name'}], ['Butvydas', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Jacques_Bouanich property:child ?k } UNION { resource:Butvydas property:child ?k } } . ?k rdf:type ontology:common_name }
[]
common name
Q3189381 Q2659844 Q244852 Q4382390 Q188441 Q557859 Q3271351
SYSTEM
Julien Bouanich, Vainius, Gediminas, Margiris, Claire Bouanich, Vytenis, Fiodor of Kiev
Q3189381 Q2659844 Q244852 Q4382390 Q188441 Q557859 Q3271351
OR((Q3158332,P40,c(Q502895)), (Q638646,P40,c(Q502895)))
action filter_type
action union
action find
entity Q3158332
relation P40
action find
entity Q638646
relation P40
type Q502895
[ANSWERS]
{'OR': [['Q3158332', 'P40', {'concept': 'Q502895'}], ['Q638646', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3158332 property:P40 ?k } UNION { resource:Q638646 property:P40 ?k } } . ?k rdf:type ontology:Q502895 }
Julien Bouanich Vainius Gediminas Margiris Claire Bouanich Vytenis Fiodor of Kiev
Julien Bouanich Vainius Gediminas Margiris Claire Bouanich Vytenis Fiodor of Kiev
action filter_type
action union
action find
entity Jacques Bouanich
relation child
action find
entity Butvydas
relation child
type common name
{'OR': [['Jacques Bouanich', 'child', {'concept': 'common name'}], ['Butvydas', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Jacques_Bouanich property:child ?k } UNION { resource:Butvydas property:child ?k } } . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3189381
P7
Q502895
USER
Which person has that one as their brother ?
(c(Q502895),P7,Q3189381)
action filter_type
action find_reverse
entity Q3189381
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q3189381']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P7 resource:Q3189381 }
Julien Bouanich
action filter_type
action find_reverse
entity Julien Bouanich
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Julien Bouanich']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:brother resource:Julien_Bouanich }
[]
common name
Clarification for simple ques.
Q557859
SYSTEM
Did you mean Vytenis ?
Q3189381 Q2659844 Q244852 Q4382390 Q188441 Q557859 Q3271351
(c(Q502895),P7,Q3189381) (c(Q502895),P7,Q2659844) (c(Q502895),P7,Q244852) (c(Q502895),P7,Q4382390) (c(Q502895),P7,Q188441) (c(Q502895),P7,Q557859) (c(Q502895),P7,Q3271351)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q3189381'] [{'concept': 'Q502895'}, 'P7', 'Q2659844'] [{'concept': 'Q502895'}, 'P7', 'Q244852'] [{'concept': 'Q502895'}, 'P7', 'Q4382390'] [{'concept': 'Q502895'}, 'P7', 'Q188441'] [{'concept': 'Q502895'}, 'P7', 'Q557859'] [{'concept': 'Q502895'}, 'P7', 'Q3271351']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P7 resource:Q3189381 }
Julien Bouanich Vainius Gediminas Margiris Claire Bouanich Vytenis Fiodor of Kiev
Did you mean Vytenis ?
Vytenis
[{'concept': 'common name'}, 'brother', 'Julien Bouanich'] [{'concept': 'common name'}, 'brother', 'Vainius'] [{'concept': 'common name'}, 'brother', 'Gediminas'] [{'concept': 'common name'}, 'brother', 'Margiris'] [{'concept': 'common name'}, 'brother', 'Claire Bouanich'] [{'concept': 'common name'}, 'brother', 'Vytenis'] [{'concept': 'common name'}, 'brother', 'Fiodor of Kiev']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:brother resource:Julien_Bouanich }
[]
Simple Question (Coreferenced)
USER
No, I meant Julien Bouanich. Could you tell me the answer for that?
(c(Q502895),P7,Q3189381)
Q3189381
[{'concept': 'Q502895'}, 'P7', 'Q3189381']
[{'concept': 'common name'}, 'brother', 'Julien Bouanich']
[]
Q188441
SYSTEM
Claire Bouanich
Q188441
(c(Q502895),P7,Q3189381)
action filter_type
action find_reverse
entity Q3189381
relation P7
type Q502895
[ANSWER] has that one as their brother
[{'concept': 'Q502895'}, 'P7', 'Q3189381']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P7 resource:Q3189381 }
Claire Bouanich
Claire Bouanich has that one as their brother
Claire Bouanich
action filter_type
action find_reverse
entity Julien Bouanich
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Julien Bouanich']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:brother resource:Julien_Bouanich }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are that person an inhabitant of ?
(Q188441,P27,c(Q15617994))
action count
action filter_type
action find
entity Q188441
relation P27
type Q15617994
['Q188441', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q188441 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Claire Bouanich
relation country of citizenship
type designation for an administrative territorial entity
['Claire Bouanich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Claire_Bouanich property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q188441,P27,c(Q15617994))
action count
action filter_type
action find
entity Q188441
relation P27
type Q15617994
[ANSWER]
['Q188441', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q188441 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Claire Bouanich
relation country of citizenship
type designation for an administrative territorial entity
['Claire Bouanich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Claire_Bouanich property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5318690 Q3158332
P27
Q15617994
USER
Which administrative territories are Jacques Bouanich or Dylan Ababou an inhabitant of ?
OR((Q3158332,P27,c(Q15617994)), (Q5318690,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3158332
relation P27
action find
entity Q5318690
relation P27
type Q15617994
{'OR': [['Q3158332', 'P27', {'concept': 'Q15617994'}], ['Q5318690', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q3158332 property:P27 ?k } UNION { resource:Q5318690 property:P27 ?k } } }
Dylan Ababou Jacques Bouanich
action filter_type
action union
action find
entity Jacques Bouanich
relation country of citizenship
action find
entity Dylan Ababou
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jacques Bouanich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dylan Ababou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Jacques_Bouanich property:country_of_citizenship ?k } UNION { resource:Dylan_Ababou property:country_of_citizenship ?k } } }
[]
designation for an administrative territorial entity
Q142 Q928
SYSTEM
France, Philippines
Q142 Q928
OR((Q3158332,P27,c(Q15617994)), (Q5318690,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3158332
relation P27
action find
entity Q5318690
relation P27
type Q15617994
[ANSWERS] are Jacques Bouanich or Dylan Ababou an inhabitant of
{'OR': [['Q3158332', 'P27', {'concept': 'Q15617994'}], ['Q5318690', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q3158332 property:P27 ?k } UNION { resource:Q5318690 property:P27 ?k } } }
France Philippines
France and Philippines are Jacques Bouanich or Dylan Ababou an inhabitant of
France Philippines
action filter_type
action union
action find
entity Jacques Bouanich
relation country of citizenship
action find
entity Dylan Ababou
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jacques Bouanich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dylan Ababou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Jacques_Bouanich property:country_of_citizenship ?k } UNION { resource:Dylan_Ababou property:country_of_citizenship ?k } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have diplomatic relations with those administrative territories ?
(Q408,P530,Q142) (Q408,P530,Q928)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q142'] ['Q408', 'P530', 'Q928']
ASK WHERE { resource:Q408 property:P530 ?j . VALUES ( ?j ) { ( resource:Q142 ) ( resource:Q928 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'France'] ['Australia', 'diplomatic relation', 'Philippines']
ASK WHERE { resource:Australia property:diplomatic_relation ?j . VALUES ( ?j ) { ( resource:France ) ( resource:Philippines ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q142) (Q408,P530,Q928)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q142'] ['Q408', 'P530', 'Q928']
ASK WHERE { resource:Q408 property:P530 ?j . VALUES ( ?j ) { ( resource:Q142 ) ( resource:Q928 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'France'] ['Australia', 'diplomatic relation', 'Philippines']
ASK WHERE { resource:Australia property:diplomatic_relation ?j . VALUES ( ?j ) { ( resource:France ) ( resource:Philippines ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244852
P22
Q502895
USER
Who was the father of Gediminas ?
(Q244852,P22,c(Q502895))
action filter_type
action find
entity Q244852
relation P22
type Q502895
['Q244852', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q244852 property:P22 ?t . ?t rdf:type ontology:Q502895 }
Gediminas
action filter_type
action find
entity Gediminas
relation father
type common name
['Gediminas', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Gediminas property:father ?t . ?t rdf:type ontology:common_name }
[]
common name
Q638646
SYSTEM
Butvydas
Q638646
(Q244852,P22,c(Q502895))
action filter_type
action find
entity Q244852
relation P22
type Q502895
The father of Gediminas was named [ANSWER]
['Q244852', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q244852 property:P22 ?t . ?t rdf:type ontology:Q502895 }
Butvydas
The father of Gediminas was named Butvydas
Butvydas
action filter_type
action find
entity Gediminas
relation father
type common name
['Gediminas', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Gediminas property:father ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q638646
P97
Q4164871
USER
What title was held by that person ?
(Q638646,P97,c(Q4164871))
action filter_type
action find
entity Q638646
relation P97
type Q4164871
['Q638646', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q4164871 . resource:Q638646 property:P97 ?u }
Butvydas
action filter_type
action find
entity Butvydas
relation noble title
type position
['Butvydas', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:position . resource:Butvydas property:noble_title ?u }
[]
position
Q2639920
SYSTEM
Grand Duke of Lithuania
Q2639920
(Q638646,P97,c(Q4164871))
action filter_type
action find
entity Q638646
relation P97
type Q4164871
The [ANSWER] was held by that person
['Q638646', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q4164871 . resource:Q638646 property:P97 ?u }
Grand Duke of Lithuania
The Grand Duke of Lithuania was held by that person
Grand Duke of Lithuania
action filter_type
action find
entity Butvydas
relation noble title
type position
['Butvydas', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:position . resource:Butvydas property:noble_title ?u }
[]