Simple Question (Direct)
Simple Question
Q4115480
P641
Q349
USER
Which sport was Desmond Fa'aiuaso a part of ?
(Q4115480,P641,c(Q349))
action filter_type
action find
entity Q4115480
relation P641
type Q349
['Q4115480', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q4115480 property:P641 ?t . ?t rdf:type ontology:Q349 }
Desmond Fa'aiuaso
action filter_type
action find
entity Desmond Fa'aiuaso
relation sport
type sport
["Desmond Fa'aiuaso", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Desmond_Fa'aiuaso property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4115480,P641,c(Q349))
action filter_type
action find
entity Q4115480
relation P641
type Q349
Which sport was Desmond Fa'aiuaso a part of
['Q4115480', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q4115480 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
Which sport was Desmond Fa'aiuaso a part of
association football
action filter_type
action find
entity Desmond Fa'aiuaso
relation sport
type sport
["Desmond Fa'aiuaso", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Desmond_Fa'aiuaso property:sport ?t . ?t rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4115480
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4115480
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q4115480 property:P21 ?j }
Desmond Fa'aiuaso
action filter_type
action find
entity Desmond Fa'aiuaso
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Desmond_Fa'aiuaso property:gender ?j }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4115480
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q4115480 property:P21 ?j }
male
That person has a male
male
action filter_type
action find
entity Desmond Fa'aiuaso
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Desmond_Fa'aiuaso property:gender ?j }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 2958 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2958
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?y = 2958 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2958
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?y = 2958 ) }
[]
musical instrument common name
Q8338 Q1444 Q128309
SYSTEM
trumpet, organ, drum kit
Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2958
[ANSWERS] are played by around 2958 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?y = 2958 ) }
trumpet organ drum kit
Trumpet, organ and drum kit are played by around 2958 people
trumpet organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2958
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?y = 2958 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8338 Q1444 Q128309
P425
Q12737077
USER
Which occupations do those musical instruments belong to ?
(c(Q12737077),P425,Q8338) (c(Q12737077),P425,Q1444) (c(Q12737077),P425,Q128309)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q8338'] [{'concept': 'Q12737077'}, 'P425', 'Q1444'] [{'concept': 'Q12737077'}, 'P425', 'Q128309']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . ?d property:P425 ?r . VALUES ( ?r ) { ( resource:Q8338 ) ( resource:Q1444 ) ( resource:Q128309 ) } }
trumpet organ drum kit
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'trumpet'] [{'concept': 'occupation'}, 'field of this occupation', 'organ'] [{'concept': 'occupation'}, 'field of this occupation', 'drum kit']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . ?d property:field_of_this_occupation ?r . VALUES ( ?r ) { ( resource:trumpet ) ( resource:organ ) ( resource:drum_kit ) } }
[]
occupation
Q17093672 Q765778 Q1937431
SYSTEM
trumpeter, organist, organ maker
Q17093672 Q765778 Q1937431 Q386854
(c(Q12737077),P425,Q8338) (c(Q12737077),P425,Q1444) (c(Q12737077),P425,Q128309)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
Those musical instruments belong to the [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q8338'] [{'concept': 'Q12737077'}, 'P425', 'Q1444'] [{'concept': 'Q12737077'}, 'P425', 'Q128309']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . ?d property:P425 ?r . VALUES ( ?r ) { ( resource:Q8338 ) ( resource:Q1444 ) ( resource:Q128309 ) } }
trumpeter organist organ maker drummer
Those musical instruments belong to the trumpeter, organist and organ maker
trumpeter organist organ maker
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'trumpet'] [{'concept': 'occupation'}, 'field of this occupation', 'organ'] [{'concept': 'occupation'}, 'field of this occupation', 'drum kit']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . ?d property:field_of_this_occupation ?r . VALUES ( ?r ) { ( resource:trumpet ) ( resource:organ ) ( resource:drum_kit ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4115480
P106
Q12737077
USER
What is the job of Desmond Fa'aiuaso ?
(Q4115480,P106,c(Q12737077))
action filter_type
action find
entity Q4115480
relation P106
type Q12737077
['Q4115480', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q4115480 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Desmond Fa'aiuaso
action filter_type
action find
entity Desmond Fa'aiuaso
relation occupation
type occupation
["Desmond Fa'aiuaso", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Desmond_Fa'aiuaso property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4115480,P106,c(Q12737077))
action filter_type
action find
entity Q4115480
relation P106
type Q12737077
The job of Desmond Fa'aiuaso is an [ANSWER]
['Q4115480', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q4115480 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
The job of Desmond Fa'aiuaso is an association football player
association football player
action filter_type
action find
entity Desmond Fa'aiuaso
relation occupation
type occupation
["Desmond Fa'aiuaso", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Desmond_Fa'aiuaso property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4115480
P54
Q1194951
USER
What is Desmond Fa'aiuaso a member of ?
(Q4115480,P54,c(Q1194951))
action filter_type
action find
entity Q4115480
relation P54
type Q1194951
['Q4115480', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { resource:Q4115480 property:P54 ?v . ?v rdf:type ontology:Q1194951 }
Desmond Fa'aiuaso
action filter_type
action find
entity Desmond Fa'aiuaso
relation member of sports team
type national sports team
["Desmond Fa'aiuaso", 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { resource:Desmond_Fa'aiuaso property:member_of_sports_team ?v . ?v rdf:type ontology:national_sports_team }
[]
national sports team
Q477079
SYSTEM
Samoa national football team
Q477079
(Q4115480,P54,c(Q1194951))
action filter_type
action find
entity Q4115480
relation P54
type Q1194951
Desmond Fa'aiuaso is a member of [ANSWER]
['Q4115480', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { resource:Q4115480 property:P54 ?v . ?v rdf:type ontology:Q1194951 }
Samoa national football team
Desmond Fa'aiuaso is a member of Samoa national football team
Samoa national football team
action filter_type
action find
entity Desmond Fa'aiuaso
relation member of sports team
type national sports team
["Desmond Fa'aiuaso", 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { resource:Desmond_Fa'aiuaso property:member_of_sports_team ?v . ?v rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q477079
P466
Q811979
USER
What is occupied by that national sports team ?
(c(Q811979),P466,Q477079)
action filter_type
action find_reverse
entity Q477079
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q477079']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q811979 . ?c property:P466 resource:Q477079 }
Samoa national football team
action filter_type
action find_reverse
entity Samoa national football team
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Samoa national football team']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:architectural_structure . ?c property:occupant resource:Samoa_national_football_team }
[]
architectural structure
Q2858293
SYSTEM
Apia Park
Q2858293
(c(Q811979),P466,Q477079)
action filter_type
action find_reverse
entity Q477079
relation P466
type Q811979
[ANSWER] is occupied by that national sports team
[{'concept': 'Q811979'}, 'P466', 'Q477079']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q811979 . ?c property:P466 resource:Q477079 }
Apia Park
Apia Park is occupied by that national sports team
Apia Park
action filter_type
action find_reverse
entity Samoa national football team
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Samoa national football team']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:architectural_structure . ?c property:occupant resource:Samoa_national_football_team }
[]