Simple Question (Direct)
Simple Question
Q464007
P21
Q290
USER
Which sex does Ruth Metzler possess ?
(Q464007,P21,c(Q290))
action filter_type
action find
entity Q464007
relation P21
type Q290
['Q464007', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q464007 property:P21 ?n . ?n rdf:type ontology:Q290 }
Ruth Metzler
action filter_type
action find
entity Ruth Metzler
relation gender
type sex
['Ruth Metzler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Ruth_Metzler property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q464007,P21,c(Q290))
action filter_type
action find
entity Q464007
relation P21
type Q290
Ruth Metzler possesses a [ANSWER]
['Q464007', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q464007 property:P21 ?n . ?n rdf:type ontology:Q290 }
female
Ruth Metzler possesses a female
female
action filter_type
action find
entity Ruth Metzler
relation gender
type sex
['Ruth Metzler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Ruth_Metzler property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q464007
P102
Q7210356
USER
Which political organization is Ruth Metzler a member of ?
(Q464007,P102,c(Q7210356))
action filter_type
action find
entity Q464007
relation P102
type Q7210356
['Q464007', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q7210356 . resource:Q464007 property:P102 ?z }
Ruth Metzler
action filter_type
action find
entity Ruth Metzler
relation member of political party
type political organization
['Ruth Metzler', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_organization . resource:Ruth_Metzler property:member_of_political_party ?z }
[]
political organization
Q659461
SYSTEM
Christian Democratic People's Party of Switzerland
Q659461
(Q464007,P102,c(Q7210356))
action filter_type
action find
entity Q464007
relation P102
type Q7210356
The [ANSWER] is Ruth Metzler a member of
['Q464007', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q7210356 . resource:Q464007 property:P102 ?z }
Christian Democratic People's Party of Switzerland
The Christian Democratic People's Party of Switzerland is Ruth Metzler a member of
Christian Democratic People's Party of Switzerland
action filter_type
action find
entity Ruth Metzler
relation member of political party
type political organization
['Ruth Metzler', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_organization . resource:Ruth_Metzler property:member_of_political_party ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q464007
P69
Q3918
USER
What is the university where Ruth Metzler was educated ?
(Q464007,P69,c(Q3918))
action filter_type
action find
entity Q464007
relation P69
type Q3918
['Q464007', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q464007 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Ruth Metzler
action filter_type
action find
entity Ruth Metzler
relation educated at
type university
['Ruth Metzler', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Ruth_Metzler property:educated_at ?t . ?t rdf:type ontology:university }
[]
university
Q36188
SYSTEM
University of Fribourg
Q36188
(Q464007,P69,c(Q3918))
action filter_type
action find
entity Q464007
relation P69
type Q3918
The university Ruth Metzler was educated is the [ANSWER]
['Q464007', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q464007 property:P69 ?t . ?t rdf:type ontology:Q3918 }
University of Fribourg
The university Ruth Metzler was educated is the University of Fribourg
University of Fribourg
action filter_type
action find
entity Ruth Metzler
relation educated at
type university
['Ruth Metzler', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Ruth_Metzler property:educated_at ?t . ?t rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q464007
P734
Q82799
USER
Who is associated with Ruth Metzler ?
(Q464007,P734,c(Q82799))
action filter_type
action find
entity Q464007
relation P734
type Q82799
['Q464007', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q464007 property:P734 ?h }
Ruth Metzler
action filter_type
action find
entity Ruth Metzler
relation family name
type name
['Ruth Metzler', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Ruth_Metzler property:family_name ?h }
[]
name
Q694764
SYSTEM
Arnold
Q694764
(Q464007,P734,c(Q82799))
action filter_type
action find
entity Q464007
relation P734
type Q82799
[ANSWER] is associated with Ruth Metzler
['Q464007', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q464007 property:P734 ?h }
Arnold
Arnold is associated with Ruth Metzler
Arnold
action filter_type
action find
entity Ruth Metzler
relation family name
type name
['Ruth Metzler', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Ruth_Metzler property:family_name ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are exactly 2 names composed in ?
(c(Q82799),P407,c(Q34770))
action count
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 2
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:P407 ?i . ?i rdf:type ontology:Q34770 . ?r rdf:type ontology:Q82799 } GROUP BY ?i } . FILTER ( ?v = 2 ) }
action count
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 2
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:language_of_work_or_name ?i . ?i rdf:type ontology:language . ?r rdf:type ontology:name } GROUP BY ?i } . FILTER ( ?v = 2 ) }
[]
language name
SYSTEM
2
Q8785 Q35505
(c(Q82799),P407,c(Q34770))
action count
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 2
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:P407 ?i . ?i rdf:type ontology:Q34770 . ?r rdf:type ontology:Q82799 } GROUP BY ?i } . FILTER ( ?v = 2 ) }
Armenian Old Norse language
2
action count
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 2
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:language_of_work_or_name ?i . ?i rdf:type ontology:language . ?r rdf:type ontology:name } GROUP BY ?i } . FILTER ( ?v = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P425
Q3769299
USER
Which human behaviour has politician as the associated field of occupation ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q3769299 . resource:Q82955 property:P425 ?u }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:human_behaviour . resource:politician property:field_of_this_occupation ?u }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has politician as the associated field of occupation
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q3769299 . resource:Q82955 property:P425 ?u }
politics
Politics has politician as the associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:human_behaviour . resource:politician property:field_of_this_occupation ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36188
P108
Q502895
USER
Which people have University of Fribourg as their employer ?
(c(Q502895),P108,Q36188)
action filter_type
action find_reverse
entity Q36188
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q36188']
SELECT DISTINCT ?a WHERE { ?a property:P108 resource:Q36188 . ?a rdf:type ontology:Q502895 }
University of Fribourg
action filter_type
action find_reverse
entity University of Fribourg
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'University of Fribourg']
SELECT DISTINCT ?a WHERE { ?a property:employer resource:University_of_Fribourg . ?a rdf:type ontology:common_name }
[]
common name
Q78116 Q44747 Q366786
SYSTEM
Friedrich Dessauer, Christoph Schönborn, Henri Breuil
Q2140410 Q1712723 Q2283856 Q1635505 Q1905562 Q124558 Q115805 Q321661 Q1362873 Q1364149 Q1997266 Q15783564 Q117143 Q2036398 Q364686 Q1447456 Q19355809 Q2343431 Q15840423 Q1595281 Q2546809 Q24416292 Q15296208 Q1357034 Q15434338 Q15989743 Q124643 Q373127 Q1705608 Q822373 Q14566743 Q122124 Q122419 Q125476 Q1610442 Q728030 Q678541 Q110194 Q16101729 Q6537961 Q2093912 Q1304860 Q1569949 Q327719 Q120668 Q590421 Q116815 Q1692740 Q44747 Q1690561 Q62827 Q1363290 Q116403 Q2473612 Q1403497 Q9162037 Q366786 Q1501792 Q15727492 Q1618098 Q1901514 Q1550856 Q15479703 Q689563 Q60026 Q121970 Q993818 Q103505 Q1357240 Q449106 Q17126452 Q823581 Q2059258 Q15838458 Q2336037 Q17488927 Q1454587 Q2149515 Q15450333 Q2425735 Q105865 Q1336066 Q1704693 Q15441313 Q16937819 Q1704510 Q2034053 Q122147 Q1350002 Q13472435 Q23636152 Q1290105 Q1332850 Q677759 Q1479269 Q26922710 Q18577704 Q1598977 Q16101745 Q123881 Q1256682 Q1448734 Q70599 Q17612717 Q15893914 Q2646246 Q110202 Q123823 Q1383660 Q3165776 Q1336932 Q2093505 Q1892911 Q1725359 Q5411509 Q1705792 Q1369425 Q16101773 Q18565536 Q1259735 Q1201419 Q116593 Q1155962 Q1705763 Q1508773 Q116750 Q1284035 Q1281311 Q1695794 Q1042215 Q1508787 Q102866 Q750550 Q3770129 Q361509 Q1492600 Q445766 Q1476465 Q1584476 Q17995091 Q15439379 Q1752381 Q2061357 Q1610493 Q91753 Q1041026 Q17265620 Q1413735 Q2075099 Q1736128 Q1122239 Q15853515 Q15445748 Q15453843 Q696569 Q1874648 Q122203 Q804822 Q1356179 Q114993 Q2637735 Q1527985 Q1580127 Q2050360 Q1604155 Q364667 Q1372638 Q1685466 Q709315 Q1065456 Q15430518 Q2579082 Q2064801 Q14860222 Q566655 Q17305212 Q1098881 Q15507876 Q15791816 Q1782231 Q690808 Q681776 Q673672 Q1757379 Q120922 Q1819300 Q2337807 Q2871609 Q1467715 Q1583182 Q2036913 Q1533465 Q1628815 Q1557442 Q76176 Q1727599 Q122988 Q1403321 Q1539120 Q361904 Q816883 Q1294533 Q1393285 Q78116 Q311928 Q991677 Q1427465 Q569551 Q15439060 Q1912912 Q15824700 Q125116 Q85546 Q1684785
(c(Q502895),P108,Q36188)
action filter_type
action find_reverse
entity Q36188
relation P108
type Q502895
[ANSWERS] have University of Fribourg as their employer
[{'concept': 'Q502895'}, 'P108', 'Q36188']
SELECT DISTINCT ?a WHERE { ?a property:P108 resource:Q36188 . ?a rdf:type ontology:Q502895 }
Reiner Eichenberger Julius Jüthner Siegfried Weichlein Hugo Oser Martine Nida-Rümelin Albert Vogt Charles Journet Marie-Dominique Philippe Erwin Carigiet Pierre Moreau Norbert Thom Annemarie C. Mayer Pierre Mamie Oswald Huber Servais-Théodore Pinckaers Franz Jenny Udo Kühne Stephan Klapproth Philippe Cudré-Mauroux Paul-Henri Steinauer Walter Wittmann Isidor Wallimann Max Westermaier Ernst-Bernd Blümle Damir Skenderovic Plato Portmann Johann Jakob Hess Adrian Holderegger Josef Sayer Bernard Degen Clà Riatsch Caspar Decurtins Gabriel Bullet Remigio Ratti Hermann-Josef Venetz Victor Giraud Bruno Migliorini Heinrich Adolph Baumhauer Philippe Bruggisser Monica Rüthers Pierre Tercier Séverin Bays Pierino Pietro Selvatico Luigi Ferdinando Tagliavini Leo Schürmann Anton Hänggi Michel Plancherel Jean Broye Christoph Schönborn Joachim Wattendorff Wilhelm Schmidt Erwin Nickel Bernard Genoud Ueli Mäder Felix Hauptmann August Reichensperger Henri Breuil Margrit Stamm Matthias Grünert Hilarin Felder Markus Gmür Yannis Kakridis Pascal Ladner Gianfranco Contini Georges Cottier Olof Gigon Bruno Staffelbach Stephan Pfürtner Volker Reinhardt Johannes van der Corput Edwin Haselbach Bernd Helmig Paul Dembinski Peter Dalcher Stefan Bodo Würffel Daniel Bellus Freimut Bodendorf Richard Friedli Gaston Gaudard Thomas Lau Peter Horst Neumann Emil Franz Josef Müller-Büchi Josef Groner Maurice Rémy Heini Murer Josef Duss-von Werdt Oskar Vasella Urs Altermatt Erenbert Josef Schächer Ernst Alker Alain Clavien Eduard Studer Elmar Seebold Jean-Louis Bruguès Gianfranco Soldati Aline Gohard-Radenkovic Rainer Maria Kiesow Heinrich Stirnimann Rolf Fieguth Christian Giordano Albert Pfluger Franz Riklin Prince Maximilian of Saxony Hugo Huber Christina Aus der Au Heymann Alfred Overbeck Hubert Grimme Joseph Deiss Peter Jäggi Jean-François Mayer Emil Tonutti Pierre Haab Marcel Alexander Niggli Mario Puelma Franz Friedrich Leitschuh Josef Spieler Ulrich Lampert Salvatore Loiero Hans Zeller Yves Giraud Detlev Christian Dicke Eugenio Corecco Josef Zemp Josef Siegwart Georges Andrey Gonzague de Reynold Edgar Marsch Eckart Conrad Lutz Johann Peter Kirsch Carlo Jenzer Georges Bavaud Harm Klueting Astrid Epiney Giuseppe Billanovich Adolf Faller Gallus Maria Manser Tadeusz Estreicher Guy Kirsch Harald Fricke Joseph Henninger Josef Schmid Alfred E. von Overbeck Paul Moraux Hermann A. Schlögl Peter Thullen Carl Weyman Sonja Klimek Primus Lessiak Peter Gauch Meinrad Perrez Angelo Monteverdi Walter Henzen Louis Bosshart Markus Wild Arnold Winkler Ludwig Kathariner François Charrière Balduin Schwarz Ernest-Bernard Allo Karl von Ettmayer Albert Büchi Giulio Bertoni Walter Graffunder Paolo Fedeli Helmut Schneider Adolf Zycha Eugen Isele Jean Darbellay Arthur F. Utz Charles Martig Michael Reicherts William H. Miller Pavlos Tzermias Norbert Hungerbühler Annette Mingels Jacob Lorenz Claus Wolf Carl Pfaff Aloys Müller Konrad Müller Victor Stoichita Pierre-Henri Simon Józef Maria Bocheński Leo Karrer Margarethe Billerbeck Leonhard Weber Stefan Trechsel Augustin Macheret Fritz Oser Hans Wolfgang Brachinger Othmar Keel Leo Savigny Wolfgang Stammler Guy Bedouelle Hugo Obermaier Michael Felder Tariq Ramadan Felix B. J. Wubbe Gottfried Bösch Adolf Gottlob Benedict T. Viviano Franz Jostes Max Gutzwiller Friedrich Dessauer Hilarion Bruce Karl Braswell Urs Haeberlin Anselm Hertz Ernst Ruh Max Küchler Kurt Strebel Joseph Jung Alfred Amonn Jean-Claude Wolf
Friedrich Dessauer, Christoph Schönborn and Henri Breuil have University of Fribourg as their employer
Friedrich Dessauer Christoph Schönborn Henri Breuil
action filter_type
action find_reverse
entity University of Fribourg
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'University of Fribourg']
SELECT DISTINCT ?a WHERE { ?a property:employer resource:University_of_Fribourg . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44747
P7
Q502895
USER
Who is the brother of Christoph Schönborn ?
(Q44747,P7,c(Q502895))
action filter_type
action find
entity Q44747
relation P7
type Q502895
['Q44747', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q44747 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Christoph Schönborn
action filter_type
action find
entity Christoph Schönborn
relation brother
type common name
['Christoph Schönborn', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Christoph_Schönborn property:brother ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1929321
SYSTEM
Michael Schönborn
Q1929321
(Q44747,P7,c(Q502895))
action filter_type
action find
entity Q44747
relation P7
type Q502895
The brother of Christoph Schönborn is also [ANSWER]
['Q44747', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q44747 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Michael Schönborn
The brother of Christoph Schönborn is also Michael Schönborn
Michael Schönborn
action filter_type
action find
entity Christoph Schönborn
relation brother
type common name
['Christoph Schönborn', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Christoph_Schönborn property:brother ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1929321
P106
Q12737077
USER
What does that person do for a living ?
(Q1929321,P106,c(Q12737077))
action filter_type
action find
entity Q1929321
relation P106
type Q12737077
['Q1929321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1929321 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Michael Schönborn
action filter_type
action find
entity Michael Schönborn
relation occupation
type occupation
['Michael Schönborn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Michael_Schönborn property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q1929321,P106,c(Q12737077))
action filter_type
action find
entity Q1929321
relation P106
type Q12737077
That person does an [ANSWER] for a living
['Q1929321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1929321 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
actor
That person does an actor for a living
actor
action filter_type
action find
entity Michael Schönborn
relation occupation
type occupation
['Michael Schönborn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Michael_Schönborn property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33999
P921
Q4894405
USER
Which journalism genre is that occupation a main subject of ?
(c(Q4894405),P921,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P921
type Q4894405
[{'concept': 'Q4894405'}, 'P921', 'Q33999']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q4894405 . ?j property:P921 resource:Q33999 }
actor
action filter_type
action find_reverse
entity actor
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'actor']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:journalism_genre . ?j property:main_subject resource:actor }
[]
journalism genre
Q24706663
SYSTEM
Fortunes of the Stage
Q24706663
(c(Q4894405),P921,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P921
type Q4894405
[ANSWER] is that occupation a main subject of
[{'concept': 'Q4894405'}, 'P921', 'Q33999']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q4894405 . ?j property:P921 resource:Q33999 }
Fortunes of the Stage
Fortunes of the Stage is that occupation a main subject of
Fortunes of the Stage
action filter_type
action find_reverse
entity actor
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'actor']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:journalism_genre . ?j property:main_subject resource:actor }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24706663
P1433
Q11032
USER
Which newspaper published that journalism genre ?
(Q24706663,P1433,c(Q11032))
action filter_type
action find
entity Q24706663
relation P1433
type Q11032
['Q24706663', 'P1433', {'concept': 'Q11032'}]
SELECT DISTINCT ?c WHERE { resource:Q24706663 property:P1433 ?c . ?c rdf:type ontology:Q11032 }
Fortunes of the Stage
action filter_type
action find
entity Fortunes of the Stage
relation published in
type newspaper
['Fortunes of the Stage', 'published in', {'concept': 'newspaper'}]
SELECT DISTINCT ?c WHERE { resource:Fortunes_of_the_Stage property:published_in ?c . ?c rdf:type ontology:newspaper }
[]
newspaper
Q9684
SYSTEM
The New York Times
Q9684
(Q24706663,P1433,c(Q11032))
action filter_type
action find
entity Q24706663
relation P1433
type Q11032
[ANSWER] published that journalism genre
['Q24706663', 'P1433', {'concept': 'Q11032'}]
SELECT DISTINCT ?c WHERE { resource:Q24706663 property:P1433 ?c . ?c rdf:type ontology:Q11032 }
The New York Times
The New York Times published that journalism genre
The New York Times
action filter_type
action find
entity Fortunes of the Stage
relation published in
type newspaper
['Fortunes of the Stage', 'published in', {'concept': 'newspaper'}]
SELECT DISTINCT ?c WHERE { resource:Fortunes_of_the_Stage property:published_in ?c . ?c rdf:type ontology:newspaper }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q580
P291
Q56061 Q11032
USER
How many administrative territories are the publication regions of more number of newspapers than Łódź ?
(c(Q11032),P291,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action count
action filter_type
action find
entity Q580
relation P291
type Q56061
[{'concept': 'Q11032'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P291 ?s . ?s rdf:type ontology:Q56061 . ?f rdf:type ontology:Q11032 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q56061 . resource:Q580 property:P291 ?x } } . FILTER ( ?w > ?d ) }
Łódź
action count
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action count
action filter_type
action find
entity Łódź
relation place of publication
type administrative territorial entity
[{'concept': 'newspaper'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:place_of_publication ?s . ?s rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:newspaper } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Łódź property:place_of_publication ?x } } . FILTER ( ?w > ?d ) }
[]
administrative territorial entity newspaper
SYSTEM
52
Q190583 Q3897 Q80670 Q490595 Q8692 Q15688 Q1757 Q1022 Q90 Q6157 Q8818 Q1034159 Q103717 Q28911 Q186237 Q180233 Q14328 Q15468 Q6346 Q1679567 Q72 Q16555 Q35381 Q84 Q60 Q286048 Q14318 Q134620 Q1492 Q2807 Q8356 Q1726 Q1724 Q8717 Q64 Q207891 Q61 Q683512 Q3889 Q9125 Q126148 Q33405 Q6106 Q10313 Q1295 Q15696 Q193180 Q47048 Q192155 Q955640 Q8826 Q1085
(c(Q11032),P291,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action count
action filter_type
action find
entity Q580
relation P291
type Q56061
[ANSWER]
[{'concept': 'Q11032'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P291 ?s . ?s rdf:type ontology:Q56061 . ?f rdf:type ontology:Q11032 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q56061 . resource:Q580 property:P291 ?x } } . FILTER ( ?w > ?d ) }
Mikkeli Luanda Mühlacker Daytona Beach Bilbao Ávila Helsinki Stuttgart Paris Seinäjoki Valencia Harstad Rovaniemi Lahti Joensuu Pori Santa Cruz de Tenerife Badalona Indianapolis Jakobstad Zürich Houston Colombo London New York City New Glasgow, Nova Scotia Vitoria-Gasteiz Jyväskylä Barcelona Madrid Valladolid Munich Saarbrücken Seville Berlin Kokkola Washington, D.C. Savonlinna Maputo Winterthur Tangier Little Rock Portland Donostia/San Sebastián Dortmund Zamora Kajaani Oulu Kotka Glasgow Palma Prague
52
action count
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action count
action filter_type
action find
entity Łódź
relation place of publication
type administrative territorial entity
[{'concept': 'newspaper'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:place_of_publication ?s . ?s rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:newspaper } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Łódź property:place_of_publication ?x } } . FILTER ( ?w > ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q204720
P291
Q56061 Q11032
USER
And what about Hereford?
(c(Q11032),P291,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action count
action filter_type
action find
entity Q204720
relation P291
type Q56061
[{'concept': 'Q11032'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q204720 property:P291 ?e . ?e rdf:type ontology:Q56061 } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:P291 ?p . ?f rdf:type ontology:Q11032 . ?p rdf:type ontology:Q56061 } GROUP BY ?p } }
Hereford
action count
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action count
action filter_type
action find
entity Hereford
relation place of publication
type administrative territorial entity
[{'concept': 'newspaper'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Hereford property:place_of_publication ?e . ?e rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:place_of_publication ?p . ?f rdf:type ontology:newspaper . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } }
[]
administrative territorial entity newspaper
SYSTEM
52
Q190583 Q3897 Q80670 Q490595 Q8692 Q15688 Q1757 Q1022 Q90 Q6157 Q8818 Q1034159 Q103717 Q28911 Q186237 Q180233 Q14328 Q15468 Q6346 Q1679567 Q72 Q16555 Q35381 Q84 Q60 Q286048 Q14318 Q134620 Q1492 Q2807 Q8356 Q1726 Q1724 Q8717 Q64 Q207891 Q61 Q683512 Q3889 Q9125 Q126148 Q33405 Q6106 Q10313 Q1295 Q15696 Q193180 Q47048 Q192155 Q955640 Q8826 Q1085
(c(Q11032),P291,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action count
action filter_type
action find
entity Q204720
relation P291
type Q56061
[ANSWER]
[{'concept': 'Q11032'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q204720 property:P291 ?e . ?e rdf:type ontology:Q56061 } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:P291 ?p . ?f rdf:type ontology:Q11032 . ?p rdf:type ontology:Q56061 } GROUP BY ?p } }
Mikkeli Luanda Mühlacker Daytona Beach Bilbao Ávila Helsinki Stuttgart Paris Seinäjoki Valencia Harstad Rovaniemi Lahti Joensuu Pori Santa Cruz de Tenerife Badalona Indianapolis Jakobstad Zürich Houston Colombo London New York City New Glasgow, Nova Scotia Vitoria-Gasteiz Jyväskylä Barcelona Madrid Valladolid Munich Saarbrücken Seville Berlin Kokkola Washington, D.C. Savonlinna Maputo Winterthur Tangier Little Rock Portland Donostia/San Sebastián Dortmund Zamora Kajaani Oulu Kotka Glasgow Palma Prague
52
action count
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action count
action filter_type
action find
entity Hereford
relation place of publication
type administrative territorial entity
[{'concept': 'newspaper'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Hereford property:place_of_publication ?e . ?e rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:place_of_publication ?p . ?f rdf:type ontology:newspaper . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1929321
P161
Q15416
USER
What is the name of television program starring Michael Schönborn ?
(c(Q15416),P161,Q1929321)
action filter_type
action find_reverse
entity Q1929321
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q1929321']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15416 . ?r property:P161 resource:Q1929321 }
Michael Schönborn
action filter_type
action find_reverse
entity Michael Schönborn
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Michael Schönborn']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:television_program . ?r property:cast_member resource:Michael_Schönborn }
[]
television program
Q1572155
SYSTEM
Hals über Kopf
Q1572155
(c(Q15416),P161,Q1929321)
action filter_type
action find_reverse
entity Q1929321
relation P161
type Q15416
The name of television program starring Michael Schönborn is also [ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q1929321']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15416 . ?r property:P161 resource:Q1929321 }
Hals über Kopf
The name of television program starring Michael Schönborn is also Hals über Kopf
Hals über Kopf
action filter_type
action find_reverse
entity Michael Schönborn
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Michael Schönborn']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:television_program . ?r property:cast_member resource:Michael_Schönborn }
[]