Simple Question (Direct)
Simple Question
Q1084592
P20
Q56061
USER
Which administrative territory is the place of death of Christoph Bernoulli ?
(Q1084592,P20,c(Q56061))
action filter_type
action find
entity Q1084592
relation P20
type Q56061
['Q1084592', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1084592 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Christoph Bernoulli
action filter_type
action find
entity Christoph Bernoulli
relation place of death
type administrative territorial entity
['Christoph Bernoulli', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Christoph_Bernoulli property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q78
SYSTEM
Basel
Q78
(Q1084592,P20,c(Q56061))
action filter_type
action find
entity Q1084592
relation P20
type Q56061
[ANSWER] is the place of death of Christoph Bernoulli
['Q1084592', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1084592 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Basel
Basel is the place of death of Christoph Bernoulli
Basel
action filter_type
action find
entity Christoph Bernoulli
relation place of death
type administrative territorial entity
['Christoph Bernoulli', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Christoph_Bernoulli property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1084592
P106
Q12737077
USER
What are the professions of that person ?
(Q78,P106,c(Q12737077))
action filter_type
action find
entity Q1084592
relation P106
type Q12737077
['Q78', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1084592 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Christoph Bernoulli
action filter_type
action find
entity Christoph Bernoulli
relation occupation
type occupation
['Basel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Christoph_Bernoulli property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q188094 Q1622272
SYSTEM
economist, university teacher
Q188094 Q1622272
(Q78,P106,c(Q12737077))
action filter_type
action find
entity Q1084592
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q78', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1084592 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
economist university teacher
The professions of that person are the economist and university teacher
economist university teacher
action filter_type
action find
entity Christoph Bernoulli
relation occupation
type occupation
['Basel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Christoph_Bernoulli property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q188094 Q1622272
P512
Q502895
USER
Who have the academic degree those occupations ?
(c(Q502895),P512,Q188094) (c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity prev_answer
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q188094'] [{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?m WHERE { ?m property:P512 ?l . VALUES ( ?l ) { ( resource:Q188094 ) ( resource:Q1622272 ) } . ?m rdf:type ontology:Q502895 }
economist university teacher
action filter_type
action find_reverse
entity prev_answer
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'economist'] [{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?m WHERE { ?m property:academic_degree ?l . VALUES ( ?l ) { ( resource:economist ) ( resource:university_teacher ) } . ?m rdf:type ontology:common_name }
[]
common name
Q1362287 Q1631650 Q1728542
SYSTEM
Manolis Andronikos, Hovhannes Barseghian, Muhterem Aras
Q16957199 Q1728542 Q1599898 Q3350761 Q26338766 Q5697983 Q4074760 Q1631650 Q1362287 Q22116332
(c(Q502895),P512,Q188094) (c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity prev_answer
relation P512
type Q502895
[ANSWERS] have the academic degree those occupations
[{'concept': 'Q502895'}, 'P512', 'Q188094'] [{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?m WHERE { ?m property:P512 ?l . VALUES ( ?l ) { ( resource:Q188094 ) ( resource:Q1622272 ) } . ?m rdf:type ontology:Q502895 }
Pablo Rieznik Muhterem Aras Heinz-Josef Bontrup Olivier Archambeau Athanasios Dimopoulos Antonio Campos Muñoz Edvard Baghdasaryan Hovhannes Barseghian Manolis Andronikos Helmut Neef
Manolis Andronikos, Hovhannes Barseghian and Muhterem Aras have the academic degree those occupations
Manolis Andronikos Hovhannes Barseghian Muhterem Aras
action filter_type
action find_reverse
entity prev_answer
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'economist'] [{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?m WHERE { ?m property:academic_degree ?l . VALUES ( ?l ) { ( resource:economist ) ( resource:university_teacher ) } . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1362287 Q1631650 Q1728542
P106
Q12737077
USER
What are the professions of Manolis Andronikos, Hovhannes Barseghian and Muhterem Aras ?
(Q1362287,P106,c(Q12737077)) (Q1631650,P106,c(Q12737077)) (Q1728542,P106,c(Q12737077))
action union
action filter_type
action find
entity Q1362287
relation P106
type Q12737077
action filter_type
action find
entity Q1631650
relation P106
type Q12737077
action filter_type
action find
entity Q1728542
relation P106
type Q12737077
['Q1362287', 'P106', {'concept': 'Q12737077'}] ['Q1631650', 'P106', {'concept': 'Q12737077'}] ['Q1728542', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?x property:P106 ?z . VALUES ( ?x ) { ( resource:Q1631650 ) ( resource:Q1362287 ) } }
Manolis Andronikos Hovhannes Barseghian Muhterem Aras
action union
action filter_type
action find
entity Manolis Andronikos
relation occupation
type occupation
action filter_type
action find
entity Hovhannes Barseghian
relation occupation
type occupation
action filter_type
action find
entity Muhterem Aras
relation occupation
type occupation
['Manolis Andronikos', 'occupation', {'concept': 'occupation'}] ['Hovhannes Barseghian', 'occupation', {'concept': 'occupation'}] ['Muhterem Aras', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?x property:occupation ?z . VALUES ( ?x ) { ( resource:Hovhannes_Barseghian ) ( resource:Manolis_Andronikos ) } }
[]
occupation
Q3621491 Q1622272 Q1622272
SYSTEM
archaeologist for 1st, university teacher for 2nd, 3rd
Q1792450 Q4773904 Q1622272 Q3621491 Q14467526 Q1622272 Q688576 Q82955
(Q1362287,P106,c(Q12737077)) (Q1631650,P106,c(Q12737077)) (Q1728542,P106,c(Q12737077))
action union
action filter_type
action find
entity Q1362287
relation P106
type Q12737077
action filter_type
action find
entity Q1631650
relation P106
type Q12737077
action filter_type
action find
entity Q1728542
relation P106
type Q12737077
[ANSWERS]
['Q1362287', 'P106', {'concept': 'Q12737077'}] ['Q1631650', 'P106', {'concept': 'Q12737077'}] ['Q1728542', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?x property:P106 ?z . VALUES ( ?x ) { ( resource:Q1631650 ) ( resource:Q1362287 ) } }
art historian anthropologist university teacher archaeologist linguist university teacher tax advisor politician
The professions of Manolis Andronikos , Hovhannes Barseghian and Muhterem Aras are the archaeologist, university teacher and university teacher
archaeologist university teacher university teacher
action union
action filter_type
action find
entity Manolis Andronikos
relation occupation
type occupation
action filter_type
action find
entity Hovhannes Barseghian
relation occupation
type occupation
action filter_type
action find
entity Muhterem Aras
relation occupation
type occupation
['Manolis Andronikos', 'occupation', {'concept': 'occupation'}] ['Hovhannes Barseghian', 'occupation', {'concept': 'occupation'}] ['Muhterem Aras', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?x property:occupation ?z . VALUES ( ?x ) { ( resource:Hovhannes_Barseghian ) ( resource:Manolis_Andronikos ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1362287
P172
Q2472587
USER
Which people does that person have as his/her race ?
(Q1362287,P172,c(Q2472587))
action filter_type
action find
entity Q1362287
relation P172
type Q2472587
['Q1362287', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?y WHERE { resource:Q1362287 property:P172 ?y . ?y rdf:type ontology:Q2472587 }
Manolis Andronikos
action filter_type
action find
entity Manolis Andronikos
relation ethnic group
type people
['Manolis Andronikos', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?y WHERE { resource:Manolis_Andronikos property:ethnic_group ?y . ?y rdf:type ontology:people }
[]
people
Clarification for simple ques.
Q1362287
SYSTEM
Did you mean Manolis Andronikos ?
Q3621491 Q1622272 Q1622272
(Q3621491,P172,c(Q2472587)) (Q1622272,P172,c(Q2472587)) (Q1622272,P172,c(Q2472587))
[ANSWER]
['Q3621491', 'P172', {'concept': 'Q2472587'}] ['Q1622272', 'P172', {'concept': 'Q2472587'}] ['Q1622272', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?y WHERE { resource:Q1362287 property:P172 ?y . ?y rdf:type ontology:Q2472587 }
archaeologist university teacher university teacher
Did you mean Manolis Andronikos ?
Manolis Andronikos
['archaeologist', 'ethnic group', {'concept': 'people'}] ['university teacher', 'ethnic group', {'concept': 'people'}] ['university teacher', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?y WHERE { resource:Manolis_Andronikos property:ethnic_group ?y . ?y rdf:type ontology:people }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1362287,P172,c(Q2472587))
['Q1362287', 'P172', {'concept': 'Q2472587'}]
['Manolis Andronikos', 'ethnic group', {'concept': 'people'}]
[]
Q539051
SYSTEM
Greeks
Q539051
(Q1362287,P172,c(Q2472587))
action filter_type
action find
entity Q1362287
relation P172
type Q2472587
[ANSWER] that person has as his / her race
['Q1362287', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?y WHERE { resource:Q1362287 property:P172 ?y . ?y rdf:type ontology:Q2472587 }
Greeks
Greeks that person has as his / her race
Greeks
action filter_type
action find
entity Manolis Andronikos
relation ethnic group
type people
['Manolis Andronikos', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?y WHERE { resource:Manolis_Andronikos property:ethnic_group ?y . ?y rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q78
P190
Q56061
USER
Which administrative territories are twin city of Basel ?
(c(Q56061),P190,Q78)
action filter_type
action find
entity Q78
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q78']
SELECT DISTINCT ?a WHERE { resource:Q78 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Basel
action filter_type
action find
entity Basel
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Basel']
SELECT DISTINCT ?a WHERE { resource:Basel property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q83061 Q8686
SYSTEM
Van, Shanghai
Q83061 Q8686
(c(Q56061),P190,Q78)
action filter_type
action find
entity Q78
relation P190
type Q56061
[ANSWERS] are twin city of Basel
[{'concept': 'Q56061'}, 'P190', 'Q78']
SELECT DISTINCT ?a WHERE { resource:Q78 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Van Shanghai
Van and Shanghai are twin city of Basel
Van Shanghai
action filter_type
action find
entity Basel
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Basel']
SELECT DISTINCT ?a WHERE { resource:Basel property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q83061
P276
Q1190554
USER
Which event is situated at that administrative territory ?
(c(Q1190554),P276,Q83061)
action filter_type
action find_reverse
entity Q83061
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q83061']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q83061 . ?g rdf:type ontology:Q1190554 }
Van
action filter_type
action find_reverse
entity Van
relation location
type event
[{'concept': 'event'}, 'location', 'Van']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Van . ?g rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q83061
SYSTEM
Did you mean Van ?
Q83061 Q8686
(c(Q1190554),P276,Q83061) (c(Q1190554),P276,Q8686)
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q83061'] [{'concept': 'Q1190554'}, 'P276', 'Q8686']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q83061 . ?g rdf:type ontology:Q1190554 }
Van Shanghai
Did you mean Van ?
Van
[{'concept': 'event'}, 'location', 'Van'] [{'concept': 'event'}, 'location', 'Shanghai']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Van . ?g rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1190554),P276,Q83061)
[{'concept': 'Q1190554'}, 'P276', 'Q83061']
[{'concept': 'event'}, 'location', 'Van']
[]
Q1018969
SYSTEM
Siege of Van
Q1018969
(c(Q1190554),P276,Q83061)
action filter_type
action find_reverse
entity Q83061
relation P276
type Q1190554
[ANSWER] is situated at that administrative territory
[{'concept': 'Q1190554'}, 'P276', 'Q83061']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q83061 . ?g rdf:type ontology:Q1190554 }
Siege of Van
Siege of Van is situated at that administrative territory
Siege of Van
action filter_type
action find_reverse
entity Van
relation location
type event
[{'concept': 'event'}, 'location', 'Van']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Van . ?g rdf:type ontology:event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q83061
P19
Q502895
USER
How many people have birthplace at Van ?
(c(Q502895),P19,Q83061)
action count
action filter_type
action find_reverse
entity Q83061
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q83061']
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P19 resource:Q83061 . ?m rdf:type ontology:Q502895 }
Van
action count
action filter_type
action find_reverse
entity Van
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Van']
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:place_of_birth resource:Van . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
27
Q4174272 Q6039049 Q7943182 Q6885528 Q23920706 Q1980285 Q2471336 Q165648 Q318015 Q5639082 Q99302 Q16830753 Q4262739 Q4184640 Q4692397 Q349194 Q3675385 Q1534762 Q16376017 Q13052153 Q4070512 Q10977097 Q1941165 Q4455843 Q4438437 Q289248 Q1400345
(c(Q502895),P19,Q83061)
action count
action filter_type
action find_reverse
entity Q83061
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q83061']
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P19 resource:Q83061 . ?m rdf:type ontology:Q502895 }
Armenak Yekarian Kadir Cermik Vrtanes Papazian Mkrtich Avetisian Ersin Tacir Gurgen Mahari Vardan Ajemian Arshile Gorky Abdulhakim Arvasi Haig Patigian Züli Aladag Harutiun Djangulian Yeghishe Derderian of Jerusalem Garo Zakarian Aghasi Khanjian Ruhi Su Fatih Altaylı Hüseyin Çelik Garegin Srvandztiants Aram Safrastyan Varazdat Harutyunyan Vahram Alazan Mkrtich Khrimian Panos Terlemezian Hamazasp Srvandztyan Nur Tatar Ferit Melen
27
action count
action filter_type
action find_reverse
entity Van
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Van']
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:place_of_birth resource:Van . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45604
P937
Q502895
USER
Who is an person who works at Kandahar ?
(c(Q502895),P937,Q45604)
action filter_type
action find_reverse
entity Q45604
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q45604']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q45604 . ?l rdf:type ontology:Q502895 }
Kandahar
action filter_type
action find_reverse
entity Kandahar
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kandahar']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Kandahar . ?l rdf:type ontology:common_name }
[]
common name
Q558242
SYSTEM
Mir Wais Hotak
Q558242
(c(Q502895),P937,Q45604)
action filter_type
action find_reverse
entity Q45604
relation P937
type Q502895
An person works at Kandahar is the [ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q45604']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q45604 . ?l rdf:type ontology:Q502895 }
Mir Wais Hotak
An person works at Kandahar is the Mir Wais Hotak
Mir Wais Hotak
action filter_type
action find_reverse
entity Kandahar
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kandahar']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Kandahar . ?l rdf:type ontology:common_name }
[]