Simple Question (Direct)
Simple Question
Q2834997
P106
Q12737077
USER
Which occupation has Alfred Brice as his/her 's career ?
(Q2834997,P106,c(Q12737077))
action filter_type
action find
entity Q2834997
relation P106
type Q12737077
['Q2834997', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2834997 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Alfred Brice
action filter_type
action find
entity Alfred Brice
relation occupation
type occupation
['Alfred Brice', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Alfred_Brice property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q14089670
SYSTEM
rugby union player
Q14089670
(Q2834997,P106,c(Q12737077))
action filter_type
action find
entity Q2834997
relation P106
type Q12737077
Player [ANSWER] has Alfred Brice as his/her 's career
['Q2834997', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2834997 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
rugby union player
Player rugby union player has Alfred Brice as his/her 's career
rugby union player
action filter_type
action find
entity Alfred Brice
relation occupation
type occupation
['Alfred Brice', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Alfred_Brice property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2834997
P54
Q12973014
USER
Which sports teams are Alfred Brice a member of ?
(Q2834997,P54,c(Q12973014))
action filter_type
action find
entity Q2834997
relation P54
type Q12973014
['Q2834997', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q2834997 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Alfred Brice
action filter_type
action find
entity Alfred Brice
relation member of sports team
type sports team
['Alfred Brice', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Alfred_Brice property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
sports team
Q842510 Q822877 Q5566543
SYSTEM
Cardiff RFC, Wales national rugby union team, Glamorgan Police RFC
Q842510 Q822877 Q5566543
(Q2834997,P54,c(Q12973014))
action filter_type
action find
entity Q2834997
relation P54
type Q12973014
[ANSWERS] are Alfred Brice a member of
['Q2834997', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q2834997 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Cardiff RFC Wales national rugby union team Glamorgan Police RFC
Cardiff RFC, Wales national rugby union team and Glamorgan Police RFC are Alfred Brice a member of
Cardiff RFC Wales national rugby union team Glamorgan Police RFC
action filter_type
action find
entity Alfred Brice
relation member of sports team
type sports team
['Alfred Brice', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Alfred_Brice property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q720914
Q12973014
USER
And how about Heino Kruus?
(Q720914,P54,c(Q12973014))
action filter_type
action find
entity Q720914
relation P54
type Q12973014
['Q720914', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q720914 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Heino Kruus
action filter_type
action find
entity Heino Kruus
relation member of sports team
type sports team
['Heino Kruus', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Heino_Kruus property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
sports team
Q1862016
SYSTEM
BC Kalev/Cramo
Q1862016
(Q720914,P54,c(Q12973014))
action filter_type
action find
entity Q720914
relation P54
type Q12973014
[ANSWER]
['Q720914', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q720914 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
BC Kalev/Cramo
BC Kalev/Cramo
action filter_type
action find
entity Heino Kruus
relation member of sports team
type sports team
['Heino Kruus', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Heino_Kruus property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2834997
P19
Q1496967
USER
Which territory was Alfred Brice born at ?
(Q2834997,P19,c(Q1496967))
action filter_type
action find
entity Q2834997
relation P19
type Q1496967
['Q2834997', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?x WHERE { resource:Q2834997 property:P19 ?x . ?x rdf:type ontology:Q1496967 }
Alfred Brice
action filter_type
action find
entity Alfred Brice
relation place of birth
type territorial entity
['Alfred Brice', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Alfred_Brice property:place_of_birth ?x . ?x rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2834997,P19,c(Q1496967))
action filter_type
action find
entity Q2834997
relation P19
type Q1496967
Alfred Brice was born in [ANSWER]
['Q2834997', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?x WHERE { resource:Q2834997 property:P19 ?x . ?x rdf:type ontology:Q1496967 }
England
Alfred Brice was born in England
England
action filter_type
action find
entity Alfred Brice
relation place of birth
type territorial entity
['Alfred Brice', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Alfred_Brice property:place_of_birth ?x . ?x rdf:type ontology:territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q33506 Q1656682 Q502895
USER
Which people were displayed at approximately 5 museums or events ?
(c(Q502895),P608,c(Q33506)|c(Q1656682))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q33506
action find_tuple_counts
relation P608
type Q502895
type Q1656682
value 5
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q33506'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?h = 5 ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q33506 ) ( ontology:Q1656682 ) } } GROUP BY ?w } }
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type museum
action find_tuple_counts
relation exhibition history
type common name
type event
value 5
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'museum'}, {'concept': 'event'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?h = 5 ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:museum ) ( ontology:event ) } } GROUP BY ?w } }
[]
museum event common name
Q5040332 Q4945678 Q4648360
SYSTEM
Carl Holty, Martha Edelheit, A. S. Baylinson
Q4945678 Q16004451 Q4648360 Q6990118 Q5040332
(c(Q502895),P608,c(Q33506)|c(Q1656682))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q33506
action find_tuple_counts
relation P608
type Q502895
type Q1656682
value 5
[ANSWERS] were displayed at approximately 5 museums or events
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q33506'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?h = 5 ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q33506 ) ( ontology:Q1656682 ) } } GROUP BY ?w } }
Martha Edelheit Jennifer Bolande A. S. Baylinson Nellie Mae Rowe Carl Holty
Carl Holty, Martha Edelheit and A. S. Baylinson were displayed at approximately 5 museums or events
Carl Holty Martha Edelheit A. S. Baylinson
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type museum
action find_tuple_counts
relation exhibition history
type common name
type event
value 5
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'museum'}, {'concept': 'event'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?h = 5 ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:museum ) ( ontology:event ) } } GROUP BY ?w } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do atleast 2129 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2129
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?r >= 2129 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2129
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?r >= 2129 ) }
[]
musical instrument common name
SYSTEM
4
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2129
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?r >= 2129 ) }
piano violin organ drum kit
4
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2129
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?r >= 2129 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?z WHERE { FILTER ( ?q = ?b ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P1303 ?z . ?n rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } . { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?c ) WHERE { ?h rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?h } GROUP BY ?h } } }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?z WHERE { FILTER ( ?q = ?b ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:instrument ?z . ?n rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } . { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?c ) WHERE { ?h rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?h } GROUP BY ?h } } }
[]
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
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?z WHERE { FILTER ( ?q = ?b ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P1303 ?z . ?n rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } . { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?c ) WHERE { ?h rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?h } GROUP BY ?h } } }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
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 ?z WHERE { FILTER ( ?q = ?b ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:instrument ?z . ?n rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } . { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?c ) WHERE { ?h rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?h } GROUP BY ?h } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P84
Q18142
USER
Which tower block was designed by England ?
(c(Q18142),P84,Q21)
action filter_type
action find_reverse
entity Q21
relation P84
type Q18142
[{'concept': 'Q18142'}, 'P84', 'Q21']
SELECT DISTINCT ?a WHERE { ?a property:P84 resource:Q21 . ?a rdf:type ontology:Q18142 }
England
action filter_type
action find_reverse
entity England
relation architect
type tower block
[{'concept': 'tower block'}, 'architect', 'England']
SELECT DISTINCT ?a WHERE { ?a property:architect resource:England . ?a rdf:type ontology:tower_block }
[]
tower block
Q7863864
SYSTEM
UBL Tower
Q7863864
(c(Q18142),P84,Q21)
action filter_type
action find_reverse
entity Q21
relation P84
type Q18142
The [ANSWER] was designed by England
[{'concept': 'Q18142'}, 'P84', 'Q21']
SELECT DISTINCT ?a WHERE { ?a property:P84 resource:Q21 . ?a rdf:type ontology:Q18142 }
UBL Tower
The UBL Tower was designed by England
UBL Tower
action filter_type
action find_reverse
entity England
relation architect
type tower block
[{'concept': 'tower block'}, 'architect', 'England']
SELECT DISTINCT ?a WHERE { ?a property:architect resource:England . ?a rdf:type ontology:tower_block }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7863864
P17
Q15617994
USER
Which administrative territory does that tower block belong to ?
(Q7863864,P17,c(Q15617994))
action filter_type
action find
entity Q7863864
relation P17
type Q15617994
['Q7863864', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q7863864 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
UBL Tower
action filter_type
action find
entity UBL Tower
relation country
type designation for an administrative territorial entity
['UBL Tower', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:UBL_Tower property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q843
SYSTEM
Pakistan
Q843
(Q7863864,P17,c(Q15617994))
action filter_type
action find
entity Q7863864
relation P17
type Q15617994
That tower block belongs to the [ANSWER]
['Q7863864', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q7863864 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Pakistan
That tower block belongs to the Pakistan
Pakistan
action filter_type
action find
entity UBL Tower
relation country
type designation for an administrative territorial entity
['UBL Tower', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:UBL_Tower property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q843 Q6891712
P27
Q502895
USER
Is Mohammad Akram a native of that administrative territory ?
(Q6891712,P27,Q843)
action is_in
entity Q843
action find
entity Q6891712
relation P27
['Q6891712', 'P27', 'Q843']
ASK WHERE { resource:Q6891712 property:P27 resource:Q843 }
Pakistan Mohammad Akram
action is_in
entity Pakistan
action find
entity Mohammad Akram
relation country of citizenship
['Mohammad Akram', 'country of citizenship', 'Pakistan']
ASK WHERE { resource:Mohammad_Akram property:country_of_citizenship resource:Pakistan }
[]
common name
SYSTEM
YES
(Q6891712,P27,Q843)
action is_in
entity Q843
action find
entity Q6891712
relation P27
[ANSWER]
['Q6891712', 'P27', 'Q843']
ASK WHERE { resource:Q6891712 property:P27 resource:Q843 }
Yes
action is_in
entity Pakistan
action find
entity Mohammad Akram
relation country of citizenship
['Mohammad Akram', 'country of citizenship', 'Pakistan']
ASK WHERE { resource:Mohammad_Akram property:country_of_citizenship resource:Pakistan }
[]