Simple Question (Direct)
Simple Question
Q458627
P166
Q618779
USER
Which award was received by Yamamoto Tatsuo ?
(Q458627,P166,c(Q618779))
action filter_type
action find
entity Q458627
relation P166
type Q618779
['Q458627', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q458627 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Yamamoto Tatsuo
action filter_type
action find
entity Yamamoto Tatsuo
relation award received
type award
['Yamamoto Tatsuo', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Yamamoto_Tatsuo property:award_received ?t . ?t rdf:type ontology:award }
[]
award
Q11288429
SYSTEM
Grand Cordon of the Order of the Paulownia Flowers
Q11288429
(Q458627,P166,c(Q618779))
action filter_type
action find
entity Q458627
relation P166
type Q618779
The [ANSWER] was received by Yamamoto Tatsuo
['Q458627', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q458627 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Grand Cordon of the Order of the Paulownia Flowers
The Grand Cordon of the Order of the Paulownia Flowers was received by Yamamoto Tatsuo
Grand Cordon of the Order of the Paulownia Flowers
action filter_type
action find
entity Yamamoto Tatsuo
relation award received
type award
['Yamamoto Tatsuo', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Yamamoto_Tatsuo property:award_received ?t . ?t rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q458627
P734
Q82799
USER
Which name is associated with that person ?
(Q11288429,P734,c(Q82799))
action filter_type
action find
entity Q458627
relation P734
type Q82799
['Q11288429', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q458627 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Yamamoto Tatsuo
action filter_type
action find
entity Yamamoto Tatsuo
relation family name
type name
['Grand Cordon of the Order of the Paulownia Flowers', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Yamamoto_Tatsuo property:family_name ?c . ?c rdf:type ontology:name }
[]
name
Q231555
SYSTEM
Yamamoto
Q231555
(Q11288429,P734,c(Q82799))
action filter_type
action find
entity Q458627
relation P734
type Q82799
[ANSWER] is associated with that person
['Q11288429', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q458627 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Yamamoto
Yamamoto is associated with that person
Yamamoto
action filter_type
action find
entity Yamamoto Tatsuo
relation family name
type name
['Grand Cordon of the Order of the Paulownia Flowers', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Yamamoto_Tatsuo property:family_name ?c . ?c rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q458627
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q231555,P106,c(Q12737077))
action filter_type
action find
entity Q458627
relation P106
type Q12737077
['Q231555', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q458627 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Yamamoto Tatsuo
action filter_type
action find
entity Yamamoto Tatsuo
relation occupation
type occupation
['Yamamoto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Yamamoto_Tatsuo property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q82955 Q806798
SYSTEM
politician, banker
Q82955 Q806798
(Q231555,P106,c(Q12737077))
action filter_type
action find
entity Q458627
relation P106
type Q12737077
And [ANSWERS] have that person as his/her 's career
['Q231555', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q458627 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
politician banker
And politician and banker have that person as his/her 's career
politician banker
action filter_type
action find
entity Yamamoto Tatsuo
relation occupation
type occupation
['Yamamoto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Yamamoto_Tatsuo property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q378656
P417
Q502895 Q12737077
USER
Which people are the patron saints of greater number of occupations than Saint Pantaleon ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q378656
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:P417 ?a . ?a rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q378656 property:P417 ?u . ?u rdf:type ontology:Q502895 } } . FILTER ( ?s > ?m ) }
Saint Pantaleon
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Pantaleon
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:patron_saint ?a . ?a rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Saint_Pantaleon property:patron_saint ?u . ?u rdf:type ontology:common_name } } . FILTER ( ?s > ?m ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q378656
relation P417
type Q502895
[ANSWERS] are the patron saints of greater number of occupations than Saint Pantaleon
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:P417 ?a . ?a rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q378656 property:P417 ?u . ?u rdf:type ontology:Q502895 } } . FILTER ( ?s > ?m ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the patron saints of greater number of occupations than Saint Pantaleon
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Pantaleon
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:patron_saint ?a . ?a rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Saint_Pantaleon property:patron_saint ?u . ?u rdf:type ontology:common_name } } . FILTER ( ?s > ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q166876
P50
Q2342494 Q234460
USER
How many collectables and texts are written by Isidore of Seville ?
(c(Q2342494),P50,Q166876) (c(Q234460),P50,Q166876)
action count
action union
action filter_type
action find_reverse
entity Q166876
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q166876
relation P50
type Q234460
[{'concept': 'Q2342494'}, 'P50', 'Q166876'] [{'concept': 'Q234460'}, 'P50', 'Q166876']
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } }
Isidore of Seville
action count
action union
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type collectable
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type text
[{'concept': 'collectable'}, 'author', 'Isidore of Seville'] [{'concept': 'text'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:text ) ( ontology:collectable ) } }
[]
collectable text
SYSTEM
1 collectables and 1 texts
Q1218746 Q665934
(c(Q2342494),P50,Q166876) (c(Q234460),P50,Q166876)
action count
action union
action filter_type
action find_reverse
entity Q166876
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q166876
relation P50
type Q234460
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q166876'] [{'concept': 'Q234460'}, 'P50', 'Q166876']
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } }
Historia de regibus Gothorum, Vandalorum et Suevorum Etymologiae
1 collectables and 1 texts
action count
action union
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type collectable
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type text
[{'concept': 'collectable'}, 'author', 'Isidore of Seville'] [{'concept': 'text'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:text ) ( ontology:collectable ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q424017
P1303
Q34379 Q502895
USER
How many musical instruments are played by more number of people than acoustic bass guitar ?
(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 Q424017
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q424017 property:P1303 ?s . ?s rdf:type ontology:Q34379 } } . FILTER ( ?k > ?h ) }
acoustic bass guitar
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 acoustic bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:acoustic_bass_guitar property:instrument ?s . ?s rdf:type ontology:musical_instrument } } . FILTER ( ?k > ?h ) }
[]
musical instrument common name
SYSTEM
22
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 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 Q424017
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q424017 property:P1303 ?s . ?s rdf:type ontology:Q34379 } } . FILTER ( ?k > ?h ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
22
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 acoustic bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:acoustic_bass_guitar property:instrument ?s . ?s rdf:type ontology:musical_instrument } } . FILTER ( ?k > ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q178933
P1303
Q34379 Q502895
USER
How many musical instruments are played by lesser number of people than Hardanger fiddle ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q178933
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P1303 ?j . ?s rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:P1303 resource:Q178933 . ?r rdf:type ontology:Q502895 } } . FILTER ( ?p < ?c ) }
Hardanger fiddle
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Hardanger fiddle
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:instrument ?j . ?s rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:instrument resource:Hardanger_fiddle . ?r rdf:type ontology:common_name } } . FILTER ( ?p < ?c ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q178933
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P1303 ?j . ?s rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:P1303 resource:Q178933 . ?r rdf:type ontology:Q502895 } } . FILTER ( ?p < ?c ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Hardanger fiddle
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:instrument ?j . ?s rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:instrument resource:Hardanger_fiddle . ?r rdf:type ontology:common_name } } . FILTER ( ?p < ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q80284
P1303
Q34379 Q502895
USER
And what about viola?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80284
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ontology:Q502895 . ?c property:P1303 resource:Q80284 } } . FILTER ( ?j < ?x ) }
viola
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ontology:common_name . ?c property:instrument resource:viola } } . FILTER ( ?j < ?x ) }
[]
musical instrument common name
SYSTEM
57
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 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 less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80284
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ontology:Q502895 . ?c property:P1303 resource:Q80284 } } . FILTER ( ?j < ?x ) }
lyre acoustic bass guitar Body percussion 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 Tsuzumi geomungo 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
57
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ontology:common_name . ?c property:instrument resource:viola } } . FILTER ( ?j < ?x ) }
[]
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 ?l WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?a ) { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P1303 ?v . ?b rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 } GROUP BY ?v } } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?l } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?a ) { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:instrument ?v . ?b rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument } GROUP BY ?v } } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?l } }
[]
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 ?l WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?a ) { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P1303 ?v . ?b rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 } GROUP BY ?v } } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?l } }
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 ?l WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?a ) { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:instrument ?v . ?b rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument } GROUP BY ?v } } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?l } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P1056
Q43229
USER
Who are the producer of that musical instrument ?
(c(Q43229),P1056,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P1056
type Q43229
[{'concept': 'Q43229'}, 'P1056', 'Q5994']
SELECT DISTINCT ?z WHERE { ?z property:P1056 resource:Q5994 . ?z rdf:type ontology:Q43229 }
piano
action filter_type
action find_reverse
entity piano
relation product
type organization
[{'concept': 'organization'}, 'product', 'piano']
SELECT DISTINCT ?z WHERE { ?z property:product resource:piano . ?z rdf:type ontology:organization }
[]
organization
Q2684841 Q20773716
SYSTEM
Hoffmann, Weber Piano Company
Q2684841 Q20773716
(c(Q43229),P1056,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P1056
type Q43229
The producer of that musical instrument are [ANSWERS]
[{'concept': 'Q43229'}, 'P1056', 'Q5994']
SELECT DISTINCT ?z WHERE { ?z property:P1056 resource:Q5994 . ?z rdf:type ontology:Q43229 }
Hoffmann Weber Piano Company
The producer of that musical instrument are Hoffmann and Weber Piano Company
Hoffmann Weber Piano Company
action filter_type
action find_reverse
entity piano
relation product
type organization
[{'concept': 'organization'}, 'product', 'piano']
SELECT DISTINCT ?z WHERE { ?z property:product resource:piano . ?z rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q811979
USER
How many architectural structures can be described as service operator of around 1 organization ?
(c(Q811979),P137,c(Q43229))
action count
action approx
action find_tuple_counts
relation P137
type Q811979
type Q43229
value 1
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?r ) WHERE { ?e property:P137 ?p . ?p rdf:type ontology:Q43229 . ?e rdf:type ontology:Q811979 } GROUP BY ?e } . FILTER ( ?r = 1 ) }
action count
action approx
action find_tuple_counts
relation operator
type architectural structure
type organization
value 1
[{'concept': 'architectural structure'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?r ) WHERE { ?e property:operator ?p . ?p rdf:type ontology:organization . ?e rdf:type ontology:architectural_structure } GROUP BY ?e } . FILTER ( ?r = 1 ) }
[]
organization architectural structure
SYSTEM
87
Q7339778 Q3094568 Q3474502 Q21839548 Q15614742 Q16965005 Q2140375 Q5168452 Q1327290 Q14688947 Q5134375 Q8007500 Q17501698 Q6418450 Q15229586 Q5532037 Q6434830 Q656928 Q5210915 Q3237605 Q4985200 Q7929512 Q2872483 Q7383947 Q4903551 Q977529 Q17183802 Q7934129 Q507704 Q748774 Q738388 Q7588876 Q4954740 Q7120126 Q5178957 Q7250885 Q8842798 Q334778 Q610092 Q8134074 Q5206121 Q7624253 Q531789 Q6918486 Q1950490 Q7419171 Q3106621 Q541481 Q5318379 Q7693083 Q5002763 Q16965801 Q1347689 Q807966 Q7577837 Q3143296 Q7863939 Q14686446 Q367272 Q16990872 Q1548891 Q7949225 Q1783634 Q770149 Q6185163 Q7278793 Q186125 Q176460 Q2044156 Q2267691 Q16989767 Q14686674 Q5331018 Q406972 Q6840597 Q21666763 Q2882577 Q887566 Q267390 Q3684032 Q5067770 Q1851700 Q3046174 Q328191 Q5188317 Q6135830 Q2974453
(c(Q811979),P137,c(Q43229))
action count
action approx
action find_tuple_counts
relation P137
type Q811979
type Q43229
value 1
[ANSWER]
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?r ) WHERE { ?e property:P137 ?p . ?p rdf:type ontology:Q43229 . ?e rdf:type ontology:Q811979 } GROUP BY ?e } . FILTER ( ?r = 1 ) }
Roanoke Civic Center Galen Center Save-On-Foods Memorial Centre Mine de Hotazel Funkhaus Wallrafplatz Stratoni mine TauTona Mine Copenhagen Arena Canadian Tire Centre Community Choice Credit Union Convention Center Clipper Magazine Stadium William D. Mullins Memorial Center Carmichael coal mine Kittilä mine Jinfeng Gold Mine General Motors Centre Kovalchick Convention and Athletic Complex MTS Centre Dalian Arena Liacouras Center Budweiser Gardens U.S. Bank Stadium AutoZone Park Ryan Center Bicentennial Center KeyArena Castle Hotel, Ruthin Virginia Beach Arena Vandellòs Nuclear Power Plant Copper Box New Quebec City Amphitheatre St. John Arena Bradford R. Boss Arena PPL Center Covelli Arena Prospera Place Estadio Casas GEO Ülker Sports Arena The Hydro Sumida Aquarium DSC Indoor Arena Stroh Center Santa Apolónia Station Motorpoint Arena Cardiff Mount Gordon Mine Santa Ana Star Center Valley View Casino Center Ricoh Coliseum DyDo Drinco Ice Arena Ted Constant Convocation Center Butt Memorial Bridge Olympias mine Foro Sol Barclays Center SpiritBank Event Center Lillehammer Olympic Bobsleigh and Luge Track UCF Arena The Venue at UCF Montreal Forum Phoenix nickel mine Motorpoint Arena Sheffield WFCU Centre XL Center Mercedes-Benz Arena Jerusalem International YMCA Rabobank Arena Madison Square Garden BBVA Compass Stadium The Cliff Juventus Center Selkirk mine James Brown Arena Eastwood Field Air Canada Centre Mid-America Center Water silo Beersel BankUnited Center Boardwalk Hall Taschenbergpalais Dresden Comcast Arena Chaifetz Arena Spaladium Arena ESPN Wide World of Sports Complex Palasthotel Cross Insurance Center Maishima Arena Citizens Business Bank Arena
87
action count
action approx
action find_tuple_counts
relation operator
type architectural structure
type organization
value 1
[{'concept': 'architectural structure'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?r ) WHERE { ?e property:operator ?p . ?p rdf:type ontology:organization . ?e rdf:type ontology:architectural_structure } GROUP BY ?e } . FILTER ( ?r = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
Which awards were max number of works of art and people nominated for ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?i WHERE { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?g WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?v rdf:type ?z } GROUP BY ?g } . FILTER ( ?a = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?i WHERE { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:common_name ) ( ontology:work_of_art ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?g WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?v rdf:type ?z } GROUP BY ?g } . FILTER ( ?a = ?c ) }
[]
award work of art common name
Q37922
SYSTEM
Nobel Prize in Literature
Q37922
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
Max number of works of art and people nominated for were the [ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?i WHERE { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?g WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?v rdf:type ?z } GROUP BY ?g } . FILTER ( ?a = ?c ) }
Nobel Prize in Literature
Max number of works of art and people nominated for were the Nobel Prize in Literature
Nobel Prize in Literature
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?i WHERE { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:common_name ) ( ontology:work_of_art ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?g WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?v rdf:type ?z } GROUP BY ?g } . FILTER ( ?a = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1346
Q502895
USER
How many people were the champions of that award ?
(Q37922,P1346,c(Q502895))
action count
action filter_type
action find
entity Q37922
relation P1346
type Q502895
['Q37922', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Q37922 property:P1346 ?e . ?e rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Nobel Prize in Literature
relation winner
type common name
['Nobel Prize in Literature', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Nobel_Prize_in_Literature property:winner ?e . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q121180 Q225554 Q159552 Q47561 Q131487
(Q37922,P1346,c(Q502895))
action count
action filter_type
action find
entity Q37922
relation P1346
type Q502895
[ANSWER]
['Q37922', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Q37922 property:P1346 ?e . ?e rdf:type ontology:Q502895 }
Władysław Reymont Henrik Pontoppidan Johannes V. Jensen Ivo Andrić Karl Adolph Gjellerup
5
action count
action filter_type
action find
entity Nobel Prize in Literature
relation winner
type common name
['Nobel Prize in Literature', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Nobel_Prize_in_Literature property:winner ?e . ?e rdf:type ontology:common_name }
[]