Simple Question (Direct)
Simple Question
Q90236
P22
Q502895
USER
Who was the dad of Ludwig Döderlein ?
(Q90236,P22,c(Q502895))
action filter_type
action find
entity Q90236
relation P22
type Q502895
['Q90236', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q90236 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Ludwig Döderlein
action filter_type
action find
entity Ludwig Döderlein
relation father
type common name
['Ludwig Döderlein', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ludwig_Döderlein property:father ?i . ?i rdf:type ontology:common_name }
[]
common name
Q110439
SYSTEM
Johann Christoph Döderlein
Q110439
(Q90236,P22,c(Q502895))
action filter_type
action find
entity Q90236
relation P22
type Q502895
The dad of Ludwig Döderlein was [ANSWER]
['Q90236', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q90236 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Johann Christoph Döderlein
The dad of Ludwig Döderlein was Johann Christoph Döderlein
Johann Christoph Döderlein
action filter_type
action find
entity Ludwig Döderlein
relation father
type common name
['Ludwig Döderlein', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ludwig_Döderlein property:father ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90236
P40
Q502895
USER
Whose child is Ludwig Döderlein ?
(c(Q502895),P40,Q90236)
action filter_type
action find_reverse
entity Q90236
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q90236']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q90236 . ?m rdf:type ontology:Q502895 }
Ludwig Döderlein
action filter_type
action find_reverse
entity Ludwig Döderlein
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ludwig Döderlein']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Ludwig_Döderlein . ?m rdf:type ontology:common_name }
[]
common name
Q110439
SYSTEM
Johann Christoph Döderlein
Q110439
(c(Q502895),P40,Q90236)
action filter_type
action find_reverse
entity Q90236
relation P40
type Q502895
[ANSWER] is Ludwig Döderlein
[{'concept': 'Q502895'}, 'P40', 'Q90236']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q90236 . ?m rdf:type ontology:Q502895 }
Johann Christoph Döderlein
Johann Christoph Döderlein is Ludwig Döderlein
Johann Christoph Döderlein
action filter_type
action find_reverse
entity Ludwig Döderlein
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ludwig Döderlein']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Ludwig_Döderlein . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q110439
P106
Q12737077
USER
What do that person do for a living ?
(Q110439,P106,c(Q12737077))
action filter_type
action find
entity Q110439
relation P106
type Q12737077
['Q110439', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q110439 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Johann Christoph Döderlein
action filter_type
action find
entity Johann Christoph Döderlein
relation occupation
type occupation
['Johann Christoph Döderlein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Christoph_Döderlein property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q1234713 Q1622272
SYSTEM
theologian, university teacher
Q1234713 Q1622272
(Q110439,P106,c(Q12737077))
action filter_type
action find
entity Q110439
relation P106
type Q12737077
That person do for a living a [ANSWERS]
['Q110439', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q110439 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
theologian university teacher
That person do for a living a theologian and university teacher
theologian university teacher
action filter_type
action find
entity Johann Christoph Döderlein
relation occupation
type occupation
['Johann Christoph Döderlein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Christoph_Döderlein property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1234713 Q1622272
P39
Q502895
USER
Who were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q1234713) (c(Q502895),P39,Q1622272)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1234713'] [{'concept': 'Q502895'}, 'P39', 'Q1622272']
SELECT DISTINCT ?o WHERE { VALUES ( ?u ) { ( resource:Q1234713 ) ( resource:Q1622272 ) } . ?o rdf:type ontology:Q502895 . ?o property:P39 ?u }
theologian university teacher
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']
SELECT DISTINCT ?o WHERE { VALUES ( ?u ) { ( resource:theologian ) ( resource:university_teacher ) } . ?o rdf:type ontology:common_name . ?o property:position_held ?u }
[]
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
(c(Q502895),P39,Q1234713) (c(Q502895),P39,Q1622272)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q1234713'] [{'concept': 'Q502895'}, 'P39', 'Q1622272']
SELECT DISTINCT ?o WHERE { VALUES ( ?u ) { ( resource:Q1234713 ) ( resource:Q1622272 ) } . ?o rdf:type ontology:Q502895 . ?o property:P39 ?u }
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
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']
SELECT DISTINCT ?o WHERE { VALUES ( ?u ) { ( resource:theologian ) ( resource:university_teacher ) } . ?o rdf:type ontology:common_name . ?o property:position_held ?u }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6294
P102
Q7210356
USER
Which party does that person belong to ?
(Q6294,P102,c(Q7210356))
action filter_type
action find
entity Q6294
relation P102
type Q7210356
['Q6294', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q6294 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Hillary Clinton
action filter_type
action find
entity Hillary Clinton
relation member of political party
type political organization
['Hillary Clinton', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Hillary_Clinton property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Clarification for simple ques.
Q6294
SYSTEM
Did you mean Hillary Clinton ?
Q164384 Q164384 Q6294
(Q164384,P102,c(Q7210356)) (Q164384,P102,c(Q7210356)) (Q6294,P102,c(Q7210356))
[ANSWER]
['Q164384', 'P102', {'concept': 'Q7210356'}] ['Q164384', 'P102', {'concept': 'Q7210356'}] ['Q6294', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q6294 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Theodore von Kármán Theodore von Kármán Hillary Clinton
Did you mean Hillary Clinton ?
Hillary Clinton
['Theodore von Kármán', 'member of political party', {'concept': 'political organization'}] ['Theodore von Kármán', 'member of political party', {'concept': 'political organization'}] ['Hillary Clinton', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Hillary_Clinton property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q6294,P102,c(Q7210356))
['Q6294', 'P102', {'concept': 'Q7210356'}]
['Hillary Clinton', 'member of political party', {'concept': 'political organization'}]
[]
Q29552
SYSTEM
Democratic Party
Q29552
(Q6294,P102,c(Q7210356))
action filter_type
action find
entity Q6294
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q6294', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q6294 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Democratic Party
That person belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Hillary Clinton
relation member of political party
type political organization
['Hillary Clinton', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Hillary_Clinton property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q10875097
P361
Q7210356 Q874405
USER
How many social groups are a part of more number of political organizations than Institute of History and Philology of Academia Sinica ?
(c(Q874405),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q874405
type Q7210356
action count
action filter_type
action find
entity Q10875097
relation P361
type Q874405
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q10875097 property:P361 ?j . ?j rdf:type ontology:Q874405 } } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { ?n property:P361 ?o . ?n rdf:type ontology:Q874405 . ?o rdf:type ontology:Q7210356 } GROUP BY ?n } }
Institute of History and Philology of Academia Sinica
action count
action greater
action find_tuple_counts
relation part of
type social group
type political organization
action count
action filter_type
action find
entity Institute of History and Philology of Academia Sinica
relation part of
type social group
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Institute_of_History_and_Philology_of_Academia_Sinica property:part_of ?j . ?j rdf:type ontology:social_group } } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { ?n property:part_of ?o . ?n rdf:type ontology:social_group . ?o rdf:type ontology:political_organization } GROUP BY ?n } }
[]
political organization social group
SYSTEM
3
Q5160819 Q2215977 Q5095781
(c(Q874405),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q874405
type Q7210356
action count
action filter_type
action find
entity Q10875097
relation P361
type Q874405
[ANSWER]
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q10875097 property:P361 ?j . ?j rdf:type ontology:Q874405 } } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { ?n property:P361 ?o . ?n rdf:type ontology:Q874405 . ?o rdf:type ontology:Q7210356 } GROUP BY ?n } }
Congress Socialist Party Christian Democratic Youth Appeal Chicago Socialist Party
3
action count
action greater
action find_tuple_counts
relation part of
type social group
type political organization
action count
action filter_type
action find
entity Institute of History and Philology of Academia Sinica
relation part of
type social group
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Institute_of_History_and_Philology_of_Academia_Sinica property:part_of ?j . ?j rdf:type ontology:social_group } } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { ?n property:part_of ?o . ?n rdf:type ontology:social_group . ?o rdf:type ontology:political_organization } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q5918153
P361
Q7210356 Q874405
USER
And how about Instituto de Estudios Giennenses?
(c(Q874405),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q874405
type Q7210356
action count
action filter_type
action find
entity Q5918153
relation P361
type Q7210356
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?s ) WHERE { ?r property:P361 ?q . ?r rdf:type ontology:Q874405 . ?q rdf:type ontology:Q7210356 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q5918153 property:P361 ?m . ?m rdf:type ontology:Q7210356 } } . FILTER ( ?s > ?k ) }
Instituto de Estudios Giennenses
action count
action greater
action find_tuple_counts
relation part of
type social group
type political organization
action count
action filter_type
action find
entity Instituto de Estudios Giennenses
relation part of
type political organization
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?s ) WHERE { ?r property:part_of ?q . ?r rdf:type ontology:social_group . ?q rdf:type ontology:political_organization } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Instituto_de_Estudios_Giennenses property:part_of ?m . ?m rdf:type ontology:political_organization } } . FILTER ( ?s > ?k ) }
[]
political organization social group
SYSTEM
3
Q5160819 Q2215977 Q5095781
(c(Q874405),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q874405
type Q7210356
action count
action filter_type
action find
entity Q5918153
relation P361
type Q7210356
[ANSWER]
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?s ) WHERE { ?r property:P361 ?q . ?r rdf:type ontology:Q874405 . ?q rdf:type ontology:Q7210356 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q5918153 property:P361 ?m . ?m rdf:type ontology:Q7210356 } } . FILTER ( ?s > ?k ) }
Congress Socialist Party Christian Democratic Youth Appeal Chicago Socialist Party
3
action count
action greater
action find_tuple_counts
relation part of
type social group
type political organization
action count
action filter_type
action find
entity Instituto de Estudios Giennenses
relation part of
type political organization
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?s ) WHERE { ?r property:part_of ?q . ?r rdf:type ontology:social_group . ?q rdf:type ontology:political_organization } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Instituto_de_Estudios_Giennenses property:part_of ?m . ?m rdf:type ontology:political_organization } } . FILTER ( ?s > ?k ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5918153
P276
Q56061
USER
Where is that social group located ?
action filter_type
action find
entity Q5918153
relation P276
type Q56061
SELECT DISTINCT ?w WHERE { resource:Q5918153 property:P276 ?w . ?w rdf:type ontology:Q56061 }
Instituto de Estudios Giennenses
action filter_type
action find
entity Instituto de Estudios Giennenses
relation location
type administrative territorial entity
SELECT DISTINCT ?w WHERE { resource:Instituto_de_Estudios_Giennenses property:location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15681
SYSTEM
Jaén
Q15681
action filter_type
action find
entity Q5918153
relation P276
type Q56061
That social group is located in [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q5918153 property:P276 ?w . ?w rdf:type ontology:Q56061 }
Jaén
That social group is located in Jaén
Jaén
action filter_type
action find
entity Instituto de Estudios Giennenses
relation location
type administrative territorial entity
SELECT DISTINCT ?w WHERE { resource:Instituto_de_Estudios_Giennenses property:location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q90236 Q51664
P40
Q502895
USER
How many people have Ludwig Döderlein or Jesus in Islam as a child ?
(c(Q502895),P40,Q90236) (c(Q502895),P40,Q51664)
action count
action union
action filter_type
action find_reverse
entity Q90236
relation P40
type Q502895
action filter_type
action find_reverse
entity Q51664
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q90236'] [{'concept': 'Q502895'}, 'P40', 'Q51664']
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?l ) { ( resource:Q90236 ) ( resource:Q51664 ) } . ?f property:P40 ?l }
Ludwig Döderlein Jesus in Islam
action count
action union
action filter_type
action find_reverse
entity Ludwig Döderlein
relation child
type common name
action filter_type
action find_reverse
entity Jesus in Islam
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ludwig Döderlein'] [{'concept': 'common name'}, 'child', 'Jesus in Islam']
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?l ) { ( resource:Ludwig_Döderlein ) ( resource:Jesus_in_Islam ) } . ?f property:child ?l }
[]
common name
SYSTEM
2
Q110439 Q1478857
(c(Q502895),P40,Q90236) (c(Q502895),P40,Q51664)
action count
action union
action filter_type
action find_reverse
entity Q90236
relation P40
type Q502895
action filter_type
action find_reverse
entity Q51664
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q90236'] [{'concept': 'Q502895'}, 'P40', 'Q51664']
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?l ) { ( resource:Q90236 ) ( resource:Q51664 ) } . ?f property:P40 ?l }
Johann Christoph Döderlein Mary in Islam
2
action count
action union
action filter_type
action find_reverse
entity Ludwig Döderlein
relation child
type common name
action filter_type
action find_reverse
entity Jesus in Islam
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ludwig Döderlein'] [{'concept': 'common name'}, 'child', 'Jesus in Islam']
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?l ) { ( resource:Ludwig_Döderlein ) ( resource:Jesus_in_Islam ) } . ?f property:child ?l }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19185341
P921
Q12737077 Q732577 Q838948
USER
Which occupations were greater number of publications or works of art mainly about than Member of the Victorian Legislative Council ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q19185341
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { { ?l property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q838948 } UNION { ?l property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q732577 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { { ?s rdf:type ontology:Q732577 } UNION { ?s rdf:type ontology:Q838948 } } . ?s property:P921 resource:Q19185341 } } . FILTER ( ?m > ?f ) }
Member of the Victorian Legislative Council
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity Member of the Victorian Legislative Council
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { { ?l property:main_subject ?k . ?k rdf:type ontology:occupation . ?l rdf:type ontology:work_of_art } UNION { ?l property:main_subject ?k . ?k rdf:type ontology:occupation . ?l rdf:type ontology:publication } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { { ?s rdf:type ontology:publication } UNION { ?s rdf:type ontology:work_of_art } } . ?s property:main_subject resource:Member_of_the_Victorian_Legislative_Council } } . FILTER ( ?m > ?f ) }
[]
occupation publication work of art
Q15637082 Q1930187 Q16746569
SYSTEM
industrialist, journalist, high school student
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q3809586 Q7358 Q2094335 Q1930187 Q9402 Q2961580 Q101539 Q205375 Q164236 Q936969 Q16746569 Q15320003 Q16003605 Q245068 Q33231 Q2095549 Q1674312 Q16003532
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q19185341
relation P921
type Q732577
type Q838948
The [ANSWERS] were greater number of publications or works of art mainly about than Member of the Victorian Legislative Council
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { { ?l property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q838948 } UNION { ?l property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q732577 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { { ?s rdf:type ontology:Q732577 } UNION { ?s rdf:type ontology:Q838948 } } . ?s property:P921 resource:Q19185341 } } . FILTER ( ?m > ?f ) }
industrialist business magnate physician lumberjack astronaut actor writer Wikipedian in Residence clown United States Attorney journalist ninja taxi driver flight attendant inventor war correspondent nanny high school student migrant worker elementary school student comedian photographer aviator rag-and-bone man middle school student
The industrialist, journalist and high school student were greater number of publications or works of art mainly about than Member of the Victorian Legislative Council
industrialist journalist high school student
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity Member of the Victorian Legislative Council
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { { ?l property:main_subject ?k . ?k rdf:type ontology:occupation . ?l rdf:type ontology:work_of_art } UNION { ?l property:main_subject ?k . ?k rdf:type ontology:occupation . ?l rdf:type ontology:publication } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { { ?s rdf:type ontology:publication } UNION { ?s rdf:type ontology:work_of_art } } . ?s property:main_subject resource:Member_of_the_Victorian_Legislative_Council } } . FILTER ( ?m > ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1124183
P921
Q12737077 Q732577 Q838948
USER
And how about lumberjack?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1124183
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q838948 } UNION { ?v property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q732577 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P921 resource:Q1124183 . { { ?l rdf:type ontology:Q732577 } UNION { ?l rdf:type ontology:Q838948 } } } } . FILTER ( ?i > ?j ) }
lumberjack
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity lumberjack
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:main_subject ?b . ?b rdf:type ontology:occupation . ?v rdf:type ontology:work_of_art } UNION { ?v property:main_subject ?b . ?b rdf:type ontology:occupation . ?v rdf:type ontology:publication } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:main_subject resource:lumberjack . { { ?l rdf:type ontology:publication } UNION { ?l rdf:type ontology:work_of_art } } } } . FILTER ( ?i > ?j ) }
[]
occupation publication work of art
Q1930187 Q16746569 Q33231
SYSTEM
journalist, high school student, photographer
Q33999 Q1930187 Q9402 Q101539 Q164236 Q16746569 Q16003605 Q33231 Q16003532
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1124183
relation P921
type Q732577
type Q838948
[ANSWERS]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q838948 } UNION { ?v property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q732577 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P921 resource:Q1124183 . { { ?l rdf:type ontology:Q732577 } UNION { ?l rdf:type ontology:Q838948 } } } } . FILTER ( ?i > ?j ) }
actor journalist ninja flight attendant war correspondent high school student elementary school student photographer middle school student
journalist high school student photographer
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity lumberjack
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:main_subject ?b . ?b rdf:type ontology:occupation . ?v rdf:type ontology:work_of_art } UNION { ?v property:main_subject ?b . ?b rdf:type ontology:occupation . ?v rdf:type ontology:publication } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:main_subject resource:lumberjack . { { ?l rdf:type ontology:publication } UNION { ?l rdf:type ontology:work_of_art } } } } . FILTER ( ?i > ?j ) }
[]