Simple Question (Direct)
Simple Question
Q978159
P641
Q349
USER
Which sport was Juan Arza a part of ?
(Q978159,P641,c(Q349))
action filter_type
action find
entity Q978159
relation P641
type Q349
['Q978159', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q978159 property:P641 ?i . ?i rdf:type ontology:Q349 }
Juan Arza
action filter_type
action find
entity Juan Arza
relation sport
type sport
['Juan Arza', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Juan_Arza property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q978159,P641,c(Q349))
action filter_type
action find
entity Q978159
relation P641
type Q349
Which sport was Juan Arza a part of
['Q978159', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q978159 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Which sport was Juan Arza a part of
association football
action filter_type
action find
entity Juan Arza
relation sport
type sport
['Juan Arza', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Juan_Arza property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q978159
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q978159
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1194951 . resource:Q978159 property:P54 ?v }
Juan Arza
action filter_type
action find
entity Juan Arza
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:national_sports_team . resource:Juan_Arza property:member_of_sports_team ?v }
[]
national sports team
Q42267
SYSTEM
Spain national football team
Q42267
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q978159
relation P54
type Q1194951
The [ANSWER] is that person a member of
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1194951 . resource:Q978159 property:P54 ?v }
Spain national football team
The Spain national football team is that person a member of
Spain national football team
action filter_type
action find
entity Juan Arza
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:national_sports_team . resource:Juan_Arza property:member_of_sports_team ?v }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1923
Q1194951 Q13406554
USER
Which sport competitions did max number of national sports teams participate in ?
(c(Q13406554),P1923,c(Q1194951))
action argmax
action find_tuple_counts
relation P1923
type Q13406554
type Q1194951
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?k ) WHERE { ?b property:P1923 ?c . ?b rdf:type ontology:Q13406554 . ?c rdf:type ontology:Q1194951 } GROUP BY ?b } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?g ) WHERE { ?f property:P1923 ?l . ?l rdf:type ontology:Q1194951 . ?f rdf:type ontology:Q13406554 } GROUP BY ?f } . FILTER ( ?g = ?m ) }
action argmax
action find_tuple_counts
relation participating teams
type sport competition
type national sports team
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?k ) WHERE { ?b property:participating_teams ?c . ?b rdf:type ontology:sport_competition . ?c rdf:type ontology:national_sports_team } GROUP BY ?b } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?g ) WHERE { ?f property:participating_teams ?l . ?l rdf:type ontology:national_sports_team . ?f rdf:type ontology:sport_competition } GROUP BY ?f } . FILTER ( ?g = ?m ) }
[]
national sports team sport competition
Q576136
SYSTEM
Copa América Centenario
Q576136
(c(Q13406554),P1923,c(Q1194951))
action argmax
action find_tuple_counts
relation P1923
type Q13406554
type Q1194951
[ANSWER] max number of national sports teams participated in
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?k ) WHERE { ?b property:P1923 ?c . ?b rdf:type ontology:Q13406554 . ?c rdf:type ontology:Q1194951 } GROUP BY ?b } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?g ) WHERE { ?f property:P1923 ?l . ?l rdf:type ontology:Q1194951 . ?f rdf:type ontology:Q13406554 } GROUP BY ?f } . FILTER ( ?g = ?m ) }
Copa América Centenario
Copa América Centenario max number of national sports teams participated in
Copa América Centenario
action argmax
action find_tuple_counts
relation participating teams
type sport competition
type national sports team
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?k ) WHERE { ?b property:participating_teams ?c . ?b rdf:type ontology:sport_competition . ?c rdf:type ontology:national_sports_team } GROUP BY ?b } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?g ) WHERE { ?f property:participating_teams ?l . ?l rdf:type ontology:national_sports_team . ?f rdf:type ontology:sport_competition } GROUP BY ?f } . FILTER ( ?g = ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1344
Q502895
USER
How many people participated in that sport competition ?
(c(Q502895),P1344,Q576136)
action count
action filter_type
action find_reverse
entity Q576136
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q576136']
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P1344 resource:Q576136 . ?n rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Copa América Centenario
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Copa América Centenario']
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:participant_of resource:Copa_América_Centenario . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q3702266 Q180553
(c(Q502895),P1344,Q576136)
action count
action filter_type
action find_reverse
entity Q576136
relation P1344
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', 'Q576136']
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P1344 resource:Q576136 . ?n rdf:type ontology:Q502895 }
Danny Carvajal Alexis Sánchez
2
action count
action filter_type
action find_reverse
entity Copa América Centenario
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Copa América Centenario']
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:participant_of resource:Copa_América_Centenario . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q667276 Q33506 Q502895
USER
Which people were displayed at exactly 1 art exhibitions and museums ?
(c(Q502895),P608,c(Q667276)|c(Q33506))
action equal
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q33506
value 1
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q667276 ) ( ontology:Q33506 ) } } GROUP BY ?j } . FILTER ( ?b = 1 ) }
action equal
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
value 1
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:art_exhibition ) ( ontology:museum ) } } GROUP BY ?j } . FILTER ( ?b = 1 ) }
[]
art exhibition museum common name
Q3335569 Q20888837 Q17314881
SYSTEM
Nancy Elizabeth Prophet, Angélique Bègue, René Izaure
Q17314881 Q6196481 Q7649008 Q17625628 Q16005428 Q20888837 Q5375139 Q9015308 Q3335569
(c(Q502895),P608,c(Q667276)|c(Q33506))
action equal
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q33506
value 1
[ANSWERS] were displayed at exactly 1 art exhibitions and museums
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q667276 ) ( ontology:Q33506 ) } } GROUP BY ?j } . FILTER ( ?b = 1 ) }
René Izaure Jim Love Susie Bootja Bootja Napaltjarri Deborah De Robertis Andrea Bowers Angélique Bègue Ena Swansea Juan Carlos Alom Nancy Elizabeth Prophet
Nancy Elizabeth Prophet, Angélique Bègue and René Izaure were displayed at exactly 1 art exhibitions and museums
Nancy Elizabeth Prophet Angélique Bègue René Izaure
action equal
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
value 1
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:art_exhibition ) ( ontology:museum ) } } GROUP BY ?j } . FILTER ( ?b = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20888837
P166
Q618779
USER
What was received by that person ?
(Q20888837,P166,c(Q618779))
action filter_type
action find
entity Q20888837
relation P166
type Q618779
['Q20888837', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q20888837 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Angélique Bègue
action filter_type
action find
entity Angélique Bègue
relation award received
type award
['Angélique Bègue', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Angélique_Bègue property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q20888837
SYSTEM
Did you mean Angélique Bègue ?
Q3335569 Q20888837 Q17314881
(Q3335569,P166,c(Q618779)) (Q20888837,P166,c(Q618779)) (Q17314881,P166,c(Q618779))
[ANSWER]
['Q3335569', 'P166', {'concept': 'Q618779'}] ['Q20888837', 'P166', {'concept': 'Q618779'}] ['Q17314881', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q20888837 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Nancy Elizabeth Prophet Angélique Bègue René Izaure
Did you mean Angélique Bègue ?
Angélique Bègue
['Nancy Elizabeth Prophet', 'award received', {'concept': 'award'}] ['Angélique Bègue', 'award received', {'concept': 'award'}] ['René Izaure', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Angélique_Bègue property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
Yes
(Q20888837,P166,c(Q618779))
['Q20888837', 'P166', {'concept': 'Q618779'}]
['Angélique Bègue', 'award received', {'concept': 'award'}]
[]
Q21850149
SYSTEM
FIMA Award
Q21850149
(Q20888837,P166,c(Q618779))
action filter_type
action find
entity Q20888837
relation P166
type Q618779
The [ANSWER] was received by that person
['Q20888837', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q20888837 property:P166 ?s . ?s rdf:type ontology:Q618779 }
FIMA Award
The FIMA Award was received by that person
FIMA Award
action filter_type
action find
entity Angélique Bègue
relation award received
type award
['Angélique Bègue', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Angélique_Bègue property:award_received ?s . ?s rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21850149 Q18626248
P166
Q502895
USER
Did Joachim Hentze receive the award titled that one ?
(Q18626248,P166,Q21850149)
action is_in
entity Q18626248
action find
entity Q21850149
relation P166
['Q18626248', 'P166', 'Q21850149']
ASK WHERE { resource:Q21850149 property:P166 resource:Q18626248 }
FIMA Award Joachim Hentze
action is_in
entity Joachim Hentze
action find
entity FIMA Award
relation award received
['Joachim Hentze', 'award received', 'FIMA Award']
ASK WHERE { resource:FIMA_Award property:award_received resource:Joachim_Hentze }
[]
common name
SYSTEM
NO
(Q18626248,P166,Q21850149)
action is_in
entity Q18626248
action find
entity Q21850149
relation P166
[ANSWER]
['Q18626248', 'P166', 'Q21850149']
ASK WHERE { resource:Q21850149 property:P166 resource:Q18626248 }
No
action is_in
entity Joachim Hentze
action find
entity FIMA Award
relation award received
['Joachim Hentze', 'award received', 'FIMA Award']
ASK WHERE { resource:FIMA_Award property:award_received resource:Joachim_Hentze }
[]