Simple Question (Direct)
Simple Question
Q733435
P20
Q56061
USER
Where did Kamal Nasser die ?
(Q733435,P20,c(Q56061))
action filter_type
action find
entity Q733435
relation P20
type Q56061
['Q733435', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q733435 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Kamal Nasser
action filter_type
action find
entity Kamal Nasser
relation place of death
type administrative territorial entity
['Kamal Nasser', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Kamal_Nasser property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3820
SYSTEM
Beirut
Q3820
(Q733435,P20,c(Q56061))
action filter_type
action find
entity Q733435
relation P20
type Q56061
[ANSWER]
['Q733435', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q733435 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Beirut
Beirut
action filter_type
action find
entity Kamal Nasser
relation place of death
type administrative territorial entity
['Kamal Nasser', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Kamal_Nasser property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q733435
P19
Q56061
USER
Where was Kamal Nasser born ?
(Q733435,P19,c(Q56061))
action filter_type
action find
entity Q733435
relation P19
type Q56061
['Q733435', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q733435 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Kamal Nasser
action filter_type
action find
entity Kamal Nasser
relation place of birth
type administrative territorial entity
['Kamal Nasser', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Kamal_Nasser property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q212381
SYSTEM
Birzeit
Q212381
(Q733435,P19,c(Q56061))
action filter_type
action find
entity Q733435
relation P19
type Q56061
[ANSWER]
['Q733435', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q733435 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Birzeit
Birzeit
action filter_type
action find
entity Kamal Nasser
relation place of birth
type administrative territorial entity
['Kamal Nasser', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Kamal_Nasser property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q733435
P1196
Q1914636
USER
Which situation led to the death of that person ?
(Q212381,P1196,c(Q1914636))
action filter_type
action find
entity Q733435
relation P1196
type Q1914636
['Q212381', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?i WHERE { resource:Q733435 property:P1196 ?i . ?i rdf:type ontology:Q1914636 }
Kamal Nasser
action filter_type
action find
entity Kamal Nasser
relation manner of death
type activity
['Birzeit', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?i WHERE { resource:Kamal_Nasser property:manner_of_death ?i . ?i rdf:type ontology:activity }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q212381,P1196,c(Q1914636))
action filter_type
action find
entity Q733435
relation P1196
type Q1914636
[ANSWER]
['Q212381', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?i WHERE { resource:Q733435 property:P1196 ?i . ?i rdf:type ontology:Q1914636 }
homicide
homicide
action filter_type
action find
entity Kamal Nasser
relation manner of death
type activity
['Birzeit', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?i WHERE { resource:Kamal_Nasser property:manner_of_death ?i . ?i rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q733435
P21
Q290
USER
Which sex does Kamal Nasser have ?
(Q733435,P21,c(Q290))
action filter_type
action find
entity Q733435
relation P21
type Q290
['Q733435', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q733435 property:P21 ?f }
Kamal Nasser
action filter_type
action find
entity Kamal Nasser
relation gender
type sex
['Kamal Nasser', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Kamal_Nasser property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q733435,P21,c(Q290))
action filter_type
action find
entity Q733435
relation P21
type Q290
[ANSWER]
['Q733435', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q733435 property:P21 ?f }
male
male
action filter_type
action find
entity Kamal Nasser
relation gender
type sex
['Kamal Nasser', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Kamal_Nasser property:gender ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q378056
Q290
USER
And how about Devasahayam Pillai?
(Q378056,P21,c(Q290))
action filter_type
action find
entity Q378056
relation P21
type Q290
['Q378056', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q378056 property:P21 ?j . ?j rdf:type ontology:Q290 }
Devasahayam Pillai
action filter_type
action find
entity Devasahayam Pillai
relation gender
type sex
['Devasahayam Pillai', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Devasahayam_Pillai property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q378056,P21,c(Q290))
action filter_type
action find
entity Q378056
relation P21
type Q290
[ANSWER]
['Q378056', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q378056 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Devasahayam Pillai
relation gender
type sex
['Devasahayam Pillai', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Devasahayam_Pillai property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3820
P276
Q1190554
USER
Which event has its location as Beirut ?
(c(Q1190554),P276,Q3820)
action filter_type
action find_reverse
entity Q3820
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q3820']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q3820 . ?k rdf:type ontology:Q1190554 }
Beirut
action filter_type
action find_reverse
entity Beirut
relation location
type event
[{'concept': 'event'}, 'location', 'Beirut']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Beirut . ?k rdf:type ontology:event }
[]
event
Q4090324
SYSTEM
Battle of Beirut
Q4090324
(c(Q1190554),P276,Q3820)
action filter_type
action find_reverse
entity Q3820
relation P276
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q3820']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q3820 . ?k rdf:type ontology:Q1190554 }
Battle of Beirut
Battle of Beirut
action filter_type
action find_reverse
entity Beirut
relation location
type event
[{'concept': 'event'}, 'location', 'Beirut']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Beirut . ?k rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3820
P17
Q15617994
USER
Which administrative territory is Beirut located in ?
(Q3820,P17,c(Q15617994))
action filter_type
action find
entity Q3820
relation P17
type Q15617994
['Q3820', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3820 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Beirut
action filter_type
action find
entity Beirut
relation country
type designation for an administrative territorial entity
['Beirut', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Beirut property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q822
SYSTEM
Lebanon
Q822
(Q3820,P17,c(Q15617994))
action filter_type
action find
entity Q3820
relation P17
type Q15617994
[ANSWER]
['Q3820', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3820 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Lebanon
Lebanon
action filter_type
action find
entity Beirut
relation country
type designation for an administrative territorial entity
['Beirut', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Beirut property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3820
P190
Q515
USER
Which cities are twin cities of Beirut ?
(Q3820,P190,c(Q515))
action filter_type
action find
entity Q3820
relation P190
type Q515
['Q3820', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q3820 property:P190 ?h . ?h rdf:type ontology:Q515 }
Beirut
action filter_type
action find
entity Beirut
relation sister city
type city
['Beirut', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Beirut property:sister_city ?h . ?h rdf:type ontology:city }
[]
city
Q1486 Q23482 Q456
SYSTEM
Buenos Aires, Marseille, Lyon
Q23482 Q1486 Q456 Q1530 Q1953
(Q3820,P190,c(Q515))
action filter_type
action find
entity Q3820
relation P190
type Q515
[ANSWERS]
['Q3820', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q3820 property:P190 ?h . ?h rdf:type ontology:Q515 }
Marseille Buenos Aires Lyon Baghdad Yerevan
Buenos Aires Marseille Lyon
action filter_type
action find
entity Beirut
relation sister city
type city
['Beirut', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Beirut property:sister_city ?h . ?h rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1486 Q23482 Q456
P17
Q15617994
USER
Which administrative territories are those cities a part of ?
(Q1486,P17,c(Q15617994)) (Q23482,P17,c(Q15617994)) (Q456,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1486', 'P17', {'concept': 'Q15617994'}] ['Q23482', 'P17', {'concept': 'Q15617994'}] ['Q456', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . VALUES ( ?a ) { ( resource:Q23482 ) ( resource:Q1486 ) ( resource:Q456 ) } . ?a property:P17 ?w }
Buenos Aires Marseille Lyon
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Marseille', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lyon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?a ) { ( resource:Marseille ) ( resource:Buenos_Aires ) ( resource:Lyon ) } . ?a property:country ?w }
[]
designation for an administrative territorial entity
Q414 Q142 Q142
SYSTEM
France for 2nd, 3rd, Argentina for 1st
Q414 Q142 Q142
(Q1486,P17,c(Q15617994)) (Q23482,P17,c(Q15617994)) (Q456,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q1486', 'P17', {'concept': 'Q15617994'}] ['Q23482', 'P17', {'concept': 'Q15617994'}] ['Q456', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . VALUES ( ?a ) { ( resource:Q23482 ) ( resource:Q1486 ) ( resource:Q456 ) } . ?a property:P17 ?w }
Argentina France France
Argentina France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Marseille', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lyon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?a ) { ( resource:Marseille ) ( resource:Buenos_Aires ) ( resource:Lyon ) } . ?a property:country ?w }
[]