Simple Question (Direct)
Simple Question
Q3132985
P19
Q20667921
USER
Which french administrative division was Henry Orrion born in ?
(Q3132985,P19,c(Q20667921))
action filter_type
action find
entity Q3132985
relation P19
type Q20667921
['Q3132985', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q3132985 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
Henry Orrion
action filter_type
action find
entity Henry Orrion
relation place of birth
type type of french administrative division
['Henry Orrion', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Henry_Orrion property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q211923
SYSTEM
Les Sables-d'Olonne
Q211923
(Q3132985,P19,c(Q20667921))
action filter_type
action find
entity Q3132985
relation P19
type Q20667921
Henry Orrion was born in [ANSWER]
['Q3132985', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q3132985 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
Les Sables-d'Olonne
Henry Orrion was born in Les Sables-d'Olonne
Les Sables-d'Olonne
action filter_type
action find
entity Henry Orrion
relation place of birth
type type of french administrative division
['Henry Orrion', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Henry_Orrion property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3132985
P27
Q15617994
USER
Which administrative territory is Henry Orrion a civilian of ?
(Q3132985,P27,c(Q15617994))
action filter_type
action find
entity Q3132985
relation P27
type Q15617994
['Q3132985', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q3132985 property:P27 ?l }
Henry Orrion
action filter_type
action find
entity Henry Orrion
relation country of citizenship
type designation for an administrative territorial entity
['Henry Orrion', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Henry_Orrion property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3132985,P27,c(Q15617994))
action filter_type
action find
entity Q3132985
relation P27
type Q15617994
[ANSWER] is Henry Orrion a civilian of
['Q3132985', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q3132985 property:P27 ?l }
France
France is Henry Orrion a civilian of
France
action filter_type
action find
entity Henry Orrion
relation country of citizenship
type designation for an administrative territorial entity
['Henry Orrion', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Henry_Orrion property:country_of_citizenship ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3132985
P138
Q376799
USER
Which transport infrastructure has that person as its namesake ?
(c(Q376799),P138,Q142)
action filter_type
action find_reverse
entity Q3132985
relation P138
type Q376799
[{'concept': 'Q376799'}, 'P138', 'Q142']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q3132985 . ?k rdf:type ontology:Q376799 }
Henry Orrion
action filter_type
action find_reverse
entity Henry Orrion
relation named after
type transport infrastructure
[{'concept': 'transport infrastructure'}, 'named after', 'France']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Henry_Orrion . ?k rdf:type ontology:transport_infrastructure }
[]
transport infrastructure
Q15156507
SYSTEM
boulevard Henry-Orrion
Q15156507
(c(Q376799),P138,Q142)
action filter_type
action find_reverse
entity Q3132985
relation P138
type Q376799
[ANSWER] has that person as its namesake
[{'concept': 'Q376799'}, 'P138', 'Q142']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q3132985 . ?k rdf:type ontology:Q376799 }
boulevard Henry-Orrion
Boulevard Henry-Orrion has that person as its namesake
boulevard Henry-Orrion
action filter_type
action find_reverse
entity Henry Orrion
relation named after
type transport infrastructure
[{'concept': 'transport infrastructure'}, 'named after', 'France']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Henry_Orrion . ?k rdf:type ontology:transport_infrastructure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have diplomatic relations with France ?
(Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q142
relation P530
type Q15617994
['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { resource:Q142 property:P530 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q142 property:P530 ?w . ?w rdf:type ontology:Q1048835 } }
France
action count
action union
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { resource:France property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:France property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
18
Q711 Q38 Q159 Q222 Q40 Q145 Q155 Q183 Q1011 Q32 Q17 Q408 Q30 Q399 Q27 Q403 Q801 Q228
(Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWER]
['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { resource:Q142 property:P530 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q142 property:P530 ?w . ?w rdf:type ontology:Q1048835 } }
Mongolia Italy Russia Albania Austria United Kingdom Brazil Germany Cape Verde Luxembourg Japan Australia United States of America Armenia Ireland Serbia Israel Andorra
18
action count
action union
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { resource:France property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:France property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q145 Q142
P27
Q502895
USER
Which people are a native of France and United Kingdom ?
AND((c(Q502895),P27,Q142), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q142'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?p WHERE { ?p property:P27 resource:Q142 . ?p property:P27 resource:Q145 . ?p rdf:type ontology:Q502895 }
United Kingdom France
action filter_type
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'France'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?p WHERE { ?p property:country_of_citizenship resource:France . ?p property:country_of_citizenship resource:United_Kingdom . ?p rdf:type ontology:common_name }
[]
common name
Q515857 Q956854 Q6375918 Q237758 Q6216500 Q289892 Q27032 Q330580 Q21995180 Q685223
SYSTEM
Some of them are Jack Agazarian, Louis Welden Hawkins, Katell Keineg, Sophie Gengembre Anderson, Johannes Alanus, Odette Hallowes, Edmund Dulac, Falkes de Breauté, Finnegan Oldfield, Gilles Peterson
Q521645 Q275013 Q126462 Q291693 Q383853 Q3182437 Q23967041 Q448459 Q6375918 Q3484297 Q1478736 Q5237551 Q7298263 Q16731654 Q464636 Q21995180 Q2638818 Q21934670 Q3175557 Q956854 Q175130 Q468014 Q2978360 Q17374188 Q2984076 Q5751662 Q3991513 Q16197448 Q3060153 Q27032 Q1063936 Q579188 Q7152290 Q519129 Q3714643 Q309715 Q511089 Q517162 Q4726173 Q445306 Q513386 Q957538 Q15176448 Q2161266 Q780970 Q6162887 Q531585 Q208590 Q237758 Q3143590 Q1471429 Q5274744 Q949700 Q726426 Q205868 Q944388 Q714906 Q2877725 Q359659 Q965843 Q535697 Q4020180 Q511251 Q166023 Q3130979 Q431240 Q276005 Q353544 Q1293456 Q6216500 Q6770782 Q3502154 Q26044 Q2453923 Q515857 Q685223 Q3164235 Q1386445 Q1970087 Q3288405 Q330580 Q468772 Q312694 Q606524 Q16819989 Q435640 Q333106 Q312519 Q17482299 Q964608 Q289892
AND((c(Q502895),P27,Q142), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
[ANSWERS] are a native of France and United Kingdom
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q142'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?p WHERE { ?p property:P27 resource:Q142 . ?p property:P27 resource:Q145 . ?p rdf:type ontology:Q502895 }
Marthe Richard Austen Henry Layard Thomas Paine Anastasia Griffith Henry Litolff John Saxby Jules Dudoit Pannonica de Koenigswarter Katell Keineg Simon Halliday Michel Maittaire David Michie Ray Watts Anne Lovett Augusta Holmès Finnegan Oldfield Jean-Jacques Burnel James Sparrow MeeK Louis Welden Hawkins Alfred Sisley Susan Travers Claudius Hollyband Claire Tran Colo Tavernier Hidayat Inayat Khan Timothée Jordan William Williams-Hope Eugène Rimmel Edmund Dulac Charles Joshua Chaplin Arthur Cravan Paul Maze Eugenie Sellers Strong Douglas Robinson Roland Joffé Henri de Massue, Earl of Galway Agnes Mary Frances Duclaux Alice de Lusignan of Angoulême Marc Isambard Brunel Jacques Paisible Alphonse Legros Jimmy de Brabant Rodolphe d'Erlanger Thurstan Jason Kouchak Jade Jagger Kristin Scott Thomas Sophie Gengembre Anderson Hyacinthe Louis Rabino di Borgomale Frédéric Alfred d'Erlanger Diego Masson George du Maurier Maurice Noël Léon Couve de Murville Vernon Dobtcheff Pierre-Esprit Radisson Augustus Desiré Waller Baba de Faucigny-Lucinge John Rocque Hugh de Puiset Constance Wachtmeister William Anderson Marie Gerbron James FitzJames, 1st Duke of Berwick Henri Diacono Nora Kershaw Chadwick Charlotte Gainsbourg Stephen Batchelor Edward Salim Michael Johannes Alanus Richard of Dover Stéphanie Benson Lloyd Hildebrand Emily Loizeau Jack Agazarian Gilles Peterson Jean-Baptiste Lislet Geoffroy George Langelaan Philip James de Loutherbourg Marc Smith Falkes de Breauté Anne Vallayer-Coster John Law Arthur Schneidau Brigitte Adès Lise de Baissac Hilaire Belloc Robert Faurisson Frédéric Charles de La Rochefoucauld Lucien Pissarro Odette Hallowes
Jack Agazarian, Louis Welden Hawkins, Katell Keineg, Sophie Gengembre Anderson, Johannes Alanus, Odette Hallowes, Edmund Dulac, Falkes de Breauté, Finnegan Oldfield and Gilles Peterson are a native of France and United Kingdom
Jack Agazarian Louis Welden Hawkins Katell Keineg Sophie Gengembre Anderson Johannes Alanus Odette Hallowes Edmund Dulac Falkes de Breauté Finnegan Oldfield Gilles Peterson
action filter_type
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'France'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?p WHERE { ?p property:country_of_citizenship resource:France . ?p property:country_of_citizenship resource:United_Kingdom . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P84
Q811430
USER
What was United Kingdom an architect of ?
(c(Q811430),P84,Q145)
action filter_type
action find_reverse
entity Q145
relation P84
type Q811430
[{'concept': 'Q811430'}, 'P84', 'Q145']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q811430 . ?u property:P84 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'United Kingdom']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:construction . ?u property:architect resource:United_Kingdom }
[]
construction
Q18648965
SYSTEM
Chennai Tech Park
Q18648965
(c(Q811430),P84,Q145)
action filter_type
action find_reverse
entity Q145
relation P84
type Q811430
United Kingdom was an architect of [ANSWER]
[{'concept': 'Q811430'}, 'P84', 'Q145']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q811430 . ?u property:P84 resource:Q145 }
Chennai Tech Park
United Kingdom was an architect of Chennai Tech Park
Chennai Tech Park
action filter_type
action find_reverse
entity United Kingdom
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'United Kingdom']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:construction . ?u property:architect resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P463
Q484652
USER
What were United Kingdom a member of ?
(Q145,P463,c(Q484652))
action filter_type
action find
entity Q145
relation P463
type Q484652
['Q145', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?d WHERE { resource:Q145 property:P463 ?d . ?d rdf:type ontology:Q484652 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation member of
type international organization
['United Kingdom', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?d WHERE { resource:United_Kingdom property:member_of ?d . ?d rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, G20, European Space Agency
Q81299 Q19771 Q7785 Q1065 Q188822 Q37143 Q7184 Q42262 Q1043527
(Q145,P463,c(Q484652))
action filter_type
action find
entity Q145
relation P463
type Q484652
United Kingdom were the [ANSWERS] a member
['Q145', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?d WHERE { resource:Q145 property:P463 ?d . ?d rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe G20 Commonwealth of Nations United Nations Asian Development Bank G8 North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
United Kingdom were the Organization for Security and Co-operation in Europe, G20 and European Space Agency a member
Organization for Security and Co-operation in Europe G20 European Space Agency
action filter_type
action find
entity United Kingdom
relation member of
type international organization
['United Kingdom', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?d WHERE { resource:United_Kingdom property:member_of ?d . ?d rdf:type ontology:international_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42262
P159
Q56061
USER
Where is the head office for that international organization located ?
(Q42262,P159,c(Q56061))
action filter_type
action find
entity Q42262
relation P159
type Q56061
['Q42262', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q42262 property:P159 ?k . ?k rdf:type ontology:Q56061 }
European Space Agency
action filter_type
action find
entity European Space Agency
relation headquarters location
type administrative territorial entity
['European Space Agency', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:European_Space_Agency property:headquarters_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q81299
SYSTEM
Did you mean Organization for Security and Co-operation in Europe ?
Q81299 Q19771 Q42262
(Q81299,P159,c(Q56061)) (Q19771,P159,c(Q56061)) (Q42262,P159,c(Q56061))
[ANSWER]
['Q81299', 'P159', {'concept': 'Q56061'}] ['Q19771', 'P159', {'concept': 'Q56061'}] ['Q42262', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q42262 property:P159 ?k . ?k rdf:type ontology:Q56061 }
Organization for Security and Co-operation in Europe G20 European Space Agency
Did you mean Organization for Security and Co-operation in Europe ?
Organization for Security and Co-operation in Europe
['Organization for Security and Co-operation in Europe', 'headquarters location', {'concept': 'administrative territorial entity'}] ['G20', 'headquarters location', {'concept': 'administrative territorial entity'}] ['European Space Agency', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:European_Space_Agency property:headquarters_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant European Space Agency. Could you tell me the answer for that?
(Q42262,P159,c(Q56061))
Q42262
['Q42262', 'P159', {'concept': 'Q56061'}]
['European Space Agency', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q90
SYSTEM
Paris
Q90
(Q42262,P159,c(Q56061))
action filter_type
action find
entity Q42262
relation P159
type Q56061
The head office for that international organization is located in [ANSWER]
['Q42262', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q42262 property:P159 ?k . ?k rdf:type ontology:Q56061 }
Paris
The head office for that international organization is located in Paris
Paris
action filter_type
action find
entity European Space Agency
relation headquarters location
type administrative territorial entity
['European Space Agency', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:European_Space_Agency property:headquarters_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]