Simple Question (Direct)
Simple Question
Q62041
P1038
Q502895
USER
Which people are relatives of Elisabeth Christine of Brunswick-Wolfenbüttel, Crown Princess of Prussia ?
(Q62041,P1038,c(Q502895))
action filter_type
action find
entity Q62041
relation P1038
type Q502895
['Q62041', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q62041 property:P1038 ?w . ?w rdf:type ontology:Q502895 }
Elisabeth Christine of Brunswick-Wolfenbüttel, Crown Princess of Prussia
action filter_type
action find
entity Elisabeth Christine of Brunswick-Wolfenbüttel, Crown Princess of Prussia
relation relative
type common name
['Elisabeth Christine of Brunswick-Wolfenbüttel, Crown Princess of Prussia', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Elisabeth_Christine_of_Brunswick-Wolfenbüttel,_Crown_Princess_of_Prussia property:relative ?w . ?w rdf:type ontology:common_name }
[]
common name
Q551726 Q152229
SYSTEM
Frederick, Landgrave of Hesse-Eschwege, Frederick William II of Prussia
Q551726 Q152229
(Q62041,P1038,c(Q502895))
action filter_type
action find
entity Q62041
relation P1038
type Q502895
[ANSWERS] are relatives of Elisabeth Christine of Brunswick-Wolfenbüttel, Crown Princess of Prussia
['Q62041', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q62041 property:P1038 ?w . ?w rdf:type ontology:Q502895 }
Frederick, Landgrave of Hesse-Eschwege Frederick William II of Prussia
Frederick, Landgrave of Hesse-Eschwege and Frederick William II of Prussia are relatives of Elisabeth Christine of Brunswick-Wolfenbüttel, Crown Princess of Prussia
Frederick, Landgrave of Hesse-Eschwege Frederick William II of Prussia
action filter_type
action find
entity Elisabeth Christine of Brunswick-Wolfenbüttel, Crown Princess of Prussia
relation relative
type common name
['Elisabeth Christine of Brunswick-Wolfenbüttel, Crown Princess of Prussia', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Elisabeth_Christine_of_Brunswick-Wolfenbüttel,_Crown_Princess_of_Prussia property:relative ?w . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q152229
P451
Q502895
USER
Who have that one as their girlfriend ?
(c(Q502895),P451,Q152229)
action filter_type
action find
entity Q152229
relation P451
type Q502895
[{'concept': 'Q502895'}, 'P451', 'Q152229']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q152229 property:P451 ?p }
Frederick William II of Prussia
action filter_type
action find
entity Frederick William II of Prussia
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Frederick William II of Prussia']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Frederick_William_II_of_Prussia property:partner ?p }
[]
common name
Clarification for simple ques.
Q551726
SYSTEM
Did you mean Frederick, Landgrave of Hesse-Eschwege ?
Q551726 Q152229
(c(Q502895),P451,Q551726) (c(Q502895),P451,Q152229)
[ANSWER]
[{'concept': 'Q502895'}, 'P451', 'Q551726'] [{'concept': 'Q502895'}, 'P451', 'Q152229']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q152229 property:P451 ?p }
Frederick, Landgrave of Hesse-Eschwege Frederick William II of Prussia
Did you mean Frederick, Landgrave of Hesse-Eschwege ?
Frederick, Landgrave of Hesse-Eschwege
[{'concept': 'common name'}, 'partner', 'Frederick, Landgrave of Hesse-Eschwege'] [{'concept': 'common name'}, 'partner', 'Frederick William II of Prussia']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Frederick_William_II_of_Prussia property:partner ?p }
[]
Simple Question (Coreferenced)
USER
No, I meant Frederick William II of Prussia. Could you tell me the answer for that?
(c(Q502895),P451,Q152229)
Q152229
[{'concept': 'Q502895'}, 'P451', 'Q152229']
[{'concept': 'common name'}, 'partner', 'Frederick William II of Prussia']
[]
Q70763 Q70769
SYSTEM
Sophie von Dönhoff, Wilhelmine, Gräfin von Lichtenau
Q70763 Q70769
(c(Q502895),P451,Q152229)
action filter_type
action find
entity Q152229
relation P451
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P451', 'Q152229']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q152229 property:P451 ?p }
Sophie von Dönhoff Wilhelmine, Gräfin von Lichtenau
Sophie von Dönhoff and Wilhelmine, Gräfin von Lichtenau have that one as their girlfriend
Sophie von Dönhoff Wilhelmine, Gräfin von Lichtenau
action filter_type
action find
entity Frederick William II of Prussia
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Frederick William II of Prussia']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Frederick_William_II_of_Prussia property:partner ?p }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q551726
P21 P22
Q502895
USER
Which people have Frederick, Landgrave of Hesse-Eschwege as father and are a female ?
AND((c(Q502895),P22,Q551726), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q551726
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q551726'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P22 resource:Q551726 . ?m property:P21 resource:Q6581072 }
female Frederick, Landgrave of Hesse-Eschwege
action filter_type
action intersection
action find_reverse
entity Frederick, Landgrave of Hesse-Eschwege
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Frederick, Landgrave of Hesse-Eschwege'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:father resource:Frederick,_Landgrave_of_Hesse-Eschwege . ?m property:gender resource:female }
[]
common name
Q527160 Q3821483
SYSTEM
Juliana of Hesse-Eschwege, Christine of Hesse-Eschwege
Q527160 Q3821483
AND((c(Q502895),P22,Q551726), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q551726
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] have Frederick, Landgrave of Hesse-Eschwege as father and are a female
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q551726'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P22 resource:Q551726 . ?m property:P21 resource:Q6581072 }
Juliana of Hesse-Eschwege Christine of Hesse-Eschwege
Juliana of Hesse-Eschwege and Christine of Hesse-Eschwege have Frederick, Landgrave of Hesse-Eschwege as father and are a female
Juliana of Hesse-Eschwege Christine of Hesse-Eschwege
action filter_type
action intersection
action find_reverse
entity Frederick, Landgrave of Hesse-Eschwege
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Frederick, Landgrave of Hesse-Eschwege'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:father resource:Frederick,_Landgrave_of_Hesse-Eschwege . ?m property:gender resource:female }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3279
Q502895 Q15991303 Q18608583
USER
Which people were considered to be the statistical leader of min number of association football leagues and recurring sporting events ?
(c(Q15991303)|c(Q18608583),P3279,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
[[{'concept': 'Q15991303'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ?o . VALUES ( ?o ) { ( ontology:Q15991303 ) ( ontology:Q18608583 ) } } GROUP BY ?i } . FILTER ( ?m = ?r ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?r ) { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:Q15991303 ) ( ontology:Q18608583 ) } . ?n rdf:type ?j } GROUP BY ?w } } }
action argmin
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
[[{'concept': 'association football league'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ?o . VALUES ( ?o ) { ( ontology:association_football_league ) ( ontology:recurring_sporting_event ) } } GROUP BY ?i } . FILTER ( ?m = ?r ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?r ) { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:association_football_league ) ( ontology:recurring_sporting_event ) } . ?n rdf:type ?j } GROUP BY ?w } } }
[]
common name association football league recurring sporting event
Q36159 Q41421 Q25369
SYSTEM
LeBron James, Michael Jordan, Kobe Bryant
Q568295 Q4153527 Q27187406 Q4723826 Q3705891 Q1254600 Q17403110 Q352110 Q316183 Q1638747 Q1791161 Q554889 Q25369 Q455540 Q456766 Q357096 Q978689 Q11691650 Q1363974 Q17264815 Q3802207 Q1033050 Q36159 Q27187226 Q26132520 Q368561 Q273561 Q370068 Q1584802 Q4973709 Q3595275 Q4893969 Q16232325 Q822531 Q314071 Q7332071 Q1032995 Q3855901 Q1635555 Q952921 Q10515951 Q2345884 Q516765 Q314185 Q8053501 Q16228417 Q16198360 Q277780 Q1617436 Q901437 Q27187398 Q317223 Q129041 Q58335 Q1237848 Q2489833 Q2609359 Q375574 Q3814247 Q3814712 Q352159 Q3930044 Q360219 Q6451152 Q18749100 Q555488 Q1628301 Q3703756 Q27187302 Q3807995 Q7356016 Q18957309 Q16841652 Q6322012 Q950564 Q2211310 Q596100 Q1758586 Q7606648 Q12643739 Q7322663 Q18206776 Q27187275 Q3731471 Q20713339 Q26838731 Q1560424 Q664405 Q434824 Q1091369 Q3846678 Q27510015 Q466385 Q311533 Q224535 Q460507 Q717344 Q4018600 Q739699 Q732825 Q190094 Q27518724 Q1638755 Q3325479 Q2526170 Q6388861 Q2718535 Q3848178 Q3809921 Q3930387 Q41421 Q3317928 Q5086674 Q27187336 Q2449620 Q15069755 Q16229571 Q1634785 Q372859 Q533350 Q3976459 Q1640839 Q3882086 Q11889550 Q14470242 Q3857382 Q1353620 Q11561907 Q7131158 Q7130157 Q3787321 Q1797248 Q312651 Q440121 Q2451584 Q3123694 Q27187381 Q371067 Q440382 Q291345 Q27187388 Q2356899 Q1629949 Q3870710 Q517350 Q605561 Q2600792 Q1508678 Q2699075 Q20671499 Q504835 Q1123222 Q316261 Q19829005 Q27518101 Q1899299 Q1980759 Q2333206 Q444118 Q3811117 Q24678886 Q1378121 Q3830637 Q458584 Q18706436 Q8002848 Q12643733 Q3751831 Q607383 Q3827157 Q3829239 Q3508948 Q926325 Q196185 Q2309134 Q16227000 Q7192274 Q616572 Q169452 Q3620463 Q5238520 Q18398239 Q209368 Q1179395 Q1691427 Q6832426 Q2565247 Q4027073 Q27187370 Q3616183 Q553232 Q2897880 Q1266392 Q2077350 Q284176 Q18630884 Q1763902 Q2910958 Q3192666 Q24088775 Q16209548 Q21932226 Q27187326 Q3180283 Q27187319 Q58590 Q18352226 Q3342371 Q27187254 Q21259159 Q3806182 Q7666079 Q4801743 Q202295 Q310541 Q20873438 Q29545 Q26257453 Q451780 Q371193 Q3830797 Q2021449 Q4965612 Q2714829 Q5170529 Q1634199 Q493027 Q24002 Q5262323 Q2466594 Q1435883 Q1913679 Q27187285 Q3876996 Q977135 Q1071728 Q182455 Q3476711 Q380018 Q2408361 Q6289235 Q376173 Q16233299 Q18417889 Q511509 Q1364009 Q288575 Q16209606 Q4714896 Q19577360 Q726234 Q179051 Q27187350 Q82004 Q3856209 Q2419943 Q5170460 Q2409213 Q433392 Q380015 Q343341 Q270653 Q510074 Q16228471 Q441283 Q31683 Q311195 Q2310881 Q20744974 Q542563 Q351862 Q718794 Q3563317 Q977666 Q741842 Q7539568 Q360993 Q14470768 Q6547747 Q3561200 Q3956838 Q14469655 Q3961216 Q927966 Q939343 Q211876 Q2459470 Q583904 Q2560815 Q2309972 Q2602217 Q2640666 Q306872 Q6438385 Q517722 Q16228365 Q965738 Q5259012
(c(Q15991303)|c(Q18608583),P3279,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
[ANSWERS] were considered to be the statistical leader of min number of association football leagues and recurring sporting events
[[{'concept': 'Q15991303'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ?o . VALUES ( ?o ) { ( ontology:Q15991303 ) ( ontology:Q18608583 ) } } GROUP BY ?i } . FILTER ( ?m = ?r ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?r ) { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:Q15991303 ) ( ontology:Q18608583 ) } . ?n rdf:type ?j } GROUP BY ?w } } }
Liz Cambage Ana Dabović Nigel McNeal Alfredo Ott Derrick Low Dragan Labović Mack Tuck George Gervin Pete Maravich Trey Johnson Hortência Marcari Bo McCalebb Kobe Bryant Esteban Solari Paul Arizin Josh Childress Freddy Crispina Correia Rawle Marshall Alhaji Mohammed Isaac Fontaine Matt Lojeski LeBron James Michalis Shialis Omar Krayem Bob Pettit Anne-Marie Colchen Branko Milisavljević Keydren Clark Shin Dong-pa Geethu Anna Jose Bernardo Vasconcelos Marco Tagbajumi Bernard King Luis Scola Ricky Franklin Ramel Curry Mfon Udoka Lars Hansen Patrick Mills Jorge Filipe Monteiro Siniša Gogić Andre Alves George Mikan Yiannos Ioannou Jordan McRae Matt Bauscher Peja Stojaković Shavlik Randolph Damon Williams Tasos Zouvanis Fernando Cavenaghi Carmelo Anthony Leandro Barbosa Mickaël Poté Cal Bruton Sean May Darren Phillip Corey Fisher Kenyan Weaks Stephen Curry Randy Culpepper Łukasz Sosin Kyle Fogg James Miller Álvaro Salvadores Claude Gregory Davin White Charalambos Papadopoulos Jerome Dyson Rocky Smith Ángela Salvadores Jabari Brown Jānis Kaufmanis José Filipe Correia Semedo Gastón Sangoy Troy DeVries Spas Dzhevizov Stefon Jackson Toni Prostran Ricardo Guillén Nirra Fields Kostakis Pieridis Eric Devendorf Evaldas Žabas Darryl Bryant Joe Arlauckas József Dzurják Rick Barry Aleksandar Ćapin Marcus Douthit Antri Violari Rainer Rauffmann Dominique Wilkins Bobby Dixon Predrag Danilović Bojan Bogdanović Wayne Hightower Alex English Charles Smith Allen Iverson Marilena Georgiou Miljan Goljović Mouhammad Faye Dario Šarić Kendal Pinder Milan Gurović Marino Baždarić Jonathan Gibson Rasheim Wright Michael Jordan Modibo Niakate Charron Fisher Andros Savva Jozef Kožlej Danny Gibson Darius Theus Donell Taylor Adrian Dantley Darius Washington, Jr. Suad Beširević Rick Hughes Omar Quintero Quinnel Brown Lamont Jones Michael Efevberha Neil Johnston Ramu Tokashiki Panikos Krystallis Panayiotis Xiourouppas Hristo Zahariev Oscar Schmidt Rudy Fernández Dave Bing Pete Mickeal Géraldine Robert Lenos Kittos Carlton Myers Evan Turner DeLisha Milton-Jones Sylvester Vernon Derrick Obasohan Blake Ahearn Nate Johnson Tyler Hansbrough Jerel McNeal Carl English George Yardley Justin Dentmon Saša Zagorac Andrew Gaze Laura Rus Linas Kleiza Yannick Franke Maria Daniella Johansson Marios Neophytou Todor Stoykov Dejan Milojević Michalis Konstantinou Julie Nykiel Jan Barbarič Keith Langford Andrea Borrell Gregor Fučka Robert Arnold Will Hanley Toni Bizaca Frank Hassell Marc Salyers Larry McNeill Leandro García Morales Anthony Grundy Charlie Bell Russell Westbrook Lee Nailon Melvin Ejim Pierre Jackson Endéné Miyem Shaquille O'Neal Antwain Barbour David Pereira da Costa Brandis Raley-Ross Raško Katić De'Teri Mayes Joe Fulks Michael Madanly Miljan Mrdaković Darnell Hinson Panikos Hatziloizou Andreas Stylianou Bob McAdoo Marcus Hatten Alphonso Ford Radhouane Slimane Michael Scott Terran Petteway Jeff Xavier Boris Gorenc Kani Kouyaté Antonia Edmondson Jason Cadee Eric Chatfield Lakis Theodorou Dionte Christmas Kostas Vasiliades Yao Ming Isabela Ramona Nneka Ogwumike Panikos Papadopoulos Javier Duren Jaime Lloreda Sérgio Luis Gardino da Silva Arturo Guerrero Tracy Mcmi Juan Carlos Navarro Quinn McDowell Kevin Durant Kostas Tsiges Nate Archibald José Juan Barea Leroy Edwards Yuko Oga Brian Wethers Khalid El-Amin Corin Henry Dontae' Jones Andray Blatche Andy Panko Derek Rucker Joeano Marcelo Machado Max Zaslofsky Panikos Efthymiades Nikos Pappas Horace Jenkins József Kiprich Wilt Chamberlain Sean Colson Jonas Valančiūnas Zdravko Radulović Josh Pace Chris Copeland Sean Kilpatrick Federico Mussini Andrija Žižić Tadija Dragićević Érika de Souza Will Clyburn Aleksandar Vezenkov Džanan Musa Chris Woods Kareem Abdul-Jabbar Andreas Kanaris Bobby Brown Michael Lee Ike Diogu Corey Webster Steve Burtt Suzy Batkovic Igor Rakočević İbrahim Kutluay Lauren Jackson Alessandro Gentile Anthony Miles Austin Nichols Dwyane Wade Jerry West Dewarick Spencer Damion Lee Marcus Brown Sotiris Kaiafas Drew Nicholas Giorgos Savvidis Luis Flores Elvin Hayes Slađan Šćepović Eric Gordon Jack Leasure Liliana Kostova Charalambos Andreou Sharaud Curry Al Green Simone Edwards David Simon Wojciech Kowalczyk David Robinson Miroslav Berić Jaycee Carroll Jamie Arnold Dimitar Makriev Michael Wright Janeth Arcain Abby Bishop Kristo Saage Hamed Haddadi Errick McCollum Zoran Slavnić Dennis Trammell
LeBron James, Michael Jordan and Kobe Bryant were considered to be the statistical leader of min number of association football leagues and recurring sporting events
LeBron James Michael Jordan Kobe Bryant
action argmin
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
[[{'concept': 'association football league'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ?o . VALUES ( ?o ) { ( ontology:association_football_league ) ( ontology:recurring_sporting_event ) } } GROUP BY ?i } . FILTER ( ?m = ?r ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?r ) { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:association_football_league ) ( ontology:recurring_sporting_event ) } . ?n rdf:type ?j } GROUP BY ?w } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q15850715 Q551726
P19
Q515
USER
Which cities were Frederick, Landgrave of Hesse-Eschwege and Thomas Ackermann born ?
AND((Q551726,P19,c(Q515)), (Q15850715,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q551726
relation P19
action find
entity Q15850715
relation P19
type Q515
{'AND': [['Q551726', 'P19', {'concept': 'Q515'}], ['Q15850715', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?e WHERE { resource:Q551726 property:P19 ?e . resource:Q15850715 property:P19 ?e . ?e rdf:type ontology:Q515 }
Thomas Ackermann Frederick, Landgrave of Hesse-Eschwege
action filter_type
action intersection
action find
entity Frederick, Landgrave of Hesse-Eschwege
relation place of birth
action find
entity Thomas Ackermann
relation place of birth
type city
{'AND': [['Frederick, Landgrave of Hesse-Eschwege', 'place of birth', {'concept': 'city'}], ['Thomas Ackermann', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?e WHERE { resource:Frederick,_Landgrave_of_Hesse-Eschwege property:place_of_birth ?e . resource:Thomas_Ackermann property:place_of_birth ?e . ?e rdf:type ontology:city }
[]
city
Q2865
SYSTEM
Kassel
Q2865
AND((Q551726,P19,c(Q515)), (Q15850715,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q551726
relation P19
action find
entity Q15850715
relation P19
type Q515
[ANSWER] was Frederick, Landgrave of Hesse-Eschwege and Thomas Ackermann born
{'AND': [['Q551726', 'P19', {'concept': 'Q515'}], ['Q15850715', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?e WHERE { resource:Q551726 property:P19 ?e . resource:Q15850715 property:P19 ?e . ?e rdf:type ontology:Q515 }
Kassel
Kassel was Frederick, Landgrave of Hesse-Eschwege and Thomas Ackermann born
Kassel
action filter_type
action intersection
action find
entity Frederick, Landgrave of Hesse-Eschwege
relation place of birth
action find
entity Thomas Ackermann
relation place of birth
type city
{'AND': [['Frederick, Landgrave of Hesse-Eschwege', 'place of birth', {'concept': 'city'}], ['Thomas Ackermann', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?e WHERE { resource:Frederick,_Landgrave_of_Hesse-Eschwege property:place_of_birth ?e . resource:Thomas_Ackermann property:place_of_birth ?e . ?e rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2865
P6
Q502895
USER
Who are the heads of the government of that city ?
(Q2865,P6,c(Q502895))
action filter_type
action find
entity Q2865
relation P6
type Q502895
['Q2865', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q2865 property:P6 ?v }
Kassel
action filter_type
action find
entity Kassel
relation head of government
type common name
['Kassel', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Kassel property:head_of_government ?v }
[]
common name
Q62180 Q71369 Q1730550
SYSTEM
Hans Eichel, Lauritz Lauritzen, Karl Branner
Q828457 Q62180 Q1505184 Q1730550 Q71369
(Q2865,P6,c(Q502895))
action filter_type
action find
entity Q2865
relation P6
type Q502895
The heads of the government of that city are [ANSWERS]
['Q2865', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q2865 property:P6 ?v }
Bertram Hilgen Hans Eichel Georg Lewandowski Karl Branner Lauritz Lauritzen
The heads of the government of that city are Hans Eichel, Lauritz Lauritzen and Karl Branner
Hans Eichel Lauritz Lauritzen Karl Branner
action filter_type
action find
entity Kassel
relation head of government
type common name
['Kassel', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Kassel property:head_of_government ?v }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q62180 Q71369 Q1730550
P106
Q12737077
USER
What do those people do for a living ?
(Q62180,P106,c(Q12737077)) (Q71369,P106,c(Q12737077)) (Q1730550,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q62180', 'P106', {'concept': 'Q12737077'}] ['Q71369', 'P106', {'concept': 'Q12737077'}] ['Q1730550', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . VALUES ( ?i ) { ( resource:Q828457 ) ( resource:Q62180 ) ( resource:Q1505184 ) } . ?i property:P106 ?c }
Hans Eichel Lauritz Lauritzen Karl Branner
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Hans Eichel', 'occupation', {'concept': 'occupation'}] ['Lauritz Lauritzen', 'occupation', {'concept': 'occupation'}] ['Karl Branner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . VALUES ( ?i ) { ( resource:Bertram_Hilgen ) ( resource:Hans_Eichel ) ( resource:Georg_Lewandowski ) } . ?i property:occupation ?c }
[]
occupation
Q82955 Q82955 Q82955
SYSTEM
politician
Q82955 Q82955 Q82955
(Q62180,P106,c(Q12737077)) (Q71369,P106,c(Q12737077)) (Q1730550,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWER], [ANSWER] and [ANSWER] those people do for a living
['Q62180', 'P106', {'concept': 'Q12737077'}] ['Q71369', 'P106', {'concept': 'Q12737077'}] ['Q1730550', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . VALUES ( ?i ) { ( resource:Q828457 ) ( resource:Q62180 ) ( resource:Q1505184 ) } . ?i property:P106 ?c }
politician politician politician
Politician, politician and politician those people do for a living
politician politician politician
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Hans Eichel', 'occupation', {'concept': 'occupation'}] ['Lauritz Lauritzen', 'occupation', {'concept': 'occupation'}] ['Karl Branner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . VALUES ( ?i ) { ( resource:Bertram_Hilgen ) ( resource:Hans_Eichel ) ( resource:Georg_Lewandowski ) } . ?i property:occupation ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41421
P172
Q2472587
USER
What is the ethnicity of Michael Jordan ?
(Q41421,P172,c(Q2472587))
action filter_type
action find
entity Q41421
relation P172
type Q2472587
['Q41421', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q41421 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Michael Jordan
action filter_type
action find
entity Michael Jordan
relation ethnic group
type people
['Michael Jordan', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Michael_Jordan property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q41421,P172,c(Q2472587))
action filter_type
action find
entity Q41421
relation P172
type Q2472587
The ethnicity of Michael Jordan is of [ANSWER]
['Q41421', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q41421 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
African Americans
The ethnicity of Michael Jordan is of African Americans
African Americans
action filter_type
action find
entity Michael Jordan
relation ethnic group
type people
['Michael Jordan', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Michael_Jordan property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q41421
P166
Q618779
USER
How many awards were Michael Jordan awarded with ?
(Q41421,P166,c(Q618779))
action count
action filter_type
action find
entity Q41421
relation P166
type Q618779
['Q41421', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f rdf:type ontology:Q618779 . resource:Q41421 property:P166 ?f }
Michael Jordan
action count
action filter_type
action find
entity Michael Jordan
relation award received
type award
['Michael Jordan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f rdf:type ontology:award . resource:Michael_Jordan property:award_received ?f }
[]
award
SYSTEM
4
Q943106 Q4896614 Q2404133 Q4896724
(Q41421,P166,c(Q618779))
action count
action filter_type
action find
entity Q41421
relation P166
type Q618779
[ANSWER]
['Q41421', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f rdf:type ontology:Q618779 . resource:Q41421 property:P166 ?f }
Best NBA Player ESPY Award Best Comeback Athlete ESPY Award Oscar Robertson Trophy Best Male Athlete ESPY Award
4
action count
action filter_type
action find
entity Michael Jordan
relation award received
type award
['Michael Jordan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f rdf:type ontology:award . resource:Michael_Jordan property:award_received ?f }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q792463
Q618779
USER
And also tell me about Árpád Bella?
(Q792463,P166,c(Q618779))
action count
action filter_type
action find
entity Q792463
relation P166
type Q618779
['Q792463', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Q792463 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Árpád Bella
action count
action filter_type
action find
entity Árpád Bella
relation award received
type award
['Árpád Bella', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Árpád_Bella property:award_received ?k . ?k rdf:type ontology:award }
[]
award
SYSTEM
1
(Q792463,P166,c(Q618779))
action count
action filter_type
action find
entity Q792463
relation P166
type Q618779
[ANSWER]
['Q792463', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Q792463 property:P166 ?k . ?k rdf:type ontology:Q618779 }
1
action count
action filter_type
action find
entity Árpád Bella
relation award received
type award
['Árpád Bella', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Árpád_Bella property:award_received ?k . ?k rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q792463
P27
Q15617994
USER
Which administrative territory does that person belong to ?
action filter_type
action find
entity Q792463
relation P27
type Q15617994
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q792463 property:P27 ?b }
Árpád Bella
action filter_type
action find
entity Árpád Bella
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Árpád_Bella property:country_of_citizenship ?b }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
action filter_type
action find
entity Q792463
relation P27
type Q15617994
That person belongs to the [ANSWER]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q792463 property:P27 ?b }
Hungary
That person belongs to the Hungary
Hungary
action filter_type
action find
entity Árpád Bella
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Árpád_Bella property:country_of_citizenship ?b }
[]