Simple Question (Direct)
Simple Question
Q4185360
P136
Q1792379
USER
What can be considered as category for I Love Hong Kong 2012 ?
(Q4185360,P136,c(Q1792379))
action filter_type
action find
entity Q4185360
relation P136
type Q1792379
['Q4185360', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { resource:Q4185360 property:P136 ?k . ?k rdf:type ontology:Q1792379 }
I Love Hong Kong 2012
action filter_type
action find
entity I Love Hong Kong 2012
relation genre
type art genre
['I Love Hong Kong 2012', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { resource:I_Love_Hong_Kong_2012 property:genre ?k . ?k rdf:type ontology:art_genre }
[]
art genre
Q860626
SYSTEM
romantic comedy
Q860626
(Q4185360,P136,c(Q1792379))
action filter_type
action find
entity Q4185360
relation P136
type Q1792379
[ANSWER] can be considered as category for I Love Hong Kong 2012
['Q4185360', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { resource:Q4185360 property:P136 ?k . ?k rdf:type ontology:Q1792379 }
romantic comedy
Romantic comedy can be considered as category for I Love Hong Kong 2012
romantic comedy
action filter_type
action find
entity I Love Hong Kong 2012
relation genre
type art genre
['I Love Hong Kong 2012', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { resource:I_Love_Hong_Kong_2012 property:genre ?k . ?k rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4185360
P162
Q502895
USER
Who is the producer of that work of art ?
(Q860626,P162,c(Q502895))
action filter_type
action find
entity Q4185360
relation P162
type Q502895
['Q860626', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q4185360 property:P162 ?v . ?v rdf:type ontology:Q502895 }
I Love Hong Kong 2012
action filter_type
action find
entity I Love Hong Kong 2012
relation producer
type common name
['romantic comedy', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:I_Love_Hong_Kong_2012 property:producer ?v . ?v rdf:type ontology:common_name }
[]
common name
Q445608
SYSTEM
Eric Tsang
Q445608
(Q860626,P162,c(Q502895))
action filter_type
action find
entity Q4185360
relation P162
type Q502895
The producer of that work of art is the [ANSWER]
['Q860626', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q4185360 property:P162 ?v . ?v rdf:type ontology:Q502895 }
Eric Tsang
The producer of that work of art is the Eric Tsang
Eric Tsang
action filter_type
action find
entity I Love Hong Kong 2012
relation producer
type common name
['romantic comedy', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:I_Love_Hong_Kong_2012 property:producer ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4185360
P161
Q502895
USER
Who were casted in I Love Hong Kong 2012 ?
(Q4185360,P161,c(Q502895))
action filter_type
action find
entity Q4185360
relation P161
type Q502895
['Q4185360', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q4185360 property:P161 ?a . ?a rdf:type ontology:Q502895 }
I Love Hong Kong 2012
action filter_type
action find
entity I Love Hong Kong 2012
relation cast member
type common name
['I Love Hong Kong 2012', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:I_Love_Hong_Kong_2012 property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
common name
Q3269718 Q445608 Q2574850
SYSTEM
Denise Ho, Eric Tsang, Teresa Mo
Q2574850 Q422950 Q7532206 Q4020157 Q5368085 Q707241 Q445608 Q3269718
(Q4185360,P161,c(Q502895))
action filter_type
action find
entity Q4185360
relation P161
type Q502895
[ANSWERS] were casted in I Love Hong Kong 2012
['Q4185360', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q4185360 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Teresa Mo Evergreen Mak Cheung-ching Siu Yam-yam William So Stanley Fung Bosco Wong Eric Tsang Denise Ho
Denise Ho, Eric Tsang and Teresa Mo were casted in I Love Hong Kong 2012
Denise Ho Eric Tsang Teresa Mo
action filter_type
action find
entity I Love Hong Kong 2012
relation cast member
type common name
['I Love Hong Kong 2012', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:I_Love_Hong_Kong_2012 property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art have that person as actor ?
(c(Q838948),P161,Q3269718)
[{'concept': 'Q838948'}, 'P161', 'Q3269718']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q3269718 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'Denise Ho']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Denise_Ho . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q445608
SYSTEM
Did you mean Eric Tsang ?
(c(Q838948),P161,Q3269718) (c(Q838948),P161,Q445608) (c(Q838948),P161,Q2574850)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3269718'] [{'concept': 'Q838948'}, 'P161', 'Q445608'] [{'concept': 'Q838948'}, 'P161', 'Q2574850']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q3269718 . ?z rdf:type ontology:Q838948 }
Did you mean Eric Tsang ?
Eric Tsang
[{'concept': 'work of art'}, 'cast member', 'Denise Ho'] [{'concept': 'work of art'}, 'cast member', 'Eric Tsang'] [{'concept': 'work of art'}, 'cast member', 'Teresa Mo']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Denise_Ho . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Denise Ho. Could you tell me the answer for that?
(c(Q838948),P161,Q3269718)
Q3269718
[{'concept': 'Q838948'}, 'P161', 'Q3269718']
[{'concept': 'work of art'}, 'cast member', 'Denise Ho']
[]
SYSTEM
5
Q4185360 Q1100217 Q6691470 Q5751943 Q6675151
(c(Q838948),P161,Q3269718)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3269718']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q3269718 . ?z rdf:type ontology:Q838948 }
I Love Hong Kong 2012 Life Without Principle Love Under the Sun Hidden Track Look for a Star
5
[{'concept': 'work of art'}, 'cast member', 'Denise Ho']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Denise_Ho . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do approximately 804 people know to play ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 804
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?e = 804 ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?s } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 804
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?e = 804 ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?s } }
[]
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 804
Approximately 804 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?e = 804 ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?s } }
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
Approximately 804 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 804
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?e = 804 ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?s } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1178361 Q81982 Q1759986
P1303
Q502895
USER
Who can play those musical instruments ?
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P1303 ?o . VALUES ( ?o ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q201129 ) } }
davul harpsichord Wurlitzer electric piano
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:instrument ?o . VALUES ( ?o ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } }
[]
common name
Q45909 Q1339 Q254
SYSTEM
John Cale, Johann Sebastian Bach, Wolfgang Amadeus Mozart
Q343394 Q5125310 Q3147213 Q45909 Q1270605 Q3218863 Q4497156 Q2965877 Q18889499 Q3613839 Q11434081 Q378905 Q96304 Q289847 Q446103 Q3295831 Q2805699 Q2556199 Q339128 Q876342 Q1348195 Q11454604 Q3560424 Q1895475 Q459715 Q3573587 Q17648436 Q2958126 Q3148824 Q1976924 Q551008 Q3619994 Q3724246 Q2528311 Q3181642 Q3106857 Q3411056 Q160257 Q3168308 Q3190862 Q434644 Q3667494 Q2424360 Q3827718 Q2034506 Q2553716 Q1284831 Q2535808 Q699207 Q463998 Q22712389 Q1046616 Q13334256 Q314799 Q3298708 Q457010 Q2094389 Q3350801 Q6264882 Q1709071 Q2526926 Q590410 Q965256 Q2837040 Q3452937 Q6733079 Q3168042 Q3142793 Q3568609 Q9253269 Q1959923 Q3183956 Q509362 Q254 Q3168842 Q434774 Q2414155 Q3154364 Q1339 Q963003 Q15041700 Q700648 Q18642513 Q70011 Q969937 Q3761917 Q3010160 Q3587893 Q2462092 Q1682366 Q21088137 Q231234 Q2564666 Q4526398 Q339929 Q1682344 Q3507386 Q2416902 Q3141950 Q3524273 Q199856 Q4979366 Q928954 Q571445 Q3446656 Q3219532 Q963831 Q2959912 Q1406863 Q2848507 Q3162009 Q3287715 Q119189 Q3136187 Q3315982 Q2451955 Q3725604 Q92244 Q5112624 Q376588 Q1843799 Q445985 Q521250 Q4980119 Q2140912 Q17630873 Q76735 Q181474 Q18214287 Q319306 Q435198 Q2870861 Q563321 Q2574241 Q597101 Q2982659 Q3351094 Q3187447 Q560325 Q2735112 Q697674 Q3294067 Q739019 Q274544 Q3147203 Q2898792 Q4133063 Q718398 Q2899489 Q3167320 Q3154996 Q23001989 Q609940 Q2856990 Q3317233 Q3293546 Q7281591
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[ANSWERS] can play those musical instruments
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P1303 ?o . VALUES ( ?o ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q201129 ) } }
İbrahim Tatlıses Claire Schapira Iakovos Pappas John Cale Lars Ulrik Mortensen Laurence Boulay Stanislav Heller Christine Auger Francesco Mazzoli Ambrogio Minoja Naoya Ōtsuka Michael Wollny Tobias Koch Étienne Loulié Huguette Dreyfus Martine Roche Frédérick Haas Anne Gallet Rafael Puyana Fritz Neumeyer Louis-Emmanuel Jadin Kanoko Miyazaki Violet Gordon-Woodhouse Marguerite Roesgen-Champion Matteo Messori Yves Cuenot Władysław Kłosiewicz Charles-Henri Plantade Ilton Wjuniski Aimée Van de Wiele Jon Laukvik Antonio Palella Emilia Fadini Jovanka Marville John Grew Giovanni Pietro Del Buono Putnam Aldrich Wanda Landowska Jean-Patrice Brosse Jérôme Correas Christiane Jaccottet Chiara Massini Antoine Geoffroy-Dechaume Laura Alvini Luciano Sgrizzi Jean Rondeau Eta Harich-Schneider Václav Luks Joseph Anton Steffan James Nares Martine Reymond Tim Rice-Oxley Anne-Catherine Bucher Antonio Soler Mathieu Duguay Igor Kipnis Pietro Alessandro Guglielmi Olivier Baumont John Worgan Martha Goldstein Vincenzo Lavigna Christophe Rousset Alan Curtis Aline d'Ambricourt Ruggero Gerlin Mahan Esfahani Jean-Michel Hasler Huguette Grémy-Chauliac William Felton Elżbieta Stefańska Christine Whiffen Jory Vinikour Françoise-Charlotte de Senneterre Ménétou Wolfgang Amadeus Mozart Jean-Philippe Navarre Trevor Pinnock Skip Sempé Irina Danšina Johann Sebastian Bach Thurston Dart Cosimo Damiano Lanza Masaaki Suzuki Pierre-Alain Clerc Edith Picht-Axenfeld Denis Bédard Giacinto Manna Céline Frisch Élisabeth Joyé Pascal Dubreuil Jan Willem Jansen Yasuko Uyama-Bouvard Zuzana Růžičková Beatrice Berstel Miklós Spányi Thomas Linley the elder Joseph-Nicolas-Pancrace Royer Sylvie Pécot-Douatte Blandine Verlet Hubert Bédard Thierry Geffrotin Johann Christian Schieferdecker Bruno Procopio Vincenzo Manfredini Rinaldo Alessandrini Rudi Jacques Laurent Teycheney Ottavio Dantone Charles Noblet Fernando Valenti André Raynaud Janine Reiss Marc-Roger Normand Vital Julian Frey Nicholas McGegan Mireille Lagacé Yves Rechsteiner Enrico Baiano Johann Paul Schulthesius Christopher Jackson William Christie Frédéric Champion Emmanuelle Haïm Marcelle de Lacour Sophie Stebnowska Blandine Rannou Jean-Luc Ho Karl Richter Teodorico Pedrini Véronique Carrot Oscar Milani Christopher Hogwood Marguerite-Antoinette Couperin Kenneth Gilbert Elisabeth Chojnacka Ralph Kirkpatrick Colin Tilney Olivier Houette Joël Pontet Hervé Niquet William Babell René Clemencic Mark Edwards Giovanni Battista Lampugnani Isolde Ahlgrimm Iain Simcock Bernard de Bury Malcolm Hamilton Robert Veyron-Lacroix Bertrand Cuiller Jean-Marc Aymes Isabelle Nef György Vashegyi Marguerite-Louise Couperin Anton Bemetzrieder Mitzi Meyerson Mario Raskin Radoslav Lorković
John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart can play those musical instruments
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:instrument ?o . VALUES ( ?o ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q45909 Q1339 Q254
P1066
Q502895
USER
Which people were the teachers of those ones ?
(Q45909,P1066,c(Q502895)) (Q1339,P1066,c(Q502895)) (Q254,P1066,c(Q502895))
action filter_type
action find
entity prev_answer
relation P1066
type Q502895
['Q45909', 'P1066', {'concept': 'Q502895'}] ['Q1339', 'P1066', {'concept': 'Q502895'}] ['Q254', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . VALUES ( ?t ) { ( resource:Q343394 ) ( resource:Q5125310 ) ( resource:Q3147213 ) } . ?t property:P1066 ?a }
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
action filter_type
action find
entity prev_answer
relation student of
type common name
['John Cale', 'student of', {'concept': 'common name'}] ['Johann Sebastian Bach', 'student of', {'concept': 'common name'}] ['Wolfgang Amadeus Mozart', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . VALUES ( ?t ) { ( resource:İbrahim_Tatlıses ) ( resource:Claire_Schapira ) ( resource:Iakovos_Pappas ) } . ?t property:student_of ?a }
[]
common name
Q106641 Q152880 Q309470
SYSTEM
Johann Christian Bach, Iannis Xenakis, Johann Ambrosius Bach
Q1351430 Q19364441 Q181936 Q954386 Q152880 Q309470 Q106641 Q550279
(Q45909,P1066,c(Q502895)) (Q1339,P1066,c(Q502895)) (Q254,P1066,c(Q502895))
action filter_type
action find
entity prev_answer
relation P1066
type Q502895
[ANSWERS] were the teachers of those ones
['Q45909', 'P1066', {'concept': 'Q502895'}] ['Q1339', 'P1066', {'concept': 'Q502895'}] ['Q254', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . VALUES ( ?t ) { ( resource:Q343394 ) ( resource:Q5125310 ) ( resource:Q3147213 ) } . ?t property:P1066 ?a }
Humphrey Searle Gwynne Edwards F. Murray Abraham Paul Steinitz Iannis Xenakis Johann Ambrosius Bach Johann Christian Bach Johann Schobert
Johann Christian Bach, Iannis Xenakis and Johann Ambrosius Bach were the teachers of those ones
Johann Christian Bach Iannis Xenakis Johann Ambrosius Bach
action filter_type
action find
entity prev_answer
relation student of
type common name
['John Cale', 'student of', {'concept': 'common name'}] ['Johann Sebastian Bach', 'student of', {'concept': 'common name'}] ['Wolfgang Amadeus Mozart', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . VALUES ( ?t ) { ( resource:İbrahim_Tatlıses ) ( resource:Claire_Schapira ) ( resource:Iakovos_Pappas ) } . ?t property:student_of ?a }
[]
Clarification
Simple Question|Single Entity|Indirect
Q309470
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q309470)
action filter_type
action find
entity Q309470
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q309470']
SELECT DISTINCT ?v WHERE { resource:Q309470 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Johann Ambrosius Bach
action filter_type
action find
entity Johann Ambrosius Bach
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Johann Ambrosius Bach']
SELECT DISTINCT ?v WHERE { resource:Johann_Ambrosius_Bach property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q309470
SYSTEM
Did you mean Johann Ambrosius Bach ?
Q106641 Q152880 Q309470
(c(Q502895),P26,Q106641) (c(Q502895),P26,Q152880) (c(Q502895),P26,Q309470)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q106641'] [{'concept': 'Q502895'}, 'P26', 'Q152880'] [{'concept': 'Q502895'}, 'P26', 'Q309470']
SELECT DISTINCT ?v WHERE { resource:Q309470 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Johann Christian Bach Iannis Xenakis Johann Ambrosius Bach
Did you mean Johann Ambrosius Bach ?
Johann Ambrosius Bach
[{'concept': 'common name'}, 'spouse', 'Johann Christian Bach'] [{'concept': 'common name'}, 'spouse', 'Iannis Xenakis'] [{'concept': 'common name'}, 'spouse', 'Johann Ambrosius Bach']
SELECT DISTINCT ?v WHERE { resource:Johann_Ambrosius_Bach property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P26,Q309470)
[{'concept': 'Q502895'}, 'P26', 'Q309470']
[{'concept': 'common name'}, 'spouse', 'Johann Ambrosius Bach']
[]
Q66671
SYSTEM
Maria Elisabeth Lämmerhirt
Q66671
(c(Q502895),P26,Q309470)
action filter_type
action find
entity Q309470
relation P26
type Q502895
The spouse of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q309470']
SELECT DISTINCT ?v WHERE { resource:Q309470 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Maria Elisabeth Lämmerhirt
The spouse of that one is the Maria Elisabeth Lämmerhirt
Maria Elisabeth Lämmerhirt
action filter_type
action find
entity Johann Ambrosius Bach
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Johann Ambrosius Bach']
SELECT DISTINCT ?v WHERE { resource:Johann_Ambrosius_Bach property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q106641
P21 P7
Q502895
USER
Which people have Johann Christian Bach as their sibling and have the gender as male ?
AND((c(Q502895),P7,Q106641), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q106641
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q106641'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P7 resource:Q106641 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male Johann Christian Bach
action filter_type
action intersection
action find_reverse
entity Johann Christian Bach
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Johann Christian Bach'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:brother resource:Johann_Christian_Bach . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q107277 Q21042303 Q21042307 Q710996 Q21042316 Q76428 Q470198 Q21029012 Q57225 Q21029016
SYSTEM
Wilhelm Friedemann Bach, Johann August Abraham Bach, Ernestus Andreas Bach, Gottfried Heinrich Bach, Christian Gottlieb Bach, Carl Philipp Emanuel Bach, Johann Gottfried Bernhard Bach, Johann Christoph Bach, Johann Christoph Friedrich Bach, Léopold Augustus Bach
Q107277 Q21042303 Q21042307 Q710996 Q21042316 Q76428 Q470198 Q21029012 Q57225 Q21029016
AND((c(Q502895),P7,Q106641), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q106641
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Johann Christian Bach as their sibling and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q106641'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P7 resource:Q106641 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Wilhelm Friedemann Bach Johann August Abraham Bach Ernestus Andreas Bach Gottfried Heinrich Bach Christian Gottlieb Bach Carl Philipp Emanuel Bach Johann Gottfried Bernhard Bach Johann Christoph Bach Johann Christoph Friedrich Bach Léopold Augustus Bach
Wilhelm Friedemann Bach, Johann August Abraham Bach, Ernestus Andreas Bach, Gottfried Heinrich Bach, Christian Gottlieb Bach, Carl Philipp Emanuel Bach, Johann Gottfried Bernhard Bach, Johann Christoph Bach, Johann Christoph Friedrich Bach and Léopold Augustus Bach have Johann Christian Bach as their sibling and have the gender as male
Wilhelm Friedemann Bach Johann August Abraham Bach Ernestus Andreas Bach Gottfried Heinrich Bach Christian Gottlieb Bach Carl Philipp Emanuel Bach Johann Gottfried Bernhard Bach Johann Christoph Bach Johann Christoph Friedrich Bach Léopold Augustus Bach
action filter_type
action intersection
action find_reverse
entity Johann Christian Bach
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Johann Christian Bach'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:brother resource:Johann_Christian_Bach . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q152880
P1066
Q502895
USER
How many people are students of Iannis Xenakis ?
(c(Q502895),P1066,Q152880)
action count
action filter_type
action find_reverse
entity Q152880
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q152880']
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P1066 resource:Q152880 . ?v rdf:type ontology:Q502895 }
Iannis Xenakis
action count
action filter_type
action find_reverse
entity Iannis Xenakis
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Iannis Xenakis']
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:student_of resource:Iannis_Xenakis . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q45909
(c(Q502895),P1066,Q152880)
action count
action filter_type
action find_reverse
entity Q152880
relation P1066
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q152880']
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P1066 resource:Q152880 . ?v rdf:type ontology:Q502895 }
John Cale
1
action count
action filter_type
action find_reverse
entity Iannis Xenakis
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Iannis Xenakis']
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:student_of resource:Iannis_Xenakis . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1319677 Q4185360
P710 P57
Q502895
USER
Which people directed I Love Hong Kong 2012 or were the artist who participated in 2001 World Single Distance Speed Skating Championships ?
OR((Q4185360,P57,c(Q502895)), (Q1319677,P710,c(Q502895)))
action filter_type
action union
action find
entity Q4185360
relation P57
action find
entity Q1319677
relation P710
type Q502895
{'OR': [['Q4185360', 'P57', {'concept': 'Q502895'}], ['Q1319677', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q4185360 property:P57 ?w } UNION { resource:Q1319677 property:P710 ?w } } . ?w rdf:type ontology:Q502895 }
2001 World Single Distance Speed Skating Championships I Love Hong Kong 2012
action filter_type
action union
action find
entity I Love Hong Kong 2012
relation director
action find
entity 2001 World Single Distance Speed Skating Championships
relation participant
type common name
{'OR': [['I Love Hong Kong 2012', 'director', {'concept': 'common name'}], ['2001 World Single Distance Speed Skating Championships', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:I_Love_Hong_Kong_2012 property:director ?w } UNION { resource:2001_World_Single_Distance_Speed_Skating_Championships property:participant ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q1040930 Q268338 Q492161 Q942063 Q142672 Q438462 Q261272 Q7203202 Q60288 Q70552
SYSTEM
Some of them are Carl Verheijen, Svetlana Zhurova, Gianni Romme, Vadim Sayutin, Cindy Klassen, Sabine Völker, Catriona Le May Doan, Chung Shu-kai, Gunda Niemann-Stirnemann, Anni Friesinger-Postma
Q60288 Q1343453 Q13091171 Q1040930 Q133526 Q268338 Q261272 Q1047201 Q492196 Q735957 Q707513 Q242827 Q7203202 Q57415 Q70552 Q492161 Q142672 Q270822 Q942063 Q438462 Q438683 Q2443362
OR((Q4185360,P57,c(Q502895)), (Q1319677,P710,c(Q502895)))
action filter_type
action union
action find
entity Q4185360
relation P57
action find
entity Q1319677
relation P710
type Q502895
[ANSWERS] directed I Love Hong Kong 2012 or were the artist who participated in 2001 World Single Distance Speed Skating Championships
{'OR': [['Q4185360', 'P57', {'concept': 'Q502895'}], ['Q1319677', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q4185360 property:P57 ?w } UNION { resource:Q1319677 property:P710 ?w } } . ?w rdf:type ontology:Q502895 }
Gunda Niemann-Stirnemann Erben Wennemars Wilson Chin Carl Verheijen Bob de Jong Svetlana Zhurova Catriona Le May Doan Casey FitzRandolph Derek Parra Hiroyasu Shimizu Jeremy Wotherspoon Maki Tabata Chung Shu-kai Claudia Pechstein Anni Friesinger-Postma Gianni Romme Cindy Klassen Ådne Søndrål Vadim Sayutin Sabine Völker Monique Garbrecht Sergey Klevchenya
Carl Verheijen, Svetlana Zhurova, Gianni Romme, Vadim Sayutin, Cindy Klassen, Sabine Völker, Catriona Le May Doan, Chung Shu-kai, Gunda Niemann-Stirnemann and Anni Friesinger-Postma directed I Love Hong Kong 2012 or were the artist who participated in 2001 World Single Distance Speed Skating Championships
Carl Verheijen Svetlana Zhurova Gianni Romme Vadim Sayutin Cindy Klassen Sabine Völker Catriona Le May Doan Chung Shu-kai Gunda Niemann-Stirnemann Anni Friesinger-Postma
action filter_type
action union
action find
entity I Love Hong Kong 2012
relation director
action find
entity 2001 World Single Distance Speed Skating Championships
relation participant
type common name
{'OR': [['I Love Hong Kong 2012', 'director', {'concept': 'common name'}], ['2001 World Single Distance Speed Skating Championships', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:I_Love_Hong_Kong_2012 property:director ?w } UNION { resource:2001_World_Single_Distance_Speed_Skating_Championships property:participant ?w } } . ?w rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3561870
P144
Q838948 Q2342494 Q15850590
USER
How many works of art are more number of collectables and theatrical genres adapted from than Inherit the Wind ?
(c(Q2342494)|c(Q15850590),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q3561870
relation P144
type Q2342494
type Q15850590
[[{'concept': 'Q2342494'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?a ) WHERE { { ?n property:P144 ?i . ?i rdf:type ontology:Q838948 . ?n rdf:type ontology:Q2342494 } UNION { ?n property:P144 ?i . ?i rdf:type ontology:Q838948 . ?n rdf:type ontology:Q15850590 } } GROUP BY ?i } . FILTER ( ?a > ?k ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P144 resource:Q3561870 . { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q15850590 } } } } }
Inherit the Wind
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action find_reverse_tuple_counts
relation based on
type work of art
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Inherit the Wind
relation based on
type collectable
type theatrical genre
[[{'concept': 'collectable'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?a ) WHERE { { ?n property:based_on ?i . ?i rdf:type ontology:work_of_art . ?n rdf:type ontology:collectable } UNION { ?n property:based_on ?i . ?i rdf:type ontology:work_of_art . ?n rdf:type ontology:theatrical_genre } } GROUP BY ?i } . FILTER ( ?a > ?k ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:based_on resource:Inherit_the_Wind . { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:theatrical_genre } } } } }
[]
work of art collectable theatrical genre
SYSTEM
132
Q86440 Q23011501 Q193570 Q137754 Q6738028 Q130283 Q673381 Q49003 Q5095462 Q2714218 Q148643 Q3136443 Q208204 Q4135545 Q1125010 Q213081 Q4892107 Q206400 Q7750649 Q635441 Q467254 Q26694404 Q320594 Q8119109 Q83186 Q2104352 Q1466657 Q42051 Q7741868 Q3221232 Q583705 Q20736738 Q844836 Q204670 Q3822364 Q637787 Q20342716 Q1164094 Q26862216 Q16386982 Q130851 Q200299 Q6506677 Q652182 Q1125255 Q3423702 Q1048916 Q432923 Q837070 Q3085278 Q1211843 Q3136222 Q637200 Q41567 Q3203362 Q3101494 Q458629 Q4150068 Q165713 Q26833 Q7441771 Q17042085 Q624720 Q7769365 Q1056698 Q7745183 Q852493 Q969098 Q607524 Q3635914 Q538042 Q4114270 Q506505 Q129253 Q29478 Q232042 Q1196012 Q6946391 Q1433065 Q2574548 Q2961533 Q2849443 Q7749005 Q7797624 Q632743 Q3486978 Q1246408 Q255328 Q498408 Q4305148 Q691611 Q294001 Q27777105 Q500093 Q502153 Q893665 Q221103 Q315732 Q834530 Q334780 Q41132 Q1528825 Q221211 Q3292828 Q4315458 Q143688 Q104871 Q3815650 Q154003 Q7484826 Q12049615 Q1249536 Q6983620 Q1199684 Q475044 Q300532 Q103569 Q1248248 Q2549073 Q26700535 Q688919 Q1380376 Q6411990 Q217182 Q21914456 Q21914445 Q4190252 Q3265982 Q1232053 Q4379900 Q549927 Q181069
(c(Q2342494)|c(Q15850590),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q3561870
relation P144
type Q2342494
type Q15850590
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?a ) WHERE { { ?n property:P144 ?i . ?i rdf:type ontology:Q838948 . ?n rdf:type ontology:Q2342494 } UNION { ?n property:P144 ?i . ?i rdf:type ontology:Q838948 . ?n rdf:type ontology:Q15850590 } } GROUP BY ?i } . FILTER ( ?a > ?k ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P144 resource:Q3561870 . { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q15850590 } } } } }
The Tempest Norma, ou L'infanticide Sunset Boulevard Once Major Barbara Macbeth Bánk bán Ghost Chicago The Trickster of Seville and the Stone Guest Oedipus Rex His Dark Materials Finding Neverland Henry IV (play) The Maid of Orleans Star Trek Berkeley Square The Merchant of Venice The Matchmaker Black Coffee Cactus Flower La houppelande Abhijñānaśākuntalam Sardanapalus Romeo and Juliet Grey Gardens 9 to 5 Star Wars: Episode III – Revenge of the Sith The Indian Queen The Miserly Knight La Celestina Kullervo The Merry Wives of Windsor An Inconvenient Truth La figlia di Iorio Le Cid St Patrick's Day R.U.R. Virineya Merrily We Roll Along Much Ado About Nothing All About Eve Le Chandelier Pelléas and Mélisande Hernani I Am a Camera Cyrano de Bergerac Old Heidelberg Smiles of a Summer Night Ruy Blas Pandora's Box Madame Sans-Gêne (play) Pygmalion Hamlet The Exception and the Rule La Cage aux Folles Billy Elliot The Storm Star Wars: Episode I – The Phantom Menace Othello The Makropulos Affair The Flowering Peach Natalka Poltavka The Time of the Cuckoo Newsies The Lady of Lyons La Tosca Phèdre Destry Rides Again The Fish That Saved Pittsburgh Urban Cowboy The Voyevoda The Comedy of Errors Pygmalion Faust The Two Gentlemen of Verona Britannicus My Sister Eileen The World of Henry Orient Thoroughly Modern Millie Chatterton Angelo, Tyrant of Padua The Love of the Nightingale Three Men on a Horse The Barber of Seville Smile Alcestis The Adventures of Priscilla, Queen of the Desert Don Carlos Mozart and Salieri Serenity Oedipus at Colonus Two for the Seesaw Legally Blonde The Snow Maiden Boris Godunov Halloween The Producers The Fearless Vampire Killers Moonraker Barbarella Hairspray Twelfth Night Marie Tudor Don't Live as You Like The Stone Guest A Midsummer Night's Dream Kismet The Breasts of Tiresias The Lantern Four-Cornered Hat The Scarlet Pimpernel Naši furianti The Marriage of Figaro Amphitryon A Raisin in the Sun Alien Liliom Spring Awakening Têtes rondes et Cavaliers The Visit Waitress King René's Daughter Edward Scissorhands Blanche et Montcassin, ou Les Vénitiens Fernande Green Grow the Lilacs Lucrèce Borgia The Mistress of the Inn The Rainmaker Epicœne, or The silent woman Star Wars Episode II: Attack of the Clones
132
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action find_reverse_tuple_counts
relation based on
type work of art
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Inherit the Wind
relation based on
type collectable
type theatrical genre
[[{'concept': 'collectable'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?a ) WHERE { { ?n property:based_on ?i . ?i rdf:type ontology:work_of_art . ?n rdf:type ontology:collectable } UNION { ?n property:based_on ?i . ?i rdf:type ontology:work_of_art . ?n rdf:type ontology:theatrical_genre } } GROUP BY ?i } . FILTER ( ?a > ?k ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:based_on resource:Inherit_the_Wind . { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:theatrical_genre } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q49003
P144
Q838948 Q2342494 Q15850590
USER
And also tell me about Ghost?
(c(Q2342494)|c(Q15850590),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q49003
relation P144
type Q2342494
type Q15850590
[[{'concept': 'Q2342494'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?o WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P144 resource:Q49003 . { { ?i rdf:type ontology:Q2342494 } UNION { ?i rdf:type ontology:Q15850590 } } } } . FILTER ( ?a > ?v ) }
Ghost
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action find_reverse_tuple_counts
relation based on
type work of art
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Ghost
relation based on
type collectable
type theatrical genre
[[{'concept': 'collectable'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?o WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:based_on resource:Ghost . { { ?i rdf:type ontology:collectable } UNION { ?i rdf:type ontology:theatrical_genre } } } } . FILTER ( ?a > ?v ) }
[]
work of art collectable theatrical genre
SYSTEM
13
Q130283 Q1125010 Q83186 Q637787 Q3136222 Q26833 Q129253 Q29478 Q2849443 Q632743 Q1246408 Q221211 Q104871
(c(Q2342494)|c(Q15850590),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q49003
relation P144
type Q2342494
type Q15850590
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?o WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P144 resource:Q49003 . { { ?i rdf:type ontology:Q2342494 } UNION { ?i rdf:type ontology:Q15850590 } } } } . FILTER ( ?a > ?v ) }
Macbeth The Maid of Orleans Romeo and Juliet Le Cid Madame Sans-Gêne (play) Othello Pygmalion Faust Angelo, Tyrant of Padua The Barber of Seville Alcestis Twelfth Night A Midsummer Night's Dream
13
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action find_reverse_tuple_counts
relation based on
type work of art
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Ghost
relation based on
type collectable
type theatrical genre
[[{'concept': 'collectable'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?o WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:based_on resource:Ghost . { { ?i rdf:type ontology:collectable } UNION { ?i rdf:type ontology:theatrical_genre } } } } . FILTER ( ?a > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1319677
P1344
Q502895
USER
Which people participated in 2001 World Single Distance Speed Skating Championships ?
(c(Q502895),P1344,Q1319677)
action filter_type
action find_reverse
entity Q1319677
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q1319677']
SELECT DISTINCT ?p WHERE { ?p property:P1344 resource:Q1319677 . ?p rdf:type ontology:Q502895 }
2001 World Single Distance Speed Skating Championships
action filter_type
action find_reverse
entity 2001 World Single Distance Speed Skating Championships
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', '2001 World Single Distance Speed Skating Championships']
SELECT DISTINCT ?p WHERE { ?p property:participant_of resource:2001_World_Single_Distance_Speed_Skating_Championships . ?p rdf:type ontology:common_name }
[]
common name
Q57415 Q60288 Q279318
SYSTEM
Claudia Pechstein, Gunda Niemann-Stirnemann, Tonny de Jong
Q1711056 Q60288 Q22342406 Q279318 Q57415 Q3913107 Q7616127 Q795407 Q1376650 Q861786 Q2410953
(c(Q502895),P1344,Q1319677)
action filter_type
action find_reverse
entity Q1319677
relation P1344
type Q502895
[ANSWERS] participated in 2001 World Single Distance Speed Skating Championships
[{'concept': 'Q502895'}, 'P1344', 'Q1319677']
SELECT DISTINCT ?p WHERE { ?p property:P1344 resource:Q1319677 . ?p rdf:type ontology:Q502895 }
Mike Ireland Gunda Niemann-Stirnemann Mark Knoll Tonny de Jong Claudia Pechstein Krisy Myers Stian Bjørge Anzhelika Kotyuga Johan Röjler Eriko Sanmiya Petter Andersen
Claudia Pechstein, Gunda Niemann-Stirnemann and Tonny de Jong participated in 2001 World Single Distance Speed Skating Championships
Claudia Pechstein Gunda Niemann-Stirnemann Tonny de Jong
action filter_type
action find_reverse
entity 2001 World Single Distance Speed Skating Championships
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', '2001 World Single Distance Speed Skating Championships']
SELECT DISTINCT ?p WHERE { ?p property:participant_of resource:2001_World_Single_Distance_Speed_Skating_Championships . ?p rdf:type ontology:common_name }
[]