Simple Question (Direct)
Simple Question
Q1825240
P1412
Q34770
USER
Which language can Maurizio Balocchi understand ?
(Q1825240,P1412,c(Q34770))
action filter_type
action find
entity Q1825240
relation P1412
type Q34770
['Q1825240', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q1825240 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Maurizio Balocchi
action filter_type
action find
entity Maurizio Balocchi
relation languages spoken, written or signed
type language
['Maurizio Balocchi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Maurizio_Balocchi property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q1825240,P1412,c(Q34770))
action filter_type
action find
entity Q1825240
relation P1412
type Q34770
Maurizio Balocchi can understand an [ANSWER]
['Q1825240', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q1825240 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Italian
Maurizio Balocchi can understand an Italian
Italian
action filter_type
action find
entity Maurizio Balocchi
relation languages spoken, written or signed
type language
['Maurizio Balocchi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Maurizio_Balocchi property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1825240
P937
Q56061
USER
Where did that person work ?
(Q652,P937,c(Q56061))
action filter_type
action find
entity Q1825240
relation P937
type Q56061
['Q652', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1825240 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Maurizio Balocchi
action filter_type
action find
entity Maurizio Balocchi
relation work location
type administrative territorial entity
['Italian', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Maurizio_Balocchi property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q652,P937,c(Q56061))
action filter_type
action find
entity Q1825240
relation P937
type Q56061
That person worked at [ANSWER]
['Q652', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1825240 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Rome
That person worked at Rome
Rome
action filter_type
action find
entity Maurizio Balocchi
relation work location
type administrative territorial entity
['Italian', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Maurizio_Balocchi property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1376
Q7275 Q1048835
USER
How many states or political territories have that administrative territory as their capital ?
(Q220,P1376,c(Q7275)) (Q220,P1376,c(Q1048835)) (Q220,P1376,c(Q7275)) (Q220,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q220
relation P1376
type Q7275
action filter_type
action find
entity Q220
relation P1376
type Q1048835
['Q220', 'P1376', {'concept': 'Q7275'}] ['Q220', 'P1376', {'concept': 'Q1048835'}] ['Q220', 'P1376', {'concept': 'Q7275'}] ['Q220', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { resource:Q220 property:P1376 ?x . ?x rdf:type ontology:Q1048835 } UNION { resource:Q220 property:P1376 ?x . ?x rdf:type ontology:Q7275 } }
action count
action union
action filter_type
action find
entity Rome
relation capital of
type state
action filter_type
action find
entity Rome
relation capital of
type political territorial entity
['Rome', 'capital of', {'concept': 'state'}] ['Rome', 'capital of', {'concept': 'political territorial entity'}] ['Rome', 'capital of', {'concept': 'state'}] ['Rome', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { resource:Rome property:capital_of ?x . ?x rdf:type ontology:political_territorial_entity } UNION { resource:Rome property:capital_of ?x . ?x rdf:type ontology:state } }
[]
state political territorial entity
SYSTEM
2
Q18288160 Q170174
(Q220,P1376,c(Q7275)) (Q220,P1376,c(Q1048835)) (Q220,P1376,c(Q7275)) (Q220,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q220
relation P1376
type Q7275
action filter_type
action find
entity Q220
relation P1376
type Q1048835
[ANSWER]
['Q220', 'P1376', {'concept': 'Q7275'}] ['Q220', 'P1376', {'concept': 'Q1048835'}] ['Q220', 'P1376', {'concept': 'Q7275'}] ['Q220', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { resource:Q220 property:P1376 ?x . ?x rdf:type ontology:Q1048835 } UNION { resource:Q220 property:P1376 ?x . ?x rdf:type ontology:Q7275 } }
Metropolitan City of Rome Papal States
2
action count
action union
action filter_type
action find
entity Rome
relation capital of
type state
action filter_type
action find
entity Rome
relation capital of
type political territorial entity
['Rome', 'capital of', {'concept': 'state'}] ['Rome', 'capital of', {'concept': 'political territorial entity'}] ['Rome', 'capital of', {'concept': 'state'}] ['Rome', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { resource:Rome property:capital_of ?x . ?x rdf:type ontology:political_territorial_entity } UNION { resource:Rome property:capital_of ?x . ?x rdf:type ontology:state } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q656 Q1825240
P190 P20
Q56061
USER
Which administrative territories did the demise of Maurizio Balocchi occur or are the sister cities of Saint Petersburg ?
OR((Q1825240,P20,c(Q56061)), (Q656,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1825240
relation P20
action find
entity Q656
relation P190
type Q56061
{'OR': [['Q1825240', 'P20', {'concept': 'Q56061'}], ['Q656', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1825240 property:P20 ?t } UNION { resource:Q656 property:P190 ?t } } . ?t rdf:type ontology:Q56061 }
Saint Petersburg Maurizio Balocchi
action filter_type
action union
action find
entity Maurizio Balocchi
relation place of death
action find
entity Saint Petersburg
relation sister city
type administrative territorial entity
{'OR': [['Maurizio Balocchi', 'place of death', {'concept': 'administrative territorial entity'}], ['Saint Petersburg', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Maurizio_Balocchi property:place_of_death ?t } UNION { resource:Saint_Petersburg property:sister_city ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q495 Q40840 Q1770 Q23436 Q3141 Q1874 Q20927 Q9365 Q17151 Q42810
SYSTEM
Some of them are Turin, Tampere, Tallinn, Edinburgh, Melbourne, Odessa, Daegu, Dushanbe, Thessaloniki, Le Havre
Q1757 Q41572 Q193241 Q1754 Q641 Q117040 Q80021 Q42810 Q18125 Q12892 Q9248 Q1861 Q79880 Q1156 Q8686 Q1963 Q42308 Q1770 Q38545 Q42053 Q459 Q190583 Q1479 Q9365 Q40840 Q220 Q25409 Q180522 Q23436 Q180717 Q35493 Q201051 Q1520 Q7525 Q47282 Q2280 Q1563 Q4115712 Q3141 Q994 Q35381 Q38511 Q20927 Q1010 Q17151 Q585 Q192155 Q87 Q1874 Q25319 Q34370 Q41621 Q406 Q1764 Q58976 Q472 Q5776 Q216 Q40269 Q8678 Q34647 Q490 Q270 Q956 Q1335 Q495 Q6506 Q65 Q1492 Q13972 Q5465 Q1085 Q36036
OR((Q1825240,P20,c(Q56061)), (Q656,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1825240
relation P20
action find
entity Q656
relation P190
type Q56061
The demise of Maurizio Balocchi occurred or are the sister cities of Saint Petersburg [ANSWERS]
{'OR': [['Q1825240', 'P20', {'concept': 'Q56061'}], ['Q656', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1825240 property:P20 ?t } UNION { resource:Q656 property:P190 ?t } } . ?t rdf:type ontology:Q56061 }
Helsinki Mykolaiv Nesebar Stockholm Venice Santiago de Cuba Daugavpils Le Havre Manchester Antwerp Baku Bangkok Debrecen Mumbai Shanghai Khartoum Kharkiv Tallinn Adana Isfahan Plovdiv Mikkeli Bordeaux Dushanbe Tampere Rome Košice Aqaba Edinburgh Sousse Almaty Rishon LeZion Astana Sevastopol Osh Minsk Havana Kaunas Melbourne Tbilisi Colombo Turku Daegu Maribor Thessaloniki Oslo Kotka Alexandria Odessa Aarhus Rotterdam Haifa Istanbul Reykjavík Piraeus Sofia Bethlehem Vilnius Porto Alegre Rio de Janeiro Johannesburg Milan Warsaw Beijing Montevideo Turin Varna Los Angeles Barcelona Tartu Cape Town Prague Lviv
The demise of Maurizio Balocchi occurred or are the sister cities of Saint Petersburg Turin, Tampere, Tallinn, Edinburgh, Melbourne, Odessa, Daegu, Dushanbe, Thessaloniki and Le Havre
Turin Tampere Tallinn Edinburgh Melbourne Odessa Daegu Dushanbe Thessaloniki Le Havre
action filter_type
action union
action find
entity Maurizio Balocchi
relation place of death
action find
entity Saint Petersburg
relation sister city
type administrative territorial entity
{'OR': [['Maurizio Balocchi', 'place of death', {'concept': 'administrative territorial entity'}], ['Saint Petersburg', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Maurizio_Balocchi property:place_of_death ?t } UNION { resource:Saint_Petersburg property:sister_city ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1770
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Tallinn ?
(Q1770,P1313,c(Q12737077))
action filter_type
action find
entity Q1770
relation P1313
type Q12737077
['Q1770', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1770 property:P1313 ?h }
Tallinn
action filter_type
action find
entity Tallinn
relation office held by head of government
type occupation
['Tallinn', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Tallinn property:office_held_by_head_of_government ?h }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q1770,P1313,c(Q12737077))
action filter_type
action find
entity Q1770
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Tallinn
['Q1770', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1770 property:P1313 ?h }
mayor
The mayor serves as the political office that is fulfilled by the head of the government of Tallinn
mayor
action filter_type
action find
entity Tallinn
relation office held by head of government
type occupation
['Tallinn', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Tallinn property:office_held_by_head_of_government ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1641713
Q12737077
USER
And also tell me about Mohedas de la Jara?
(Q1641713,P1313,c(Q12737077))
action filter_type
action find
entity Q1641713
relation P1313
type Q12737077
['Q1641713', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q1641713 property:P1313 ?b }
Mohedas de la Jara
action filter_type
action find
entity Mohedas de la Jara
relation office held by head of government
type occupation
['Mohedas de la Jara', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Mohedas_de_la_Jara property:office_held_by_head_of_government ?b }
[]
occupation
Q26693854
SYSTEM
mayor of Mohedas de la Jara
Q26693854
(Q1641713,P1313,c(Q12737077))
action filter_type
action find
entity Q1641713
relation P1313
type Q12737077
[ANSWER]
['Q1641713', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q1641713 property:P1313 ?b }
mayor of Mohedas de la Jara
mayor of Mohedas de la Jara
action filter_type
action find
entity Mohedas de la Jara
relation office held by head of government
type occupation
['Mohedas de la Jara', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Mohedas_de_la_Jara property:office_held_by_head_of_government ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q26693854 Q1641713
P1313
Q1048835
USER
Does Mohedas de la Jara have that occupation as office of head of government ?
(Q1641713,P1313,Q26693854)
action is_in
entity Q26693854
action find
entity Q1641713
relation P1313
['Q1641713', 'P1313', 'Q26693854']
ASK WHERE { resource:Q1641713 property:P1313 resource:Q26693854 }
mayor of Mohedas de la Jara Mohedas de la Jara
action is_in
entity mayor of Mohedas de la Jara
action find
entity Mohedas de la Jara
relation office held by head of government
['Mohedas de la Jara', 'office held by head of government', 'mayor of Mohedas de la Jara']
ASK WHERE { resource:Mohedas_de_la_Jara property:office_held_by_head_of_government resource:mayor_of_Mohedas_de_la_Jara }
[]
political territorial entity
SYSTEM
YES
(Q1641713,P1313,Q26693854)
action is_in
entity Q26693854
action find
entity Q1641713
relation P1313
[ANSWER]
['Q1641713', 'P1313', 'Q26693854']
ASK WHERE { resource:Q1641713 property:P1313 resource:Q26693854 }
Yes
action is_in
entity mayor of Mohedas de la Jara
action find
entity Mohedas de la Jara
relation office held by head of government
['Mohedas de la Jara', 'office held by head of government', 'mayor of Mohedas de la Jara']
ASK WHERE { resource:Mohedas_de_la_Jara property:office_held_by_head_of_government resource:mayor_of_Mohedas_de_la_Jara }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q42810
P19 P21
Q502895
USER
Which people were born at Le Havre and are a male ?
AND((c(Q502895),P19,Q42810), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q42810
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q42810'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P21 resource:Q6581097 . ?n property:P19 resource:Q42810 . ?n rdf:type ontology:Q502895 }
male Le Havre
action filter_type
action intersection
action find_reverse
entity Le Havre
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Le Havre'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:gender resource:male . ?n property:place_of_birth resource:Le_Havre . ?n rdf:type ontology:common_name }
[]
common name
Q16507000 Q15971744 Q3164462 Q2830050 Q3384553 Q326584 Q2835487 Q3188565 Q19951862 Q2871438
SYSTEM
Some of them are Adolphe d'Houdetot, Paul Bernard Labrosse-Luuyt, Jean-Baptiste Théodore Duval, Alain Louiset, Pierre Courant, André Siegfried, Alfred Touroude, Jules Durand, André Beuzebosc, Auguste Victor Mustel
Q15970291 Q18197656 Q2852887 Q3059765 Q3157879 Q3167189 Q2852888 Q3379749 Q3301057 Q15974167 Q2839856 Q17425800 Q3310077 Q2316817 Q2847892 Q3340832 Q2377723 Q21207803 Q3351421 Q13479522 Q15971744 Q3165005 Q3106046 Q949941 Q5546833 Q3142623 Q3157984 Q2847955 Q18744825 Q3496668 Q2861881 Q2926923 Q16507000 Q13080927 Q3592345 Q3013963 Q3188932 Q6787184 Q868326 Q15407058 Q3267718 Q3173390 Q2856700 Q15814140 Q27481 Q3302221 Q3383187 Q17576478 Q3371988 Q602146 Q3188565 Q2835319 Q3260636 Q2562588 Q678021 Q1028024 Q3436132 Q20974077 Q3176779 Q3298558 Q15969291 Q16233206 Q3351357 Q19844883 Q3028116 Q3169448 Q666771 Q21634532 Q3198391 Q3164485 Q2823115 Q2646198 Q2840849 Q3419119 Q518421 Q3428908 Q2358085 Q3022683 Q2980611 Q1879449 Q3419114 Q2835487 Q3332672 Q3340228 Q2965250 Q3384553 Q15969208 Q3102969 Q2960444 Q173328 Q126961 Q4257214 Q7152290 Q23938899 Q3417729 Q2364458 Q726232 Q3379881 Q19951862 Q560823 Q2848779 Q3760718 Q23898963 Q2841404 Q18689580 Q27482 Q2898232 Q3089602 Q2865261 Q16027068 Q3120029 Q3132181 Q708501 Q26837761 Q3188768 Q1879453 Q45205 Q3380579 Q23055049 Q3157927 Q3119690 Q3164853 Q3496691 Q3170909 Q3173334 Q20730736 Q2871438 Q3289113 Q158768 Q286485 Q3158330 Q3104892 Q517605 Q3190779 Q542873 Q3010592 Q2130029 Q286489 Q3164462 Q1798112 Q15971851 Q15302522 Q123164 Q3386100 Q22004134 Q3167963 Q286162 Q302764 Q23884184 Q15970156 Q3370596 Q21294695 Q3309508 Q17113961 Q3122002 Q1986497 Q690351 Q3122246 Q2387039 Q15968628 Q2861846 Q920752 Q3524553 Q918696 Q8054193 Q708482 Q3219500 Q2637184 Q772240 Q17120523 Q21634563 Q12752112 Q3170478 Q3099076 Q2144893 Q170076 Q2864459 Q5444525 Q7124080 Q19629514 Q3188603 Q3510204 Q4979280 Q3434775 Q3302269 Q2292672 Q20961828 Q1677874 Q315291 Q1289845 Q3191064 Q2852850 Q3300454 Q930720 Q3201149 Q326584 Q9311764 Q3310128 Q441931 Q3259675 Q3261358 Q3093776 Q2830050 Q3102182 Q2418689 Q1677861 Q2959422 Q122957 Q19663333 Q3383793 Q924159 Q3189663 Q7294047 Q18197525 Q3120033 Q3387012 Q3732116 Q1063339 Q3807600 Q3098966 Q19518184 Q218690 Q3188397 Q439747 Q361976 Q18736328 Q3372352 Q1379149 Q3302258 Q19359009 Q2966418 Q3385969 Q2871625 Q20265222 Q518273 Q7153519 Q3270911 Q2404579 Q15973554 Q7665917 Q1699205 Q376569 Q3158838 Q2824873 Q3385874 Q3386600 Q3380074 Q3380029 Q23898971 Q3047360 Q3385761 Q2834463 Q3435387 Q16525706 Q16266691 Q520829 Q1684901 Q3372218 Q3166838 Q3166847 Q21621929 Q24209132 Q3103052 Q1004158 Q2824777 Q22995024 Q3588353 Q3501710 Q654231 Q3383040 Q3142074 Q2897685 Q3086964 Q3035372 Q23054640 Q2831446 Q1339470 Q3350963 Q44755 Q1802560 Q15969556 Q6793355 Q2831525 Q3159364 Q16725890 Q3170278
AND((c(Q502895),P19,Q42810), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q42810
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Le Havre and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q42810'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P21 resource:Q6581097 . ?n property:P19 resource:Q42810 . ?n rdf:type ontology:Q502895 }
Gaston Prunier Emmanuel Joyau Anthony Laup Eugène Cavaignac Jacques-Armand Cardon Jean-Luc Lemonnier Anthony Le Duey Philippe Doucet Maurice Lesieutre William Cargill Alphonse Lamotte Eugène Jean-Baptiste Charles Lefébure Michel Lainé André Piganiol André Guerrier Nicolas Vallard Jean-Baptiste Cousin de Grainville Luigi Del Bianco Olivier Vatine Marcel Gascoin Paul Bernard Labrosse-Luuyt Jean-Claude Guédon Gilles-Maurice Dumoulin Matthias Lepiller Georges Jean-Aubry Hughes Le Roux Jacques-Laurent Bost André Herbelin Michel Lequenne Stanislas Foäche Armand Jean de Vignerot du Plessis Bruno Pinchard Adolphe d'Houdetot Jules Peulvé Étienne Périer Daniel Dubois Jules Tellier Mathieu Baudry Ghislain Vasseur Georges Dupuis Luq Hamet Jean Maridor Antoine Rufenacht Émile Duplat Gaël Angoula Max Marest Pierre-Joseph-Denis-Guillaume Faure Émile Charles Julien de La Rochenoire Paul Perquer Jean-Paul Lecoq Jules Durand Alfred Masson-Forestier Louis-Joseph Faure Martial Gueroult Armand de Kersaint Gueïda Fofana Robert Quibel Henri Colboc Jehan Le Povremoyne Mathias Durand-Reynaldo Pierre Charles Toussaint Pouyer Florent Hanin Olivier Saladin Benoît Ruelle Dimitri Dragin Jean-Pierre Kérien Christian Badou Auguste Bunoust Kokor Jean-Baptiste d'Après de Mannevillette Achille Urbain Alfred de Martonne Amadou Alassane Raoul Aubaud André Duroméa Reynold Arnould Gustave Buchard Denis Frémond Clément Groffe Léon Meyer Raoul Ancel Alfred Touroude Médine Nicolas Darrot Christian Ferrari Pierre Courant Adrien François Lemaistre Georges Kersaudy Charles Wilkes Paul Frère Casimir Delavigne Guillaume Leduey Paul Maze Eugène Delessert Raimond Lecourt René Poupardin Jérôme Le Banner Philippe Garnier André Beuzebosc Louis Bachelier André Vigarié Georges Rötig René Bossière Amaury Lepetit Gilles Blanchard Maka Mary Bernard Lenoble Pierre-Nicolas Beauvallet Arthur Meyer Joseph Morlot Guillaume Le Touze Henri Woollett Tristan Murail Eggly Jules Masurier Léon Prévost Raoul Dufy Philippe Prévost Auguste Dollfus Jacques-François Dicquemare Guillaume Beuzelin Jean-Claude Bouillaud Stanislas Levillain Jean Bouise Jean Mallon Louis Feray Auguste Victor Mustel Marcel Le Picard René Coty Léon Gautier Jacques Bosser Ghislain de Diesbach André Caplet Jérôme-Balthasar Levée Bernard Heuvelmans Côme Mosta-Heirt Émile Billard Émile Topsent Jean-Baptiste Théodore Duval Maurice Cantor Lucien Hérouard Aymeric Patricot Arthur Honegger Pierre Marc Jordan Dupray Jean-Michel Boucheron Émile Marcelin Roberto Frigerio Samba Camara Henri Blacque-Belair Paul Beauregard Jean Saunier Michel Dubocage Edmond Morin Guy Mazeline Nicolas Besch Jean Roth Guy de Fatto Thierry Peponnet Guillaume-Stanislas Faure Armand Frémont Patrick Demarchelier Thierry Uvenard Raoul Lesueur Yoann Arquin Othon Friesz Laurent Ruquier Kévin Anin Georges de Scudéry Ove Vangensten Marcel Paillette Ivan Đaja Jean Ayral Gaston Martineau René Viénet Jean Dubuffet Arsène Isabelle Fernand Mailly Charles-Guillaume Gamot Vincent Pinel Jules Galot Sébastien Levicq Bruno Le Stum Robert Chandeau Max Pinchard Jean Dufy Georges Friboulet Jacques Albrespic Julien Faubert Eduard Schmitz Jérôme Soligny Anthony Dupray Maurice Bokanowski Roger Godement Kévin Debris André Siegfried Roger Legras Michel Le Clerc Gustave Chouquet Lorris Murail Louis Brindeau Gabriel Guérin Alain Louiset Georges Ancel Theodore Spicer-Simson Jacques-François Ancelot Charles Isabelle Claude Torracinta Andrew Mazzei Pierre Aubery Michel Quoist Julien Sottiault Raphaël Clapson Henri de Curzon Guillaume Le Testu Pierre Six Ernest François Lefèvre Charles Alexandre Lesueur Jean-Louis Maubant Gaston Delaplane Demba Sow Raymond Queneau Jules Ancel Theodor Haag Jacques-Henri Bernardin de Saint-Pierre Pierre-Michel Rouelle Paul Vatine Louis Archinard Max Olivier-Lacamp Jean-Pierre Profichet Christophe Ono-Dit-Biot Pierre Lizot Augustin Normand Paul-Marie-Gustave Boigues André Deed Paul-Léon Seitz Léon Diguet Antoine Poupel André Begouën-Demeaux Sébastien Cuvier John Beasley Greene Samuel Contesti Jacques Eberhard Adolphe Maugendre Pierre Le Souef Pierre Philippe Urbain Thomas Philippe Jobin Philippe Huet Henry Bossière Eddy Simon Pierre Lang Alexis Bertin Robert Heuzé Alain Hamon Jean Vern André Lerond Jean-Jacques Avenel Paul Souday Jean-Louis Lagadec Jean-Louis Leclerc Riffi Mandanda Jean Duhail Georges Le Poitevin Frédéric Eichhoff Adolphe Borchard André Bresson Émile Blanchet Stéphane Delalandre Frédérick Lemaître Pierre-François Haumont Hubert Noël Bernard Chevignard Fred Vlès Dominique Paturel Georges Thouret Albert Palle René Tirard Olivier Davidas Aldo Angoula Lorne Currie Edmond Fouché-Lepelletier Maurice Milliere Albert Rénier Jacques Leguerney Charles Herrmann-Léon Jean Ache
Adolphe d'Houdetot, Paul Bernard Labrosse-Luuyt, Jean-Baptiste Théodore Duval, Alain Louiset, Pierre Courant, André Siegfried, Alfred Touroude, Jules Durand, André Beuzebosc and Auguste Victor Mustel were born at Le Havre and are a male
Adolphe d'Houdetot Paul Bernard Labrosse-Luuyt Jean-Baptiste Théodore Duval Alain Louiset Pierre Courant André Siegfried Alfred Touroude Jules Durand André Beuzebosc Auguste Victor Mustel
action filter_type
action intersection
action find_reverse
entity Le Havre
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Le Havre'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:gender resource:male . ?n property:place_of_birth resource:Le_Havre . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6681061 Q3384553
P19
Q56061
USER
Which administrative territories were Pierre Courant or Lori Endicott born ?
OR((Q3384553,P19,c(Q56061)), (Q6681061,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3384553
relation P19
action find
entity Q6681061
relation P19
type Q56061
{'OR': [['Q3384553', 'P19', {'concept': 'Q56061'}], ['Q6681061', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . { { resource:Q3384553 property:P19 ?m } UNION { resource:Q6681061 property:P19 ?m } } }
Lori Endicott Pierre Courant
action filter_type
action union
action find
entity Pierre Courant
relation place of birth
action find
entity Lori Endicott
relation place of birth
type administrative territorial entity
{'OR': [['Pierre Courant', 'place of birth', {'concept': 'administrative territorial entity'}], ['Lori Endicott', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . { { resource:Pierre_Courant property:place_of_birth ?m } UNION { resource:Lori_Endicott property:place_of_birth ?m } } }
[]
administrative territorial entity
Q41819 Q42810
SYSTEM
Kansas City, Le Havre
Q41819 Q42810
OR((Q3384553,P19,c(Q56061)), (Q6681061,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3384553
relation P19
action find
entity Q6681061
relation P19
type Q56061
[ANSWERS] were Pierre Courant or Lori Endicott born
{'OR': [['Q3384553', 'P19', {'concept': 'Q56061'}], ['Q6681061', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . { { resource:Q3384553 property:P19 ?m } UNION { resource:Q6681061 property:P19 ?m } } }
Kansas City Le Havre
Kansas City and Le Havre were Pierre Courant or Lori Endicott born
Kansas City Le Havre
action filter_type
action union
action find
entity Pierre Courant
relation place of birth
action find
entity Lori Endicott
relation place of birth
type administrative territorial entity
{'OR': [['Pierre Courant', 'place of birth', {'concept': 'administrative territorial entity'}], ['Lori Endicott', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . { { resource:Pierre_Courant property:place_of_birth ?m } UNION { resource:Lori_Endicott property:place_of_birth ?m } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are twin towns of that administrative territory ?
(Q41819,P190,c(Q56061))
['Q41819', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q977996 property:P190 ?z . ?z rdf:type ontology:Q56061 }
['Kansas City', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kansas_City property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q42810
SYSTEM
Did you mean Le Havre ?
(Q41819,P190,c(Q56061)) (Q42810,P190,c(Q56061))
[ANSWER]
['Q41819', 'P190', {'concept': 'Q56061'}] ['Q42810', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q977996 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Le Havre ?
Le Havre
['Kansas City', 'sister city', {'concept': 'administrative territorial entity'}] ['Le Havre', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kansas_City property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Kansas City. Could you tell me the answer for that?
(Q41819,P190,c(Q56061))
Q41819
['Q41819', 'P190', {'concept': 'Q56061'}]
['Kansas City', 'sister city', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
5
Q3780 Q8717 Q1715 Q4301 Q221447
(Q41819,P190,c(Q56061))
[ANSWER]
['Q41819', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q977996 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Freetown Seville Hanover Arusha Ramla
5
['Kansas City', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kansas_City property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q495
P1001
Q12737077
USER
Which occupation has control over the jurisdiction of Turin ?
(c(Q12737077),P1001,Q495)
action filter_type
action find_reverse
entity Q495
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q495']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q495 . ?v rdf:type ontology:Q12737077 }
Turin
action filter_type
action find_reverse
entity Turin
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Turin']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Turin . ?v rdf:type ontology:occupation }
[]
occupation
Q24702372
SYSTEM
mayor of Torino
Q24702372
(c(Q12737077),P1001,Q495)
action filter_type
action find_reverse
entity Q495
relation P1001
type Q12737077
The [ANSWER] has control over the jurisdiction of Turin
[{'concept': 'Q12737077'}, 'P1001', 'Q495']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q495 . ?v rdf:type ontology:Q12737077 }
mayor of Torino
The mayor of Torino has control over the jurisdiction of Turin
mayor of Torino
action filter_type
action find_reverse
entity Turin
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Turin']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Turin . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q495
P931
Q62447
USER
What city is served by that administrative territory ?
(c(Q62447),P931,Q24702372)
action filter_type
action find_reverse
entity Q495
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q24702372']
SELECT DISTINCT ?p WHERE { ?p property:P931 resource:Q495 . ?p rdf:type ontology:Q62447 }
Turin
action filter_type
action find_reverse
entity Turin
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'mayor of Torino']
SELECT DISTINCT ?p WHERE { ?p property:place_served_by_airport resource:Turin . ?p rdf:type ontology:aerodrome }
[]
aerodrome
Q528184
SYSTEM
Turin Airport
Q528184
(c(Q62447),P931,Q24702372)
action filter_type
action find_reverse
entity Q495
relation P931
type Q62447
[ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q24702372']
SELECT DISTINCT ?p WHERE { ?p property:P931 resource:Q495 . ?p rdf:type ontology:Q62447 }
Turin Airport
Turin Airport is served by that administrative territory
Turin Airport
action filter_type
action find_reverse
entity Turin
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'mayor of Torino']
SELECT DISTINCT ?p WHERE { ?p property:place_served_by_airport resource:Turin . ?p rdf:type ontology:aerodrome }
[]