Simple Question (Direct)
Simple Question
Q3756607
P21
Q290
USER
What is the sex of Gabriele Greco ?
(Q3756607,P21,c(Q290))
action filter_type
action find
entity Q3756607
relation P21
type Q290
['Q3756607', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3756607 property:P21 ?i . ?i rdf:type ontology:Q290 }
Gabriele Greco
action filter_type
action find
entity Gabriele Greco
relation gender
type sex
['Gabriele Greco', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Gabriele_Greco property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3756607,P21,c(Q290))
action filter_type
action find
entity Q3756607
relation P21
type Q290
The sex of Gabriele Greco is the [ANSWER]
['Q3756607', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3756607 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Gabriele Greco is the male
male
action filter_type
action find
entity Gabriele Greco
relation gender
type sex
['Gabriele Greco', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Gabriele_Greco property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3756607
P106
Q12737077
USER
What are the professions of Gabriele Greco ?
(Q3756607,P106,c(Q12737077))
action filter_type
action find
entity Q3756607
relation P106
type Q12737077
['Q3756607', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3756607 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Gabriele Greco
action filter_type
action find
entity Gabriele Greco
relation occupation
type occupation
['Gabriele Greco', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Gabriele_Greco property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q639669 Q584301 Q486748
SYSTEM
musician, bassist, pianist
Q639669 Q584301 Q486748
(Q3756607,P106,c(Q12737077))
action filter_type
action find
entity Q3756607
relation P106
type Q12737077
The professions of Gabriele Greco are [ANSWERS]
['Q3756607', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3756607 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
musician bassist pianist
The professions of Gabriele Greco are musician, bassist and pianist
musician bassist pianist
action filter_type
action find
entity Gabriele Greco
relation occupation
type occupation
['Gabriele Greco', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Gabriele_Greco property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20641477
Q12737077
USER
And also tell me about Shin Dam-yeong?
(Q20641477,P106,c(Q12737077))
action filter_type
action find
entity Q20641477
relation P106
type Q12737077
['Q20641477', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q20641477 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Shin Dam-yeong
action filter_type
action find
entity Shin Dam-yeong
relation occupation
type occupation
['Shin Dam-yeong', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Shin_Dam-yeong property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q20641477,P106,c(Q12737077))
action filter_type
action find
entity Q20641477
relation P106
type Q12737077
[ANSWER]
['Q20641477', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q20641477 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Shin Dam-yeong
relation occupation
type occupation
['Shin Dam-yeong', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Shin_Dam-yeong property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20641477
P54
Q6979593
USER
Which national association football team is that person a member of ?
(Q937857,P54,c(Q6979593))
action filter_type
action find
entity Q20641477
relation P54
type Q6979593
['Q937857', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?i WHERE { resource:Q20641477 property:P54 ?i . ?i rdf:type ontology:Q6979593 }
Shin Dam-yeong
action filter_type
action find
entity Shin Dam-yeong
relation member of sports team
type national association football team
['association football player', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?i WHERE { resource:Shin_Dam-yeong property:member_of_sports_team ?i . ?i rdf:type ontology:national_association_football_team }
[]
national association football team
Q495350
SYSTEM
South Korea women's national association football team
Q495350
(Q937857,P54,c(Q6979593))
action filter_type
action find
entity Q20641477
relation P54
type Q6979593
The [ANSWER] is that person a member of
['Q937857', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?i WHERE { resource:Q20641477 property:P54 ?i . ?i rdf:type ontology:Q6979593 }
South Korea women's national association football team
The South Korea women's national association football team is that person a member of
South Korea women's national association football team
action filter_type
action find
entity Shin Dam-yeong
relation member of sports team
type national association football team
['association football player', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?i WHERE { resource:Shin_Dam-yeong property:member_of_sports_team ?i . ?i rdf:type ontology:national_association_football_team }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1532
Q56061 Q6979593
USER
Which administrative territories do min number of national association football teams play for ?
(c(Q6979593),P1532,Q25230)
action argmin
action find_reverse_tuple_counts
relation P1532
type Q56061
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q25230']
SELECT DISTINCT ?w WHERE { FILTER ( ?d = ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P1532 ?w . ?w rdf:type ontology:Q56061 . ?h rdf:type ontology:Q6979593 } GROUP BY ?w } . { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:Q6979593 . ?v rdf:type ontology:Q56061 . ?o property:P1532 ?v } GROUP BY ?v } } }
action argmin
action find_reverse_tuple_counts
relation country for sport
type administrative territorial entity
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Guernsey']
SELECT DISTINCT ?w WHERE { FILTER ( ?d = ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:country_for_sport ?w . ?w rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:national_association_football_team } GROUP BY ?w } . { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:national_association_football_team . ?v rdf:type ontology:administrative_territorial_entity . ?o property:country_for_sport ?v } GROUP BY ?v } } }
[]
administrative territorial entity national association football team
Q25230
SYSTEM
Guernsey
Q25230
(c(Q6979593),P1532,Q25230)
action argmin
action find_reverse_tuple_counts
relation P1532
type Q56061
type Q6979593
Min number of national association football teams play in [ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q25230']
SELECT DISTINCT ?w WHERE { FILTER ( ?d = ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P1532 ?w . ?w rdf:type ontology:Q56061 . ?h rdf:type ontology:Q6979593 } GROUP BY ?w } . { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:Q6979593 . ?v rdf:type ontology:Q56061 . ?o property:P1532 ?v } GROUP BY ?v } } }
Guernsey
Min number of national association football teams play in Guernsey
Guernsey
action argmin
action find_reverse_tuple_counts
relation country for sport
type administrative territorial entity
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Guernsey']
SELECT DISTINCT ?w WHERE { FILTER ( ?d = ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:country_for_sport ?w . ?w rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:national_association_football_team } GROUP BY ?w } . { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:national_association_football_team . ?v rdf:type ontology:administrative_territorial_entity . ?o property:country_for_sport ?v } GROUP BY ?v } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q25230 Q3679961
P6
Q502895
USER
Is Claudio Calia the head of government of that administrative territory ?
(Q25230,P6,Q3679961)
action is_in
entity Q3679961
action find
entity Q25230
relation P6
['Q25230', 'P6', 'Q3679961']
ASK WHERE { resource:Q25230 property:P6 resource:Q3679961 }
Guernsey Claudio Calia
action is_in
entity Claudio Calia
action find
entity Guernsey
relation head of government
['Guernsey', 'head of government', 'Claudio Calia']
ASK WHERE { resource:Guernsey property:head_of_government resource:Claudio_Calia }
[]
common name
SYSTEM
NO
(Q25230,P6,Q3679961)
action is_in
entity Q3679961
action find
entity Q25230
relation P6
[ANSWER]
['Q25230', 'P6', 'Q3679961']
ASK WHERE { resource:Q25230 property:P6 resource:Q3679961 }
No
action is_in
entity Claudio Calia
action find
entity Guernsey
relation head of government
['Guernsey', 'head of government', 'Claudio Calia']
ASK WHERE { resource:Guernsey property:head_of_government resource:Claudio_Calia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25230
P37
Q34770
USER
What is considered to be the official language of Guernsey ?
(Q25230,P37,c(Q34770))
action filter_type
action find
entity Q25230
relation P37
type Q34770
['Q25230', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q25230 property:P37 ?o . ?o rdf:type ontology:Q34770 }
Guernsey
action filter_type
action find
entity Guernsey
relation official language
type language
['Guernsey', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Guernsey property:official_language ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q25230,P37,c(Q34770))
action filter_type
action find
entity Q25230
relation P37
type Q34770
[ANSWER] is considered to be the official language of Guernsey
['Q25230', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q25230 property:P37 ?o . ?o rdf:type ontology:Q34770 }
English
English is considered to be the official language of Guernsey
English
action filter_type
action find
entity Guernsey
relation official language
type language
['Guernsey', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Guernsey property:official_language ?o . ?o rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25230
P276
Q645883
USER
Which military operation is located at that administrative territory ?
(c(Q645883),P276,Q1860)
action filter_type
action find_reverse
entity Q25230
relation P276
type Q645883
[{'concept': 'Q645883'}, 'P276', 'Q1860']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q25230 . ?q rdf:type ontology:Q645883 }
Guernsey
action filter_type
action find_reverse
entity Guernsey
relation location
type military operation
[{'concept': 'military operation'}, 'location', 'English']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Guernsey . ?q rdf:type ontology:military_operation }
[]
military operation
Q2750804
SYSTEM
Operation Ambassador
Q2750804
(c(Q645883),P276,Q1860)
action filter_type
action find_reverse
entity Q25230
relation P276
type Q645883
[ANSWER] is located at that administrative territory
[{'concept': 'Q645883'}, 'P276', 'Q1860']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q25230 . ?q rdf:type ontology:Q645883 }
Operation Ambassador
Operation Ambassador is located at that administrative territory
Operation Ambassador
action filter_type
action find_reverse
entity Guernsey
relation location
type military operation
[{'concept': 'military operation'}, 'location', 'English']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Guernsey . ?q rdf:type ontology:military_operation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q1190554 Q645883
USER
Which events are exactly 1 military operation a component of ?
(c(Q645883),P361,c(Q1190554))
action equal
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
value 1
[{'concept': 'Q645883'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?k ) WHERE { ?n rdf:type ontology:Q1190554 . ?g rdf:type ontology:Q645883 . ?g property:P361 ?n } GROUP BY ?n } }
action equal
action find_reverse_tuple_counts
relation part of
type event
type military operation
value 1
[{'concept': 'military operation'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?k ) WHERE { ?n rdf:type ontology:event . ?g rdf:type ontology:military_operation . ?g property:part_of ?n } GROUP BY ?n } }
[]
event military operation
Q218678 Q789406 Q482979
SYSTEM
North African Campaign, Balkans Campaign, Battle of Pusan Perimeter
Q246863 Q216184 Q789406 Q218678 Q27653685 Q6068230 Q6165880 Q162357 Q482979
(c(Q645883),P361,c(Q1190554))
action equal
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
value 1
[ANSWERS] are exactly 1 military operation a component of
[{'concept': 'Q645883'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?k ) WHERE { ?n rdf:type ontology:Q1190554 . ?g rdf:type ontology:Q645883 . ?g property:P361 ?n } GROUP BY ?n } }
Livonian War Western Front (World War II) Balkans Campaign North African Campaign War in the Black Sea Iraqi–Kurdish conflict Soviet invasion of Manchuria Battle of Smolensk Battle of Pusan Perimeter
North African Campaign, Balkans Campaign and Battle of Pusan Perimeter are exactly 1 military operation a component of
North African Campaign Balkans Campaign Battle of Pusan Perimeter
action equal
action find_reverse_tuple_counts
relation part of
type event
type military operation
value 1
[{'concept': 'military operation'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?k ) WHERE { ?n rdf:type ontology:event . ?g rdf:type ontology:military_operation . ?g property:part_of ?n } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218678
P710
Q918240
USER
Which artist participated in North African Campaign ?
(Q218678,P710,c(Q918240))
action filter_type
action find
entity Q218678
relation P710
type Q918240
['Q218678', 'P710', {'concept': 'Q918240'}]
SELECT DISTINCT ?j WHERE { resource:Q218678 property:P710 ?j . ?j rdf:type ontology:Q918240 }
North African Campaign
action filter_type
action find
entity North African Campaign
relation participant
type Territorial evolution of the British Empire
['North African Campaign', 'participant', {'concept': 'Territorial evolution of the British Empire'}]
SELECT DISTINCT ?j WHERE { resource:North_African_Campaign property:participant ?j . ?j rdf:type ontology:Territorial_evolution_of_the_British_Empire }
[]
Territorial evolution of the British Empire
Q750583
SYSTEM
Southern Rhodesia
Q750583
(Q218678,P710,c(Q918240))
action filter_type
action find
entity Q218678
relation P710
type Q918240
The [ANSWER] participated in North African Campaign
['Q218678', 'P710', {'concept': 'Q918240'}]
SELECT DISTINCT ?j WHERE { resource:Q218678 property:P710 ?j . ?j rdf:type ontology:Q918240 }
Southern Rhodesia
The Southern Rhodesia participated in North African Campaign
Southern Rhodesia
action filter_type
action find
entity North African Campaign
relation participant
type Territorial evolution of the British Empire
['North African Campaign', 'participant', {'concept': 'Territorial evolution of the British Empire'}]
SELECT DISTINCT ?j WHERE { resource:North_African_Campaign property:participant ?j . ?j rdf:type ontology:Territorial_evolution_of_the_British_Empire }
[]