Simple Question (Direct)
Simple Question
Q2861871
P410
Q4189293
USER
Which title was the military rank held by Armand Huyghé de Mahenge ?
(Q2861871,P410,c(Q4189293))
action filter_type
action find
entity Q2861871
relation P410
type Q4189293
['Q2861871', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { resource:Q2861871 property:P410 ?b . ?b rdf:type ontology:Q4189293 }
Armand Huyghé de Mahenge
action filter_type
action find
entity Armand Huyghé de Mahenge
relation military rank
type title
['Armand Huyghé de Mahenge', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { resource:Armand_Huyghé_de_Mahenge property:military_rank ?b . ?b rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q2861871,P410,c(Q4189293))
action filter_type
action find
entity Q2861871
relation P410
type Q4189293
The [ANSWER] was the military rank held by Armand Huyghé de Mahenge
['Q2861871', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { resource:Q2861871 property:P410 ?b . ?b rdf:type ontology:Q4189293 }
general officer
The general officer was the military rank held by Armand Huyghé de Mahenge
general officer
action filter_type
action find
entity Armand Huyghé de Mahenge
relation military rank
type title
['Armand Huyghé de Mahenge', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { resource:Armand_Huyghé_de_Mahenge property:military_rank ?b . ?b rdf:type ontology:title }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q83460 Q6780938
P410
Q502895
USER
Does Mary Webster hold that title ?
(Q6780938,P410,Q83460)
action is_in
entity Q6780938
action find
entity Q83460
relation P410
['Q6780938', 'P410', 'Q83460']
ASK WHERE { resource:Q83460 property:P410 resource:Q6780938 }
general officer Mary Webster
action is_in
entity Mary Webster
action find
entity general officer
relation military rank
['Mary Webster', 'military rank', 'general officer']
ASK WHERE { resource:general_officer property:military_rank resource:Mary_Webster }
[]
common name
SYSTEM
NO
(Q6780938,P410,Q83460)
action is_in
entity Q6780938
action find
entity Q83460
relation P410
[ANSWER]
['Q6780938', 'P410', 'Q83460']
ASK WHERE { resource:Q83460 property:P410 resource:Q6780938 }
No
action is_in
entity Mary Webster
action find
entity general officer
relation military rank
['Mary Webster', 'military rank', 'general officer']
ASK WHERE { resource:general_officer property:military_rank resource:Mary_Webster }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2861871 Q118958
P19
Q56061
USER
Was Leuven that person born ?
(Q2861871,P19,Q118958)
action is_in
entity Q118958
action find
entity Q2861871
relation P19
['Q2861871', 'P19', 'Q118958']
ASK WHERE { resource:Q2861871 property:P19 resource:Q118958 }
Armand Huyghé de Mahenge Leuven
action is_in
entity Leuven
action find
entity Armand Huyghé de Mahenge
relation place of birth
['Armand Huyghé de Mahenge', 'place of birth', 'Leuven']
ASK WHERE { resource:Armand_Huyghé_de_Mahenge property:place_of_birth resource:Leuven }
[]
administrative territorial entity
SYSTEM
YES
(Q2861871,P19,Q118958)
action is_in
entity Q118958
action find
entity Q2861871
relation P19
[ANSWER]
['Q2861871', 'P19', 'Q118958']
ASK WHERE { resource:Q2861871 property:P19 resource:Q118958 }
Yes
action is_in
entity Leuven
action find
entity Armand Huyghé de Mahenge
relation place of birth
['Armand Huyghé de Mahenge', 'place of birth', 'Leuven']
ASK WHERE { resource:Armand_Huyghé_de_Mahenge property:place_of_birth resource:Leuven }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q118958
P19 P21
Q502895
USER
Which people were born at Leuven and are a male ?
AND((c(Q502895),P19,Q118958), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q118958
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q118958'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q118958 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
male Leuven
action filter_type
action intersection
action find_reverse
entity Leuven
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Leuven'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Leuven . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
common name
Q3229649 Q184457 Q1982653 Q560706 Q2285189 Q3188974 Q6279107 Q3425977 Q461045 Q2369764
SYSTEM
Some of them are Leon Pierco, Zeger Bernhard van Espen, Jules Deswert, Jean Stas, Willem Peeters, Jules d'Udekem, Jos De Haes, René Ceuppens, Henry I, Duke of Brabant, Jos Clijsters
Q22343538 Q3089752 Q3183927 Q56777 Q6279107 Q21816182 Q17834839 Q3175540 Q380743 Q698898 Q822570 Q21490953 Q21542943 Q2094242 Q2270293 Q2211899 Q287498 Q2061069 Q1453554 Q274494 Q1902051 Q3288173 Q20970367 Q15956 Q3102539 Q2505178 Q15870000 Q21809332 Q5918147 Q2142607 Q18396967 Q184457 Q1893101 Q2227424 Q21809560 Q14761011 Q5675465 Q900759 Q7308370 Q21973876 Q22002022 Q2327000 Q2960022 Q2481920 Q1903976 Q22343652 Q1392380 Q21340550 Q560706 Q1538439 Q11954 Q3119575 Q2057111 Q433933 Q19628793 Q461045 Q26928887 Q2414007 Q3588775 Q14993 Q3369815 Q3122170 Q15406879 Q2856714 Q2725266 Q1341556 Q3387231 Q1337176 Q3387236 Q122498 Q21815408 Q11309060 Q3188974 Q523720 Q20966895 Q289914 Q6755826 Q3525456 Q16027819 Q5493308 Q1395469 Q21965884 Q2167735 Q3029694 Q3810887 Q3092421 Q11309194 Q21297349 Q3497824 Q16561287 Q21816215 Q809209 Q1210605 Q439052 Q20113707 Q20631675 Q3525114 Q1904726 Q11308963 Q22669033 Q16219292 Q16134284 Q3229649 Q3167987 Q3218963 Q2488870 Q3257784 Q1974727 Q27067911 Q14339789 Q3525587 Q3407812 Q14274462 Q2957931 Q2645342 Q208833 Q20011612 Q314275 Q703296 Q2097537 Q4503819 Q671682 Q22236609 Q2092174 Q569964 Q2916828 Q972661 Q978265 Q24623717 Q3142678 Q18117885 Q20687493 Q3263600 Q301858 Q16222690 Q1778315 Q11309048 Q546727 Q505646 Q2896957 Q3083012 Q6198473 Q1399106 Q6756141 Q3528619 Q21809347 Q17429109 Q7454252 Q3124278 Q927597 Q2854031 Q1330316 Q21971186 Q770462 Q279822 Q3121150 Q693536 Q11309230 Q928374 Q1371125 Q2782246 Q358635 Q186931 Q15634402 Q7192541 Q21993993 Q955409 Q2830289 Q20973357 Q960356 Q1287623 Q22236641 Q21646838 Q16094692 Q11309236 Q18012739 Q1413109 Q11309201 Q3525034 Q533353 Q349477 Q14941903 Q1800802 Q3502142 Q17425024 Q1189443 Q7179221 Q11309128 Q2015476 Q2784489 Q17149626 Q26690157 Q695779 Q2500129 Q2460716 Q2271035 Q6774259 Q2689496 Q2293162 Q322730 Q2118040 Q3386288 Q2370950 Q660644 Q3009888 Q1740360 Q17989403 Q2798967 Q638080 Q606587 Q178787 Q2977380 Q3030810 Q22343526 Q20118177 Q22236371 Q27273165 Q3119991 Q2748663 Q4157255 Q22237409 Q1311225 Q3570657 Q3425977 Q14849945 Q15407253 Q3068175 Q2875144 Q16138072 Q21345728 Q1982653 Q1685570 Q518267 Q1855660 Q11309099 Q1522777 Q89946 Q16185902 Q2934944 Q2853995 Q738281 Q126237 Q2369764 Q2896057 Q3160130 Q2510973 Q1939731 Q982518 Q2074300 Q2651192 Q3559713 Q445165 Q520568 Q1833579 Q3301310 Q2448846 Q3086361 Q16233388 Q16186014 Q2030961 Q13461807 Q2470063 Q2285189 Q18534297 Q729188 Q16236083 Q1339790 Q935828 Q2861871 Q22343635 Q17350836 Q3159408 Q913983 Q101330 Q1337255 Q1221267 Q3142047 Q3897651 Q385217 Q1512355 Q14199312 Q2086114 Q13736803 Q721798 Q17305954 Q16186072 Q3288109 Q3071833 Q27273132 Q20638454 Q3384861 Q2496736 Q4417121
AND((c(Q502895),P19,Q118958), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q118958
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Leuven and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q118958'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q118958 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
Theo Humblet Frédéric Delvaux Joris Vandenbroucke Mathieu Fonteyn Jos De Haes Jos Dufour André Ryckmans Jean de Louvain Aelbrecht Bouts Robert Dekeyser Bernard Lietaer Hyacinthe de Maret Joes Beyaert Peter Couterel Nils Schouterden Albert Carnoy Arnulf of Leuven Guido Eekhaut Freek Golinski Edouard Van Beneden Jos Van Assche Marc Laudelout Rinus Van de Velde Frans Schollaert Georges Dallemagne Ferdinand d'Udekem de Guertechin Andreas Luckermans Bernard Jos Van Gobbelschroy Joren Seldeslachts Antoine Clevenbergh Filip Dewallens Zeger Bernhard van Espen Ary Delen Alfons Vansteenwegen Pierre Vervou Petrus Divaeus André Georges Marie Walter Albert Robyns Laurent-Guillaume de Koninck Regillio Tuur Jacques de la Passion Thijs Antonneau Thierry Martens Charles Piot Maarten Schops Willy Kuijpers Willy Vermeersch Albert of Louvain Jean Swings Jean Stas Gortzius Geldorp Dries Mertens Guilielmus Zeebots Xavier Jacquelart Vincent Rijmen Félix Stappaerts Henry I, Duke of Brabant Kristof Spaey Kristof Aelbrecht Émile van Arenbergh Prosper Poullet Patrick Robeet Guy Thilmans Guillaume Teniers Antoine Schayes Ferdinand Giele Paul Magnette Pierre Van Den Perre Emile Gosselin Pierre Vandendries Johann Baptiste Bastiné Paul Victor Maes Marcos Adamantiadis Jules d'Udekem Jan Hoet Henry Moeller Matthaeus Pipelare Marc Rigouts Thomas Owen Jules Roberti François Lafortune, Sr. Jean Delville François van Dorne Joseph Maswiens Dirk Naessens Juan Miguel Paz Félix De Baerdemaecker Louis Van den Berghe Philips van Winghe Stef Goris André Louf Jan Hodru Bart Verschueren Didier de Radiguès Sander Armée Diether Sweeck Thomas Matthys Thomas Fienus Jan Grauls Lodewijk Goemans Joseph Clevenbergh Frantz Vermeylen Guillaume Van den Calstre Leon Pierco Jean-Michel Clajot Laurens Sweeck Philippe Ravoet Lode Vanoost Herman Schueremans Jan Rombouts Simon Van de Voorde Thomas Sprengers Prosper Van Langendonck Joseph Clynmans Charles-André Gilis Simon Vermeiren Henri van der Haert Jo Van Biesbroeck Quentin Matsys Henry III, Duke of Brabant Jacob Baethen Marnix Beyen Arthur De Greef Wim Catrysse William Van Dijck Pierre van Moerbeke Alfons De Cuyper Albert Giraud Martin Margiela René Felix Lissens Hugues Wailliez Félix Stappaerts Rutger Velpius Louis van Overstraeten Mark De Man Alfons Roelandts Koenraad Elst Jean Maes Sylvain Van de Weyer Adriaan van Roomen Arthur Berckmans Frans Van den Zype Jim Thijs Saïd El Khadraoui Marcel Lafortune Tim Declercq Gustaaf Welis Etienne Orban de Xivry Sergio Fernández González Gérard Roosen Eugène Prévinaire Antoine Grégoire Jurgen Van Goolen Jean Henri Cuypers Bart Wuyts Mark Waer Gustave De Bruyn Jan Cobbaert Léon Vanderkelen Louis Tobback Joos Valgaeren Jaak Merchez Lodewijk Elzevir Frank Vandenbroucke Jan Paul Vandenbroucke Pierre van Gobbelschroy Joost Massys Lambert I, Count of Louvain Alain Simons Jimmy Houtput Bruno Tobback Eddy Verstraeten Peter De Cupere François Verheyden Henri de Redinghen Victor Vanderkelen Wito De Meulder Theodore Blake Wirgman Charles Van der Linden Thomas De Koninck Henry II, Duke of Brabant Mark Eyskens François de Cannart d'Hamale Arthur Vierendeel Stéphane de Lobkowicz Jan Rombouts I Dennis Praet Petrus Peckius the Younger Patrick de Radiguès Hendrik van Crombrugge Laurens Melotte Bart Nevens Cornelis Claesz Arnold Mercator Jasper Stuyven Peter Brosens Ben Weyts Marten van Valckenborch Théodore Smolders Dirk Claes Albert Sauveur Samuel Greven Pierre Migisha Sven Beelen Cornelius Gemma Cédric Gervy Steven Kleynen Josse van der Baren Stan Van Samang Laurent Delorge Antonius Divitis Petrus van der Aa Claude Fisco Willy Derboven Paul Haesaert Michael Alexander Joseph van der Beken Pasteel Maxime Van De Woestyne Prosper Feyaerts Guillaume Kennis Pierre François Xavier de Ram Albert Delvaux Gert Verhoeven Jan Baptist van der Hulst Xavier Deutsch René Ceuppens Daan Stuyven Yanny Hureaux Felix Strackx Aziz Albishari Gérard van Goetsenhoven Jean-Joseph Herain Jules Deswert Jean Hissette André Dehertoghe Jacob Duym Libert de Pape Paul Claes Walter Hecht Ambroise van Engelen Camille Goemans Antoine Ghonda Dries Devenyns Godfrey I, Count of Louvain Jos Clijsters Benjamin Dieltjens Jacques Van Rillaer Sam Dillemans Michel-Joseph Speeckaert Charles-Jean de la Vallée-Poussin Peter Carmeliet Roger De Cnijf Vincent Lurquin Johannes Bertelius Henry IV, Duke of Brabant Mike Verdrengh Maurice Raskin Wannes Van Tricht François van Langendonck Charles Leplae Jérôme de Waerseghere André Antoine Charles Ducal Denis Odoi Willem Peeters Sergio Pierre Phalèse the Elder Cyriel Dessers Lucas van Valckenborch Roland Liboton Armand Huyghé de Mahenge Louis Daels Lorin Parys Jacques Logie Yannick Eijssen Karl Birnbaum Émile van Ermengem Dieric Bouts the Younger Hubert Lafortune David Wijns Charles Auguste de Bériot Gerhard Robert Walter von Coeckelberghe-Dützele Tim Rummers Jan Belle Jef Aerts Jules de Trooz Marc Luyckx Ghisi François Generé Marc Herman Filip Jordens Pierre Paul Geedts Steven De Peven Pierre Dunion Rudi Vranckx Serge
Leon Pierco, Zeger Bernhard van Espen, Jules Deswert, Jean Stas, Willem Peeters, Jules d'Udekem, Jos De Haes, René Ceuppens, Henry I, Duke of Brabant and Jos Clijsters were born at Leuven and are a male
Leon Pierco Zeger Bernhard van Espen Jules Deswert Jean Stas Willem Peeters Jules d'Udekem Jos De Haes René Ceuppens Henry I, Duke of Brabant Jos Clijsters
action filter_type
action intersection
action find_reverse
entity Leuven
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Leuven'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Leuven . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q461045
P40
Q502895
USER
How many people are an offsprings of Henry I, Duke of Brabant ?
(Q461045,P40,c(Q502895))
action count
action filter_type
action find
entity Q461045
relation P40
type Q502895
['Q461045', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q461045 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Henry I, Duke of Brabant
action count
action filter_type
action find
entity Henry I, Duke of Brabant
relation child
type common name
['Henry I, Duke of Brabant', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Henry_I,_Duke_of_Brabant property:child ?f . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
7
Q533353 Q224685 Q14852996 Q16034142 Q1878465 Q2377871 Q2679174
(Q461045,P40,c(Q502895))
action count
action filter_type
action find
entity Q461045
relation P40
type Q502895
[ANSWER]
['Q461045', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q461045 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Henry II, Duke of Brabant Maria of Brabant Margaretha van Brabant Élisabeth de Brabant Adelaide of Brabant Matilda of Brabant, Countess of Holland Godfrey, Lord of Gaesbeek
7
action count
action filter_type
action find
entity Henry I, Duke of Brabant
relation child
type common name
['Henry I, Duke of Brabant', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Henry_I,_Duke_of_Brabant property:child ?f . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q16041382
Q502895
USER
And also tell me about Constant André Say?
(Q16041382,P40,c(Q502895))
action count
action filter_type
action find
entity Q16041382
relation P40
type Q502895
['Q16041382', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q16041382 property:P40 ?h . ?h rdf:type ontology:Q502895 }
Constant André Say
action count
action filter_type
action find
entity Constant André Say
relation child
type common name
['Constant André Say', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Constant_André_Say property:child ?h . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
2
(Q16041382,P40,c(Q502895))
action count
action filter_type
action find
entity Q16041382
relation P40
type Q502895
[ANSWER]
['Q16041382', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q16041382 property:P40 ?h . ?h rdf:type ontology:Q502895 }
2
action count
action filter_type
action find
entity Constant André Say
relation child
type common name
['Constant André Say', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Constant_André_Say property:child ?h . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12447893 Q3229649
P27
Q15617994
USER
Which administrative territories are Leon Pierco or Motilal an inhabitant of ?
OR((Q3229649,P27,c(Q15617994)), (Q12447893,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3229649
relation P27
action find
entity Q12447893
relation P27
type Q15617994
{'OR': [['Q3229649', 'P27', {'concept': 'Q15617994'}], ['Q12447893', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:P27 ?o . VALUES ( ?q ) { ( resource:Q12447893 ) ( resource:Q3229649 ) } } . ?o rdf:type ontology:Q15617994 }
Motilal Leon Pierco
action filter_type
action union
action find
entity Leon Pierco
relation country of citizenship
action find
entity Motilal
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Leon Pierco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Motilal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:country_of_citizenship ?o . VALUES ( ?q ) { ( resource:Motilal ) ( resource:Leon_Pierco ) } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q668
SYSTEM
Belgium, India
Q31 Q668
OR((Q3229649,P27,c(Q15617994)), (Q12447893,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3229649
relation P27
action find
entity Q12447893
relation P27
type Q15617994
[ANSWERS] are Leon Pierco or Motilal an inhabitant of
{'OR': [['Q3229649', 'P27', {'concept': 'Q15617994'}], ['Q12447893', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:P27 ?o . VALUES ( ?q ) { ( resource:Q12447893 ) ( resource:Q3229649 ) } } . ?o rdf:type ontology:Q15617994 }
Belgium India
Belgium and India are Leon Pierco or Motilal an inhabitant of
Belgium India
action filter_type
action union
action find
entity Leon Pierco
relation country of citizenship
action find
entity Motilal
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Leon Pierco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Motilal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:country_of_citizenship ?o . VALUES ( ?q ) { ( resource:Motilal ) ( resource:Leon_Pierco ) } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]