Simple Question (Direct)
Simple Question
Q302417
P102
Q7210356
USER
Which party does Alan Duncan belong to ?
(Q302417,P102,c(Q7210356))
action filter_type
action find
entity Q302417
relation P102
type Q7210356
['Q302417', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q302417 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Alan Duncan
action filter_type
action find
entity Alan Duncan
relation member of political party
type political organization
['Alan Duncan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Alan_Duncan property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q302417,P102,c(Q7210356))
action filter_type
action find
entity Q302417
relation P102
type Q7210356
Alan Duncan belongs to [ANSWER]
['Q302417', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q302417 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Conservative Party
Alan Duncan belongs to Conservative Party
Conservative Party
action filter_type
action find
entity Alan Duncan
relation member of political party
type political organization
['Alan Duncan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Alan_Duncan property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q302417
P937
Q56061
USER
What is the work location of Alan Duncan ?
(Q302417,P937,c(Q56061))
action filter_type
action find
entity Q302417
relation P937
type Q56061
['Q302417', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q302417 property:P937 ?j }
Alan Duncan
action filter_type
action find
entity Alan Duncan
relation work location
type administrative territorial entity
['Alan Duncan', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Alan_Duncan property:work_location ?j }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q302417,P937,c(Q56061))
action filter_type
action find
entity Q302417
relation P937
type Q56061
The work location of Alan Duncan is in [ANSWER]
['Q302417', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q302417 property:P937 ?j }
London
The work location of Alan Duncan is in London
London
action filter_type
action find
entity Alan Duncan
relation work location
type administrative territorial entity
['Alan Duncan', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Alan_Duncan property:work_location ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q87162
Q56061
USER
And also tell me about Hermann Vöchting?
(Q87162,P937,c(Q56061))
action filter_type
action find
entity Q87162
relation P937
type Q56061
['Q87162', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q87162 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Hermann Vöchting
action filter_type
action find
entity Hermann Vöchting
relation work location
type administrative territorial entity
['Hermann Vöchting', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Hermann_Vöchting property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q78
SYSTEM
Basel
Q78
(Q87162,P937,c(Q56061))
action filter_type
action find
entity Q87162
relation P937
type Q56061
[ANSWER]
['Q87162', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q87162 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Basel
Basel
action filter_type
action find
entity Hermann Vöchting
relation work location
type administrative territorial entity
['Hermann Vöchting', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Hermann_Vöchting property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q87162
P108
Q3918
USER
Which university employs that person ?
(Q78,P108,c(Q3918))
action filter_type
action find
entity Q87162
relation P108
type Q3918
['Q78', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?r WHERE { resource:Q87162 property:P108 ?r . ?r rdf:type ontology:Q3918 }
Hermann Vöchting
action filter_type
action find
entity Hermann Vöchting
relation employer
type university
['Basel', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?r WHERE { resource:Hermann_Vöchting property:employer ?r . ?r rdf:type ontology:university }
[]
university
Q153978
SYSTEM
University of Tübingen
Q153978
(Q78,P108,c(Q3918))
action filter_type
action find
entity Q87162
relation P108
type Q3918
[ANSWER] employs that person
['Q78', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?r WHERE { resource:Q87162 property:P108 ?r . ?r rdf:type ontology:Q3918 }
University of Tübingen
University of Tübingen employs that person
University of Tübingen
action filter_type
action find
entity Hermann Vöchting
relation employer
type university
['Basel', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?r WHERE { resource:Hermann_Vöchting property:employer ?r . ?r rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q153978 Q183
P17
Q1048835
USER
Does University of Tübingen belong to Germany ?
(Q153978,P17,Q183)
action is_in
entity Q183
action find
entity Q153978
relation P17
['Q153978', 'P17', 'Q183']
ASK WHERE { resource:Q153978 property:P17 resource:Q183 }
University of Tübingen Germany
action is_in
entity Germany
action find
entity University of Tübingen
relation country
['University of Tübingen', 'country', 'Germany']
ASK WHERE { resource:University_of_Tübingen property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q153978,P17,Q183)
action is_in
entity Q183
action find
entity Q153978
relation P17
[ANSWER]
['Q153978', 'P17', 'Q183']
ASK WHERE { resource:Q153978 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity University of Tübingen
relation country
['University of Tübingen', 'country', 'Germany']
ASK WHERE { resource:University_of_Tübingen property:country resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1751912 Q87162
P47 P27
Q1048835
USER
Which political territories are Hermann Vöchting a civilian of or are adjacent to Torres de la Alameda ?
OR((Q87162,P27,c(Q1048835)), (Q1751912,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q87162
relation P27
action find
entity Q1751912
relation P47
type Q1048835
{'OR': [['Q87162', 'P27', {'concept': 'Q1048835'}], ['Q1751912', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q87162 property:P27 ?v } UNION { resource:Q1751912 property:P47 ?v } } . ?v rdf:type ontology:Q1048835 }
Torres de la Alameda Hermann Vöchting
action filter_type
action union
action find
entity Hermann Vöchting
relation country of citizenship
action find
entity Torres de la Alameda
relation shares border with
type political territorial entity
{'OR': [['Hermann Vöchting', 'country of citizenship', {'concept': 'political territorial entity'}], ['Torres de la Alameda', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Hermann_Vöchting property:country_of_citizenship ?v } UNION { resource:Torres_de_la_Alameda property:shares_border_with ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1646206 Q1646224 Q183 Q1751919 Q2003388 Q842211
SYSTEM
Loeches, Villalbilla, Germany, Pozuelo del Rey, Valverde de Alcalá, San Fernando de Henares
Q1646206 Q1646224 Q183 Q1751919 Q2003388 Q842211
OR((Q87162,P27,c(Q1048835)), (Q1751912,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q87162
relation P27
action find
entity Q1751912
relation P47
type Q1048835
[ANSWERS] are Hermann Vöchting a civilian of or are adjacent to Torres de la Alameda
{'OR': [['Q87162', 'P27', {'concept': 'Q1048835'}], ['Q1751912', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q87162 property:P27 ?v } UNION { resource:Q1751912 property:P47 ?v } } . ?v rdf:type ontology:Q1048835 }
Loeches Villalbilla Germany Pozuelo del Rey Valverde de Alcalá San Fernando de Henares
Loeches, Villalbilla, Germany, Pozuelo del Rey, Valverde de Alcalá and San Fernando de Henares are Hermann Vöchting a civilian of or are adjacent to Torres de la Alameda
Loeches Villalbilla Germany Pozuelo del Rey Valverde de Alcalá San Fernando de Henares
action filter_type
action union
action find
entity Hermann Vöchting
relation country of citizenship
action find
entity Torres de la Alameda
relation shares border with
type political territorial entity
{'OR': [['Hermann Vöchting', 'country of citizenship', {'concept': 'political territorial entity'}], ['Torres de la Alameda', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Hermann_Vöchting property:country_of_citizenship ?v } UNION { resource:Torres_de_la_Alameda property:shares_border_with ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q355304 Q1048835
USER
Which political territories are located nearby around 2 still waterss and watercourses ?
(c(Q1048835),P206,c(Q337567)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q355304
value 2
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { { ?o rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q337567 . ?o property:P206 ?j } UNION { ?o property:P206 ?j . ?j rdf:type ontology:Q355304 . ?o rdf:type ontology:Q1048835 } } GROUP BY ?o } . FILTER ( ?x = 2 ) }
action approx
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
value 2
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { { ?o rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:still_waters . ?o property:located_next_to_body_of_water ?j } UNION { ?o property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse . ?o rdf:type ontology:political_territorial_entity } } GROUP BY ?o } . FILTER ( ?x = 2 ) }
[]
still waters watercourse political territorial entity
Q1905388 Q207176
SYSTEM
L'Alcúdia de Crespins, Monmouthshire
Q1905388 Q207176
(c(Q1048835),P206,c(Q337567)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q355304
value 2
[ANSWERS] are located nearby around 2 still waterss and watercourses
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { { ?o rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q337567 . ?o property:P206 ?j } UNION { ?o property:P206 ?j . ?j rdf:type ontology:Q355304 . ?o rdf:type ontology:Q1048835 } } GROUP BY ?o } . FILTER ( ?x = 2 ) }
L'Alcúdia de Crespins Monmouthshire
L'Alcúdia de Crespins and Monmouthshire are located nearby around 2 still waterss and watercourses
L'Alcúdia de Crespins Monmouthshire
action approx
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
value 2
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { { ?o rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:still_waters . ?o property:located_next_to_body_of_water ?j } UNION { ?o property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse . ?o rdf:type ontology:political_territorial_entity } } GROUP BY ?o } . FILTER ( ?x = 2 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1905388 Q207176
P206
Q355304
USER
Which watercourses are located in the neighbourhood of L'Alcúdia de Crespins and Monmouthshire ?
(Q1905388,P206,c(Q355304)) (Q207176,P206,c(Q355304))
action union
action filter_type
action find
entity Q1905388
relation P206
type Q355304
action filter_type
action find
entity Q207176
relation P206
type Q355304
['Q1905388', 'P206', {'concept': 'Q355304'}] ['Q207176', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { { resource:Q1905388 property:P206 ?n . ?n rdf:type ontology:Q355304 } UNION { resource:Q207176 property:P206 ?n . ?n rdf:type ontology:Q355304 } }
L'Alcúdia de Crespins Monmouthshire
action union
action filter_type
action find
entity L'Alcúdia de Crespins
relation located next to body of water
type watercourse
action filter_type
action find
entity Monmouthshire
relation located next to body of water
type watercourse
["L'Alcúdia de Crespins", 'located next to body of water', {'concept': 'watercourse'}] ['Monmouthshire', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { { resource:L'Alcúdia_de_Crespins property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse } UNION { resource:Monmouthshire property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse } }
[]
watercourse
Q19682 Q19695 Q6115912
SYSTEM
Severn, River Wye, Río de los Santos
Q6115912 Q9071740 Q19695 Q19682
(Q1905388,P206,c(Q355304)) (Q207176,P206,c(Q355304))
action union
action filter_type
action find
entity Q1905388
relation P206
type Q355304
action filter_type
action find
entity Q207176
relation P206
type Q355304
[ANSWERS] are located in the neighbourhood of L'Alcúdia de Crespins and Monmouthshire
['Q1905388', 'P206', {'concept': 'Q355304'}] ['Q207176', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { { resource:Q1905388 property:P206 ?n . ?n rdf:type ontology:Q355304 } UNION { resource:Q207176 property:P206 ?n . ?n rdf:type ontology:Q355304 } }
Río de los Santos Cànyoles River Wye Severn
Severn, River Wye and Río de los Santos are located in the neighbourhood of L'Alcúdia de Crespins and Monmouthshire
Severn River Wye Río de los Santos
action union
action filter_type
action find
entity L'Alcúdia de Crespins
relation located next to body of water
type watercourse
action filter_type
action find
entity Monmouthshire
relation located next to body of water
type watercourse
["L'Alcúdia de Crespins", 'located next to body of water', {'concept': 'watercourse'}] ['Monmouthshire', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { { resource:L'Alcúdia_de_Crespins property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse } UNION { resource:Monmouthshire property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19682 Q19695 Q6115912
P17
Q15617994
USER
Which administrative territories are those watercourses situated in ?
(Q19682,P17,c(Q15617994)) (Q19695,P17,c(Q15617994)) (Q6115912,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q19682', 'P17', {'concept': 'Q15617994'}] ['Q19695', 'P17', {'concept': 'Q15617994'}] ['Q6115912', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?b ) { ( resource:Q6115912 ) ( resource:Q9071740 ) ( resource:Q19695 ) } . ?b property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Severn River Wye Río de los Santos
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Severn', 'country', {'concept': 'designation for an administrative territorial entity'}] ['River Wye', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Río de los Santos', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?b ) { ( resource:Río_de_los_Santos ) ( resource:Cànyoles ) ( resource:River_Wye ) } . ?b property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q145 Q29
SYSTEM
Spain for 3rd, United Kingdom for 1st, 2nd
Q145 Q145 Q29
(Q19682,P17,c(Q15617994)) (Q19695,P17,c(Q15617994)) (Q6115912,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q19682', 'P17', {'concept': 'Q15617994'}] ['Q19695', 'P17', {'concept': 'Q15617994'}] ['Q6115912', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?b ) { ( resource:Q6115912 ) ( resource:Q9071740 ) ( resource:Q19695 ) } . ?b property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom United Kingdom Spain
Those watercourses are situated in United Kingdom, United Kingdom and Spain
United Kingdom United Kingdom Spain
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Severn', 'country', {'concept': 'designation for an administrative territorial entity'}] ['River Wye', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Río de los Santos', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?b ) { ( resource:Río_de_los_Santos ) ( resource:Cànyoles ) ( resource:River_Wye ) } . ?b property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19682
P974
Q355304
USER
What are the tributaries Severn ?
(Q145,P974,c(Q355304)) (Q145,P974,c(Q355304)) (Q29,P974,c(Q355304))
action filter_type
action find
entity Q19682
relation P974
type Q355304
['Q145', 'P974', {'concept': 'Q355304'}] ['Q145', 'P974', {'concept': 'Q355304'}] ['Q29', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q19682 property:P974 ?u . ?u rdf:type ontology:Q355304 }
Severn
action filter_type
action find
entity Severn
relation tributary
type watercourse
['United Kingdom', 'tributary', {'concept': 'watercourse'}] ['United Kingdom', 'tributary', {'concept': 'watercourse'}] ['Spain', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Severn property:tributary ?u . ?u rdf:type ontology:watercourse }
[]
watercourse
Q19695 Q19684 Q19711
SYSTEM
River Wye, Teme, River Avon
Q7337832 Q7337569 Q3397555 Q3321333 Q19684 Q19711 Q19695 Q19709
(Q145,P974,c(Q355304)) (Q145,P974,c(Q355304)) (Q29,P974,c(Q355304))
action filter_type
action find
entity Q19682
relation P974
type Q355304
The tributaries Severn are [ANSWERS]
['Q145', 'P974', {'concept': 'Q355304'}] ['Q145', 'P974', {'concept': 'Q355304'}] ['Q29', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q19682 property:P974 ?u . ?u rdf:type ontology:Q355304 }
River Stour, Worcestershire River Leadon River Vyrnwy River Tern Teme River Avon River Wye River Avon
The tributaries Severn are River Wye, Teme and River Avon
River Wye Teme River Avon
action filter_type
action find
entity Severn
relation tributary
type watercourse
['United Kingdom', 'tributary', {'concept': 'watercourse'}] ['United Kingdom', 'tributary', {'concept': 'watercourse'}] ['Spain', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Severn property:tributary ?u . ?u rdf:type ontology:watercourse }
[]