Simple Question (Direct)
Simple Question
Q604384
P106
Q12737077
USER
What is the profession of Javier del Pino González ?
(Q604384,P106,c(Q12737077))
action filter_type
action find
entity Q604384
relation P106
type Q12737077
['Q604384', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q604384 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Javier del Pino González
action filter_type
action find
entity Javier del Pino González
relation occupation
type occupation
['Javier del Pino González', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Javier_del_Pino_González property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q604384,P106,c(Q12737077))
action filter_type
action find
entity Q604384
relation P106
type Q12737077
The profession of Javier del Pino González is an [ANSWER]
['Q604384', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q604384 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
The profession of Javier del Pino González is an association football player
association football player
action filter_type
action find
entity Javier del Pino González
relation occupation
type occupation
['Javier del Pino González', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Javier_del_Pino_González property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P921
Q2342494
USER
Which collectables were mainly based on that occupation ?
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2342494 . ?p property:P921 resource:Q937857 }
association football player
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:collectable . ?p property:main_subject resource:association_football_player }
[]
collectable
Q24787529 Q23730991 Q19845002
SYSTEM
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006, Citizens and minstermen : a who's who of York City FC, 1922-1997
Q24787529 Q23730991 Q19845002
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2342494 . ?p property:P921 resource:Q937857 }
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006 and Citizens and minstermen : a who's who of York City FC, 1922-1997 were mainly based on that occupation
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:collectable . ?p property:main_subject resource:association_football_player }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P800
Q502895
USER
Whose notable work was that occupation ?
(c(Q502895),P800,Q24787529) (c(Q502895),P800,Q23730991) (c(Q502895),P800,Q19845002)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q24787529'] [{'concept': 'Q502895'}, 'P800', 'Q23730991'] [{'concept': 'Q502895'}, 'P800', 'Q19845002']
SELECT DISTINCT ?z WHERE { ?z property:P800 resource:Q937857 . ?z rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', "The PFA footballers' who's who 2008-09"] [{'concept': 'common name'}, 'notable work', "Timeless Bees: Brentford F.C. who's who 1920-2006"] [{'concept': 'common name'}, 'notable work', "Citizens and minstermen : a who's who of York City FC, 1922-1997"]
SELECT DISTINCT ?z WHERE { ?z property:notable_work resource:association_football_player . ?z rdf:type ontology:common_name }
[]
common name
Q23047441
SYSTEM
Hugh Morgan-Owen
Q23047441
(c(Q502895),P800,Q24787529) (c(Q502895),P800,Q23730991) (c(Q502895),P800,Q19845002)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[ANSWER] was that occupation
[{'concept': 'Q502895'}, 'P800', 'Q24787529'] [{'concept': 'Q502895'}, 'P800', 'Q23730991'] [{'concept': 'Q502895'}, 'P800', 'Q19845002']
SELECT DISTINCT ?z WHERE { ?z property:P800 resource:Q937857 . ?z rdf:type ontology:Q502895 }
Hugh Morgan-Owen
Hugh Morgan-Owen was that occupation
Hugh Morgan-Owen
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', "The PFA footballers' who's who 2008-09"] [{'concept': 'common name'}, 'notable work', "Timeless Bees: Brentford F.C. who's who 1920-2006"] [{'concept': 'common name'}, 'notable work', "Citizens and minstermen : a who's who of York City FC, 1922-1997"]
SELECT DISTINCT ?z WHERE { ?z property:notable_work resource:association_football_player . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P425
Q349
USER
Which sport has association football player as the associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q937857 property:P425 ?k }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?k }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
Player [ANSWER] has [ANSWER] player as the associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q937857 property:P425 ?k }
association football
Player association football has association football player as the associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atleast 3030 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3030
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?m >= 3030 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3030
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?m >= 3030 ) }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3030
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?m >= 3030 ) }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3030
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?m >= 3030 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do max number of people know to play ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?p ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?r ) WHERE { ?v rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 . ?c property:P1303 ?v } GROUP BY ?v } } . FILTER ( ?g = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?d property:P1303 ?j } GROUP BY ?j } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?p ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?r ) WHERE { ?v rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name . ?c property:instrument ?v } GROUP BY ?v } } . FILTER ( ?g = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?d property:instrument ?j } GROUP BY ?j } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people know how [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?p ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?r ) WHERE { ?v rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 . ?c property:P1303 ?v } GROUP BY ?v } } . FILTER ( ?g = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?d property:P1303 ?j } GROUP BY ?j } }
piano
Max number of people know how piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?p ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?r ) WHERE { ?v rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name . ?c property:instrument ?v } GROUP BY ?v } } . FILTER ( ?g = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?d property:instrument ?j } GROUP BY ?j } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5994 Q301597 Q6172218
P61
Q502895
USER
Was piano invented or discoverd by Bartolomeo Cristofori and Jeanne Young ?
(Q5994,P61,Q301597) (Q5994,P61,Q6172218)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q301597
relation P61
action find_reverse
entity Q6172218
relation P61
['Q5994', 'P61', 'Q301597'] ['Q5994', 'P61', 'Q6172218']
ASK WHERE { resource:Q5994 property:P61 resource:Q301597 . resource:Q5994 property:P61 resource:Q6172218 }
piano Bartolomeo Cristofori Jeanne Young
action is_in
entity piano
action intersection
action find_reverse
entity Bartolomeo Cristofori
relation discoverer or inventor
action find_reverse
entity Jeanne Young
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Bartolomeo Cristofori'] ['piano', 'discoverer or inventor', 'Jeanne Young']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Bartolomeo_Cristofori . resource:piano property:discoverer_or_inventor resource:Jeanne_Young }
[]
common name
SYSTEM
YES and NO respectively
(Q5994,P61,Q301597) (Q5994,P61,Q6172218)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q301597
relation P61
action find_reverse
entity Q6172218
relation P61
[ANSWER]
['Q5994', 'P61', 'Q301597'] ['Q5994', 'P61', 'Q6172218']
ASK WHERE { resource:Q5994 property:P61 resource:Q301597 . resource:Q5994 property:P61 resource:Q6172218 }
YES and NO respectively
action is_in
entity piano
action intersection
action find_reverse
entity Bartolomeo Cristofori
relation discoverer or inventor
action find_reverse
entity Jeanne Young
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Bartolomeo Cristofori'] ['piano', 'discoverer or inventor', 'Jeanne Young']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Bartolomeo_Cristofori . resource:piano property:discoverer_or_inventor resource:Jeanne_Young }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q24787529 Q2490893 Q809047
P50
Q502895
USER
Is The PFA footballers' who's who 2008-09 written by Clive Nolan and Barry Hugman ?
(Q24787529,P50,Q2490893) (Q24787529,P50,Q809047)
action is_in
entity Q24787529
action intersection
action find_reverse
entity Q2490893
relation P50
action find_reverse
entity Q809047
relation P50
['Q24787529', 'P50', 'Q2490893'] ['Q24787529', 'P50', 'Q809047']
ASK WHERE { resource:Q24787529 property:P50 resource:Q2490893 . resource:Q24787529 property:P50 resource:Q809047 }
The PFA footballers' who's who 2008-09 Clive Nolan Barry Hugman
action is_in
entity The PFA footballers' who's who 2008-09
action intersection
action find_reverse
entity Clive Nolan
relation author
action find_reverse
entity Barry Hugman
relation author
["The PFA footballers' who's who 2008-09", 'author', 'Clive Nolan'] ["The PFA footballers' who's who 2008-09", 'author', 'Barry Hugman']
ASK WHERE { resource:The_PFA_footballers'_who's_who_2008-09 property:author resource:Clive_Nolan . resource:The_PFA_footballers'_who's_who_2008-09 property:author resource:Barry_Hugman }
[]
common name
SYSTEM
NO and YES respectively
(Q24787529,P50,Q2490893) (Q24787529,P50,Q809047)
action is_in
entity Q24787529
action intersection
action find_reverse
entity Q2490893
relation P50
action find_reverse
entity Q809047
relation P50
[ANSWER]
['Q24787529', 'P50', 'Q2490893'] ['Q24787529', 'P50', 'Q809047']
ASK WHERE { resource:Q24787529 property:P50 resource:Q2490893 . resource:Q24787529 property:P50 resource:Q809047 }
NO and YES respectively
action is_in
entity The PFA footballers' who's who 2008-09
action intersection
action find_reverse
entity Clive Nolan
relation author
action find_reverse
entity Barry Hugman
relation author
["The PFA footballers' who's who 2008-09", 'author', 'Clive Nolan'] ["The PFA footballers' who's who 2008-09", 'author', 'Barry Hugman']
ASK WHERE { resource:The_PFA_footballers'_who's_who_2008-09 property:author resource:Clive_Nolan . resource:The_PFA_footballers'_who's_who_2008-09 property:author resource:Barry_Hugman }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5994
P180
Q34379 Q838948 Q386724
USER
How many musical instruments are depicted in lesser number of works of art or works than piano ?
(c(Q838948)|c(Q386724),P180,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P180
type Q34379
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q5994
relation P180
type Q838948
type Q386724
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q386724 } } . ?z property:P180 resource:Q5994 } } . FILTER ( ?t < ?v ) }
piano
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work of art
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work
action count
action filter_multi_types
action find_reverse
entity piano
relation depicts
type work of art
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:work ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:work } } . ?z property:depicts resource:piano } } . FILTER ( ?t < ?v ) }
[]
musical instrument work of art work
SYSTEM
14
Q8371 Q3382191 Q7933058 Q81982 Q218547 Q8338 Q173453 Q1148709 Q426948 Q871633 Q3500690 Q80019 Q11404 Q1798603
(c(Q838948)|c(Q386724),P180,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P180
type Q34379
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q5994
relation P180
type Q838948
type Q386724
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q386724 } } . ?z property:P180 resource:Q5994 } } . FILTER ( ?t < ?v ) }
cello upright piano Viola caipira harpsichord Sigismund Bell trumpet wind instrument grand piano sistrum Handbell Church bell double bass drum string instrument
14
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work of art
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work
action count
action filter_multi_types
action find_reverse
entity piano
relation depicts
type work of art
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:work ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:work } } . ?z property:depicts resource:piano } } . FILTER ( ?t < ?v ) }
[]