Simple Question (Direct)
Simple Question
Q2778793
P106
Q12737077
USER
Which occupation is the profession of Lorenzo Mongiardino ?
(Q2778793,P106,c(Q12737077))
action filter_type
action find
entity Q2778793
relation P106
type Q12737077
['Q2778793', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2778793 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Lorenzo Mongiardino
action filter_type
action find
entity Lorenzo Mongiardino
relation occupation
type occupation
['Lorenzo Mongiardino', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lorenzo_Mongiardino property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q42973
SYSTEM
architect
Q42973
(Q2778793,P106,c(Q12737077))
action filter_type
action find
entity Q2778793
relation P106
type Q12737077
The [ANSWER] is the profession of Lorenzo Mongiardino
['Q2778793', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2778793 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
architect
The architect is the profession of Lorenzo Mongiardino
architect
action filter_type
action find
entity Lorenzo Mongiardino
relation occupation
type occupation
['Lorenzo Mongiardino', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lorenzo_Mongiardino property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2778793
P2554
Q838948
USER
Which works of art were designed by that person ?
(c(Q838948),P2554,Q42973)
action filter_type
action find_reverse
entity Q2778793
relation P2554
type Q838948
[{'concept': 'Q838948'}, 'P2554', 'Q42973']
SELECT DISTINCT ?w WHERE { ?w property:P2554 resource:Q2778793 . ?w rdf:type ontology:Q838948 }
Lorenzo Mongiardino
action filter_type
action find_reverse
entity Lorenzo Mongiardino
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'architect']
SELECT DISTINCT ?w WHERE { ?w property:production_designer resource:Lorenzo_Mongiardino . ?w rdf:type ontology:work_of_art }
[]
work of art
Q517265 Q540104
SYSTEM
Romeo and Juliet, Brother Sun, Sister Moon
Q517265 Q540104
(c(Q838948),P2554,Q42973)
action filter_type
action find_reverse
entity Q2778793
relation P2554
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P2554', 'Q42973']
SELECT DISTINCT ?w WHERE { ?w property:P2554 resource:Q2778793 . ?w rdf:type ontology:Q838948 }
Romeo and Juliet Brother Sun, Sister Moon
Romeo and Juliet and Brother Sun, Sister Moon were designed by that person
Romeo and Juliet Brother Sun, Sister Moon
action filter_type
action find_reverse
entity Lorenzo Mongiardino
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'architect']
SELECT DISTINCT ?w WHERE { ?w property:production_designer resource:Lorenzo_Mongiardino . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q517265 Q540104
P136
Q1792379
USER
What can be considered as category for those works of art ?
(Q517265,P136,c(Q1792379)) (Q540104,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
['Q517265', 'P136', {'concept': 'Q1792379'}] ['Q540104', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1792379 . ?a property:P136 ?f . VALUES ( ?a ) { ( resource:Q517265 ) ( resource:Q540104 ) } }
Romeo and Juliet Brother Sun, Sister Moon
action filter_type
action find
entity prev_answer
relation genre
type art genre
['Romeo and Juliet', 'genre', {'concept': 'art genre'}] ['Brother Sun, Sister Moon', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:art_genre . ?a property:genre ?f . VALUES ( ?a ) { ( resource:Romeo_and_Juliet ) ( resource:Brother_Sun,_Sister_Moon ) } }
[]
art genre
Q1054574 Q130232 Q645928
SYSTEM
romance film, drama film, biographical film
Q1054574 Q130232 Q645928
(Q517265,P136,c(Q1792379)) (Q540104,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
[ANSWERS] can be considered as category for those works of art
['Q517265', 'P136', {'concept': 'Q1792379'}] ['Q540104', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1792379 . ?a property:P136 ?f . VALUES ( ?a ) { ( resource:Q517265 ) ( resource:Q540104 ) } }
romance film drama film biographical film
Romance film, drama film and biographical film can be considered as category for those works of art
romance film drama film biographical film
action filter_type
action find
entity prev_answer
relation genre
type art genre
['Romeo and Juliet', 'genre', {'concept': 'art genre'}] ['Brother Sun, Sister Moon', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:art_genre . ?a property:genre ?f . VALUES ( ?a ) { ( resource:Romeo_and_Juliet ) ( resource:Brother_Sun,_Sister_Moon ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q517265
P1040
Q502895
USER
Which person edited Romeo and Juliet ?
(Q517265,P1040,c(Q502895))
action filter_type
action find
entity Q517265
relation P1040
type Q502895
['Q517265', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q517265 property:P1040 ?n }
Romeo and Juliet
action filter_type
action find
entity Romeo and Juliet
relation film editor
type common name
['Romeo and Juliet', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Romeo_and_Juliet property:film_editor ?n }
[]
common name
Q3610517
SYSTEM
Reginald Mills
Q3610517
(Q517265,P1040,c(Q502895))
action filter_type
action find
entity Q517265
relation P1040
type Q502895
The [ANSWER] edited Romeo and Juliet
['Q517265', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q517265 property:P1040 ?n }
Reginald Mills
The Reginald Mills edited Romeo and Juliet
Reginald Mills
action filter_type
action find
entity Romeo and Juliet
relation film editor
type common name
['Romeo and Juliet', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Romeo_and_Juliet property:film_editor ?n }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q928941
Q502895
USER
And also tell me about The Night of the Shooting Stars?
(Q928941,P1040,c(Q502895))
action filter_type
action find
entity Q928941
relation P1040
type Q502895
['Q928941', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q928941 property:P1040 ?z . ?z rdf:type ontology:Q502895 }
The Night of the Shooting Stars
action filter_type
action find
entity The Night of the Shooting Stars
relation film editor
type common name
['The Night of the Shooting Stars', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Night_of_the_Shooting_Stars property:film_editor ?z . ?z rdf:type ontology:common_name }
[]
common name
Q3939053
SYSTEM
Roberto Perpignani
Q3939053
(Q928941,P1040,c(Q502895))
action filter_type
action find
entity Q928941
relation P1040
type Q502895
[ANSWER]
['Q928941', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q928941 property:P1040 ?z . ?z rdf:type ontology:Q502895 }
Roberto Perpignani
Roberto Perpignani
action filter_type
action find
entity The Night of the Shooting Stars
relation film editor
type common name
['The Night of the Shooting Stars', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Night_of_the_Shooting_Stars property:film_editor ?z . ?z 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 do atleast 807 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 807
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?j >= 807 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 807
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?j >= 807 ) }
[]
musical instrument common name
SYSTEM
7
Q46185 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 807
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?j >= 807 ) }
bass guitar piano trumpet cello violin organ drum kit
7
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 807
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?j >= 807 ) }
[]
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 atmost 2336 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2336
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P1303 ?k . ?z rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 } GROUP BY ?k } . FILTER ( ?q <= 2336 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2336
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:instrument ?k . ?z rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument } GROUP BY ?k } . FILTER ( ?q <= 2336 ) }
[]
musical instrument common name
SYSTEM
63
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 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2336
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P1303 ?k . ?z rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 } GROUP BY ?k } . FILTER ( ?q <= 2336 ) }
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 drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
63
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2336
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:instrument ?k . ?z rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument } GROUP BY ?k } . FILTER ( ?q <= 2336 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 794 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 794
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?k = 794 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 794
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?k = 794 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 794
[ANSWERS] are played by around 794 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?k = 794 ) }
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 drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by around 794 people
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 794
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?k = 794 ) }
[]