Simple Question (Direct)
Simple Question
Q15453558
P1412
Q34770
USER
Which language does Edward Roy Pike speak in ?
(Q15453558,P1412,c(Q34770))
action filter_type
action find
entity Q15453558
relation P1412
type Q34770
['Q15453558', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q15453558 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Edward Roy Pike
action filter_type
action find
entity Edward Roy Pike
relation languages spoken, written or signed
type language
['Edward Roy Pike', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Edward_Roy_Pike property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q15453558,P1412,c(Q34770))
action filter_type
action find
entity Q15453558
relation P1412
type Q34770
Edward Roy Pike speaks [ANSWER]
['Q15453558', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q15453558 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
Edward Roy Pike speaks English
English
action filter_type
action find
entity Edward Roy Pike
relation languages spoken, written or signed
type language
['Edward Roy Pike', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Edward_Roy_Pike property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15453558
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q1860,P27,c(Q1048835))
action filter_type
action find
entity Q15453558
relation P27
type Q1048835
['Q1860', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q15453558 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Edward Roy Pike
action filter_type
action find
entity Edward Roy Pike
relation country of citizenship
type political territorial entity
['English', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Edward_Roy_Pike property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q1860,P27,c(Q1048835))
action filter_type
action find
entity Q15453558
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q1860', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q15453558 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Australia
Australia is that person an inhabitant of
Australia
action filter_type
action find
entity Edward Roy Pike
relation country of citizenship
type political territorial entity
['English', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Edward_Roy_Pike property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q408 Q10224 Q557146
P530
Q15617994
USER
Is that political territory known to have diplomatic connections with Rivara and Eggebek ?
(Q408,P530,Q10224) (Q408,P530,Q557146)
action is_in
entity Q408
action intersection
action find_reverse
entity Q10224
relation P530
action find_reverse
entity Q557146
relation P530
['Q408', 'P530', 'Q10224'] ['Q408', 'P530', 'Q557146']
ASK WHERE { resource:Q408 property:P530 resource:Q10224 . resource:Q408 property:P530 resource:Q557146 }
Australia Rivara Eggebek
action is_in
entity Australia
action intersection
action find_reverse
entity Rivara
relation diplomatic relation
action find_reverse
entity Eggebek
relation diplomatic relation
['Australia', 'diplomatic relation', 'Rivara'] ['Australia', 'diplomatic relation', 'Eggebek']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Rivara . resource:Australia property:diplomatic_relation resource:Eggebek }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q408,P530,Q10224) (Q408,P530,Q557146)
action is_in
entity Q408
action intersection
action find_reverse
entity Q10224
relation P530
action find_reverse
entity Q557146
relation P530
[ANSWER]
['Q408', 'P530', 'Q10224'] ['Q408', 'P530', 'Q557146']
ASK WHERE { resource:Q408 property:P530 resource:Q10224 . resource:Q408 property:P530 resource:Q557146 }
No
action is_in
entity Australia
action intersection
action find_reverse
entity Rivara
relation diplomatic relation
action find_reverse
entity Eggebek
relation diplomatic relation
['Australia', 'diplomatic relation', 'Rivara'] ['Australia', 'diplomatic relation', 'Eggebek']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Rivara . resource:Australia property:diplomatic_relation resource:Eggebek }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q844784
P206
Q1267889 Q15324 Q1048835
USER
Which political territories are located in the neighbourhood of less number of waterways and bodies of water than Vale of Glamorgan ?
(c(Q1048835),P206,c(Q1267889)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q844784
relation P206
type Q1267889
type Q15324
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q844784 property:P206 ?w . { { ?w rdf:type ontology:Q1267889 } UNION { ?w rdf:type ontology:Q15324 } } } } . FILTER ( ?r < ?u ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { ?m rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } GROUP BY ?b } }
Vale of Glamorgan
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Vale of Glamorgan
relation located next to body of water
type waterway
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Vale_of_Glamorgan property:located_next_to_body_of_water ?w . { { ?w rdf:type ontology:waterway } UNION { ?w rdf:type ontology:body_of_water } } } } . FILTER ( ?r < ?u ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { ?m rdf:type ?h . VALUES ( ?h ) { ( ontology:waterway ) ( ontology:body_of_water ) } } GROUP BY ?b } }
[]
waterway body of water political territorial entity
Q16 Q40 Q643919
SYSTEM
Canada, Austria, Torfaen County Borough
Q736872 Q434192 Q21590062 Q434053 Q782910 Q1447512 Q1628271 Q2044159 Q49562 Q52626 Q677038 Q540185 Q484552 Q433632 Q983556 Q193780 Q635308 Q741749 Q983465 Q2772 Q4359878 Q353618 Q4524665 Q983628 Q846153 Q925913 Q830969 Q846159 Q1324548 Q40 Q962773 Q12071 Q985601 Q615809 Q565002 Q1905388 Q16 Q390069 Q11339 Q55845 Q210887 Q2323549 Q594892 Q582901 Q1853429 Q4408930 Q587114 Q434321 Q11492 Q11263 Q915283 Q11294004 Q4321529 Q661198 Q741765 Q985598 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q716384 Q499184 Q13462 Q986364 Q956757 Q1798827 Q2244278 Q693258 Q736926 Q433918 Q434019 Q986359 Q575670 Q926410 Q1768232 Q698246 Q15907 Q624967 Q1606460 Q832984 Q11286 Q13150 Q913492 Q1628788 Q13154 Q176624 Q2451327 Q24342199 Q11811 Q426350 Q738674 Q7165 Q983433 Q524431 Q985586 Q1248474 Q11296 Q13424648 Q277302 Q628446 Q366948 Q492741 Q11822 Q932914 Q492748 Q434150 Q944264 Q943431 Q920391 Q399702 Q491786 Q2140 Q985599 Q983635 Q706892 Q615061 Q953876 Q3741 Q657800 Q638013 Q492737 Q433958 Q492735 Q1588135 Q4469165 Q827393 Q11304 Q1260011 Q737440 Q657738 Q584446 Q427330 Q682964 Q171852 Q1607872 Q2110 Q433986 Q501077 Q80967 Q994034 Q586584 Q983577 Q611250 Q615916 Q986727 Q181633 Q643919 Q487268 Q207176 Q736888 Q175057 Q398588 Q1110355 Q434173 Q575639 Q597201 Q434286 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q1267889)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q844784
relation P206
type Q1267889
type Q15324
[ANSWERS] are located in the neighbourhood of less number of waterways and bodies of water than Vale of Glamorgan
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q844784 property:P206 ?w . { { ?w rdf:type ontology:Q1267889 } UNION { ?w rdf:type ontology:Q15324 } } } } . FILTER ( ?r < ?u ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { ?m rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } GROUP BY ?b } }
Ayamonte San Andrés y Sauces Antarctic Treaty area Garafía El Sauzal Chantada Soutomaior Llanybydder Adra Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Santa Eulària des Riu West Sumatra Pisocine Adeje Szychtory Sant Joan de Labritja San Roque Los Barrios Betancuria Puerto Real El Pinar, Canary Islands Austria San Bartolomé, Las Palmas Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol L'Alcúdia de Crespins Canada Agaete Llançà Telde Sanlúcar de Barrameda Yaiza, Las Palmas La Oliva Lújar Valverde Sasiv Itamaracá Villa de Mazo Mataró Cadaqués Santiago del Teide Newport City Nuśmice Pájara San Fernando Moya, Las Palmas Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Arucas, Las Palmas Roquetas de Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Gáldar, Las Palmas La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Algarrobo Trillo Arona, Tenerife Rota Arafo Malpica de Tajo Conil de la Frontera Castelló d'Empúries Torrox Manilva El Puente del Arzobispo Barbate El Rosario, Tenerife Sé City and County of Cardiff El Port de la Selva Tazacorte Santa Lucía de Tirajana Portbou Güímar Fasnia Tuineje, Las Palmas Rincón de la Victoria Colera Troitske Chiclana de la Frontera Mogán, Las Palmas Los Llanos de Aridane Vélez-Málaga Roses Alajeró, Santa Cruz de Tenerife Estepona Puntagorda Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava Agüimes, Las Palmas Calvià North Sumatra Province Ingenio, Las Palmas Sant Josep de sa Talaia Artenara, Las Palmas Rubite Los Realejos Special Region of Yogyakarta Santa Úrsula Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Uhrynów Vejer de la Frontera L'Escala Hermigua Teguise Arico Valle Gran Rey Salobreña Los Silos Odessa Oblast Piedralaves Lampung Province Breña Baja Lepe Outer Hebrides Variazh Nînovîci, La Matanza de Acentejo Polopos Vasilivka La Aldea de San Nicolás Mykolaiv Oblast Torfaen County Borough Candelaria Monmouthshire Punta Umbría Fernando de Noronha Agulo Níjar Puntallana Gualchos Lake of the Woods, Ontario Tijarafe Buenavista del Norte Mañón Berja Enix, Spain
Canada, Austria and Torfaen County Borough are located in the neighbourhood of less number of waterways and bodies of water than Vale of Glamorgan
Canada Austria Torfaen County Borough
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Vale of Glamorgan
relation located next to body of water
type waterway
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Vale_of_Glamorgan property:located_next_to_body_of_water ?w . { { ?w rdf:type ontology:waterway } UNION { ?w rdf:type ontology:body_of_water } } } } . FILTER ( ?r < ?u ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { ?m rdf:type ?h . VALUES ( ?h ) { ( ontology:waterway ) ( ontology:body_of_water ) } } GROUP BY ?b } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q333085 Q15453558
P69 P108
Q3918
USER
Which universities do Edward Roy Pike work for and are the alma mater of David Owen ?
AND((Q15453558,P108,c(Q3918)), (Q333085,P69,c(Q3918)))
action filter_type
action intersection
action find
entity Q15453558
relation P108
action find
entity Q333085
relation P69
type Q3918
{'AND': [['Q15453558', 'P108', {'concept': 'Q3918'}], ['Q333085', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?e WHERE { resource:Q333085 property:P69 ?e . resource:Q15453558 property:P108 ?e . ?e rdf:type ontology:Q3918 }
David Owen Edward Roy Pike
action filter_type
action intersection
action find
entity Edward Roy Pike
relation employer
action find
entity David Owen
relation educated at
type university
{'AND': [['Edward Roy Pike', 'employer', {'concept': 'university'}], ['David Owen', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?e WHERE { resource:David_Owen property:educated_at ?e . resource:Edward_Roy_Pike property:employer ?e . ?e rdf:type ontology:university }
[]
university
Q245247
SYSTEM
King's College London
Q245247
AND((Q15453558,P108,c(Q3918)), (Q333085,P69,c(Q3918)))
action filter_type
action intersection
action find
entity Q15453558
relation P108
action find
entity Q333085
relation P69
type Q3918
Edward Roy Pike work at [ANSWER] and are the alma mater of David Owen
{'AND': [['Q15453558', 'P108', {'concept': 'Q3918'}], ['Q333085', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?e WHERE { resource:Q333085 property:P69 ?e . resource:Q15453558 property:P108 ?e . ?e rdf:type ontology:Q3918 }
King's College London
Edward Roy Pike work at King's College London and are the alma mater of David Owen
King's College London
action filter_type
action intersection
action find
entity Edward Roy Pike
relation employer
action find
entity David Owen
relation educated at
type university
{'AND': [['Edward Roy Pike', 'employer', {'concept': 'university'}], ['David Owen', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?e WHERE { resource:David_Owen property:educated_at ?e . resource:Edward_Roy_Pike property:employer ?e . ?e rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q333085
P102
Q7210356
USER
Which party does David Owen belong to ?
(Q333085,P102,c(Q7210356))
action filter_type
action find
entity Q333085
relation P102
type Q7210356
['Q333085', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q333085 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
David Owen
action filter_type
action find
entity David Owen
relation member of political party
type political organization
['David Owen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:David_Owen property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q333085,P102,c(Q7210356))
action filter_type
action find
entity Q333085
relation P102
type Q7210356
David Owen belongs to [ANSWER]
['Q333085', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q333085 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Labour Party
David Owen belongs to Labour Party
Labour Party
action filter_type
action find
entity David Owen
relation member of political party
type political organization
['David Owen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:David_Owen property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q333085
P39
Q12737077
USER
Which occupations were the positions for which that person were appointed ?
(Q9630,P39,c(Q12737077))
action filter_type
action find
entity Q333085
relation P39
type Q12737077
['Q9630', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q333085 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
David Owen
action filter_type
action find
entity David Owen
relation position held
type occupation
['Labour Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:David_Owen property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q1371091 Q16707842 Q7460593
SYSTEM
Secretary of State for Foreign and Commonwealth Affairs, Member of Parliament in the United Kingdom, Shadow Secretary of State for Energy and Climate Change
Q16707842 Q1371091 Q7460593 Q7460514 Q4146869
(Q9630,P39,c(Q12737077))
action filter_type
action find
entity Q333085
relation P39
type Q12737077
The [ANSWERS] were the positions for which that person were appointed
['Q9630', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q333085 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom Secretary of State for Foreign and Commonwealth Affairs Shadow Secretary of State for Energy and Climate Change Shadow Foreign Secretary Minister of State for Foreign Affairs
The Secretary of State for Foreign and Commonwealth Affairs, Member of Parliament in the United Kingdom and Shadow Secretary of State for Energy and Climate Change were the positions for which that person were appointed
Secretary of State for Foreign and Commonwealth Affairs Member of Parliament in the United Kingdom Shadow Secretary of State for Energy and Climate Change
action filter_type
action find
entity David Owen
relation position held
type occupation
['Labour Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:David_Owen property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q333085
P937
Q56061
USER
What is the work location of that person ?
(Q1371091,P937,c(Q56061)) (Q16707842,P937,c(Q56061)) (Q7460593,P937,c(Q56061))
action filter_type
action find
entity Q333085
relation P937
type Q56061
['Q1371091', 'P937', {'concept': 'Q56061'}] ['Q16707842', 'P937', {'concept': 'Q56061'}] ['Q7460593', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q333085 property:P937 ?d . ?d rdf:type ontology:Q56061 }
David Owen
action filter_type
action find
entity David Owen
relation work location
type administrative territorial entity
['Secretary of State for Foreign and Commonwealth Affairs', 'work location', {'concept': 'administrative territorial entity'}] ['Member of Parliament in the United Kingdom', 'work location', {'concept': 'administrative territorial entity'}] ['Shadow Secretary of State for Energy and Climate Change', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:David_Owen property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q1371091,P937,c(Q56061)) (Q16707842,P937,c(Q56061)) (Q7460593,P937,c(Q56061))
action filter_type
action find
entity Q333085
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q1371091', 'P937', {'concept': 'Q56061'}] ['Q16707842', 'P937', {'concept': 'Q56061'}] ['Q7460593', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q333085 property:P937 ?d . ?d rdf:type ontology:Q56061 }
London
The work location of that person is in London
London
action filter_type
action find
entity David Owen
relation work location
type administrative territorial entity
['Secretary of State for Foreign and Commonwealth Affairs', 'work location', {'concept': 'administrative territorial entity'}] ['Member of Parliament in the United Kingdom', 'work location', {'concept': 'administrative territorial entity'}] ['Shadow Secretary of State for Energy and Climate Change', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:David_Owen property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P1376
Q15617994
USER
Which administrative territory has that administrative territory has its first city ?
(Q84,P1376,c(Q15617994))
action filter_type
action find
entity Q84
relation P1376
type Q15617994
['Q84', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q84 property:P1376 ?l . ?l rdf:type ontology:Q15617994 }
London
action filter_type
action find
entity London
relation capital of
type designation for an administrative territorial entity
['London', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:London property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q84,P1376,c(Q15617994))
action filter_type
action find
entity Q84
relation P1376
type Q15617994
The [ANSWER] has that administrative territory has its first city
['Q84', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q84 property:P1376 ?l . ?l rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom has that administrative territory has its first city
United Kingdom
action filter_type
action find
entity London
relation capital of
type designation for an administrative territorial entity
['London', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:London property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16
P710
Q820655 Q1190554
USER
How many statutes and events did Canada participate in ?
(c(Q820655),P710,Q16) (c(Q1190554),P710,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P710
type Q820655
action filter_type
action find_reverse
entity Q16
relation P710
type Q1190554
[{'concept': 'Q820655'}, 'P710', 'Q16'] [{'concept': 'Q1190554'}, 'P710', 'Q16']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:P710 resource:Q16 . ?d rdf:type ontology:Q820655 } UNION { ?d property:P710 resource:Q16 . ?d rdf:type ontology:Q1190554 } }
Canada
action count
action union
action filter_type
action find_reverse
entity Canada
relation participant
type statute
action filter_type
action find_reverse
entity Canada
relation participant
type event
[{'concept': 'statute'}, 'participant', 'Canada'] [{'concept': 'event'}, 'participant', 'Canada']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:participant resource:Canada . ?d rdf:type ontology:statute } UNION { ?d property:participant resource:Canada . ?d rdf:type ontology:event } }
[]
statute event
SYSTEM
1 statutes and 2 events
Q1121969 Q218678 Q16470
(c(Q820655),P710,Q16) (c(Q1190554),P710,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P710
type Q820655
action filter_type
action find_reverse
entity Q16
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q820655'}, 'P710', 'Q16'] [{'concept': 'Q1190554'}, 'P710', 'Q16']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:P710 resource:Q16 . ?d rdf:type ontology:Q820655 } UNION { ?d property:P710 resource:Q16 . ?d rdf:type ontology:Q1190554 } }
Comprehensive Economic and Trade Agreement North African Campaign Normandy landings
1 statutes and 2 events
action count
action union
action filter_type
action find_reverse
entity Canada
relation participant
type statute
action filter_type
action find_reverse
entity Canada
relation participant
type event
[{'concept': 'statute'}, 'participant', 'Canada'] [{'concept': 'event'}, 'participant', 'Canada']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:participant resource:Canada . ?d rdf:type ontology:statute } UNION { ?d property:participant resource:Canada . ?d rdf:type ontology:event } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P137
Q3084961
USER
Which product linings are the administrator of Canada ?
(c(Q3084961),P137,Q16)
action filter_type
action find_reverse
entity Q16
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q16']
SELECT DISTINCT ?o WHERE { ?o property:P137 resource:Q16 . ?o rdf:type ontology:Q3084961 }
Canada
action filter_type
action find_reverse
entity Canada
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Canada']
SELECT DISTINCT ?o WHERE { ?o property:operator resource:Canada . ?o rdf:type ontology:product_lining }
[]
product lining
Q58725 Q791488
SYSTEM
T-33 Shooting Star, CF-100 Canuck
Q58725 Q791488
(c(Q3084961),P137,Q16)
action filter_type
action find_reverse
entity Q16
relation P137
type Q3084961
[ANSWERS] are the administrator of Canada
[{'concept': 'Q3084961'}, 'P137', 'Q16']
SELECT DISTINCT ?o WHERE { ?o property:P137 resource:Q16 . ?o rdf:type ontology:Q3084961 }
T-33 Shooting Star CF-100 Canuck
T-33 Shooting Star and CF-100 Canuck are the administrator of Canada
T-33 Shooting Star CF-100 Canuck
action filter_type
action find_reverse
entity Canada
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Canada']
SELECT DISTINCT ?o WHERE { ?o property:operator resource:Canada . ?o rdf:type ontology:product_lining }
[]
Clarification
Simple Question|Single Entity|Indirect
Q791488
P608
Q2668072
USER
Where was that product lining exhibited ?
(Q791488,P608,c(Q2668072))
action filter_type
action find
entity Q791488
relation P608
type Q2668072
['Q791488', 'P608', {'concept': 'Q2668072'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2668072 . resource:Q791488 property:P608 ?a }
CF-100 Canuck
action filter_type
action find
entity CF-100 Canuck
relation exhibition history
type collection
['CF-100 Canuck', 'exhibition history', {'concept': 'collection'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:collection . resource:CF-100_Canuck property:exhibition_history ?a }
[]
collection
Clarification for simple ques.
Q58725
SYSTEM
Did you mean T-33 Shooting Star ?
Q58725 Q791488
(Q58725,P608,c(Q2668072)) (Q791488,P608,c(Q2668072))
[ANSWER]
['Q58725', 'P608', {'concept': 'Q2668072'}] ['Q791488', 'P608', {'concept': 'Q2668072'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2668072 . resource:Q791488 property:P608 ?a }
T-33 Shooting Star CF-100 Canuck
Did you mean T-33 Shooting Star ?
T-33 Shooting Star
['T-33 Shooting Star', 'exhibition history', {'concept': 'collection'}] ['CF-100 Canuck', 'exhibition history', {'concept': 'collection'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:collection . resource:CF-100_Canuck property:exhibition_history ?a }
[]
Simple Question (Coreferenced)
USER
No, I meant CF-100 Canuck. Could you tell me the answer for that?
(Q791488,P608,c(Q2668072))
Q791488
['Q791488', 'P608', {'concept': 'Q2668072'}]
['CF-100 Canuck', 'exhibition history', {'concept': 'collection'}]
[]
Q2147196
SYSTEM
Reynolds-Alberta Museum
Q2147196
(Q791488,P608,c(Q2668072))
action filter_type
action find
entity Q791488
relation P608
type Q2668072
That product lining was exhibited at [ANSWER]
['Q791488', 'P608', {'concept': 'Q2668072'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2668072 . resource:Q791488 property:P608 ?a }
Reynolds-Alberta Museum
That product lining was exhibited at Reynolds-Alberta Museum
Reynolds-Alberta Museum
action filter_type
action find
entity CF-100 Canuck
relation exhibition history
type collection
['CF-100 Canuck', 'exhibition history', {'concept': 'collection'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:collection . resource:CF-100_Canuck property:exhibition_history ?a }
[]