Simple Question (Direct)
Simple Question
Q6163032
P641
Q349
USER
Which sport was Jason Marcano a part of ?
(Q6163032,P641,c(Q349))
action filter_type
action find
entity Q6163032
relation P641
type Q349
['Q6163032', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q6163032 property:P641 ?j . ?j rdf:type ontology:Q349 }
Jason Marcano
action filter_type
action find
entity Jason Marcano
relation sport
type sport
['Jason Marcano', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Jason_Marcano property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6163032,P641,c(Q349))
action filter_type
action find
entity Q6163032
relation P641
type Q349
Jason Marcano was of the [ANSWER]
['Q6163032', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q6163032 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
Jason Marcano was of the association football
association football
action filter_type
action find
entity Jason Marcano
relation sport
type sport
['Jason Marcano', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Jason_Marcano property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P2416
Q502895
USER
Who were a contestant in that sport ?
(c(Q502895),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[{'concept': 'Q502895'}, 'P2416', 'Q2736']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P2416 resource:Q2736 }
association football
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:sports_discipline_competed_in resource:association_football }
[]
common name
Q22998602 Q3939068 Q1975921
SYSTEM
Maximilian Mittelstädt, Roberto Policano, Agustín Gómez Pagóla
Q23902692 Q3939068 Q22687929 Q22998602 Q877207 Q1975921 Q23095388 Q24006307
(c(Q502895),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[ANSWERS] were a contestant in that sport
[{'concept': 'Q502895'}, 'P2416', 'Q2736']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P2416 resource:Q2736 }
Florian Kohls Roberto Policano Pedro Confesor Maximilian Mittelstädt Horst Bertram Agustín Gómez Pagóla Eberhard Dallagrazia Lion Schweers
Maximilian Mittelstädt, Roberto Policano and Agustín Gómez Pagóla were a contestant in that sport
Maximilian Mittelstädt Roberto Policano Agustín Gómez Pagóla
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:sports_discipline_competed_in resource:association_football }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q22998602
P27
Q1048835
USER
How many political territories are Maximilian Mittelstädt an inhabitant of ?
(Q22998602,P27,c(Q1048835))
action count
action filter_type
action find
entity Q22998602
relation P27
type Q1048835
['Q22998602', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q22998602 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Maximilian Mittelstädt
action count
action filter_type
action find
entity Maximilian Mittelstädt
relation country of citizenship
type political territorial entity
['Maximilian Mittelstädt', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Maximilian_Mittelstädt property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q22998602,P27,c(Q1048835))
action count
action filter_type
action find
entity Q22998602
relation P27
type Q1048835
[ANSWER]
['Q22998602', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q22998602 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Maximilian Mittelstädt
relation country of citizenship
type political territorial entity
['Maximilian Mittelstädt', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Maximilian_Mittelstädt property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q758310
Q1048835
USER
And what about Atze Glanert?
(Q758310,P27,c(Q1048835))
action count
action filter_type
action find
entity Q758310
relation P27
type Q1048835
['Q758310', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q758310 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Atze Glanert
action count
action filter_type
action find
entity Atze Glanert
relation country of citizenship
type political territorial entity
['Atze Glanert', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Atze_Glanert property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q758310,P27,c(Q1048835))
action count
action filter_type
action find
entity Q758310
relation P27
type Q1048835
[ANSWER]
['Q758310', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q758310 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Atze Glanert
relation country of citizenship
type political territorial entity
['Atze Glanert', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Atze_Glanert property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q758310
P21
Q290
USER
What is the sex of that person ?
action filter_type
action find
entity Q758310
relation P21
type Q290
SELECT DISTINCT ?b WHERE { resource:Q758310 property:P21 ?b . ?b rdf:type ontology:Q290 }
Atze Glanert
action filter_type
action find
entity Atze Glanert
relation gender
type sex
SELECT DISTINCT ?b WHERE { resource:Atze_Glanert property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q758310
relation P21
type Q290
The sex of that person is a [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q758310 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Atze Glanert
relation gender
type sex
SELECT DISTINCT ?b WHERE { resource:Atze_Glanert property:gender ?b . ?b rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581097
P180
Q340169 Q3305213
USER
How many medias and paintings depict male ?
(c(Q340169),P180,Q6581097) (c(Q3305213),P180,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q340169'}, 'P180', 'Q6581097'] [{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d rdf:type ontology:Q340169 . ?d property:P180 resource:Q6581097 } UNION { ?d rdf:type ontology:Q3305213 . ?d property:P180 resource:Q6581097 } }
male
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type media
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'media'}, 'depicts', 'male'] [{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d rdf:type ontology:media . ?d property:depicts resource:male } UNION { ?d rdf:type ontology:painting . ?d property:depicts resource:male } }
[]
media painting
SYSTEM
1 medias and 1 paintings
Q18713957 Q20020115
(c(Q340169),P180,Q6581097) (c(Q3305213),P180,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q340169'}, 'P180', 'Q6581097'] [{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d rdf:type ontology:Q340169 . ?d property:P180 resource:Q6581097 } UNION { ?d rdf:type ontology:Q3305213 . ?d property:P180 resource:Q6581097 } }
Raja Surendra Vikram Shah at the age of 15 with his prime minister Portrait of a Young Man
1 medias and 1 paintings
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type media
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'media'}, 'depicts', 'male'] [{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d rdf:type ontology:media . ?d property:depicts resource:male } UNION { ?d rdf:type ontology:painting . ?d property:depicts resource:male } }
[]
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 ?d WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?x ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P1303 ?e . ?z rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:P1303 ?d . ?h rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } . FILTER ( ?y = ?x ) }
action argmax
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 ( MAX ( ?m ) AS ?x ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:instrument ?e . ?z rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:instrument ?d . ?h rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } . FILTER ( ?y = ?x ) }
[]
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 ?d WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?x ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P1303 ?e . ?z rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:P1303 ?d . ?h rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } . FILTER ( ?y = ?x ) }
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 ?d WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?x ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:instrument ?e . ?z rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:instrument ?d . ?h rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } . FILTER ( ?y = ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22998602
P54
Q12973014
USER
What is Maximilian Mittelstädt a member of ?
(Q22998602,P54,c(Q12973014))
action filter_type
action find
entity Q22998602
relation P54
type Q12973014
['Q22998602', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q22998602 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
Maximilian Mittelstädt
action filter_type
action find
entity Maximilian Mittelstädt
relation member of sports team
type sports team
['Maximilian Mittelstädt', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Maximilian_Mittelstädt property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
sports team
Q324854
SYSTEM
Germany national under-19 football team
Q324854
(Q22998602,P54,c(Q12973014))
action filter_type
action find
entity Q22998602
relation P54
type Q12973014
Maximilian Mittelstädt of the [ANSWER]
['Q22998602', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q22998602 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
Germany national under-19 football team
Maximilian Mittelstädt of the Germany national under-19 football team
Germany national under-19 football team
action filter_type
action find
entity Maximilian Mittelstädt
relation member of sports team
type sports team
['Maximilian Mittelstädt', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Maximilian_Mittelstädt property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16014117
Q12973014
USER
And what about Joe Mack?
(Q16014117,P54,c(Q12973014))
action filter_type
action find
entity Q16014117
relation P54
type Q12973014
['Q16014117', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { resource:Q16014117 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
Joe Mack
action filter_type
action find
entity Joe Mack
relation member of sports team
type sports team
['Joe Mack', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { resource:Joe_Mack property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
sports team
Q1966948 Q6724873
SYSTEM
Rochester Red Wings, Macon Peaches
Q1966948 Q6724873
(Q16014117,P54,c(Q12973014))
action filter_type
action find
entity Q16014117
relation P54
type Q12973014
[ANSWERS]
['Q16014117', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { resource:Q16014117 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
Rochester Red Wings Macon Peaches
Rochester Red Wings Macon Peaches
action filter_type
action find
entity Joe Mack
relation member of sports team
type sports team
['Joe Mack', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { resource:Joe_Mack property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7996413
P54
Q502895
USER
Are Whitey Moore a member of those sports teams ?
(Q7996413,P54,Q1966948) (Q7996413,P54,Q6724873)
action is_in
entity prev_answer
action find
entity Q7996413
relation P54
['Q7996413', 'P54', 'Q1966948'] ['Q7996413', 'P54', 'Q6724873']
ASK WHERE { resource:Q7996413 property:P54 ?p . VALUES ( ?p ) { ( resource:Q1966948 ) ( resource:Q6724873 ) } }
Whitey Moore
action is_in
entity prev_answer
action find
entity Whitey Moore
relation member of sports team
['Whitey Moore', 'member of sports team', 'Rochester Red Wings'] ['Whitey Moore', 'member of sports team', 'Macon Peaches']
ASK WHERE { resource:Whitey_Moore property:member_of_sports_team ?p . VALUES ( ?p ) { ( resource:Rochester_Red_Wings ) ( resource:Macon_Peaches ) } }
[]
common name
SYSTEM
YES
(Q7996413,P54,Q1966948) (Q7996413,P54,Q6724873)
action is_in
entity prev_answer
action find
entity Q7996413
relation P54
[ANSWER]
['Q7996413', 'P54', 'Q1966948'] ['Q7996413', 'P54', 'Q6724873']
ASK WHERE { resource:Q7996413 property:P54 ?p . VALUES ( ?p ) { ( resource:Q1966948 ) ( resource:Q6724873 ) } }
Yes
action is_in
entity prev_answer
action find
entity Whitey Moore
relation member of sports team
['Whitey Moore', 'member of sports team', 'Rochester Red Wings'] ['Whitey Moore', 'member of sports team', 'Macon Peaches']
ASK WHERE { resource:Whitey_Moore property:member_of_sports_team ?p . VALUES ( ?p ) { ( resource:Rochester_Red_Wings ) ( resource:Macon_Peaches ) } }
[]