Simple Question (Direct)
Simple Question
Q972229
P2416
Q349
USER
Which sport did Michel Tornéus compete in ?
(Q972229,P2416,c(Q349))
action filter_type
action find
entity Q972229
relation P2416
type Q349
['Q972229', 'P2416', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q972229 property:P2416 ?f . ?f rdf:type ontology:Q349 }
Michel Tornéus
action filter_type
action find
entity Michel Tornéus
relation sports discipline competed in
type sport
['Michel Tornéus', 'sports discipline competed in', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Michel_Tornéus property:sports_discipline_competed_in ?f . ?f rdf:type ontology:sport }
[]
sport
Q170737
SYSTEM
long jump
Q170737
(Q972229,P2416,c(Q349))
action filter_type
action find
entity Q972229
relation P2416
type Q349
Michel Tornéus competed in [ANSWER]
['Q972229', 'P2416', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q972229 property:P2416 ?f . ?f rdf:type ontology:Q349 }
long jump
Michel Tornéus competed in long jump
long jump
action filter_type
action find
entity Michel Tornéus
relation sports discipline competed in
type sport
['Michel Tornéus', 'sports discipline competed in', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Michel_Tornéus property:sports_discipline_competed_in ?f . ?f rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170737
P413
Q502895
USER
Which people play in that sport position ?
(c(Q502895),P413,Q170737)
action filter_type
action find_reverse
entity Q170737
relation P413
type Q502895
[{'concept': 'Q502895'}, 'P413', 'Q170737']
SELECT DISTINCT ?t WHERE { ?t property:P413 resource:Q170737 . ?t rdf:type ontology:Q502895 }
long jump
action filter_type
action find_reverse
entity long jump
relation position played on team / speciality
type common name
[{'concept': 'common name'}, 'position played on team / speciality', 'long jump']
SELECT DISTINCT ?t WHERE { ?t property:position_played_on_team_/_speciality resource:long_jump . ?t rdf:type ontology:common_name }
[]
common name
Q27588514 Q24084652 Q24250014
SYSTEM
Xavier Cooper, Aimé Becquet, Raymond Driessen
Q27588514 Q24084652 Q24250014
(c(Q502895),P413,Q170737)
action filter_type
action find_reverse
entity Q170737
relation P413
type Q502895
[ANSWERS] play in that sport position
[{'concept': 'Q502895'}, 'P413', 'Q170737']
SELECT DISTINCT ?t WHERE { ?t property:P413 resource:Q170737 . ?t rdf:type ontology:Q502895 }
Xavier Cooper Aimé Becquet Raymond Driessen
Xavier Cooper, Aimé Becquet and Raymond Driessen play in that sport position
Xavier Cooper Aimé Becquet Raymond Driessen
action filter_type
action find_reverse
entity long jump
relation position played on team / speciality
type common name
[{'concept': 'common name'}, 'position played on team / speciality', 'long jump']
SELECT DISTINCT ?t WHERE { ?t property:position_played_on_team_/_speciality resource:long_jump . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do min number of people know to play ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?w } } }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?w } } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?w } } }
spoon cajón wind instrument
Min number of people know about spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?w } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170737
P641
Q31629
USER
Which type of sport was long jump a part of ?
(Q170737,P641,c(Q31629))
action filter_type
action find
entity Q170737
relation P641
type Q31629
['Q170737', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q31629 . resource:Q170737 property:P641 ?d }
long jump
action filter_type
action find
entity long jump
relation sport
type type of sport
['long jump', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_sport . resource:long_jump property:sport ?d }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q170737,P641,c(Q31629))
action filter_type
action find
entity Q170737
relation P641
type Q31629
[ANSWER] was long jump a part of
['Q170737', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q31629 . resource:Q170737 property:P641 ?d }
athletics
Athletics was long jump a part of
athletics
action filter_type
action find
entity long jump
relation sport
type type of sport
['long jump', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_sport . resource:long_jump property:sport ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q542 Q16202771
P641
Q502895
USER
Does Bridget Anne Kelly play that type of sport ?
(Q16202771,P641,Q542)
action is_in
entity Q16202771
action find
entity Q542
relation P641
['Q16202771', 'P641', 'Q542']
ASK WHERE { resource:Q542 property:P641 resource:Q16202771 }
athletics Bridget Anne Kelly
action is_in
entity Bridget Anne Kelly
action find
entity athletics
relation sport
['Bridget Anne Kelly', 'sport', 'athletics']
ASK WHERE { resource:athletics property:sport resource:Bridget_Anne_Kelly }
[]
common name
SYSTEM
NO
(Q16202771,P641,Q542)
action is_in
entity Q16202771
action find
entity Q542
relation P641
[ANSWER]
['Q16202771', 'P641', 'Q542']
ASK WHERE { resource:Q542 property:P641 resource:Q16202771 }
No
action is_in
entity Bridget Anne Kelly
action find
entity athletics
relation sport
['Bridget Anne Kelly', 'sport', 'athletics']
ASK WHERE { resource:athletics property:sport resource:Bridget_Anne_Kelly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q24084652 Q378628
P21
Q290
USER
How many sexes do Aimé Becquet or England national rugby union team belong to ?
(Q24084652,P21,c(Q290)) (Q378628,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q24084652
relation P21
type Q290
action filter_type
action find
entity Q378628
relation P21
type Q290
['Q24084652', 'P21', {'concept': 'Q290'}] ['Q378628', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { resource:Q24084652 property:P21 ?j . ?j rdf:type ontology:Q290 } UNION { resource:Q378628 property:P21 ?j . ?j rdf:type ontology:Q290 } }
Aimé Becquet England national rugby union team
action count
action union
action filter_type
action find
entity Aimé Becquet
relation gender
type sex
action filter_type
action find
entity England national rugby union team
relation gender
type sex
['Aimé Becquet', 'gender', {'concept': 'sex'}] ['England national rugby union team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { resource:Aimé_Becquet property:gender ?j . ?j rdf:type ontology:sex } UNION { resource:England_national_rugby_union_team property:gender ?j . ?j rdf:type ontology:sex } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q24084652,P21,c(Q290)) (Q378628,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q24084652
relation P21
type Q290
action filter_type
action find
entity Q378628
relation P21
type Q290
[ANSWER]
['Q24084652', 'P21', {'concept': 'Q290'}] ['Q378628', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { resource:Q24084652 property:P21 ?j . ?j rdf:type ontology:Q290 } UNION { resource:Q378628 property:P21 ?j . ?j rdf:type ontology:Q290 } }
male female
2
action count
action union
action filter_type
action find
entity Aimé Becquet
relation gender
type sex
action filter_type
action find
entity England national rugby union team
relation gender
type sex
['Aimé Becquet', 'gender', {'concept': 'sex'}] ['England national rugby union team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { resource:Aimé_Becquet property:gender ?j . ?j rdf:type ontology:sex } UNION { resource:England_national_rugby_union_team property:gender ?j . ?j rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24084652
P106
Q151885
USER
Which concept is the profession of Aimé Becquet ?
(Q24084652,P106,c(Q151885))
action filter_type
action find
entity Q24084652
relation P106
type Q151885
['Q24084652', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q151885 . resource:Q24084652 property:P106 ?o }
Aimé Becquet
action filter_type
action find
entity Aimé Becquet
relation occupation
type concept
['Aimé Becquet', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:concept . resource:Aimé_Becquet property:occupation ?o }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q24084652,P106,c(Q151885))
action filter_type
action find
entity Q24084652
relation P106
type Q151885
The [ANSWER] is the profession of Aimé Becquet
['Q24084652', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q151885 . resource:Q24084652 property:P106 ?o }
athletics competitor
The athletics competitor is the profession of Aimé Becquet
athletics competitor
action filter_type
action find
entity Aimé Becquet
relation occupation
type concept
['Aimé Becquet', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:concept . resource:Aimé_Becquet property:occupation ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24084652
P27
Q15617994
USER
Which administrative territory is the native country of Aimé Becquet ?
(Q24084652,P27,c(Q15617994))
action filter_type
action find
entity Q24084652
relation P27
type Q15617994
['Q24084652', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q24084652 property:P27 ?c }
Aimé Becquet
action filter_type
action find
entity Aimé Becquet
relation country of citizenship
type designation for an administrative territorial entity
['Aimé Becquet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aimé_Becquet property:country_of_citizenship ?c }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q24084652,P27,c(Q15617994))
action filter_type
action find
entity Q24084652
relation P27
type Q15617994
[ANSWER] is the native country of Aimé Becquet
['Q24084652', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q24084652 property:P27 ?c }
Belgium
Belgium is the native country of Aimé Becquet
Belgium
action filter_type
action find
entity Aimé Becquet
relation country of citizenship
type designation for an administrative territorial entity
['Aimé Becquet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aimé_Becquet property:country_of_citizenship ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10347670
Q15617994
USER
And what about Pedro Osório?
(Q10347670,P27,c(Q15617994))
action filter_type
action find
entity Q10347670
relation P27
type Q15617994
['Q10347670', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q10347670 property:P27 ?a }
Pedro Osório
action filter_type
action find
entity Pedro Osório
relation country of citizenship
type designation for an administrative territorial entity
['Pedro Osório', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pedro_Osório property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q10347670,P27,c(Q15617994))
action filter_type
action find
entity Q10347670
relation P27
type Q15617994
[ANSWER]
['Q10347670', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q10347670 property:P27 ?a }
Portugal
Portugal
action filter_type
action find
entity Pedro Osório
relation country of citizenship
type designation for an administrative territorial entity
['Pedro Osório', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pedro_Osório property:country_of_citizenship ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10347670
P166
Q618779
USER
Which award was received by that person ?
(Q45,P166,c(Q618779))
action filter_type
action find
entity Q10347670
relation P166
type Q618779
['Q45', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q10347670 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Pedro Osório
action filter_type
action find
entity Pedro Osório
relation award received
type award
['Portugal', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Pedro_Osório property:award_received ?e . ?e rdf:type ontology:award }
[]
award
Q18346436
SYSTEM
Commander of the Order of Prince Henry
Q18346436
(Q45,P166,c(Q618779))
action filter_type
action find
entity Q10347670
relation P166
type Q618779
The [ANSWER] was received by that person
['Q45', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q10347670 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Commander of the Order of Prince Henry
The Commander of the Order of Prince Henry was received by that person
Commander of the Order of Prince Henry
action filter_type
action find
entity Pedro Osório
relation award received
type award
['Portugal', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Pedro_Osório property:award_received ?e . ?e rdf:type ontology:award }
[]