Simple Question (Direct)
Simple Question
Q6497605
P54
Q1194951
USER
Which national sports team is Lau Chi Keung a member of ?
(Q6497605,P54,c(Q1194951))
action filter_type
action find
entity Q6497605
relation P54
type Q1194951
['Q6497605', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q6497605 property:P54 ?z . ?z rdf:type ontology:Q1194951 }
Lau Chi Keung
action filter_type
action find
entity Lau Chi Keung
relation member of sports team
type national sports team
['Lau Chi Keung', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:Lau_Chi_Keung property:member_of_sports_team ?z . ?z rdf:type ontology:national_sports_team }
[]
national sports team
Q242119
SYSTEM
Hong Kong national football team
Q242119
(Q6497605,P54,c(Q1194951))
action filter_type
action find
entity Q6497605
relation P54
type Q1194951
The [ANSWER] is Lau Chi Keung a member of
['Q6497605', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q6497605 property:P54 ?z . ?z rdf:type ontology:Q1194951 }
Hong Kong national football team
The Hong Kong national football team is Lau Chi Keung a member of
Hong Kong national football team
action filter_type
action find
entity Lau Chi Keung
relation member of sports team
type national sports team
['Lau Chi Keung', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:Lau_Chi_Keung property:member_of_sports_team ?z . ?z rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6497605
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Lau Chi Keung ?
(Q6497605,P27,c(Q15617994))
action filter_type
action find
entity Q6497605
relation P27
type Q15617994
['Q6497605', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6497605 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Lau Chi Keung
action filter_type
action find
entity Lau Chi Keung
relation country of citizenship
type designation for an administrative territorial entity
['Lau Chi Keung', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Lau_Chi_Keung property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q6497605,P27,c(Q15617994))
action filter_type
action find
entity Q6497605
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Lau Chi Keung
['Q6497605', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6497605 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China is the country of citizenship of Lau Chi Keung
People's Republic of China
action filter_type
action find
entity Lau Chi Keung
relation country of citizenship
type designation for an administrative territorial entity
['Lau Chi Keung', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Lau_Chi_Keung property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6497605
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q148,P106,c(Q12737077))
action filter_type
action find
entity Q6497605
relation P106
type Q12737077
['Q148', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q6497605 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Lau Chi Keung
action filter_type
action find
entity Lau Chi Keung
relation occupation
type occupation
["People's Republic of China", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Lau_Chi_Keung property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q148,P106,c(Q12737077))
action filter_type
action find
entity Q6497605
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q148', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q6497605 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football manager association football player
The professions of that person are association football manager and association football player
association football manager association football player
action filter_type
action find
entity Lau Chi Keung
relation occupation
type occupation
["People's Republic of China", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Lau_Chi_Keung property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6165498
P106
Q502895
USER
Do Víctor García Toma have the profession of those occupations ?
(Q6165498,P106,Q628099) (Q6165498,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q6165498
relation P106
['Q6165498', 'P106', 'Q628099'] ['Q6165498', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?q ) { ( resource:Q628099 ) ( resource:Q937857 ) } . resource:Q6165498 property:P106 ?q }
Víctor García Toma
action is_in
entity prev_answer
action find
entity Víctor García Toma
relation occupation
['Víctor García Toma', 'occupation', 'association football manager'] ['Víctor García Toma', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?q ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . resource:Víctor_García_Toma property:occupation ?q }
[]
common name
SYSTEM
NO
(Q6165498,P106,Q628099) (Q6165498,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q6165498
relation P106
[ANSWER]
['Q6165498', 'P106', 'Q628099'] ['Q6165498', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?q ) { ( resource:Q628099 ) ( resource:Q937857 ) } . resource:Q6165498 property:P106 ?q }
No
action is_in
entity prev_answer
action find
entity Víctor García Toma
relation occupation
['Víctor García Toma', 'occupation', 'association football manager'] ['Víctor García Toma', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?q ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . resource:Víctor_García_Toma property:occupation ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P1408
Q58778
USER
Which system has license to broadcast to People's Republic of China ?
(c(Q58778),P1408,Q148)
action filter_type
action find_reverse
entity Q148
relation P1408
type Q58778
[{'concept': 'Q58778'}, 'P1408', 'Q148']
SELECT DISTINCT ?j WHERE { ?j property:P1408 resource:Q148 . ?j rdf:type ontology:Q58778 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation licensed to broadcast to
type system
[{'concept': 'system'}, 'licensed to broadcast to', "People's Republic of China"]
SELECT DISTINCT ?j WHERE { ?j property:licensed_to_broadcast_to resource:People's_Republic_of_China . ?j rdf:type ontology:system }
[]
system
Q19850058
SYSTEM
Lonely Gourmet
Q19850058
(c(Q58778),P1408,Q148)
action filter_type
action find_reverse
entity Q148
relation P1408
type Q58778
[ANSWER] has license to broadcast to People's Republic of China
[{'concept': 'Q58778'}, 'P1408', 'Q148']
SELECT DISTINCT ?j WHERE { ?j property:P1408 resource:Q148 . ?j rdf:type ontology:Q58778 }
Lonely Gourmet
Lonely Gourmet has license to broadcast to People's Republic of China
Lonely Gourmet
action filter_type
action find_reverse
entity People's Republic of China
relation licensed to broadcast to
type system
[{'concept': 'system'}, 'licensed to broadcast to', "People's Republic of China"]
SELECT DISTINCT ?j WHERE { ?j property:licensed_to_broadcast_to resource:People's_Republic_of_China . ?j rdf:type ontology:system }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19850058
P161
Q502895
USER
Who starred in that system ?
(Q19850058,P161,c(Q502895))
action filter_type
action find
entity Q19850058
relation P161
type Q502895
['Q19850058', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q19850058 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Lonely Gourmet
action filter_type
action find
entity Lonely Gourmet
relation cast member
type common name
['Lonely Gourmet', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Lonely_Gourmet property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
common name
Q713104 Q710548 Q3667105
SYSTEM
Shara Lin, Winston Chao, Chen Chien-chou
Q15929333 Q9115378 Q9088389 Q8925293 Q9370885 Q9131404 Q710548 Q16176634 Q8962449 Q20688894 Q9441537 Q9427328 Q9204508 Q11146732 Q19853645 Q20740130 Q9366497 Q9052133 Q8956787 Q8975624 Q12972526 Q9435292 Q18398213 Q9092846 Q15931134 Q713104 Q9092868 Q8942752 Q9106954 Q9093414 Q8985422 Q9129664 Q9107290 Q9193769 Q6629417 Q3667105 Q9089902
(Q19850058,P161,c(Q502895))
action filter_type
action find
entity Q19850058
relation P161
type Q502895
[ANSWERS] starred in that system
['Q19850058', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q19850058 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Zhang Qin Bright Pu David Chao Qian De Men Ginger Chen Chu Chung-heng Winston Chao Fabien Yang Kou Fung Ji Jun-Wei Jo'elle Lu Ah Ben Ben Lee Ariel Ann Xiao Yao Paul Lee Nylon Chen Tang Chih-wei Cherry Hsia Soso Tseng Wasir Chou Juby Qiu XinYi Taibao Eunice Liao Shara Lin Chang Kuo-Chu Victor Chen Xiu Jie Kai Xiao Tian Tian Mark Lee Luo Hong Zheng Fion Fu Zhu Lu-Hao Lu Ting-Wei Chen Chien-chou Tracy Chou
Shara Lin, Winston Chao and Chen Chien-chou starred in that system
Shara Lin Winston Chao Chen Chien-chou
action filter_type
action find
entity Lonely Gourmet
relation cast member
type common name
['Lonely Gourmet', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Lonely_Gourmet property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 1331 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1331
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?w = 1331 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1331
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?w = 1331 ) }
[]
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 Q1444 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 1331
[ANSWERS] are played by around 1331 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?w = 1331 ) }
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 organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by around 1331 people
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1331
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?w = 1331 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1178361 Q81982 Q1759986
P1303
Q502895
USER
Who 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 ?m WHERE { ?m rdf:type ontology:Q502895 . VALUES ( ?q ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q201129 ) } . ?m property:P1303 ?q }
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 ?m WHERE { ?m rdf:type ontology:common_name . VALUES ( ?q ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } . ?m property:instrument ?q }
[]
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] play those musical instruments
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . VALUES ( ?q ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q201129 ) } . ?m property:P1303 ?q }
İ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 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 ?m WHERE { ?m rdf:type ontology:common_name . VALUES ( ?q ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } . ?m property:instrument ?q }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q45909 Q1339 Q254
P22
Q502895
USER
Which people have John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart as dad ?
(c(Q502895),P22,Q45909) (c(Q502895),P22,Q1339) (c(Q502895),P22,Q254)
action union
action filter_type
action find_reverse
entity Q45909
relation P22
type Q502895
action filter_type
action find_reverse
entity Q1339
relation P22
type Q502895
action filter_type
action find_reverse
entity Q254
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q45909'] [{'concept': 'Q502895'}, 'P22', 'Q1339'] [{'concept': 'Q502895'}, 'P22', 'Q254']
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q45909 } UNION { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q1339 } }
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
action union
action filter_type
action find_reverse
entity John Cale
relation father
type common name
action filter_type
action find_reverse
entity Johann Sebastian Bach
relation father
type common name
action filter_type
action find_reverse
entity Wolfgang Amadeus Mozart
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Cale'] [{'concept': 'common name'}, 'father', 'Johann Sebastian Bach'] [{'concept': 'common name'}, 'father', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:common_name . ?q property:father resource:John_Cale } UNION { ?q rdf:type ontology:common_name . ?q property:father resource:Johann_Sebastian_Bach } }
[]
common name
Q76428 Q106641 Q107277
SYSTEM
Carl Philipp Emanuel Bach, Johann Christian Bach, Wilhelm Friedemann Bach
Q4551117 Q15079141 Q470198 Q76428 Q15735857 Q21042316 Q106641 Q21042273 Q21042256 Q21042259 Q710996 Q57225 Q107277 Q21042280 Q21042284 Q21029012 Q21029017 Q21029016 Q21029009 Q21042303 Q21042307 Q156023 Q452098
(c(Q502895),P22,Q45909) (c(Q502895),P22,Q1339) (c(Q502895),P22,Q254)
action union
action filter_type
action find_reverse
entity Q45909
relation P22
type Q502895
action filter_type
action find_reverse
entity Q1339
relation P22
type Q502895
action filter_type
action find_reverse
entity Q254
relation P22
type Q502895
[ANSWERS] have John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart as dad
[{'concept': 'Q502895'}, 'P22', 'Q45909'] [{'concept': 'Q502895'}, 'P22', 'Q1339'] [{'concept': 'Q502895'}, 'P22', 'Q254']
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q45909 } UNION { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q1339 } }
Eden Cale Catharina Dorothea Bach Johann Gottfried Bernhard Bach Carl Philipp Emanuel Bach Elisabeth Juliana Friderica Bach Christian Gottlieb Bach Johann Christian Bach Christiana Dorothea Bach Regina Susanna Bach Johanna Carolina Bach Gottfried Heinrich Bach Johann Christoph Friedrich Bach Wilhelm Friedemann Bach Christiana Benedicta Louisa Regina Johanna Bach Johann Christoph Bach Christiana Sophia Enrietta Léopold Augustus Bach Maria Sophia Bach Johann August Abraham Bach Ernestus Andreas Bach Franz Xaver Wolfgang Mozart Karl Thomas Mozart
Carl Philipp Emanuel Bach, Johann Christian Bach and Wilhelm Friedemann Bach have John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart as dad
Carl Philipp Emanuel Bach Johann Christian Bach Wilhelm Friedemann Bach
action union
action filter_type
action find_reverse
entity John Cale
relation father
type common name
action filter_type
action find_reverse
entity Johann Sebastian Bach
relation father
type common name
action filter_type
action find_reverse
entity Wolfgang Amadeus Mozart
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Cale'] [{'concept': 'common name'}, 'father', 'Johann Sebastian Bach'] [{'concept': 'common name'}, 'father', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:common_name . ?q property:father resource:John_Cale } UNION { ?q rdf:type ontology:common_name . ?q property:father resource:Johann_Sebastian_Bach } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q76428
P53
Q874405
USER
What is the royal family that that person is a part of ?
(Q76428,P53,c(Q874405))
action filter_type
action find
entity Q76428
relation P53
type Q874405
['Q76428', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q874405 . resource:Q76428 property:P53 ?p }
Carl Philipp Emanuel Bach
action filter_type
action find
entity Carl Philipp Emanuel Bach
relation noble family
type social group
['Carl Philipp Emanuel Bach', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:social_group . resource:Carl_Philipp_Emanuel_Bach property:noble_family ?p }
[]
social group
Clarification for simple ques.
Q107277
SYSTEM
Did you mean Wilhelm Friedemann Bach ?
Q76428 Q106641 Q107277
(Q76428,P53,c(Q874405)) (Q106641,P53,c(Q874405)) (Q107277,P53,c(Q874405))
[ANSWER]
['Q76428', 'P53', {'concept': 'Q874405'}] ['Q106641', 'P53', {'concept': 'Q874405'}] ['Q107277', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q874405 . resource:Q76428 property:P53 ?p }
Carl Philipp Emanuel Bach Johann Christian Bach Wilhelm Friedemann Bach
Did you mean Wilhelm Friedemann Bach ?
Wilhelm Friedemann Bach
['Carl Philipp Emanuel Bach', 'noble family', {'concept': 'social group'}] ['Johann Christian Bach', 'noble family', {'concept': 'social group'}] ['Wilhelm Friedemann Bach', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:social_group . resource:Carl_Philipp_Emanuel_Bach property:noble_family ?p }
[]
Simple Question (Coreferenced)
USER
No, I meant Carl Philipp Emanuel Bach. Could you tell me the answer for that?
(Q76428,P53,c(Q874405))
Q76428
['Q76428', 'P53', {'concept': 'Q874405'}]
['Carl Philipp Emanuel Bach', 'noble family', {'concept': 'social group'}]
[]
Q169509
SYSTEM
Bach family
Q169509
(Q76428,P53,c(Q874405))
action filter_type
action find
entity Q76428
relation P53
type Q874405
The royal family that person is a part of is a [ANSWER]
['Q76428', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q874405 . resource:Q76428 property:P53 ?p }
Bach family
The royal family that person is a part of is a Bach family
Bach family
action filter_type
action find
entity Carl Philipp Emanuel Bach
relation noble family
type social group
['Carl Philipp Emanuel Bach', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:social_group . resource:Carl_Philipp_Emanuel_Bach property:noble_family ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q76428 Q5065421
P106
Q12737077
USER
How many occupations are the professions of Carl Philipp Emanuel Bach and Cesar Camargo Mariano ?
(Q76428,P106,c(Q12737077)) (Q5065421,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q76428
relation P106
type Q12737077
action filter_type
action find
entity Q5065421
relation P106
type Q12737077
['Q76428', 'P106', {'concept': 'Q12737077'}] ['Q5065421', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q76428 property:P106 ?t . ?t rdf:type ontology:Q12737077 . resource:Q5065421 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Carl Philipp Emanuel Bach Cesar Camargo Mariano
action count
action intersection
action filter_type
action find
entity Carl Philipp Emanuel Bach
relation occupation
type occupation
action filter_type
action find
entity Cesar Camargo Mariano
relation occupation
type occupation
['Carl Philipp Emanuel Bach', 'occupation', {'concept': 'occupation'}] ['Cesar Camargo Mariano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Carl_Philipp_Emanuel_Bach property:occupation ?t . ?t rdf:type ontology:occupation . resource:Cesar_Camargo_Mariano property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q36834 Q486748
(Q76428,P106,c(Q12737077)) (Q5065421,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q76428
relation P106
type Q12737077
action filter_type
action find
entity Q5065421
relation P106
type Q12737077
[ANSWER]
['Q76428', 'P106', {'concept': 'Q12737077'}] ['Q5065421', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q76428 property:P106 ?t . ?t rdf:type ontology:Q12737077 . resource:Q5065421 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
composer pianist
2
action count
action intersection
action filter_type
action find
entity Carl Philipp Emanuel Bach
relation occupation
type occupation
action filter_type
action find
entity Cesar Camargo Mariano
relation occupation
type occupation
['Carl Philipp Emanuel Bach', 'occupation', {'concept': 'occupation'}] ['Cesar Camargo Mariano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Carl_Philipp_Emanuel_Bach property:occupation ?t . ?t rdf:type ontology:occupation . resource:Cesar_Camargo_Mariano property:occupation ?t . ?t rdf:type ontology:occupation }
[]