Simple Question (Direct)
Simple Question
Q7282439
P106
Q12737077
USER
What does Rafał Janicki do for a living ?
(Q7282439,P106,c(Q12737077))
action filter_type
action find
entity Q7282439
relation P106
type Q12737077
['Q7282439', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q7282439 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Rafał Janicki
action filter_type
action find
entity Rafał Janicki
relation occupation
type occupation
['Rafał Janicki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Rafał_Janicki property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7282439,P106,c(Q12737077))
action filter_type
action find
entity Q7282439
relation P106
type Q12737077
[ANSWER] Rafał Janicki does for a living
['Q7282439', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q7282439 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
Association football player Rafał Janicki does for a living
association football player
action filter_type
action find
entity Rafał Janicki
relation occupation
type occupation
['Rafał Janicki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Rafał_Janicki property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P800
Q502895
USER
Which person is accredited with being the author of the notable work that occupation ?
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P800 resource:Q937857 }
association football player
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:notable_work resource:association_football_player }
[]
common name
Q23047441
SYSTEM
Hugh Morgan-Owen
Q23047441
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work that occupation
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P800 resource:Q937857 }
Hugh Morgan-Owen
Hugh Morgan-Owen is accredited with being the author of the notable work 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', 'association football player']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:notable_work resource:association_football_player }
[]
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 46 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 46
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 . ?n property:P1303 ?v } GROUP BY ?v } . FILTER ( ?c >= 46 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 46
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument . ?n property:instrument ?v } GROUP BY ?v } . FILTER ( ?c >= 46 ) }
[]
musical instrument common name
SYSTEM
13
Q80284 Q46185 Q80019 Q5994 Q81982 Q206987 Q8338 Q8371 Q8355 Q3382191 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 46
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 . ?n property:P1303 ?v } GROUP BY ?v } . FILTER ( ?c >= 46 ) }
viola bass guitar double bass piano harpsichord vibraphone trumpet cello violin upright piano organ drum kit electronic keyboard
13
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 46
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument . ?n property:instrument ?v } GROUP BY ?v } . FILTER ( ?c >= 46 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q6619679 Q188451
USER
How many fictional humanoids and music genres have the profession of association football player ?
(c(Q6619679),P106,Q937857) (c(Q188451),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
action filter_type
action find_reverse
entity Q937857
relation P106
type Q188451
[{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q188451'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?r . VALUES ( ?r ) { ( ontology:Q6619679 ) ( ontology:Q188451 ) } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
action filter_type
action find_reverse
entity association football player
relation occupation
type music genre
[{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'music genre'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?r . VALUES ( ?r ) { ( ontology:fictional_humanoid ) ( ontology:music_genre ) } }
[]
fictional humanoid music genre
SYSTEM
24 fictional humanoids and 1 music genres
Q8994224 Q4933787 Q6371793 Q1000043 Q7626893 Q3482197 Q5292194 Q3498435 Q10303719 Q5220860 Q5246215 Q2567460 Q2939461 Q7937796 Q5136888 Q3482651 Q7384370 Q6701906 Q5195672 Q6163280 Q5049092 Q1000560 Q4913115 Q5360264 Q5489814
(c(Q6619679),P106,Q937857) (c(Q188451),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
action filter_type
action find_reverse
entity Q937857
relation P106
type Q188451
[ANSWER]
[{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q188451'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?r . VALUES ( ?r ) { ( ontology:Q6619679 ) ( ontology:Q188451 ) } }
Lee Presley Bob Ridley Karl Fletcher Ken Wakashimazu Stuart Naysmith Shingo Aoi Don Barker Stephan Levin Tachibana brothers Danny Sullivan Dean Hocknell Santiago Muñez Cardona Carlos Santana Vivian Wright Clyde Connelly Shun Nitta Ryan Naysmith Luke Davenport Curtis Alexander Jason Porter Casper Rose Hikaru Matsuyama Billy O'Neil Eli Knox Frank Stone
24 fictional humanoids and 1 music genres
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
action filter_type
action find_reverse
entity association football player
relation occupation
type music genre
[{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'music genre'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?r . VALUES ( ?r ) { ( ontology:fictional_humanoid ) ( ontology:music_genre ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P361
Q847017
USER
What is association football player a portion of ?
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?o WHERE { resource:Q937857 property:P361 ?o . ?o rdf:type ontology:Q847017 }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?o WHERE { resource:association_football_player property:part_of ?o . ?o rdf:type ontology:sports_club }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
Association football player a portion of is an [ANSWER]
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?o WHERE { resource:Q937857 property:P361 ?o . ?o rdf:type ontology:Q847017 }
association football club
Association football player a portion of is an association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?o WHERE { resource:association_football_player property:part_of ?o . ?o rdf:type ontology:sports_club }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5597536
Q847017
USER
And also tell me about Grasshopper Club Zürich?
(Q5597536,P361,c(Q847017))
action filter_type
action find
entity Q5597536
relation P361
type Q847017
['Q5597536', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q847017 . resource:Q5597536 property:P361 ?l }
Grasshopper Club Zürich
action filter_type
action find
entity Grasshopper Club Zürich
relation part of
type sports club
['Grasshopper Club Zürich', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sports_club . resource:Grasshopper_Club_Zürich property:part_of ?l }
[]
sports club
Q201360
SYSTEM
Grasshopper Club Zürich
Q201360
(Q5597536,P361,c(Q847017))
action filter_type
action find
entity Q5597536
relation P361
type Q847017
[ANSWER]
['Q5597536', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q847017 . resource:Q5597536 property:P361 ?l }
Grasshopper Club Zürich
Grasshopper Club Zürich
action filter_type
action find
entity Grasshopper Club Zürich
relation part of
type sports club
['Grasshopper Club Zürich', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sports_club . resource:Grasshopper_Club_Zürich property:part_of ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q201360 Q667348
P54
Q502895
USER
Does Toko Nzuzi play for that sports club ?
(Q667348,P54,Q201360)
action is_in
entity Q201360
action find
entity Q667348
relation P54
['Q667348', 'P54', 'Q201360']
ASK WHERE { resource:Q667348 property:P54 resource:Q201360 }
Grasshopper Club Zürich Toko Nzuzi
action is_in
entity Grasshopper Club Zürich
action find
entity Toko Nzuzi
relation member of sports team
['Toko Nzuzi', 'member of sports team', 'Grasshopper Club Zürich']
ASK WHERE { resource:Toko_Nzuzi property:member_of_sports_team resource:Grasshopper_Club_Zürich }
[]
common name
SYSTEM
YES
(Q667348,P54,Q201360)
action is_in
entity Q201360
action find
entity Q667348
relation P54
[ANSWER]
['Q667348', 'P54', 'Q201360']
ASK WHERE { resource:Q667348 property:P54 resource:Q201360 }
Yes
action is_in
entity Grasshopper Club Zürich
action find
entity Toko Nzuzi
relation member of sports team
['Toko Nzuzi', 'member of sports team', 'Grasshopper Club Zürich']
ASK WHERE { resource:Toko_Nzuzi property:member_of_sports_team resource:Grasshopper_Club_Zürich }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201360
P115
Q1076486
USER
Which sports venue is the arena of Grasshopper Club Zürich ?
(Q201360,P115,c(Q1076486))
action filter_type
action find
entity Q201360
relation P115
type Q1076486
['Q201360', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?g WHERE { resource:Q201360 property:P115 ?g . ?g rdf:type ontology:Q1076486 }
Grasshopper Club Zürich
action filter_type
action find
entity Grasshopper Club Zürich
relation home venue
type sports venue
['Grasshopper Club Zürich', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?g WHERE { resource:Grasshopper_Club_Zürich property:home_venue ?g . ?g rdf:type ontology:sports_venue }
[]
sports venue
Q207623
SYSTEM
Letzigrund
Q207623
(Q201360,P115,c(Q1076486))
action filter_type
action find
entity Q201360
relation P115
type Q1076486
[ANSWER] is the arena of Grasshopper Club Zürich
['Q201360', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?g WHERE { resource:Q201360 property:P115 ?g . ?g rdf:type ontology:Q1076486 }
Letzigrund
Letzigrund is the arena of Grasshopper Club Zürich
Letzigrund
action filter_type
action find
entity Grasshopper Club Zürich
relation home venue
type sports venue
['Grasshopper Club Zürich', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?g WHERE { resource:Grasshopper_Club_Zürich property:home_venue ?g . ?g rdf:type ontology:sports_venue }
[]