Simple Question (Direct)
Simple Question
Q6398739
P641
Q349
USER
Which sport was Kgosi Ntlhe a part of ?
(Q6398739,P641,c(Q349))
action filter_type
action find
entity Q6398739
relation P641
type Q349
['Q6398739', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6398739 property:P641 ?k . ?k rdf:type ontology:Q349 }
Kgosi Ntlhe
action filter_type
action find
entity Kgosi Ntlhe
relation sport
type sport
['Kgosi Ntlhe', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Kgosi_Ntlhe property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6398739,P641,c(Q349))
action filter_type
action find
entity Q6398739
relation P641
type Q349
Which sport was Kgosi Ntlhe a part of
['Q6398739', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6398739 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Which sport was Kgosi Ntlhe a part of
association football
action filter_type
action find
entity Kgosi Ntlhe
relation sport
type sport
['Kgosi Ntlhe', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Kgosi_Ntlhe property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6398739
P54
Q1194951
USER
What is Kgosi Ntlhe a member of ?
(Q6398739,P54,c(Q1194951))
action filter_type
action find
entity Q6398739
relation P54
type Q1194951
['Q6398739', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { resource:Q6398739 property:P54 ?v . ?v rdf:type ontology:Q1194951 }
Kgosi Ntlhe
action filter_type
action find
entity Kgosi Ntlhe
relation member of sports team
type national sports team
['Kgosi Ntlhe', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { resource:Kgosi_Ntlhe property:member_of_sports_team ?v . ?v rdf:type ontology:national_sports_team }
[]
national sports team
Q170327
SYSTEM
South Africa national football team
Q170327
(Q6398739,P54,c(Q1194951))
action filter_type
action find
entity Q6398739
relation P54
type Q1194951
He [ANSWER] Kgosi Ntlhe a member of
['Q6398739', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { resource:Q6398739 property:P54 ?v . ?v rdf:type ontology:Q1194951 }
South Africa national football team
He South Africa national football team Kgosi Ntlhe a member of
South Africa national football team
action filter_type
action find
entity Kgosi Ntlhe
relation member of sports team
type national sports team
['Kgosi Ntlhe', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { resource:Kgosi_Ntlhe property:member_of_sports_team ?v . ?v rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5238777
Q1194951
USER
And also tell me about David Quezada?
(Q5238777,P54,c(Q1194951))
action filter_type
action find
entity Q5238777
relation P54
type Q1194951
['Q5238777', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q5238777 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
David Quezada
action filter_type
action find
entity David Quezada
relation member of sports team
type national sports team
['David Quezada', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:David_Quezada property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
national sports team
Q164134
SYSTEM
United States men's national soccer team
Q164134
(Q5238777,P54,c(Q1194951))
action filter_type
action find
entity Q5238777
relation P54
type Q1194951
[ANSWER]
['Q5238777', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q5238777 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
United States men's national soccer team
United States men's national soccer team
action filter_type
action find
entity David Quezada
relation member of sports team
type national sports team
['David Quezada', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:David_Quezada property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5238777
P19
Q15617994
USER
Where was that person born ?
(Q164134,P19,c(Q15617994))
action filter_type
action find
entity Q5238777
relation P19
type Q15617994
['Q164134', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5238777 property:P19 ?d . ?d rdf:type ontology:Q15617994 }
David Quezada
action filter_type
action find
entity David Quezada
relation place of birth
type designation for an administrative territorial entity
["United States men's national soccer team", 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:David_Quezada property:place_of_birth ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q800
SYSTEM
Costa Rica
Q800
(Q164134,P19,c(Q15617994))
action filter_type
action find
entity Q5238777
relation P19
type Q15617994
That person was born in [ANSWER]
['Q164134', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5238777 property:P19 ?d . ?d rdf:type ontology:Q15617994 }
Costa Rica
That person was born in Costa Rica
Costa Rica
action filter_type
action find
entity David Quezada
relation place of birth
type designation for an administrative territorial entity
["United States men's national soccer team", 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:David_Quezada property:place_of_birth ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
What is the origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?a WHERE { resource:Q2736 property:P495 ?a . ?a rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:association_football property:country_of_origin ?a . ?a rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The origin of association football is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?a WHERE { resource:Q2736 property:P495 ?a . ?a rdf:type ontology:Q1496967 }
England
The origin of association football is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:association_football property:country_of_origin ?a . ?a rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q21 Q132022
P417
Q502895
USER
Is Paul Lytton the patron saint of that territory ?
(Q21,P417,Q132022)
action is_in
entity Q132022
action find
entity Q21
relation P417
['Q21', 'P417', 'Q132022']
ASK WHERE { resource:Q21 property:P417 resource:Q132022 }
England Paul Lytton
action is_in
entity Paul Lytton
action find
entity England
relation patron saint
['England', 'patron saint', 'Paul Lytton']
ASK WHERE { resource:England property:patron_saint resource:Paul_Lytton }
[]
common name
SYSTEM
NO
(Q21,P417,Q132022)
action is_in
entity Q132022
action find
entity Q21
relation P417
[ANSWER]
['Q21', 'P417', 'Q132022']
ASK WHERE { resource:Q21 property:P417 resource:Q132022 }
No
action is_in
entity Paul Lytton
action find
entity England
relation patron saint
['England', 'patron saint', 'Paul Lytton']
ASK WHERE { resource:England property:patron_saint resource:Paul_Lytton }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with atleast 49 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 49
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?l ) WHERE { ?y property:P530 ?u . ?y rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?l >= 49 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 49
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?l ) WHERE { ?y property:diplomatic_relation ?u . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?l >= 49 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q155 Q38
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 49
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?l ) WHERE { ?y property:P530 ?u . ?y rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?l >= 49 ) }
Brazil Italy
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 49
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?l ) WHERE { ?y property:diplomatic_relation ?u . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?l >= 49 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21 Q894114
P159
Q874405
USER
How many social groups have HQ at England or Borovo, Croatia ?
(c(Q874405),P159,Q21) (c(Q874405),P159,Q894114)
action count
action union
action filter_type
action find_reverse
entity Q21
relation P159
type Q874405
action filter_type
action find_reverse
entity Q894114
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q21'] [{'concept': 'Q874405'}, 'P159', 'Q894114']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { ?y property:P159 resource:Q21 . ?y rdf:type ontology:Q874405 } UNION { ?y rdf:type ontology:Q874405 . ?y property:P159 resource:Q894114 } }
England Borovo, Croatia
action count
action union
action filter_type
action find_reverse
entity England
relation headquarters location
type social group
action filter_type
action find_reverse
entity Borovo, Croatia
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'England'] [{'concept': 'social group'}, 'headquarters location', 'Borovo, Croatia']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { ?y property:headquarters_location resource:England . ?y rdf:type ontology:social_group } UNION { ?y rdf:type ontology:social_group . ?y property:headquarters_location resource:Borovo,_Croatia } }
[]
social group
SYSTEM
8
Q4971067 Q7593643 Q7593637 Q5378329 Q4970032 Q7280691 Q7713007 Q7293878
(c(Q874405),P159,Q21) (c(Q874405),P159,Q894114)
action count
action union
action filter_type
action find_reverse
entity Q21
relation P159
type Q874405
action filter_type
action find_reverse
entity Q894114
relation P159
type Q874405
[ANSWER]
[{'concept': 'Q874405'}, 'P159', 'Q21'] [{'concept': 'Q874405'}, 'P159', 'Q894114']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { ?y property:P159 resource:Q21 . ?y rdf:type ontology:Q874405 } UNION { ?y rdf:type ontology:Q874405 . ?y property:P159 resource:Q894114 } }
British Society of Russian Philately St John Ambulance Cadets in the UK St John Ambulance English Mistery British Handball Association Radio Borovo The Albert Kennedy Trust Rape Crisis England and Wales
8
action count
action union
action filter_type
action find_reverse
entity England
relation headquarters location
type social group
action filter_type
action find_reverse
entity Borovo, Croatia
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'England'] [{'concept': 'social group'}, 'headquarters location', 'Borovo, Croatia']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { ?y property:headquarters_location resource:England . ?y rdf:type ontology:social_group } UNION { ?y rdf:type ontology:social_group . ?y property:headquarters_location resource:Borovo,_Croatia } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q800
P37
Q34770
USER
What is considered to be the official language of Costa Rica ?
(Q800,P37,c(Q34770))
action filter_type
action find
entity Q800
relation P37
type Q34770
['Q800', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q800 property:P37 ?x . ?x rdf:type ontology:Q34770 }
Costa Rica
action filter_type
action find
entity Costa Rica
relation official language
type language
['Costa Rica', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Costa_Rica property:official_language ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q800,P37,c(Q34770))
action filter_type
action find
entity Q800
relation P37
type Q34770
[ANSWER] is considered to be the official language of Costa Rica
['Q800', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q800 property:P37 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Spanish is considered to be the official language of Costa Rica
Spanish
action filter_type
action find
entity Costa Rica
relation official language
type language
['Costa Rica', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Costa_Rica property:official_language ?x . ?x rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3550306
Q34770
USER
And how about International association of lawyers?
(Q3550306,P37,c(Q34770))
action filter_type
action find
entity Q3550306
relation P37
type Q34770
['Q3550306', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q3550306 property:P37 ?y . ?y rdf:type ontology:Q34770 }
International association of lawyers
action filter_type
action find
entity International association of lawyers
relation official language
type language
['International association of lawyers', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:International_association_of_lawyers property:official_language ?y . ?y rdf:type ontology:language }
[]
language
Q1860 Q1321 Q652
SYSTEM
English, Spanish, Italian
Q1860 Q1321 Q652
(Q3550306,P37,c(Q34770))
action filter_type
action find
entity Q3550306
relation P37
type Q34770
[ANSWERS]
['Q3550306', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q3550306 property:P37 ?y . ?y rdf:type ontology:Q34770 }
English Spanish Italian
English Spanish Italian
action filter_type
action find
entity International association of lawyers
relation official language
type language
['International association of lawyers', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:International_association_of_lawyers property:official_language ?y . ?y rdf:type ontology:language }
[]