Simple Question (Direct)
Simple Question
Q5498871
P39
Q12737077
USER
What was the position for which Frederick Tollemache was appointed ?
(Q5498871,P39,c(Q12737077))
action filter_type
action find
entity Q5498871
relation P39
type Q12737077
['Q5498871', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5498871 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Frederick Tollemache
action filter_type
action find
entity Frederick Tollemache
relation position held
type occupation
['Frederick Tollemache', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Frederick_Tollemache property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q5498871,P39,c(Q12737077))
action filter_type
action find
entity Q5498871
relation P39
type Q12737077
Kingdom [ANSWER]
['Q5498871', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5498871 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
Kingdom Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity Frederick Tollemache
relation position held
type occupation
['Frederick Tollemache', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Frederick_Tollemache property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5498871
P1412
Q34770
USER
Which language does that person speak in ?
(Q16707842,P1412,c(Q34770))
action filter_type
action find
entity Q5498871
relation P1412
type Q34770
['Q16707842', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q5498871 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Frederick Tollemache
action filter_type
action find
entity Frederick Tollemache
relation languages spoken, written or signed
type language
['Member of Parliament in the United Kingdom', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Frederick_Tollemache property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q16707842,P1412,c(Q34770))
action filter_type
action find
entity Q5498871
relation P1412
type Q34770
That person speaks the [ANSWER]
['Q16707842', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q5498871 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
English
That person speaks the English
English
action filter_type
action find
entity Frederick Tollemache
relation languages spoken, written or signed
type language
['Member of Parliament in the United Kingdom', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Frederick_Tollemache property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5498871
P937
Q56061
USER
What is the work location of that person ?
(Q1860,P937,c(Q56061))
action filter_type
action find
entity Q5498871
relation P937
type Q56061
['Q1860', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q5498871 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Frederick Tollemache
action filter_type
action find
entity Frederick Tollemache
relation work location
type administrative territorial entity
['English', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Frederick_Tollemache property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q1860,P937,c(Q56061))
action filter_type
action find
entity Q5498871
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q1860', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q5498871 property:P937 ?k . ?k rdf:type ontology:Q56061 }
London
The work location of that person is in London
London
action filter_type
action find
entity Frederick Tollemache
relation work location
type administrative territorial entity
['English', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Frederick_Tollemache property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5498871
P27
Q7275
USER
Which state is the native country of that person ?
(Q84,P27,c(Q7275))
action filter_type
action find
entity Q5498871
relation P27
type Q7275
['Q84', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q5498871 property:P27 ?v . ?v rdf:type ontology:Q7275 }
Frederick Tollemache
action filter_type
action find
entity Frederick Tollemache
relation country of citizenship
type state
['London', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Frederick_Tollemache property:country_of_citizenship ?v . ?v rdf:type ontology:state }
[]
state
Q174193
SYSTEM
United Kingdom of Great Britain and Ireland
Q174193
(Q84,P27,c(Q7275))
action filter_type
action find
entity Q5498871
relation P27
type Q7275
The [ANSWER] is the native country of that person
['Q84', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q5498871 property:P27 ?v . ?v rdf:type ontology:Q7275 }
United Kingdom of Great Britain and Ireland
The United Kingdom of Great Britain and Ireland is the native country of that person
United Kingdom of Great Britain and Ireland
action filter_type
action find
entity Frederick Tollemache
relation country of citizenship
type state
['London', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Frederick_Tollemache property:country_of_citizenship ?v . ?v rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5498871
P106
Q12737077
USER
What is the job of Frederick Tollemache ?
(Q5498871,P106,c(Q12737077))
action filter_type
action find
entity Q5498871
relation P106
type Q12737077
['Q5498871', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5498871 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Frederick Tollemache
action filter_type
action find
entity Frederick Tollemache
relation occupation
type occupation
['Frederick Tollemache', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Frederick_Tollemache property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5498871,P106,c(Q12737077))
action filter_type
action find
entity Q5498871
relation P106
type Q12737077
The job of Frederick Tollemache is a [ANSWER]
['Q5498871', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5498871 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
politician
The job of Frederick Tollemache is a politician
politician
action filter_type
action find
entity Frederick Tollemache
relation occupation
type occupation
['Frederick Tollemache', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Frederick_Tollemache property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q84
P190
Q56061 Q13220204
USER
How many administrative territories or administrative country subdivisions are the sister cities of London ?
(Q84,P190,c(Q56061)) (Q84,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q84
relation P190
type Q56061
action filter_type
action find
entity Q84
relation P190
type Q13220204
['Q84', 'P190', {'concept': 'Q56061'}] ['Q84', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { VALUES ( ?t ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?p rdf:type ?t }
London
action count
action union
action filter_type
action find
entity London
relation sister city
type administrative territorial entity
action filter_type
action find
entity London
relation sister city
type second-level administrative country subdivision
['London', 'sister city', {'concept': 'administrative territorial entity'}] ['London', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { VALUES ( ?t ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?p rdf:type ?t }
[]
administrative territorial entity second-level administrative country subdivision
SYSTEM
25
Q987 Q1156 Q8686 Q3630 Q1353 Q9899 Q466221 Q649 Q3561 Q472 Q64 Q23564 Q1850 Q585 Q406 Q1435 Q34820 Q9248 Q34647 Q956 Q159273 Q1490 Q65 Q2841 Q60
(Q84,P190,c(Q56061)) (Q84,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q84
relation P190
type Q56061
action filter_type
action find
entity Q84
relation P190
type Q13220204
[ANSWER]
['Q84', 'P190', {'concept': 'Q56061'}] ['Q84', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { VALUES ( ?t ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?p rdf:type ?t }
New Delhi Mumbai Shanghai Jakarta Delhi Amsterdam Sylhet Moscow Algiers Sofia Berlin Podgorica Phnom Penh Oslo Istanbul Zagreb Santo Domingo Baku Johannesburg Beijing Arequipa Tokyo Los Angeles Bogotá New York City
25
action count
action union
action filter_type
action find
entity London
relation sister city
type administrative territorial entity
action filter_type
action find
entity London
relation sister city
type second-level administrative country subdivision
['London', 'sister city', {'concept': 'administrative territorial entity'}] ['London', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { VALUES ( ?t ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?p rdf:type ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174193
P551
Q502895
USER
Who lives in United Kingdom of Great Britain and Ireland ?
(c(Q502895),P551,Q174193)
action filter_type
action find_reverse
entity Q174193
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q174193']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P551 resource:Q174193 }
United Kingdom of Great Britain and Ireland
action filter_type
action find_reverse
entity United Kingdom of Great Britain and Ireland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'United Kingdom of Great Britain and Ireland']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:residence resource:United_Kingdom_of_Great_Britain_and_Ireland }
[]
common name
Q16066073
SYSTEM
John Walter Hulme
Q16066073
(c(Q502895),P551,Q174193)
action filter_type
action find_reverse
entity Q174193
relation P551
type Q502895
[ANSWER] lives in United Kingdom of Great Britain and Ireland
[{'concept': 'Q502895'}, 'P551', 'Q174193']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P551 resource:Q174193 }
John Walter Hulme
John Walter Hulme lives in United Kingdom of Great Britain and Ireland
John Walter Hulme
action filter_type
action find_reverse
entity United Kingdom of Great Britain and Ireland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'United Kingdom of Great Britain and Ireland']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:residence resource:United_Kingdom_of_Great_Britain_and_Ireland }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16066073
P20
Q56061
USER
Where did the demise of that person occur ?
(Q16066073,P20,c(Q56061))
action filter_type
action find
entity Q16066073
relation P20
type Q56061
['Q16066073', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q16066073 property:P20 ?v . ?v rdf:type ontology:Q56061 }
John Walter Hulme
action filter_type
action find
entity John Walter Hulme
relation place of death
type administrative territorial entity
['John Walter Hulme', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:John_Walter_Hulme property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q131491
SYSTEM
Brighton
Q131491
(Q16066073,P20,c(Q56061))
action filter_type
action find
entity Q16066073
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q16066073', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q16066073 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Brighton
The demise of that person occurred in Brighton
Brighton
action filter_type
action find
entity John Walter Hulme
relation place of death
type administrative territorial entity
['John Walter Hulme', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:John_Walter_Hulme property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2005128 Q16066073
P20
Q56061
USER
Or Ragnar Lundberg?
OR((Q16066073,P20,c(Q56061)), (Q2005128,P20,c(Q56061)))
action filter_type
action union
action find
entity Q16066073
relation P20
action find
entity Q2005128
relation P20
type Q56061
{'OR': [['Q16066073', 'P20', {'concept': 'Q56061'}], ['Q2005128', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q16066073 property:P20 ?x } UNION { resource:Q2005128 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Ragnar Lundberg John Walter Hulme
action filter_type
action union
action find
entity John Walter Hulme
relation place of death
action find
entity Ragnar Lundberg
relation place of death
type administrative territorial entity
{'OR': [['John Walter Hulme', 'place of death', {'concept': 'administrative territorial entity'}], ['Ragnar Lundberg', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:John_Walter_Hulme property:place_of_death ?x } UNION { resource:Ragnar_Lundberg property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q26345 Q131491
SYSTEM
Kalmar, Brighton
Q26345 Q131491
OR((Q16066073,P20,c(Q56061)), (Q2005128,P20,c(Q56061)))
action filter_type
action union
action find
entity Q16066073
relation P20
action find
entity Q2005128
relation P20
type Q56061
[ANSWERS]
{'OR': [['Q16066073', 'P20', {'concept': 'Q56061'}], ['Q2005128', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q16066073 property:P20 ?x } UNION { resource:Q2005128 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Kalmar Brighton
Kalmar Brighton
action filter_type
action union
action find
entity John Walter Hulme
relation place of death
action find
entity Ragnar Lundberg
relation place of death
type administrative territorial entity
{'OR': [['John Walter Hulme', 'place of death', {'concept': 'administrative territorial entity'}], ['Ragnar Lundberg', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:John_Walter_Hulme property:place_of_death ?x } UNION { resource:Ragnar_Lundberg property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16066073
P106
Q12737077
USER
How many occupations do John Walter Hulme do for a living ?
(Q16066073,P106,c(Q12737077))
action count
action filter_type
action find
entity Q16066073
relation P106
type Q12737077
['Q16066073', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q16066073 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
John Walter Hulme
action count
action filter_type
action find
entity John Walter Hulme
relation occupation
type occupation
['John Walter Hulme', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:John_Walter_Hulme property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q16533
(Q16066073,P106,c(Q12737077))
action count
action filter_type
action find
entity Q16066073
relation P106
type Q12737077
[ANSWER]
['Q16066073', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q16066073 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
judge
1
action count
action filter_type
action find
entity John Walter Hulme
relation occupation
type occupation
['John Walter Hulme', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:John_Walter_Hulme property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4989004
Q12737077
USER
And what about Jenny Lampa?
(Q4989004,P106,c(Q12737077))
action count
action filter_type
action find
entity Q4989004
relation P106
type Q12737077
['Q4989004', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q4989004 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Jenny Lampa
action count
action filter_type
action find
entity Jenny Lampa
relation occupation
type occupation
['Jenny Lampa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Jenny_Lampa property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
(Q4989004,P106,c(Q12737077))
action count
action filter_type
action find
entity Q4989004
relation P106
type Q12737077
[ANSWER]
['Q4989004', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q4989004 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
1
action count
action filter_type
action find
entity Jenny Lampa
relation occupation
type occupation
['Jenny Lampa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Jenny_Lampa property:occupation ?u . ?u rdf:type ontology:occupation }
[]