Simple Question (Direct)
Simple Question
Q78758
P19
Q618779
USER
Which award was Carl Mayer born at ?
(Q78758,P19,c(Q618779))
action filter_type
action find
entity Q78758
relation P19
type Q618779
['Q78758', 'P19', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q78758 property:P19 ?y . ?y rdf:type ontology:Q618779 }
Carl Mayer
action filter_type
action find
entity Carl Mayer
relation place of birth
type award
['Carl Mayer', 'place of birth', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Carl_Mayer property:place_of_birth ?y . ?y rdf:type ontology:award }
[]
award
Q13298
SYSTEM
Graz
Q13298
(Q78758,P19,c(Q618779))
action filter_type
action find
entity Q78758
relation P19
type Q618779
Carl Mayer was born in [ANSWER]
['Q78758', 'P19', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q78758 property:P19 ?y . ?y rdf:type ontology:Q618779 }
Graz
Carl Mayer was born in Graz
Graz
action filter_type
action find
entity Carl Mayer
relation place of birth
type award
['Carl Mayer', 'place of birth', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Carl_Mayer property:place_of_birth ?y . ?y rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13298
P740
Q43229
USER
Which organization originated at that award ?
(c(Q43229),P740,Q13298)
action filter_type
action find_reverse
entity Q13298
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q13298']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q43229 . ?i property:P740 resource:Q13298 }
Graz
action filter_type
action find_reverse
entity Graz
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Graz']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:organization . ?i property:location_of_formation resource:Graz }
[]
organization
Q1544114
SYSTEM
Grazer Maschinen- und Waggonbau-Aktiengesellschaft
Q1544114
(c(Q43229),P740,Q13298)
action filter_type
action find_reverse
entity Q13298
relation P740
type Q43229
[ANSWER] originated at that award
[{'concept': 'Q43229'}, 'P740', 'Q13298']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q43229 . ?i property:P740 resource:Q13298 }
Grazer Maschinen- und Waggonbau-Aktiengesellschaft
Grazer Maschinen- und Waggonbau-Aktiengesellschaft originated at that award
Grazer Maschinen- und Waggonbau-Aktiengesellschaft
action filter_type
action find_reverse
entity Graz
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Graz']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:organization . ?i property:location_of_formation resource:Graz }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13298
P138
Q17444909
USER
Which astronomical object type has Graz as its toponym ?
(c(Q17444909),P138,Q13298)
action filter_type
action find_reverse
entity Q13298
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q13298']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q13298 . ?c rdf:type ontology:Q17444909 }
Graz
action filter_type
action find_reverse
entity Graz
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Graz']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Graz . ?c rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q920175
SYSTEM
2806 Graz
Q920175
(c(Q17444909),P138,Q13298)
action filter_type
action find_reverse
entity Q13298
relation P138
type Q17444909
[ANSWER] has Graz as its toponym
[{'concept': 'Q17444909'}, 'P138', 'Q13298']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q13298 . ?c rdf:type ontology:Q17444909 }
2806 Graz
2806 Graz has Graz as its toponym
2806 Graz
action filter_type
action find_reverse
entity Graz
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Graz']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Graz . ?c rdf:type ontology:astronomical_object_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q78758
P58
Q201658
USER
Which film genres are Carl Mayer a screenwriter of ?
(c(Q201658),P58,Q78758)
action filter_type
action find_reverse
entity Q78758
relation P58
type Q201658
[{'concept': 'Q201658'}, 'P58', 'Q78758']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q78758 . ?m rdf:type ontology:Q201658 }
Carl Mayer
action filter_type
action find_reverse
entity Carl Mayer
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'Carl Mayer']
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:Carl_Mayer . ?m rdf:type ontology:film_genre }
[]
film genre
Q431093 Q153886 Q1797606
SYSTEM
Sunrise: A Song of Two Humans, The Cabinet of Dr. Caligari, 4 Devils
Q876693 Q431093 Q1797606 Q258830 Q571173 Q632362 Q153886 Q1216515 Q2374049 Q1319180 Q1619843 Q601283 Q3793222 Q320814 Q15233250
(c(Q201658),P58,Q78758)
action filter_type
action find_reverse
entity Q78758
relation P58
type Q201658
[ANSWERS] are Carl Mayer a screenwriter of
[{'concept': 'Q201658'}, 'P58', 'Q78758']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q78758 . ?m rdf:type ontology:Q201658 }
Genuine Sunrise: A Song of Two Humans 4 Devils The Last Laugh Tartuffe Berlin: Symphony of a Metropolis The Cabinet of Dr. Caligari Die Straße New Year's Eve Shattered Hintertreppe The Hunchback and the Dancer Journey into the Night The Haunted Castle Danton
Sunrise: A Song of Two Humans, The Cabinet of Dr. Caligari and 4 Devils are Carl Mayer a screenwriter of
Sunrise: A Song of Two Humans The Cabinet of Dr. Caligari 4 Devils
action filter_type
action find_reverse
entity Carl Mayer
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'Carl Mayer']
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:Carl_Mayer . ?m rdf:type ontology:film_genre }
[]
Clarification
Simple Question|Single Entity|Indirect
Q153886
P86
Q502895
USER
Who did the compostion for that film genre ?
(Q153886,P86,c(Q502895))
action filter_type
action find
entity Q153886
relation P86
type Q502895
['Q153886', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q153886 property:P86 ?a . ?a rdf:type ontology:Q502895 }
The Cabinet of Dr. Caligari
action filter_type
action find
entity The Cabinet of Dr. Caligari
relation composer
type common name
['The Cabinet of Dr. Caligari', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Cabinet_of_Dr._Caligari property:composer ?a . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1797606
SYSTEM
Did you mean 4 Devils ?
Q431093 Q153886 Q1797606
(Q431093,P86,c(Q502895)) (Q153886,P86,c(Q502895)) (Q1797606,P86,c(Q502895))
[ANSWER]
['Q431093', 'P86', {'concept': 'Q502895'}] ['Q153886', 'P86', {'concept': 'Q502895'}] ['Q1797606', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q153886 property:P86 ?a . ?a rdf:type ontology:Q502895 }
Sunrise: A Song of Two Humans The Cabinet of Dr. Caligari 4 Devils
Did you mean 4 Devils ?
4 Devils
['Sunrise: A Song of Two Humans', 'composer', {'concept': 'common name'}] ['The Cabinet of Dr. Caligari', 'composer', {'concept': 'common name'}] ['4 Devils', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Cabinet_of_Dr._Caligari property:composer ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant The Cabinet of Dr. Caligari. Could you tell me the answer for that?
(Q153886,P86,c(Q502895))
Q153886
['Q153886', 'P86', {'concept': 'Q502895'}]
['The Cabinet of Dr. Caligari', 'composer', {'concept': 'common name'}]
[]
Q367427
SYSTEM
Giuseppe Becce
Q367427
(Q153886,P86,c(Q502895))
action filter_type
action find
entity Q153886
relation P86
type Q502895
[ANSWER] did the compostion for that film genre
['Q153886', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q153886 property:P86 ?a . ?a rdf:type ontology:Q502895 }
Giuseppe Becce
Giuseppe Becce did the compostion for that film genre
Giuseppe Becce
action filter_type
action find
entity The Cabinet of Dr. Caligari
relation composer
type common name
['The Cabinet of Dr. Caligari', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Cabinet_of_Dr._Caligari property:composer ?a . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q20749193
P674
Q502895 Q7725634 Q36649
USER
Which people appears as a character in more number of literary works and visual artss than Irma Le Fer de la Motte ?
(c(Q7725634)|c(Q36649),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action count
action filter_multi_types
action find_reverse
entity Q20749193
relation P674
type Q7725634
type Q36649
[[{'concept': 'Q7725634'}, {'concept': 'Q36649'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?z ) { ( ontology:Q7725634 ) ( ontology:Q36649 ) } . ?v rdf:type ?z } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P674 resource:Q20749193 . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:Q36649 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?m > ?k ) }
Irma Le Fer de la Motte
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action count
action filter_multi_types
action find_reverse
entity Irma Le Fer de la Motte
relation characters
type literary work
type visual arts
[[{'concept': 'literary work'}, {'concept': 'visual arts'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?z ) { ( ontology:literary_work ) ( ontology:visual_arts ) } . ?v rdf:type ?z } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:characters resource:Irma_Le_Fer_de_la_Motte . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:visual_arts ) ( ontology:literary_work ) } } } } . FILTER ( ?m > ?k ) }
[]
common name literary work visual arts
Q193660 Q39259 Q109860
SYSTEM
Ramon Llull, Recep Tayyip Erdoğan, Dagobert I
Q2458567 Q15718786 Q207535 Q8462 Q638973 Q109860 Q106077 Q193660 Q15711674 Q360798 Q39259
(c(Q7725634)|c(Q36649),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action count
action filter_multi_types
action find_reverse
entity Q20749193
relation P674
type Q7725634
type Q36649
[ANSWERS] appear as a character in more number of literary works and visual artss than Irma Le Fer de la Motte
[[{'concept': 'Q7725634'}, {'concept': 'Q36649'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?z ) { ( ontology:Q7725634 ) ( ontology:Q36649 ) } . ?v rdf:type ?z } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P674 resource:Q20749193 . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:Q36649 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?m > ?k ) }
François Bonivard Winona Roland Timur Leofric, Earl of Mercia Dagobert I Lady Godiva Ramon Llull Zecora Saint Eligius Recep Tayyip Erdoğan
Ramon Llull, Recep Tayyip Erdoğan and Dagobert I appear as a character in more number of literary works and visual artss than Irma Le Fer de la Motte
Ramon Llull Recep Tayyip Erdoğan Dagobert I
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action count
action filter_multi_types
action find_reverse
entity Irma Le Fer de la Motte
relation characters
type literary work
type visual arts
[[{'concept': 'literary work'}, {'concept': 'visual arts'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?z ) { ( ontology:literary_work ) ( ontology:visual_arts ) } . ?v rdf:type ?z } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:characters resource:Irma_Le_Fer_de_la_Motte . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:visual_arts ) ( ontology:literary_work ) } } } } . FILTER ( ?m > ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1979876
P674
Q502895 Q7725634 Q36649
USER
And what about Israel Hands?
(c(Q7725634)|c(Q36649),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action count
action filter_multi_types
action find_reverse
entity Q1979876
relation P674
type Q7725634
type Q36649
[[{'concept': 'Q7725634'}, {'concept': 'Q36649'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?v WHERE { { ?r property:P674 ?v . ?r rdf:type ontology:Q7725634 . ?v rdf:type ontology:Q502895 } UNION { ?r property:P674 ?v . ?r rdf:type ontology:Q36649 . ?v rdf:type ontology:Q502895 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:P674 resource:Q1979876 . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:Q7725634 ) ( ontology:Q36649 ) } } } } . FILTER ( ?l > ?g ) }
Israel Hands
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action count
action filter_multi_types
action find_reverse
entity Israel Hands
relation characters
type literary work
type visual arts
[[{'concept': 'literary work'}, {'concept': 'visual arts'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?v WHERE { { ?r property:characters ?v . ?r rdf:type ontology:literary_work . ?v rdf:type ontology:common_name } UNION { ?r property:characters ?v . ?r rdf:type ontology:visual_arts . ?v rdf:type ontology:common_name } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:characters resource:Israel_Hands . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:literary_work ) ( ontology:visual_arts ) } } } } . FILTER ( ?l > ?g ) }
[]
common name literary work visual arts
Q193660 Q39259 Q109860
SYSTEM
Ramon Llull, Recep Tayyip Erdoğan, Dagobert I
Q2458567 Q15718786 Q207535 Q8462 Q638973 Q109860 Q106077 Q193660 Q15711674 Q360798 Q39259
(c(Q7725634)|c(Q36649),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action count
action filter_multi_types
action find_reverse
entity Q1979876
relation P674
type Q7725634
type Q36649
[ANSWERS]
[[{'concept': 'Q7725634'}, {'concept': 'Q36649'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?v WHERE { { ?r property:P674 ?v . ?r rdf:type ontology:Q7725634 . ?v rdf:type ontology:Q502895 } UNION { ?r property:P674 ?v . ?r rdf:type ontology:Q36649 . ?v rdf:type ontology:Q502895 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:P674 resource:Q1979876 . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:Q7725634 ) ( ontology:Q36649 ) } } } } . FILTER ( ?l > ?g ) }
François Bonivard Winona Roland Timur Leofric, Earl of Mercia Dagobert I Lady Godiva Ramon Llull Zecora Saint Eligius Recep Tayyip Erdoğan
Ramon Llull Recep Tayyip Erdoğan Dagobert I
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action count
action filter_multi_types
action find_reverse
entity Israel Hands
relation characters
type literary work
type visual arts
[[{'concept': 'literary work'}, {'concept': 'visual arts'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?v WHERE { { ?r property:characters ?v . ?r rdf:type ontology:literary_work . ?v rdf:type ontology:common_name } UNION { ?r property:characters ?v . ?r rdf:type ontology:visual_arts . ?v rdf:type ontology:common_name } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:characters resource:Israel_Hands . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:literary_work ) ( ontology:visual_arts ) } } } } . FILTER ( ?l > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q46185
P1303
Q34379 Q502895
USER
Which musical instruments can lesser number of people perform with than bass guitar ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q46185
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?r < ?j ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P1303 resource:Q46185 . ?a rdf:type ontology:Q502895 } } }
bass guitar
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity bass guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?r < ?j ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:instrument resource:bass_guitar . ?a rdf:type ontology:common_name } } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 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 less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q46185
relation P1303
type Q502895
[ANSWERS] can lesser number of people perform with than bass guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?r < ?j ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P1303 resource:Q46185 . ?a rdf:type ontology:Q502895 } } }
viola 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 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
Davul, harpsichord and Wurlitzer electric piano can lesser number of people perform with than bass guitar
davul harpsichord Wurlitzer electric piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity bass guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?r < ?j ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:instrument resource:bass_guitar . ?a rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q873588
P1303
Q34379 Q502895
USER
And how about Jinghu?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q873588
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q502895 . ?v property:P1303 resource:Q873588 } } . FILTER ( ?p < ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?p ) WHERE { ?i rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?i } GROUP BY ?i } }
Jinghu
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Jinghu
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:common_name . ?v property:instrument resource:Jinghu } } . FILTER ( ?p < ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?p ) WHERE { ?i rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?i } GROUP BY ?i } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q873588
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q502895 . ?v property:P1303 resource:Q873588 } } . FILTER ( ?p < ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?p ) WHERE { ?i rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?i } GROUP BY ?i } }
spoon cajón wind instrument
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Jinghu
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:common_name . ?v property:instrument resource:Jinghu } } . FILTER ( ?p < ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?p ) WHERE { ?i rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?i } GROUP BY ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q153886
P495
Q1048835
USER
What is the country of origin of The Cabinet of Dr. Caligari ?
(Q153886,P495,c(Q1048835))
action filter_type
action find
entity Q153886
relation P495
type Q1048835
['Q153886', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q153886 property:P495 ?r . ?r rdf:type ontology:Q1048835 }
The Cabinet of Dr. Caligari
action filter_type
action find
entity The Cabinet of Dr. Caligari
relation country of origin
type political territorial entity
['The Cabinet of Dr. Caligari', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:The_Cabinet_of_Dr._Caligari property:country_of_origin ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q153886,P495,c(Q1048835))
action filter_type
action find
entity Q153886
relation P495
type Q1048835
The country of origin of The Cabinet of Dr. Caligari is in [ANSWER]
['Q153886', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q153886 property:P495 ?r . ?r rdf:type ontology:Q1048835 }
Germany
The country of origin of The Cabinet of Dr. Caligari is in Germany
Germany
action filter_type
action find
entity The Cabinet of Dr. Caligari
relation country of origin
type political territorial entity
['The Cabinet of Dr. Caligari', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:The_Cabinet_of_Dr._Caligari property:country_of_origin ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q153886
P344
Q502895
USER
Who is the director of photography for The Cabinet of Dr. Caligari ?
(Q153886,P344,c(Q502895))
action filter_type
action find
entity Q153886
relation P344
type Q502895
['Q153886', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q153886 property:P344 ?r . ?r rdf:type ontology:Q502895 }
The Cabinet of Dr. Caligari
action filter_type
action find
entity The Cabinet of Dr. Caligari
relation director of photography
type common name
['The Cabinet of Dr. Caligari', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Cabinet_of_Dr._Caligari property:director_of_photography ?r . ?r rdf:type ontology:common_name }
[]
common name
Q99376
SYSTEM
Willy Hameister
Q99376
(Q153886,P344,c(Q502895))
action filter_type
action find
entity Q153886
relation P344
type Q502895
The director of photography for The Cabinet of Dr. Caligari is by [ANSWER]
['Q153886', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q153886 property:P344 ?r . ?r rdf:type ontology:Q502895 }
Willy Hameister
The director of photography for The Cabinet of Dr. Caligari is by Willy Hameister
Willy Hameister
action filter_type
action find
entity The Cabinet of Dr. Caligari
relation director of photography
type common name
['The Cabinet of Dr. Caligari', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Cabinet_of_Dr._Caligari property:director_of_photography ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q367427
P86
Q838948 Q201658
USER
How many works of art and film genres have Giuseppe Becce as the composer ?
(c(Q838948),P86,Q367427) (c(Q201658),P86,Q367427)
action count
action union
action filter_type
action find_reverse
entity Q367427
relation P86
type Q838948
action filter_type
action find_reverse
entity Q367427
relation P86
type Q201658
[{'concept': 'Q838948'}, 'P86', 'Q367427'] [{'concept': 'Q201658'}, 'P86', 'Q367427']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:P86 resource:Q367427 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P86 resource:Q367427 . ?f rdf:type ontology:Q201658 } }
Giuseppe Becce
action count
action union
action filter_type
action find_reverse
entity Giuseppe Becce
relation composer
type work of art
action filter_type
action find_reverse
entity Giuseppe Becce
relation composer
type film genre
[{'concept': 'work of art'}, 'composer', 'Giuseppe Becce'] [{'concept': 'film genre'}, 'composer', 'Giuseppe Becce']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:composer resource:Giuseppe_Becce . ?f rdf:type ontology:work_of_art } UNION { ?f property:composer resource:Giuseppe_Becce . ?f rdf:type ontology:film_genre } }
[]
work of art film genre
SYSTEM
52 works of art and 45 film genres
Q571173 Q21869645 Q3634025 Q819485 Q5303845 Q15843030 Q369346 Q1199777 Q19971569 Q20984321 Q751113 Q7750271 Q18210220 Q13576912 Q14949924 Q6518912 Q21283496 Q21646841 Q14949929 Q498501 Q20814559 Q19967000 Q2674999 Q834269 Q6007685 Q2550121 Q473920 Q7177940 Q700243 Q3879151 Q17101013 Q21869503 Q21869746 Q17103493 Q20814780 Q5248732 Q3752487 Q3617426 Q1197007 Q153886 Q1254777 Q442253 Q481091 Q7160371 Q3842236 Q21869290 Q1196407 Q21869698 Q19796697 Q475412 Q1319180 Q7883091 Q7758335 Q826335 Q3790608 Q7733465 Q3821591 Q13460012 Q7773423 Q1199484 Q7750096 Q6526758 Q7750413 Q7758977 Q7761189 Q15990816 Q996184 Q120231 Q3793654 Q15068197 Q3614549 Q15279655 Q3829051 Q7758966 Q21869806 Q5177063 Q19818758 Q2168829 Q1218821 Q1748447 Q13459639 Q7605184 Q5447807 Q14949855 Q14949856 Q14949851 Q7740083 Q2291495 Q21869703 Q16983888 Q3821721 Q20737446 Q258830 Q21869780 Q1170336 Q3707060 Q541297
(c(Q838948),P86,Q367427) (c(Q201658),P86,Q367427)
action count
action union
action filter_type
action find_reverse
entity Q367427
relation P86
type Q838948
action filter_type
action find_reverse
entity Q367427
relation P86
type Q201658
[ANSWER]
[{'concept': 'Q838948'}, 'P86', 'Q367427'] [{'concept': 'Q201658'}, 'P86', 'Q367427']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:P86 resource:Q367427 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P86 resource:Q367427 . ?f rdf:type ontology:Q201658 } }
Tartuffe Much Ado About Nixi The Yellow Flag Mountains on Fire Doña Juana Rose Bernd Ecstasy Der verlorene Sohn Downfall I Marry My Wife Die Abenteuer eines Zehnmarkscheines The Marathon Runner Woman in the River The Fiddler of Florence The Serfs Lehmann's Honeymoon The Son of Hannibal The Peak Scaler Slums of Berlin Sodom and Gomorrah The Hour of Temptation Das Tagebuch Collins Der Jäger von Fall The Mountain Calls Imprisoned Soul Veronika the Maid Secrets of a Soul Peter the Pirate The Blue Light The Last Night Clarissa Kubinke the Barber Queen of the Boulevards The Telephone Operator A Strange Guest Decameron Nights Frau Eva Angst The Gambler The Cabinet of Dr. Caligari Hansel and Gretel Hans Westmar Der Kaiser von Kalifornien Peer Gynt Madame Bovary Destiny The Rebel One Minute to Twelve The Buddenbrooks Die Frau, nach der man sich sehnt Shattered Under False Flag The Princess of Neutralia Kohlhiesels Töchter The Son of the White Mountain The Farmer from Texas The Song of the Sun The Prince of Pappenheim The Wandering Light Destiny The Man in the Mirror Leontine's Husbands The Marriage of Luise Rohrbach The Queen's Secretary The Robber Bride Märtyrerin der Liebe I Condottieri, Giovanni delle bande nere Hamlet The Courier of the King The Eternal Dream Folly of Love People to Each Other Rouge et noir The Queen's Love Letter Shadows of the Metropolis Countess Kitchenmaid Mountain Crystal Little Red Riding Hood The Last Horse Carriage in Berlin Comedy of the Heart The Favourite of Schonbrunn Steadfast Benjamin Fight of the Tertia The Burning Heart The Catwalk At the Edge of the World The Homecoming of Odysseus Skandal um Eva The Other Woman Her Sport The Jester's Supper The Stone Rider The Last Laugh Sajenko the Soviet Silence in the Forest The Vulture Wally Ways to Strength and Beauty
52 works of art and 45 film genres
action count
action union
action filter_type
action find_reverse
entity Giuseppe Becce
relation composer
type work of art
action filter_type
action find_reverse
entity Giuseppe Becce
relation composer
type film genre
[{'concept': 'work of art'}, 'composer', 'Giuseppe Becce'] [{'concept': 'film genre'}, 'composer', 'Giuseppe Becce']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:composer resource:Giuseppe_Becce . ?f rdf:type ontology:work_of_art } UNION { ?f property:composer resource:Giuseppe_Becce . ?f rdf:type ontology:film_genre } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
How many television programs did atleast 16 people do the dubbing for ?
(c(Q15416),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 16
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ontology:Q502895 . ?q rdf:type ontology:Q15416 . ?q property:P725 ?j } GROUP BY ?q } . FILTER ( ?x >= 16 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type television program
type common name
value 16
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ontology:common_name . ?q rdf:type ontology:television_program . ?q property:voice_actor ?j } GROUP BY ?q } . FILTER ( ?x >= 16 ) }
[]
common name television program
SYSTEM
3
Q23558 Q18571935 Q18553975
(c(Q15416),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 16
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ontology:Q502895 . ?q rdf:type ontology:Q15416 . ?q property:P725 ?j } GROUP BY ?q } . FILTER ( ?x >= 16 ) }
House The Big O Soul Eater
3
action count
action atleast
action find_tuple_counts
relation voice actor
type television program
type common name
value 16
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?x ) WHERE { ?j rdf:type ontology:common_name . ?q rdf:type ontology:television_program . ?q property:voice_actor ?j } GROUP BY ?q } . FILTER ( ?x >= 16 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P870
Q34379 Q862597 Q838948
USER
Which musical instruments were used in the composition of atmost 83 musical forms and works of art ?
(c(Q862597)|c(Q838948),P870,c(Q34379))
action atmost
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action find_reverse_tuple_counts
relation P870
type Q34379
type Q838948
value 83
[[{'concept': 'Q862597'}, {'concept': 'Q838948'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:Q862597 ) ( ontology:Q838948 ) } } GROUP BY ?q } . FILTER ( ?z <= 83 ) }
action atmost
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type work of art
value 83
[[{'concept': 'musical form'}, {'concept': 'work of art'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:musical_form ) ( ontology:work_of_art ) } } GROUP BY ?q } . FILTER ( ?z <= 83 ) }
[]
musical instrument musical form work of art
Q521151 Q81982 Q80284
SYSTEM
baryton, harpsichord, viola
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q8355 Q11404 Q206987 Q81982
(c(Q862597)|c(Q838948),P870,c(Q34379))
action atmost
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action find_reverse_tuple_counts
relation P870
type Q34379
type Q838948
value 83
[ANSWERS] were used in the composition of atmost 83 musical forms and works of art
[[{'concept': 'Q862597'}, {'concept': 'Q838948'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:Q862597 ) ( ontology:Q838948 ) } } GROUP BY ?q } . FILTER ( ?z <= 83 ) }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca violin drum vibraphone harpsichord
Baryton, harpsichord and viola were used in the composition of atmost 83 musical forms and works of art
baryton harpsichord viola
action atmost
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type work of art
value 83
[[{'concept': 'musical form'}, {'concept': 'work of art'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:musical_form ) ( ontology:work_of_art ) } } GROUP BY ?q } . FILTER ( ?z <= 83 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q521151
P361
Q2424752
USER
Which product is that musical instrument a component of ?
(Q521151,P361,c(Q2424752))
action filter_type
action find
entity Q521151
relation P361
type Q2424752
['Q521151', 'P361', {'concept': 'Q2424752'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2424752 . resource:Q521151 property:P361 ?t }
baryton
action filter_type
action find
entity baryton
relation part of
type product
['baryton', 'part of', {'concept': 'product'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:product . resource:baryton property:part_of ?t }
[]
product
Clarification for simple ques.
Q80284
SYSTEM
Did you mean viola ?
Q521151 Q81982 Q80284
(Q521151,P361,c(Q2424752)) (Q81982,P361,c(Q2424752)) (Q80284,P361,c(Q2424752))
[ANSWER]
['Q521151', 'P361', {'concept': 'Q2424752'}] ['Q81982', 'P361', {'concept': 'Q2424752'}] ['Q80284', 'P361', {'concept': 'Q2424752'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2424752 . resource:Q521151 property:P361 ?t }
baryton harpsichord viola
Did you mean viola ?
viola
['baryton', 'part of', {'concept': 'product'}] ['harpsichord', 'part of', {'concept': 'product'}] ['viola', 'part of', {'concept': 'product'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:product . resource:baryton property:part_of ?t }
[]
Simple Question (Coreferenced)
USER
No, I meant baryton. Could you tell me the answer for that?
(Q521151,P361,c(Q2424752))
Q521151
['Q521151', 'P361', {'concept': 'Q2424752'}]
['baryton', 'part of', {'concept': 'product'}]
[]
Q15212740
SYSTEM
baritone
Q15212740
(Q521151,P361,c(Q2424752))
action filter_type
action find
entity Q521151
relation P361
type Q2424752
[ANSWER] is that musical instrument a component of
['Q521151', 'P361', {'concept': 'Q2424752'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2424752 . resource:Q521151 property:P361 ?t }
baritone
Baritone is that musical instrument a component of
baritone
action filter_type
action find
entity baryton
relation part of
type product
['baryton', 'part of', {'concept': 'product'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:product . resource:baryton property:part_of ?t }
[]