Simple Question (Direct)
Simple Question
Q7141649
P54
Q1194951
USER
What is Pascal Anicet a member of ?
(Q7141649,P54,c(Q1194951))
action filter_type
action find
entity Q7141649
relation P54
type Q1194951
['Q7141649', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q7141649 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
Pascal Anicet
action filter_type
action find
entity Pascal Anicet
relation member of sports team
type national sports team
['Pascal Anicet', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Pascal_Anicet property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
national sports team
Q245153
SYSTEM
Niger national football team
Q245153
(Q7141649,P54,c(Q1194951))
action filter_type
action find
entity Q7141649
relation P54
type Q1194951
Pascal Anicet a member of is [ANSWER]
['Q7141649', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q7141649 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
Niger national football team
Pascal Anicet a member of is Niger national football team
Niger national football team
action filter_type
action find
entity Pascal Anicet
relation member of sports team
type national sports team
['Pascal Anicet', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Pascal_Anicet property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q245153
P1532
Q15617994
USER
Which administrative territory is played by that national sports team ?
(Q245153,P1532,c(Q15617994))
action filter_type
action find
entity Q245153
relation P1532
type Q15617994
['Q245153', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q245153 property:P1532 ?y . ?y rdf:type ontology:Q15617994 }
Niger national football team
action filter_type
action find
entity Niger national football team
relation country for sport
type designation for an administrative territorial entity
['Niger national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Niger_national_football_team property:country_for_sport ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q245153,P1532,c(Q15617994))
action filter_type
action find
entity Q245153
relation P1532
type Q15617994
Draw [ANSWER] is played by that national sports team
['Q245153', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q245153 property:P1532 ?y . ?y rdf:type ontology:Q15617994 }
Nigeria
Draw Nigeria is played by that national sports team
Nigeria
action filter_type
action find
entity Niger national football team
relation country for sport
type designation for an administrative territorial entity
['Niger national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Niger_national_football_team property:country_for_sport ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1033 Q155
P530
Q15617994
USER
Does Brazil have diplomatic relations with Nigeria ?
(Q1033,P530,Q155)
action is_in
entity Q155
action find
entity Q1033
relation P530
['Q1033', 'P530', 'Q155']
ASK WHERE { resource:Q1033 property:P530 resource:Q155 }
Nigeria Brazil
action is_in
entity Brazil
action find
entity Nigeria
relation diplomatic relation
['Nigeria', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Nigeria property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1033,P530,Q155)
action is_in
entity Q155
action find
entity Q1033
relation P530
[ANSWER]
['Q1033', 'P530', 'Q155']
ASK WHERE { resource:Q1033 property:P530 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Nigeria
relation diplomatic relation
['Nigeria', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Nigeria property:diplomatic_relation resource:Brazil }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately 13 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 13
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?m ) WHERE { ?h property:P530 ?g . ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?m = 13 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?m ) WHERE { ?h property:diplomatic_relation ?g . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?m = 13 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q796 Q794 Q889 Q884 Q822 Q241 Q32 Q31 Q30 Q928 Q929 Q39 Q27 Q843 Q225 Q222 Q347 Q17 Q902 Q114 Q212 Q213 Q218 Q79 Q858 Q948 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 13
[ANSWERS] have tactful political relations with approximately 13 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?m ) WHERE { ?h property:P530 ?g . ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?m = 13 ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Iraq Iran Afghanistan South Korea Lebanon Cuba Luxembourg Belgium United States of America Philippines Central African Republic Switzerland Ireland Pakistan Bosnia and Herzegovina Albania Liechtenstein Japan Bangladesh Kenya Ukraine Czech Republic Romania Egypt Syria Tunisia Libya Cape Verde Zambia
United States of America, Russia and France have tactful political relations with approximately 13 administrative territories
United States of America Russia France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?m ) WHERE { ?h property:diplomatic_relation ?g . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?m = 13 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q155
P530
Q15617994
USER
Are Brazil known to have diplomatic connections with those ones ?
(Q155,P530,Q30) (Q155,P530,Q159) (Q155,P530,Q142)
action is_in
entity prev_answer
action find
entity Q155
relation P530
['Q155', 'P530', 'Q30'] ['Q155', 'P530', 'Q159'] ['Q155', 'P530', 'Q142']
ASK WHERE { VALUES ( ?f ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q668 ) } . resource:Q155 property:P530 ?f }
Brazil
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'United States of America'] ['Brazil', 'diplomatic relation', 'Russia'] ['Brazil', 'diplomatic relation', 'France']
ASK WHERE { VALUES ( ?f ) { ( resource:Israel ) ( resource:Yemen ) ( resource:India ) } . resource:Brazil property:diplomatic_relation ?f }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q30) (Q155,P530,Q159) (Q155,P530,Q142)
action is_in
entity prev_answer
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q30'] ['Q155', 'P530', 'Q159'] ['Q155', 'P530', 'Q142']
ASK WHERE { VALUES ( ?f ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q668 ) } . resource:Q155 property:P530 ?f }
Yes
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'United States of America'] ['Brazil', 'diplomatic relation', 'Russia'] ['Brazil', 'diplomatic relation', 'France']
ASK WHERE { VALUES ( ?f ) { ( resource:Israel ) ( resource:Yemen ) ( resource:India ) } . resource:Brazil property:diplomatic_relation ?f }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1033 Q183 Q427935
P530
Q1048835
USER
Is Nigeria known to have diplomatic connections with Germany and Donhierro ?
(Q1033,P530,Q183) (Q1033,P530,Q427935)
action is_in
entity Q1033
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q427935
relation P530
['Q1033', 'P530', 'Q183'] ['Q1033', 'P530', 'Q427935']
ASK WHERE { resource:Q1033 property:P530 resource:Q427935 . resource:Q1033 property:P530 resource:Q183 }
Nigeria Germany Donhierro
action is_in
entity Nigeria
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Donhierro
relation diplomatic relation
['Nigeria', 'diplomatic relation', 'Germany'] ['Nigeria', 'diplomatic relation', 'Donhierro']
ASK WHERE { resource:Nigeria property:diplomatic_relation resource:Donhierro . resource:Nigeria property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q1033,P530,Q183) (Q1033,P530,Q427935)
action is_in
entity Q1033
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q427935
relation P530
[ANSWER]
['Q1033', 'P530', 'Q183'] ['Q1033', 'P530', 'Q427935']
ASK WHERE { resource:Q1033 property:P530 resource:Q427935 . resource:Q1033 property:P530 resource:Q183 }
YES and NO respectively
action is_in
entity Nigeria
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Donhierro
relation diplomatic relation
['Nigeria', 'diplomatic relation', 'Germany'] ['Nigeria', 'diplomatic relation', 'Donhierro']
ASK WHERE { resource:Nigeria property:diplomatic_relation resource:Donhierro . resource:Nigeria property:diplomatic_relation resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q159 Q30
P47
Q15617994
USER
Does United States of America have a shared border with Russia ?
(Q159,P47,Q30)
action is_in
entity Q30
action find
entity Q159
relation P47
['Q159', 'P47', 'Q30']
ASK WHERE { resource:Q159 property:P47 resource:Q30 }
Russia United States of America
action is_in
entity United States of America
action find
entity Russia
relation shares border with
['Russia', 'shares border with', 'United States of America']
ASK WHERE { resource:Russia property:shares_border_with resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q159,P47,Q30)
action is_in
entity Q30
action find
entity Q159
relation P47
[ANSWER]
['Q159', 'P47', 'Q30']
ASK WHERE { resource:Q159 property:P47 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Russia
relation shares border with
['Russia', 'shares border with', 'United States of America']
ASK WHERE { resource:Russia property:shares_border_with resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P159
Q4830453
USER
Which business enterprises have the principal seat at Russia ?
action filter_type
action find_reverse
entity Q159
relation P159
type Q4830453
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q159 . ?i rdf:type ontology:Q4830453 }
Russia
action filter_type
action find_reverse
entity Russia
relation headquarters location
type business enterprise
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Russia . ?i rdf:type ontology:business_enterprise }
[]
business enterprise
Q1572992 Q24046660 Q4453727
SYSTEM
Sokol, Anex tour, Tez tour
Q1572992 Q24046660 Q4453727 Q1447049
action filter_type
action find_reverse
entity Q159
relation P159
type Q4830453
[ANSWERS] have the principal seat at Russia
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q159 . ?i rdf:type ontology:Q4830453 }
Sokol Anex tour Tez tour 1HDTV
Sokol, Anex tour and Tez tour have the principal seat at Russia
Sokol Anex tour Tez tour
action filter_type
action find_reverse
entity Russia
relation headquarters location
type business enterprise
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Russia . ?i rdf:type ontology:business_enterprise }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q319153 Q7141649
P27
Q15617994
USER
Which administrative territories are Pascal Anicet or Hassan Sheikh Mohamud an inhabitant of ?
OR((Q7141649,P27,c(Q15617994)), (Q319153,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7141649
relation P27
action find
entity Q319153
relation P27
type Q15617994
{'OR': [['Q7141649', 'P27', {'concept': 'Q15617994'}], ['Q319153', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q7141649 property:P27 ?b } UNION { resource:Q319153 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Hassan Sheikh Mohamud Pascal Anicet
action filter_type
action union
action find
entity Pascal Anicet
relation country of citizenship
action find
entity Hassan Sheikh Mohamud
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pascal Anicet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hassan Sheikh Mohamud', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Pascal_Anicet property:country_of_citizenship ?b } UNION { resource:Hassan_Sheikh_Mohamud property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1045 Q1033
SYSTEM
Somalia, Nigeria
Q1045 Q1033
OR((Q7141649,P27,c(Q15617994)), (Q319153,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7141649
relation P27
action find
entity Q319153
relation P27
type Q15617994
[ANSWERS] are Pascal Anicet or Hassan Sheikh Mohamud an inhabitant of
{'OR': [['Q7141649', 'P27', {'concept': 'Q15617994'}], ['Q319153', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q7141649 property:P27 ?b } UNION { resource:Q319153 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Somalia Nigeria
Somalia and Nigeria are Pascal Anicet or Hassan Sheikh Mohamud an inhabitant of
Somalia Nigeria
action filter_type
action union
action find
entity Pascal Anicet
relation country of citizenship
action find
entity Hassan Sheikh Mohamud
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pascal Anicet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hassan Sheikh Mohamud', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Pascal_Anicet property:country_of_citizenship ?b } UNION { resource:Hassan_Sheikh_Mohamud property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]