Simple Question (Direct)
Simple Question
Q5415577
P21
Q290
USER
Which sex does Evan Wisdom have ?
(Q5415577,P21,c(Q290))
action filter_type
action find
entity Q5415577
relation P21
type Q290
['Q5415577', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q5415577 property:P21 ?d . ?d rdf:type ontology:Q290 }
Evan Wisdom
action filter_type
action find
entity Evan Wisdom
relation gender
type sex
['Evan Wisdom', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Evan_Wisdom property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5415577,P21,c(Q290))
action filter_type
action find
entity Q5415577
relation P21
type Q290
Evan Wisdom has a [ANSWER]
['Q5415577', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q5415577 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Evan Wisdom has a male
male
action filter_type
action find
entity Evan Wisdom
relation gender
type sex
['Evan Wisdom', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Evan_Wisdom property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5415577
P166
Q2003221
USER
What was won by that person ?
(Q6581097,P166,c(Q2003221))
action filter_type
action find
entity Q5415577
relation P166
type Q2003221
['Q6581097', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?p WHERE { resource:Q5415577 property:P166 ?p . ?p rdf:type ontology:Q2003221 }
Evan Wisdom
action filter_type
action find
entity Evan Wisdom
relation award received
type chivalric order
['male', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?p WHERE { resource:Evan_Wisdom property:award_received ?p . ?p rdf:type ontology:chivalric_order }
[]
chivalric order
Q12177413
SYSTEM
Companion of the Order of St Michael and St George
Q12177413
(Q6581097,P166,c(Q2003221))
action filter_type
action find
entity Q5415577
relation P166
type Q2003221
In [ANSWER] was won by that person
['Q6581097', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?p WHERE { resource:Q5415577 property:P166 ?p . ?p rdf:type ontology:Q2003221 }
Companion of the Order of St Michael and St George
In Companion of the Order of St Michael and St George was won by that person
Companion of the Order of St Michael and St George
action filter_type
action find
entity Evan Wisdom
relation award received
type chivalric order
['male', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?p WHERE { resource:Evan_Wisdom property:award_received ?p . ?p rdf:type ontology:chivalric_order }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q12177413 Q145
P17
Q15617994
USER
Is that chivalric order a part of United Kingdom ?
(Q12177413,P17,Q145)
action is_in
entity Q145
action find
entity Q12177413
relation P17
['Q12177413', 'P17', 'Q145']
ASK WHERE { resource:Q12177413 property:P17 resource:Q145 }
Companion of the Order of St Michael and St George United Kingdom
action is_in
entity United Kingdom
action find
entity Companion of the Order of St Michael and St George
relation country
['Companion of the Order of St Michael and St George', 'country', 'United Kingdom']
ASK WHERE { resource:Companion_of_the_Order_of_St_Michael_and_St_George property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q12177413,P17,Q145)
action is_in
entity Q145
action find
entity Q12177413
relation P17
[ANSWER]
['Q12177413', 'P17', 'Q145']
ASK WHERE { resource:Q12177413 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Companion of the Order of St Michael and St George
relation country
['Companion of the Order of St Michael and St George', 'country', 'United Kingdom']
ASK WHERE { resource:Companion_of_the_Order_of_St_Michael_and_St_George property:country resource:United_Kingdom }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15074126 Q5415577
P27
Q15617994
USER
Which administrative territories are Evan Wisdom or Gleb Muzrukov a civilian of ?
OR((Q5415577,P27,c(Q15617994)), (Q15074126,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5415577
relation P27
action find
entity Q15074126
relation P27
type Q15617994
{'OR': [['Q5415577', 'P27', {'concept': 'Q15617994'}], ['Q15074126', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q5415577 property:P27 ?i } UNION { resource:Q15074126 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Gleb Muzrukov Evan Wisdom
action filter_type
action union
action find
entity Evan Wisdom
relation country of citizenship
action find
entity Gleb Muzrukov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Evan Wisdom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gleb Muzrukov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Evan_Wisdom property:country_of_citizenship ?i } UNION { resource:Gleb_Muzrukov property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q145
SYSTEM
Russia, United Kingdom
Q159 Q145
OR((Q5415577,P27,c(Q15617994)), (Q15074126,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5415577
relation P27
action find
entity Q15074126
relation P27
type Q15617994
[ANSWERS] are Evan Wisdom or Gleb Muzrukov a civilian of
{'OR': [['Q5415577', 'P27', {'concept': 'Q15617994'}], ['Q15074126', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q5415577 property:P27 ?i } UNION { resource:Q15074126 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Russia United Kingdom
Russia and United Kingdom are Evan Wisdom or Gleb Muzrukov a civilian of
Russia United Kingdom
action filter_type
action union
action find
entity Evan Wisdom
relation country of citizenship
action find
entity Gleb Muzrukov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Evan Wisdom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gleb Muzrukov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Evan_Wisdom property:country_of_citizenship ?i } UNION { resource:Gleb_Muzrukov property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5928683
P27
Q502895
USER
Are Jean-Claude Annaert a citizen of those administrative territories ?
(Q5928683,P27,Q159) (Q5928683,P27,Q145)
action is_in
entity prev_answer
action find
entity Q5928683
relation P27
['Q5928683', 'P27', 'Q159'] ['Q5928683', 'P27', 'Q145']
ASK WHERE { resource:Q5928683 property:P27 ?h . VALUES ( ?h ) { ( resource:Q159 ) ( resource:Q145 ) } }
Jean-Claude Annaert
action is_in
entity prev_answer
action find
entity Jean-Claude Annaert
relation country of citizenship
['Jean-Claude Annaert', 'country of citizenship', 'Russia'] ['Jean-Claude Annaert', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Jean-Claude_Annaert property:country_of_citizenship ?h . VALUES ( ?h ) { ( resource:Russia ) ( resource:United_Kingdom ) } }
[]
common name
SYSTEM
NO
(Q5928683,P27,Q159) (Q5928683,P27,Q145)
action is_in
entity prev_answer
action find
entity Q5928683
relation P27
[ANSWER]
['Q5928683', 'P27', 'Q159'] ['Q5928683', 'P27', 'Q145']
ASK WHERE { resource:Q5928683 property:P27 ?h . VALUES ( ?h ) { ( resource:Q159 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Jean-Claude Annaert
relation country of citizenship
['Jean-Claude Annaert', 'country of citizenship', 'Russia'] ['Jean-Claude Annaert', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Jean-Claude_Annaert property:country_of_citizenship ?h . VALUES ( ?h ) { ( resource:Russia ) ( resource:United_Kingdom ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5415577 Q145
P27
Q15617994
USER
Does Evan Wisdom belong to United Kingdom ?
(Q5415577,P27,Q145)
action is_in
entity Q145
action find
entity Q5415577
relation P27
['Q5415577', 'P27', 'Q145']
ASK WHERE { resource:Q5415577 property:P27 resource:Q145 }
Evan Wisdom United Kingdom
action is_in
entity United Kingdom
action find
entity Evan Wisdom
relation country of citizenship
['Evan Wisdom', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Evan_Wisdom property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5415577,P27,Q145)
action is_in
entity Q145
action find
entity Q5415577
relation P27
[ANSWER]
['Q5415577', 'P27', 'Q145']
ASK WHERE { resource:Q5415577 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Evan Wisdom
relation country of citizenship
['Evan Wisdom', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Evan_Wisdom property:country_of_citizenship resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12177413 Q566425
P17
Q15617994
USER
Is Companion of the Order of St Michael and St George a part of Datzeroth ?
(Q12177413,P17,Q566425)
action is_in
entity Q566425
action find
entity Q12177413
relation P17
['Q12177413', 'P17', 'Q566425']
ASK WHERE { resource:Q12177413 property:P17 resource:Q566425 }
Companion of the Order of St Michael and St George Datzeroth
action is_in
entity Datzeroth
action find
entity Companion of the Order of St Michael and St George
relation country
['Companion of the Order of St Michael and St George', 'country', 'Datzeroth']
ASK WHERE { resource:Companion_of_the_Order_of_St_Michael_and_St_George property:country resource:Datzeroth }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q12177413,P17,Q566425)
action is_in
entity Q566425
action find
entity Q12177413
relation P17
[ANSWER]
['Q12177413', 'P17', 'Q566425']
ASK WHERE { resource:Q12177413 property:P17 resource:Q566425 }
No
action is_in
entity Datzeroth
action find
entity Companion of the Order of St Michael and St George
relation country
['Companion of the Order of St Michael and St George', 'country', 'Datzeroth']
ASK WHERE { resource:Companion_of_the_Order_of_St_Michael_and_St_George property:country resource:Datzeroth }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q201658 Q2342494
USER
Which administrative territories are the countries of origin of exactly 8 film genres and collectables ?
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 8
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?b = 8 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?i WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q201658 ) ( ontology:Q2342494 ) } } GROUP BY ?i } }
action equal
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 8
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?b = 8 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?i WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:film_genre ) ( ontology:collectable ) } } GROUP BY ?i } }
[]
designation for an administrative territorial entity film genre collectable
Q854 Q77
SYSTEM
Sri Lanka, Uruguay
Q854 Q77
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 8
[ANSWERS] are the countries of origin of exactly 8 film genres and collectables
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?b = 8 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?i WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q201658 ) ( ontology:Q2342494 ) } } GROUP BY ?i } }
Sri Lanka Uruguay
Sri Lanka and Uruguay are the countries of origin of exactly 8 film genres and collectables
Sri Lanka Uruguay
action equal
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 8
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?b = 8 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?i WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:film_genre ) ( ontology:collectable ) } } GROUP BY ?i } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q979051
P530
Q1048835
USER
Do Montesa have tactful political relations with those administrative territories ?
(Q979051,P530,Q854) (Q979051,P530,Q77)
action is_in
entity prev_answer
action find
entity Q979051
relation P530
['Q979051', 'P530', 'Q854'] ['Q979051', 'P530', 'Q77']
ASK WHERE { resource:Q979051 property:P530 ?f . VALUES ( ?f ) { ( resource:Q854 ) ( resource:Q77 ) } }
Montesa
action is_in
entity prev_answer
action find
entity Montesa
relation diplomatic relation
['Montesa', 'diplomatic relation', 'Sri Lanka'] ['Montesa', 'diplomatic relation', 'Uruguay']
ASK WHERE { resource:Montesa property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:Sri_Lanka ) ( resource:Uruguay ) } }
[]
political territorial entity
SYSTEM
NO
(Q979051,P530,Q854) (Q979051,P530,Q77)
action is_in
entity prev_answer
action find
entity Q979051
relation P530
[ANSWER]
['Q979051', 'P530', 'Q854'] ['Q979051', 'P530', 'Q77']
ASK WHERE { resource:Q979051 property:P530 ?f . VALUES ( ?f ) { ( resource:Q854 ) ( resource:Q77 ) } }
No
action is_in
entity prev_answer
action find
entity Montesa
relation diplomatic relation
['Montesa', 'diplomatic relation', 'Sri Lanka'] ['Montesa', 'diplomatic relation', 'Uruguay']
ASK WHERE { resource:Montesa property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:Sri_Lanka ) ( resource:Uruguay ) } }
[]