Simple Question (Direct)
Simple Question
Q1679320
P27
Q1048835
USER
Which political territory is Jakob Sahme a civilian of ?
(Q1679320,P27,c(Q1048835))
action filter_type
action find
entity Q1679320
relation P27
type Q1048835
['Q1679320', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1679320 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Jakob Sahme
action filter_type
action find
entity Jakob Sahme
relation country of citizenship
type political territorial entity
['Jakob Sahme', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jakob_Sahme property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1679320,P27,c(Q1048835))
action filter_type
action find
entity Q1679320
relation P27
type Q1048835
[ANSWER] is Jakob Sahme a civilian of
['Q1679320', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1679320 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Germany
Germany is Jakob Sahme a civilian of
Germany
action filter_type
action find
entity Jakob Sahme
relation country of citizenship
type political territorial entity
['Jakob Sahme', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jakob_Sahme property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1679320
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q1679320
relation P106
type Q12737077
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1679320 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Jakob Sahme
action filter_type
action find
entity Jakob Sahme
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Jakob_Sahme property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1234713 Q1622272 Q36180
SYSTEM
theologian, university teacher, writer
Q1234713 Q1622272 Q36180
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q1679320
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1679320 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
theologian university teacher writer
The professions of that person are theologian, university teacher and writer
theologian university teacher writer
action filter_type
action find
entity Jakob Sahme
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Jakob_Sahme property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1234713 Q1622272 Q36180
P39
Q502895
USER
Who were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q1234713) (c(Q502895),P39,Q1622272) (c(Q502895),P39,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1234713'] [{'concept': 'Q502895'}, 'P39', 'Q1622272'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P39 ?u . VALUES ( ?u ) { ( resource:Q1234713 ) ( resource:Q1622272 ) ( resource:Q36180 ) } }
theologian university teacher writer
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'theologian'] [{'concept': 'common name'}, 'position held', 'university teacher'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:position_held ?u . VALUES ( ?u ) { ( resource:theologian ) ( resource:university_teacher ) ( resource:writer ) } }
[]
common name
Q164384 Q164384 Q6294
SYSTEM
Hillary Clinton for 3rd, Theodore von Kármán for 1st, 2nd
Q11294693 Q26215129 Q3189576 Q27078052 Q19606594 Q22443703 Q3118583 Q2243667 Q16024023 Q3084776 Q3084776 Q16638850 Q15729620 Q3736628 Q366020 Q729418 Q3386998 Q20089632 Q20089632 Q2288137 Q15068663 Q164384 Q164384 Q18020726 Q20006978 Q18391 Q2848716 Q16078961 Q20819088 Q1731986 Q12265676 Q21795358 Q3169670 Q1511883 Q20828248 Q6171180 Q376210 Q3123954 Q19345746 Q16582679 Q8962412 Q20127366 Q2572989 Q1700189 Q15912761 Q178344 Q12354531 Q26818523 Q3186122 Q1731321 Q506805 Q1345191 Q3110673 Q3009105 Q115448 Q21708173 Q3169116 Q1294512 Q1388660 Q374024 Q18577704 Q3385948 Q26037404 Q25932529 Q454594 Q84714 Q4067424 Q3172544 Q5287936 Q16073166 Q17497103 Q2894300 Q3144855 Q115630 Q2870093 Q2067100 Q2067100 Q101235 Q15731513 Q14517540 Q531788 Q380814 Q1932828 Q8354697 Q2542162 Q20806967 Q16545583 Q20204919 Q16698998 Q74295 Q5815940 Q15089196 Q16260960 Q6294 Q15054444 Q1151101 Q20204913 Q20819474 Q87337 Q18744759 Q13390045 Q1708489 Q1776797 Q936760 Q16011274 Q25836733 Q11443689 Q11443689 Q8006158 Q1363028 Q13016261 Q10346107 Q3304221 Q336501 Q1728780 Q824064 Q17496977 Q17496977 Q2899558 Q481538 Q20723514 Q3384219 Q237821 Q263725 Q263725 Q27064349 Q1598320 Q2182265 Q6232311 Q3387352 Q24952357 Q22977279 Q823220 Q12350223 Q1351160 Q15406938 Q3106418 Q96922 Q770810 Q20054988 Q5622207 Q18744694 Q20012 Q2043597 Q22977147 Q3295727 Q21064904 Q19629707 Q3310179 Q178577 Q12906 Q20041837 Q19943834 Q5865616 Q3434789 Q20829823 Q2387288 Q27070471 Q333372 Q20821084 Q17119902 Q11294693 Q723621 Q20666477 Q163042 Q5945149 Q4255270
(c(Q502895),P39,Q1234713) (c(Q502895),P39,Q1622272) (c(Q502895),P39,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q1234713'] [{'concept': 'Q502895'}, 'P39', 'Q1622272'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P39 ?u . VALUES ( ?u ) { ( resource:Q1234713 ) ( resource:Q1622272 ) ( resource:Q36180 ) } }
Henri de Saint-Ignace Morteza Azari Julien Loriot Agnieszka Grudzińska Jacques Bahi Liliane Mottu-Weber Grégory Michel Johannes van den Driesche Luc-Francis Genicot François Gros François Gros Geoffrey Pleyers Conrad Goclenius Robert Rosen Adolphus Vorstius Hussein Chalayan Pierre Simard Jacques Percebois Jacques Percebois Simone Mayer Hans-Dietrich Quednau Theodore von Kármán Theodore von Kármán Hartmann Jacobi Octav Botez Elie Wiesel André Tricot Jessica Wilson Ángel Rubio Bocanegra Karl Kopp Pedro Ibarra Güell Jean-Pierre Corbeau Jean-Pierre Poulain Gerhard Kegel Bernard Bouillon Jean Mercier Adrianus Turnebus Gérard Ferreyrolles Hans-Heinrich Raspe José Arias Ramos Francisco Javier Fernández Conde Eirick Prairat Wilhelm Hallermann John Anderson Nicolas-Éloi Lemaire Luis Walter Alvarez Richard Osborne Raphaële Andrault Josué de la Place Karl Grouven Andrew Ranicki Philippe Van Parijs Jeanne-Marie Santraud Cyrille Barrette Daniel Bovet Jean-Luc Le Cam Jean-Pierre Centi Karl Vohwinkel Rudolf Strempel Nikolai Luzin Rainer Maria Kiesow Pierre Lescanne Götz Martius Julius Pierstorff Sixtinus Amama Karl Karmarsch Afinogen Antonovich Jean Hladik Dodie Bellamy Margit Eschenbach Rolland Viau Miguel de Portilla y Esquivel Hélène Saule-Sorbé Peter Bieri Attie Duval Adrianus Barlandus Adrianus Barlandus Anton Sterbling Santiago Segura Munguía Jacques Maurice Pieter Pauw Aelius Everardus Vorstius Mihailo Petrović Demófilo de Buen Lozano Valery Galtsov Anoi Castro Cordeiro César Manzanos Bilbao Alain Euzéby Vladimir Ivanovich Sobolev Hermann Stieve John Hughes Jacques de Groote Silke Bothfeld Hillary Clinton Ignat Florian Bociort Alfonso de Zamora Jacques Aben Luis Mercado Peter Skalicky Fabien Granjon Bruno Dürigen Paul Christiaan Flu Lucy Shapiro George Pruteanu Édouard Galletier Danis Bois Hiroshi Amano Hiroshi Amano William Burke-White Günter Imhäuser Bundhit Eua-apporn Patrick Charaudeau Milton Edward Harr Ilora Finlay, Baroness Finlay of Llandaff Max Dieckhoff Bernd Rohwer Michel Robert Michel Robert Bertrand Hauchecorne Viggo Fausböll Michel Chrysos Pierre Brunet Robert Fogel Janet Yellen Janet Yellen Corneille Bonaventure Bertram Heinrich Michaelis Roger Blanpain John F. Hughes Pierre Wertheimer Petrus Nannius Rudolf Stich Bernd-Dietrich Katthagen József Boros Nicholas Georgescu-Roegen Anne Staquet Gilles Noël Martin Haase Valerius Andreas Loïc Depecker Guy Deutscher Jean-Pierre Cometti Adolphe Quetelet Yevgeny Bokarev Rudolf Stich Martine Abdallah-Pretceille Friedrich Schmidtke Michel Raynal Michel Lenoble Norbert Wiener Helmar Frank Hideichirō Nakano Claude Lelièvre Francisco Enríquez de Villacorta Robert Chaudenson Roland Perez Alain Couret Antoine de La Faye Carolus Clusius Philippe Kaenel Lorentz Langberg Henri de Saint-Ignace Paul Nizan Marina Damestoy David Duke José Rocamora Mariano Roca de Togores, 1st Marquis of Molins
Theodore von Kármán, Theodore von Kármán and Hillary Clinton were responsible for occupying the position of those occupations
Theodore von Kármán Theodore von Kármán Hillary Clinton
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'theologian'] [{'concept': 'common name'}, 'position held', 'university teacher'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:position_held ?u . VALUES ( ?u ) { ( resource:theologian ) ( resource:university_teacher ) ( resource:writer ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q164384
P734
Q82799
USER
Who is associated with that person ?
(Q164384,P734,c(Q82799))
action filter_type
action find
entity Q164384
relation P734
type Q82799
['Q164384', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q164384 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Theodore von Kármán
action filter_type
action find
entity Theodore von Kármán
relation family name
type name
['Theodore von Kármán', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Theodore_von_Kármán property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q164384
SYSTEM
Did you mean Theodore von Kármán ?
Q164384 Q164384 Q6294
(Q164384,P734,c(Q82799)) (Q164384,P734,c(Q82799)) (Q6294,P734,c(Q82799))
[ANSWER]
['Q164384', 'P734', {'concept': 'Q82799'}] ['Q164384', 'P734', {'concept': 'Q82799'}] ['Q6294', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q164384 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Theodore von Kármán Theodore von Kármán Hillary Clinton
Did you mean Theodore von Kármán ?
Theodore von Kármán
['Theodore von Kármán', 'family name', {'concept': 'name'}] ['Theodore von Kármán', 'family name', {'concept': 'name'}] ['Hillary Clinton', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Theodore_von_Kármán property:family_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q164384,P734,c(Q82799))
['Q164384', 'P734', {'concept': 'Q82799'}]
['Theodore von Kármán', 'family name', {'concept': 'name'}]
[]
Q17403104
SYSTEM
Von Kármán
Q17403104
(Q164384,P734,c(Q82799))
action filter_type
action find
entity Q164384
relation P734
type Q82799
Or [ANSWER] is associated with that person
['Q164384', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q164384 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Von Kármán
Or Von Kármán is associated with that person
Von Kármán
action filter_type
action find
entity Theodore von Kármán
relation family name
type name
['Theodore von Kármán', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Theodore_von_Kármán property:family_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q164384
P7
Q502895
USER
Who is a sibling of Theodore von Kármán ?
(c(Q502895),P7,Q164384)
action filter_type
action find_reverse
entity Q164384
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q164384']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P7 resource:Q164384 }
Theodore von Kármán
action filter_type
action find_reverse
entity Theodore von Kármán
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Theodore von Kármán']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:brother resource:Theodore_von_Kármán }
[]
common name
Q17398129
SYSTEM
Pipö von Kármán
Q17398129
(c(Q502895),P7,Q164384)
action filter_type
action find_reverse
entity Q164384
relation P7
type Q502895
A sibling of Theodore von Kármán is named [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q164384']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P7 resource:Q164384 }
Pipö von Kármán
A sibling of Theodore von Kármán is named Pipö von Kármán
Pipö von Kármán
action filter_type
action find_reverse
entity Theodore von Kármán
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Theodore von Kármán']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:brother resource:Theodore_von_Kármán }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17398129
P9
Q502895
USER
Whose sister is that one ?
(c(Q502895),P9,Q17398129)
action filter_type
action find_reverse
entity Q17398129
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q17398129']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q17398129 . ?k rdf:type ontology:Q502895 }
Pipö von Kármán
action filter_type
action find_reverse
entity Pipö von Kármán
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Pipö von Kármán']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Pipö_von_Kármán . ?k rdf:type ontology:common_name }
[]
common name
Q164384
SYSTEM
Theodore von Kármán
Q164384
(c(Q502895),P9,Q17398129)
action filter_type
action find_reverse
entity Q17398129
relation P9
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P9', 'Q17398129']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q17398129 . ?k rdf:type ontology:Q502895 }
Theodore von Kármán
Theodore von Kármán is that one
Theodore von Kármán
action filter_type
action find_reverse
entity Pipö von Kármán
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Pipö von Kármán']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Pipö_von_Kármán . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q164384
P184 P21
Q502895
USER
Which people have Theodore von Kármán as doctor advisor and are a male ?
AND((c(Q502895),P184,Q164384), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q164384
relation P184
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P184', 'Q164384'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P184 resource:Q164384 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male Theodore von Kármán
action filter_type
action intersection
action find_reverse
entity Theodore von Kármán
relation doctoral advisor
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'doctoral advisor', 'Theodore von Kármán'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:doctoral_advisor resource:Theodore_von_Kármán . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q73333 Q15918765 Q717421 Q73231 Q12129315 Q77001 Q73305 Q163683 Q8017281 Q73264
SYSTEM
Some of them are Arthur T. Ippen, Stanford Solomon Penner, Chia-Chiao Lin, Louis Dunn, Frank E. Marble, Ernest Edwin Sechler, Giuseppe Gabrielli, Maurice Anthony Biot, William R. Sears, Wallace D. Hayes
Q15918765 Q73228 Q333500 Q3569685 Q8017281 Q12129315 Q73231 Q77001 Q27507 Q73264 Q17123194 Q163683 Q717421 Q73305 Q73333
AND((c(Q502895),P184,Q164384), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q164384
relation P184
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Theodore von Kármán as doctor advisor and are a male
{'AND': [[{'concept': 'Q502895'}, 'P184', 'Q164384'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P184 resource:Q164384 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Stanford Solomon Penner Richard G. Folsom Qian Xuesen Wolfgang Klemperer William R. Sears Frank E. Marble Louis Dunn Ernest Edwin Sechler Frank Malina Wallace D. Hayes Franz Nikolaus Scheubel Maurice Anthony Biot Chia-Chiao Lin Giuseppe Gabrielli Arthur T. Ippen
Arthur T. Ippen, Stanford Solomon Penner, Chia-Chiao Lin, Louis Dunn, Frank E. Marble, Ernest Edwin Sechler, Giuseppe Gabrielli, Maurice Anthony Biot, William R. Sears and Wallace D. Hayes have Theodore von Kármán as doctor advisor and are a male
Arthur T. Ippen Stanford Solomon Penner Chia-Chiao Lin Louis Dunn Frank E. Marble Ernest Edwin Sechler Giuseppe Gabrielli Maurice Anthony Biot William R. Sears Wallace D. Hayes
action filter_type
action intersection
action find_reverse
entity Theodore von Kármán
relation doctoral advisor
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'doctoral advisor', 'Theodore von Kármán'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:doctoral_advisor resource:Theodore_von_Kármán . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q44539 Q4989906
USER
Which people are atleast 4 temples or monuments dedicated to ?
(c(Q44539)|c(Q4989906),P825,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q4989906
value 4
[[{'concept': 'Q44539'}, {'concept': 'Q4989906'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?x >= 4 ) . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:P825 ?j . ?j rdf:type ontology:Q502895 . ?p rdf:type ontology:Q44539 } UNION { ?p property:P825 ?j . ?j rdf:type ontology:Q502895 . ?p rdf:type ontology:Q4989906 } } GROUP BY ?j } }
action atleast
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type monument
value 4
[[{'concept': 'temple'}, {'concept': 'monument'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?x >= 4 ) . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:dedicated_to ?j . ?j rdf:type ontology:common_name . ?p rdf:type ontology:temple } UNION { ?p property:dedicated_to ?j . ?j rdf:type ontology:common_name . ?p rdf:type ontology:monument } } GROUP BY ?j } }
[]
common name temple monument
Q9200 Q33923 Q43399
SYSTEM
Paul, Peter, Andrew
Q152457 Q534049 Q770633 Q9200 Q2639031 Q44269 Q1889720 Q33923 Q43399 Q17590 Q133704 Q40662 Q331697
(c(Q44539)|c(Q4989906),P825,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q4989906
value 4
[ANSWERS] are atleast 4 temples or monuments dedicated to
[[{'concept': 'Q44539'}, {'concept': 'Q4989906'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?x >= 4 ) . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:P825 ?j . ?j rdf:type ontology:Q502895 . ?p rdf:type ontology:Q44539 } UNION { ?p property:P825 ?j . ?j rdf:type ontology:Q502895 . ?p rdf:type ontology:Q4989906 } } GROUP BY ?j } }
Saint Roch Saint Petroc Padarn Paul Illtud Saint Nicholas Cadoc Peter Andrew Lawrence of Rome Martin of Tours John the Baptist Saint David
Paul, Peter and Andrew are atleast 4 temples or monuments dedicated to
Paul Peter Andrew
action atleast
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type monument
value 4
[[{'concept': 'temple'}, {'concept': 'monument'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?x >= 4 ) . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:dedicated_to ?j . ?j rdf:type ontology:common_name . ?p rdf:type ontology:temple } UNION { ?p property:dedicated_to ?j . ?j rdf:type ontology:common_name . ?p rdf:type ontology:monument } } GROUP BY ?j } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33923
P710
Q11028
USER
What event was that person a participant of ?
(c(Q11028),P710,Q33923)
action filter_type
action find_reverse
entity Q33923
relation P710
type Q11028
[{'concept': 'Q11028'}, 'P710', 'Q33923']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q33923 . ?j rdf:type ontology:Q11028 }
Peter
action filter_type
action find_reverse
entity Peter
relation participant
type information
[{'concept': 'information'}, 'participant', 'Peter']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Peter . ?j rdf:type ontology:information }
[]
information
Clarification for simple ques.
Q33923
SYSTEM
Did you mean Peter ?
Q9200 Q33923 Q43399
(c(Q11028),P710,Q9200) (c(Q11028),P710,Q33923) (c(Q11028),P710,Q43399)
[ANSWER]
[{'concept': 'Q11028'}, 'P710', 'Q9200'] [{'concept': 'Q11028'}, 'P710', 'Q33923'] [{'concept': 'Q11028'}, 'P710', 'Q43399']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q33923 . ?j rdf:type ontology:Q11028 }
Paul Peter Andrew
Did you mean Peter ?
Peter
[{'concept': 'information'}, 'participant', 'Paul'] [{'concept': 'information'}, 'participant', 'Peter'] [{'concept': 'information'}, 'participant', 'Andrew']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Peter . ?j rdf:type ontology:information }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q11028),P710,Q33923)
[{'concept': 'Q11028'}, 'P710', 'Q33923']
[{'concept': 'information'}, 'participant', 'Peter']
[]
Q51633
SYSTEM
Last Supper
Q51633
(c(Q11028),P710,Q33923)
action filter_type
action find_reverse
entity Q33923
relation P710
type Q11028
What event was that person a participant of
[{'concept': 'Q11028'}, 'P710', 'Q33923']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q33923 . ?j rdf:type ontology:Q11028 }
Last Supper
What event was that person a participant of
Last Supper
action filter_type
action find_reverse
entity Peter
relation participant
type information
[{'concept': 'information'}, 'participant', 'Peter']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Peter . ?j rdf:type ontology:information }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q494762
P144
Q11028 Q838948 Q15850590
USER
How many information are less number of works of art and theatrical genres adapted from than Leda and the Swan ?
(c(Q838948)|c(Q15850590),P144,c(Q11028))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q11028
type Q838948
action find_reverse_tuple_counts
relation P144
type Q11028
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q494762
relation P144
type Q838948
type Q15850590
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q11028'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?z WHERE { VALUES ( ?g ) { ( ontology:Q15850590 ) ( ontology:Q838948 ) } . ?q rdf:type ?g } GROUP BY ?z } . FILTER ( ?n < ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P144 resource:Q494762 . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } } } } }
Leda and the Swan
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type information
type work of art
action find_reverse_tuple_counts
relation based on
type information
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Leda and the Swan
relation based on
type work of art
type theatrical genre
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'information'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?z WHERE { VALUES ( ?g ) { ( ontology:theatrical_genre ) ( ontology:work_of_art ) } . ?q rdf:type ?g } GROUP BY ?z } . FILTER ( ?n < ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:based_on resource:Leda_and_the_Swan . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } } } } }
[]
information work of art theatrical genre
SYSTEM
19
Q625140 Q1821239 Q483760 Q389211 Q1029715 Q13077250 Q3530155 Q2330123 Q124362 Q1005362 Q370665 Q51633 Q488841 Q1004401 Q1029378 Q17331271 Q51628 Q3141419 Q625236
(c(Q838948)|c(Q15850590),P144,c(Q11028))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q11028
type Q838948
action find_reverse_tuple_counts
relation P144
type Q11028
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q494762
relation P144
type Q838948
type Q15850590
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q11028'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?z WHERE { VALUES ( ?g ) { ( ontology:Q15850590 ) ( ontology:Q838948 ) } . ?q rdf:type ?g } GROUP BY ?z } . FILTER ( ?n < ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P144 resource:Q494762 . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } } } } }
Marriage at Cana Day of Judgment Venus Anadyomene Crucifixion in the arts Adoration of the shepherds Judith and Holofernes Tobias and the Angel Amazonomachy Noli me tangere Bundahishn Sacred conversation Last Supper Adoration of the Magi Bridal theology the continence of Scipio Virgo inter Virgines Nativity of Jesus Jacob wrestling with the angel Calming the storm
19
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type information
type work of art
action find_reverse_tuple_counts
relation based on
type information
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Leda and the Swan
relation based on
type work of art
type theatrical genre
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'information'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?z WHERE { VALUES ( ?g ) { ( ontology:theatrical_genre ) ( ontology:work_of_art ) } . ?q rdf:type ?g } GROUP BY ?z } . FILTER ( ?n < ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:based_on resource:Leda_and_the_Swan . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q9309699
P144
Q11028 Q838948 Q15850590
USER
And also tell me about Madonna and Child?
(c(Q838948)|c(Q15850590),P144,c(Q11028))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q11028
type Q838948
action find_reverse_tuple_counts
relation P144
type Q11028
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q9309699
relation P144
type Q838948
type Q15850590
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q11028'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?o WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P144 resource:Q9309699 . { { ?p rdf:type ontology:Q838948 } UNION { ?p rdf:type ontology:Q15850590 } } } } . FILTER ( ?u < ?c ) }
Madonna and Child
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type information
type work of art
action find_reverse_tuple_counts
relation based on
type information
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Madonna and Child
relation based on
type work of art
type theatrical genre
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'information'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?o WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:based_on resource:Madonna_and_Child . { { ?p rdf:type ontology:work_of_art } UNION { ?p rdf:type ontology:theatrical_genre } } } } . FILTER ( ?u < ?c ) }
[]
information work of art theatrical genre
SYSTEM
24
Q625140 Q1821239 Q633534 Q483760 Q389211 Q1029715 Q13077250 Q5989722 Q3530155 Q2330123 Q124362 Q1005362 Q370665 Q1351991 Q494762 Q51633 Q488841 Q1004401 Q2509393 Q1029378 Q17331271 Q51628 Q3141419 Q625236
(c(Q838948)|c(Q15850590),P144,c(Q11028))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q11028
type Q838948
action find_reverse_tuple_counts
relation P144
type Q11028
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q9309699
relation P144
type Q838948
type Q15850590
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q11028'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?o WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P144 resource:Q9309699 . { { ?p rdf:type ontology:Q838948 } UNION { ?p rdf:type ontology:Q15850590 } } } } . FILTER ( ?u < ?c ) }
Marriage at Cana Day of Judgment Death of Cleopatra Venus Anadyomene Crucifixion in the arts Adoration of the shepherds Judith and Holofernes Penitent Magdalene Tobias and the Angel Amazonomachy Noli me tangere Bundahishn Sacred conversation Maestà Leda and the Swan Last Supper Adoration of the Magi Bridal theology Saint George and the Dragon the continence of Scipio Virgo inter Virgines Nativity of Jesus Jacob wrestling with the angel Calming the storm
24
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type information
type work of art
action find_reverse_tuple_counts
relation based on
type information
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Madonna and Child
relation based on
type work of art
type theatrical genre
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'information'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?o WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:based_on resource:Madonna_and_Child . { { ?p rdf:type ontology:work_of_art } UNION { ?p rdf:type ontology:theatrical_genre } } } } . FILTER ( ?u < ?c ) }
[]