Simple Question (Direct)
Simple Question
Q16639467
P344
Q502895
USER
Who is appointed as the cinematographer of Good Kill ?
(Q16639467,P344,c(Q502895))
action filter_type
action find
entity Q16639467
relation P344
type Q502895
['Q16639467', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q16639467 property:P344 ?h . ?h rdf:type ontology:Q502895 }
Good Kill
action filter_type
action find
entity Good Kill
relation director of photography
type common name
['Good Kill', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Good_Kill property:director_of_photography ?h . ?h rdf:type ontology:common_name }
[]
common name
Q472058
SYSTEM
Amir Mokri
Q472058
(Q16639467,P344,c(Q502895))
action filter_type
action find
entity Q16639467
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of Good Kill
['Q16639467', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q16639467 property:P344 ?h . ?h rdf:type ontology:Q502895 }
Amir Mokri
Amir Mokri is appointed as the cinematographer of Good Kill
Amir Mokri
action filter_type
action find
entity Good Kill
relation director of photography
type common name
['Good Kill', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Good_Kill property:director_of_photography ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16639467
P915
Q852446
USER
Which city was Good Kill filmed on ?
(Q16639467,P915,c(Q852446))
action filter_type
action find
entity Q16639467
relation P915
type Q852446
['Q16639467', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?t WHERE { resource:Q16639467 property:P915 ?t . ?t rdf:type ontology:Q852446 }
Good Kill
action filter_type
action find
entity Good Kill
relation filming location
type administrative territorial entity of the United States
['Good Kill', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?t WHERE { resource:Good_Kill property:filming_location ?t . ?t rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1522
SYSTEM
New Mexico
Q1522
(Q16639467,P915,c(Q852446))
action filter_type
action find
entity Q16639467
relation P915
type Q852446
Good Kill was filmed in [ANSWER]
['Q16639467', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?t WHERE { resource:Q16639467 property:P915 ?t . ?t rdf:type ontology:Q852446 }
New Mexico
Good Kill was filmed in New Mexico
New Mexico
action filter_type
action find
entity Good Kill
relation filming location
type administrative territorial entity of the United States
['Good Kill', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?t WHERE { resource:Good_Kill property:filming_location ?t . ?t rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16639467
P86
Q502895
USER
Which person composed that work of art ?
(Q1522,P86,c(Q502895))
action filter_type
action find
entity Q16639467
relation P86
type Q502895
['Q1522', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q16639467 property:P86 ?z . ?z rdf:type ontology:Q502895 }
Good Kill
action filter_type
action find
entity Good Kill
relation composer
type common name
['New Mexico', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Good_Kill property:composer ?z . ?z rdf:type ontology:common_name }
[]
common name
Q1086291
SYSTEM
Christophe Beck
Q1086291
(Q1522,P86,c(Q502895))
action filter_type
action find
entity Q16639467
relation P86
type Q502895
[ANSWER] composed that work of art
['Q1522', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q16639467 property:P86 ?z . ?z rdf:type ontology:Q502895 }
Christophe Beck
Christophe Beck composed that work of art
Christophe Beck
action filter_type
action find
entity Good Kill
relation composer
type common name
['New Mexico', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Good_Kill property:composer ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16639467
P57
Q502895
USER
Who was Good Kill directed by ?
(Q16639467,P57,c(Q502895))
action filter_type
action find
entity Q16639467
relation P57
type Q502895
['Q16639467', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q16639467 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Good Kill
action filter_type
action find
entity Good Kill
relation director
type common name
['Good Kill', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Good_Kill property:director ?j . ?j rdf:type ontology:common_name }
[]
common name
Q360737
SYSTEM
Andrew Niccol
Q360737
(Q16639467,P57,c(Q502895))
action filter_type
action find
entity Q16639467
relation P57
type Q502895
Good Kill was directed by John [ANSWER]
['Q16639467', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q16639467 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Andrew Niccol
Good Kill was directed by John Andrew Niccol
Andrew Niccol
action filter_type
action find
entity Good Kill
relation director
type common name
['Good Kill', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Good_Kill property:director ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5246989
Q502895
USER
And also tell me about Dearie?
(Q5246989,P57,c(Q502895))
action filter_type
action find
entity Q5246989
relation P57
type Q502895
['Q5246989', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q5246989 property:P57 ?z . ?z rdf:type ontology:Q502895 }
Dearie
action filter_type
action find
entity Dearie
relation director
type common name
['Dearie', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Dearie property:director ?z . ?z rdf:type ontology:common_name }
[]
common name
Q633939 Q97511
SYSTEM
Archie Mayo, Henry Blanke
Q633939 Q97511
(Q5246989,P57,c(Q502895))
action filter_type
action find
entity Q5246989
relation P57
type Q502895
[ANSWERS]
['Q5246989', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q5246989 property:P57 ?z . ?z rdf:type ontology:Q502895 }
Archie Mayo Henry Blanke
Archie Mayo Henry Blanke
action filter_type
action find
entity Dearie
relation director
type common name
['Dearie', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Dearie property:director ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q206987
P1303
Q34379 Q502895
USER
How many musical instruments do more number of people know to play than vibraphone ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q206987
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q206987 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?c > ?k ) }
vibraphone
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity vibraphone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:vibraphone property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?c > ?k ) }
[]
musical instrument common name
SYSTEM
11
Q80284 Q46185 Q80019 Q5994 Q81982 Q8338 Q8371 Q8355 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q206987
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q206987 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?c > ?k ) }
viola bass guitar double bass piano harpsichord trumpet cello violin organ drum kit electronic keyboard
11
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity vibraphone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:vibraphone property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?c > ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2660670
P1303
Q34379 Q502895
USER
And what about Irish bouzouki?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2660670
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q2660670 property:P1303 ?f . ?f rdf:type ontology:Q34379 } } . FILTER ( ?c > ?l ) }
Irish bouzouki
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Irish bouzouki
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Irish_bouzouki property:instrument ?f . ?f rdf:type ontology:musical_instrument } } . FILTER ( ?c > ?l ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2660670
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q2660670 property:P1303 ?f . ?f rdf:type ontology:Q34379 } } . FILTER ( ?c > ?l ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Irish bouzouki
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Irish_bouzouki property:instrument ?f . ?f rdf:type ontology:musical_instrument } } . FILTER ( ?c > ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5246989
P793
Q838948
USER
Which significant event is Dearie associated with ?
(Q5246989,P793,c(Q838948))
action filter_type
action find
entity Q5246989
relation P793
type Q838948
['Q5246989', 'P793', {'concept': 'Q838948'}]
SELECT DISTINCT ?m WHERE { resource:Q5246989 property:P793 ?m . ?m rdf:type ontology:Q838948 }
Dearie
action filter_type
action find
entity Dearie
relation significant event
type work of art
['Dearie', 'significant event', {'concept': 'work of art'}]
SELECT DISTINCT ?m WHERE { resource:Dearie property:significant_event ?m . ?m rdf:type ontology:work_of_art }
[]
work of art
Q1268687
SYSTEM
lost film
Q1268687
(Q5246989,P793,c(Q838948))
action filter_type
action find
entity Q5246989
relation P793
type Q838948
Dearie is associated with [ANSWER]
['Q5246989', 'P793', {'concept': 'Q838948'}]
SELECT DISTINCT ?m WHERE { resource:Q5246989 property:P793 ?m . ?m rdf:type ontology:Q838948 }
lost film
Dearie is associated with lost film
lost film
action filter_type
action find
entity Dearie
relation significant event
type work of art
['Dearie', 'significant event', {'concept': 'work of art'}]
SELECT DISTINCT ?m WHERE { resource:Dearie property:significant_event ?m . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5246989
P58
Q502895
USER
Who wrote the script for that film genre ?
(Q1268687,P58,c(Q502895))
action filter_type
action find
entity Q5246989
relation P58
type Q502895
['Q1268687', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5246989 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Dearie
action filter_type
action find
entity Dearie
relation screenwriter
type common name
['lost film', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Dearie property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
common name
Q573027
SYSTEM
Anthony Coldeway
Q573027
(Q1268687,P58,c(Q502895))
action filter_type
action find
entity Q5246989
relation P58
type Q502895
[ANSWER] wrote the script for that film genre
['Q1268687', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5246989 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Anthony Coldeway
Anthony Coldeway wrote the script for that film genre
Anthony Coldeway
action filter_type
action find
entity Dearie
relation screenwriter
type common name
['lost film', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Dearie property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 582 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 582
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?d = 582 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 582
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?d = 582 ) }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 582
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?d = 582 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 582
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?d = 582 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by max number of people ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P1303 ?g . ?w rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } } . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?y = ?b ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:instrument ?g . ?w rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } } . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?y = ?b ) }
[]
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
[ANSWER] is played by max number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P1303 ?g . ?w rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } } . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?y = ?b ) }
piano
Piano is played by max number of people
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:instrument ?g . ?w rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } } . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?y = ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q360737
P27
Q1048835
USER
How many political territories are Andrew Niccol an inhabitant of ?
(Q360737,P27,c(Q1048835))
action count
action filter_type
action find
entity Q360737
relation P27
type Q1048835
['Q360737', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ontology:Q1048835 . resource:Q360737 property:P27 ?y }
Andrew Niccol
action count
action filter_type
action find
entity Andrew Niccol
relation country of citizenship
type political territorial entity
['Andrew Niccol', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Andrew_Niccol property:country_of_citizenship ?y }
[]
political territorial entity
SYSTEM
1
Q664
(Q360737,P27,c(Q1048835))
action count
action filter_type
action find
entity Q360737
relation P27
type Q1048835
[ANSWER]
['Q360737', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ontology:Q1048835 . resource:Q360737 property:P27 ?y }
New Zealand
1
action count
action filter_type
action find
entity Andrew Niccol
relation country of citizenship
type political territorial entity
['Andrew Niccol', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Andrew_Niccol property:country_of_citizenship ?y }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1478921
Q1048835
USER
And also tell me about Ursula Schnelting-Hebeler?
(Q1478921,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1478921
relation P27
type Q1048835
['Q1478921', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q1478921 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Ursula Schnelting-Hebeler
action count
action filter_type
action find
entity Ursula Schnelting-Hebeler
relation country of citizenship
type political territorial entity
['Ursula Schnelting-Hebeler', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Ursula_Schnelting-Hebeler property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q1478921,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1478921
relation P27
type Q1048835
[ANSWER]
['Q1478921', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q1478921 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Ursula Schnelting-Hebeler
relation country of citizenship
type political territorial entity
['Ursula Schnelting-Hebeler', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Ursula_Schnelting-Hebeler property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P61
Q502895
USER
Who is the person who discovered or invented piano ?
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q5994 property:P61 ?g . ?g rdf:type ontology:Q502895 }
piano
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:piano property:discoverer_or_inventor ?g . ?g rdf:type ontology:common_name }
[]
common name
Q301597
SYSTEM
Bartolomeo Cristofori
Q301597
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
The person discovered or invented piano is [ANSWER]
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q5994 property:P61 ?g . ?g rdf:type ontology:Q502895 }
Bartolomeo Cristofori
The person discovered or invented piano is Bartolomeo Cristofori
Bartolomeo Cristofori
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:piano property:discoverer_or_inventor ?g . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q301597 Q12676260 Q4966271
P20
Q56061
USER
Did that person expired at Vaičiūniškės and Bridge River, British Columbia ?
(Q301597,P20,Q12676260) (Q301597,P20,Q4966271)
action is_in
entity Q301597
action intersection
action find_reverse
entity Q12676260
relation P20
action find_reverse
entity Q4966271
relation P20
['Q301597', 'P20', 'Q12676260'] ['Q301597', 'P20', 'Q4966271']
ASK WHERE { resource:Q301597 property:P20 resource:Q12676260 . resource:Q301597 property:P20 resource:Q4966271 }
Bartolomeo Cristofori Vaičiūniškės Bridge River, British Columbia
action is_in
entity Bartolomeo Cristofori
action intersection
action find_reverse
entity Vaičiūniškės
relation place of death
action find_reverse
entity Bridge River, British Columbia
relation place of death
['Bartolomeo Cristofori', 'place of death', 'Vaičiūniškės'] ['Bartolomeo Cristofori', 'place of death', 'Bridge River, British Columbia']
ASK WHERE { resource:Bartolomeo_Cristofori property:place_of_death resource:Vaičiūniškės . resource:Bartolomeo_Cristofori property:place_of_death resource:Bridge_River,_British_Columbia }
[]
administrative territorial entity
SYSTEM
NO
(Q301597,P20,Q12676260) (Q301597,P20,Q4966271)
action is_in
entity Q301597
action intersection
action find_reverse
entity Q12676260
relation P20
action find_reverse
entity Q4966271
relation P20
[ANSWER]
['Q301597', 'P20', 'Q12676260'] ['Q301597', 'P20', 'Q4966271']
ASK WHERE { resource:Q301597 property:P20 resource:Q12676260 . resource:Q301597 property:P20 resource:Q4966271 }
No
action is_in
entity Bartolomeo Cristofori
action intersection
action find_reverse
entity Vaičiūniškės
relation place of death
action find_reverse
entity Bridge River, British Columbia
relation place of death
['Bartolomeo Cristofori', 'place of death', 'Vaičiūniškės'] ['Bartolomeo Cristofori', 'place of death', 'Bridge River, British Columbia']
ASK WHERE { resource:Bartolomeo_Cristofori property:place_of_death resource:Vaičiūniškės . resource:Bartolomeo_Cristofori property:place_of_death resource:Bridge_River,_British_Columbia }
[]