Simple Question (Direct)
Simple Question
Q5693975
P69
Q3918
USER
Which university was Heather Mandoli educated at ?
(Q5693975,P69,c(Q3918))
action filter_type
action find
entity Q5693975
relation P69
type Q3918
['Q5693975', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?m WHERE { resource:Q5693975 property:P69 ?m . ?m rdf:type ontology:Q3918 }
Heather Mandoli
action filter_type
action find
entity Heather Mandoli
relation educated at
type university
['Heather Mandoli', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?m WHERE { resource:Heather_Mandoli property:educated_at ?m . ?m rdf:type ontology:university }
[]
university
Q230492
SYSTEM
University of Michigan
Q230492
(Q5693975,P69,c(Q3918))
action filter_type
action find
entity Q5693975
relation P69
type Q3918
Heather Mandoli was educated by [ANSWER]
['Q5693975', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?m WHERE { resource:Q5693975 property:P69 ?m . ?m rdf:type ontology:Q3918 }
University of Michigan
Heather Mandoli was educated by University of Michigan
University of Michigan
action filter_type
action find
entity Heather Mandoli
relation educated at
type university
['Heather Mandoli', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?m WHERE { resource:Heather_Mandoli property:educated_at ?m . ?m rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5693975
P19
Q56061
USER
Where was Heather Mandoli born ?
(Q5693975,P19,c(Q56061))
action filter_type
action find
entity Q5693975
relation P19
type Q56061
['Q5693975', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q5693975 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Heather Mandoli
action filter_type
action find
entity Heather Mandoli
relation place of birth
type administrative territorial entity
['Heather Mandoli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Heather_Mandoli property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q232226
SYSTEM
Kelowna
Q232226
(Q5693975,P19,c(Q56061))
action filter_type
action find
entity Q5693975
relation P19
type Q56061
Heather Mandoli was born in [ANSWER]
['Q5693975', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q5693975 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Kelowna
Heather Mandoli was born in Kelowna
Kelowna
action filter_type
action find
entity Heather Mandoli
relation place of birth
type administrative territorial entity
['Heather Mandoli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Heather_Mandoli property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q232226
P931
Q62447
USER
Which city does that administrative territory serve ?
(c(Q62447),P931,Q232226)
action filter_type
action find_reverse
entity Q232226
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q232226']
SELECT DISTINCT ?b WHERE { ?b property:P931 resource:Q232226 . ?b rdf:type ontology:Q62447 }
Kelowna
action filter_type
action find_reverse
entity Kelowna
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kelowna']
SELECT DISTINCT ?b WHERE { ?b property:place_served_by_airport resource:Kelowna . ?b rdf:type ontology:aerodrome }
[]
aerodrome
Q1431708
SYSTEM
Kelowna International Airport
Q1431708
(c(Q62447),P931,Q232226)
action filter_type
action find_reverse
entity Q232226
relation P931
type Q62447
That administrative territory serves the [ANSWER]
[{'concept': 'Q62447'}, 'P931', 'Q232226']
SELECT DISTINCT ?b WHERE { ?b property:P931 resource:Q232226 . ?b rdf:type ontology:Q62447 }
Kelowna International Airport
That administrative territory serves the Kelowna International Airport
Kelowna International Airport
action filter_type
action find_reverse
entity Kelowna
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kelowna']
SELECT DISTINCT ?b WHERE { ?b property:place_served_by_airport resource:Kelowna . ?b rdf:type ontology:aerodrome }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q232226
P17
Q1048835
USER
Which political territory is Kelowna located in ?
(Q232226,P17,c(Q1048835))
action filter_type
action find
entity Q232226
relation P17
type Q1048835
['Q232226', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q232226 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Kelowna
action filter_type
action find
entity Kelowna
relation country
type political territorial entity
['Kelowna', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Kelowna property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q232226,P17,c(Q1048835))
action filter_type
action find
entity Q232226
relation P17
type Q1048835
Kelowna is located in [ANSWER]
['Q232226', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q232226 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Canada
Kelowna is located in Canada
Canada
action filter_type
action find
entity Kelowna
relation country
type political territorial entity
['Kelowna', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Kelowna property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21916186
Q1048835
USER
And how about Clifton Range?
(Q21916186,P17,c(Q1048835))
action filter_type
action find
entity Q21916186
relation P17
type Q1048835
['Q21916186', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q21916186 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Clifton Range
action filter_type
action find
entity Clifton Range
relation country
type political territorial entity
['Clifton Range', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Clifton_Range property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q21916186,P17,c(Q1048835))
action filter_type
action find
entity Q21916186
relation P17
type Q1048835
[ANSWER]
['Q21916186', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q21916186 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Clifton Range
relation country
type political territorial entity
['Clifton Range', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Clifton_Range property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q1267889 Q107425 Q1048835
USER
Which political territories have their location as min number of waterways or landscapes ?
(c(Q1048835),P706,c(Q1267889)|c(Q107425))
action argmin
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q107425
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?l ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?m ) WHERE { { ?q property:P706 ?k . ?q rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q1267889 } UNION { ?q property:P706 ?k . ?q rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q107425 } } GROUP BY ?q } } . FILTER ( ?n = ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?n ) WHERE { { ?a property:P706 ?r . ?a rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q1267889 } UNION { ?a property:P706 ?r . ?a rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q107425 } } GROUP BY ?a } }
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landscape
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?l ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?m ) WHERE { { ?q property:located_on_terrain_feature ?k . ?q rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:waterway } UNION { ?q property:located_on_terrain_feature ?k . ?q rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:landscape } } GROUP BY ?q } } . FILTER ( ?n = ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?n ) WHERE { { ?a property:located_on_terrain_feature ?r . ?a rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:waterway } UNION { ?a property:located_on_terrain_feature ?r . ?a rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:landscape } } GROUP BY ?a } }
[]
waterway landscape political territorial entity
Q691 Q766 Q778
SYSTEM
Papua New Guinea, Jamaica, The Bahamas
Q927498 Q6661154 Q1747689 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q13353 Q6139 Q847324 Q847321 Q850989 Q983467 Q743716 Q734805 Q555140 Q983463 Q13737 Q493017 Q950940 Q669078 Q851224 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q168856 Q5785 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q25228 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q8583 Q652988 Q832967 Q185409 Q170213 Q766 Q9676 Q984485 Q168159 Q983625 Q983628 Q8593 Q656449 Q988688 Q18221 Q778 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q5700 Q988696 Q943948 Q697126 Q25305 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q1267889)|c(Q107425))
action argmin
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q107425
[ANSWERS] have their location as min number of waterways or landscapes
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?l ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?m ) WHERE { { ?q property:P706 ?k . ?q rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q1267889 } UNION { ?q property:P706 ?k . ?q rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q107425 } } GROUP BY ?q } } . FILTER ( ?n = ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?n ) WHERE { { ?a property:P706 ?r . ?a rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q1267889 } UNION { ?a property:P706 ?r . ?a rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q107425 } } GROUP BY ?a } }
Llucmajor Llanddeusant, Carmarthenshire Ancient Rome Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Montserrat Havelland Alaior Esporles Campanet Montuïri Campos Sant Antoni de Portmany Capileira Sant Llorenç des Cardassar Basilan Andratx Marratxí Maria de la Salut Costitx Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Chernivtsi Oblast Cayman Islands Pistyll Sóller Biliran Bohol Vilafranca de Bonany Pollença Selva Felanitx Lloret de Vistalegre Anguilla Blaenau Gwent County Borough Es Castell Ses Salines Sant Joan Alaró Estellencs Sé Porreres Algaida Aceh Leyte Petra, Majorca Deià Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Vulkaneifel Búger Valldemossa Llubí Zakarpattia Oblast Jamaica Isle of Man Es Migjorn Gran Anglesey Puigpunyent Sant Joan de Labritja Mayen-Koblenz Ariany, Majorca Inca Turks and Caicos Islands The Bahamas Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog Flemish Region Lapland Mancor de la Vall Santa Maria del Camí Bridgend County Borough British Virgin Islands Banyalbufar Son Servera Capdepera
Papua New Guinea, Jamaica and The Bahamas have their location as min number of waterways or landscapes
Papua New Guinea Jamaica The Bahamas
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landscape
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?l ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?m ) WHERE { { ?q property:located_on_terrain_feature ?k . ?q rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:waterway } UNION { ?q property:located_on_terrain_feature ?k . ?q rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:landscape } } GROUP BY ?q } } . FILTER ( ?n = ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?n ) WHERE { { ?a property:located_on_terrain_feature ?r . ?a rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:waterway } UNION { ?a property:located_on_terrain_feature ?r . ?a rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:landscape } } GROUP BY ?a } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15631885
P1001
Q4677783
USER
Do Canada (Ontario Boundary) Act, 1889 have jurisdiction over those political territories ?
(Q15631885,P1001,Q691) (Q15631885,P1001,Q766) (Q15631885,P1001,Q778)
action is_in
entity prev_answer
action find
entity Q15631885
relation P1001
['Q15631885', 'P1001', 'Q691'] ['Q15631885', 'P1001', 'Q766'] ['Q15631885', 'P1001', 'Q778']
ASK WHERE { VALUES ( ?r ) { ( resource:Q927498 ) ( resource:Q6661154 ) ( resource:Q1747689 ) } . resource:Q15631885 property:P1001 ?r }
Canada (Ontario Boundary) Act, 1889
action is_in
entity prev_answer
action find
entity Canada (Ontario Boundary) Act, 1889
relation applies to jurisdiction
['Canada (Ontario Boundary) Act, 1889', 'applies to jurisdiction', 'Papua New Guinea'] ['Canada (Ontario Boundary) Act, 1889', 'applies to jurisdiction', 'Jamaica'] ['Canada (Ontario Boundary) Act, 1889', 'applies to jurisdiction', 'The Bahamas']
ASK WHERE { VALUES ( ?r ) { ( resource:Llucmajor ) ( resource:Llanddeusant,_Carmarthenshire ) ( resource:Ancient_Rome ) } . resource:Canada_(Ontario_Boundary)_Act,_1889 property:applies_to_jurisdiction ?r }
[]
Act of Parliament of the United Kingdom
SYSTEM
NO
(Q15631885,P1001,Q691) (Q15631885,P1001,Q766) (Q15631885,P1001,Q778)
action is_in
entity prev_answer
action find
entity Q15631885
relation P1001
[ANSWER]
['Q15631885', 'P1001', 'Q691'] ['Q15631885', 'P1001', 'Q766'] ['Q15631885', 'P1001', 'Q778']
ASK WHERE { VALUES ( ?r ) { ( resource:Q927498 ) ( resource:Q6661154 ) ( resource:Q1747689 ) } . resource:Q15631885 property:P1001 ?r }
No
action is_in
entity prev_answer
action find
entity Canada (Ontario Boundary) Act, 1889
relation applies to jurisdiction
['Canada (Ontario Boundary) Act, 1889', 'applies to jurisdiction', 'Papua New Guinea'] ['Canada (Ontario Boundary) Act, 1889', 'applies to jurisdiction', 'Jamaica'] ['Canada (Ontario Boundary) Act, 1889', 'applies to jurisdiction', 'The Bahamas']
ASK WHERE { VALUES ( ?r ) { ( resource:Llucmajor ) ( resource:Llanddeusant,_Carmarthenshire ) ( resource:Ancient_Rome ) } . resource:Canada_(Ontario_Boundary)_Act,_1889 property:applies_to_jurisdiction ?r }
[]