Simple Question (Direct)
Simple Question
Q1274732
P551
Q56061
USER
Where did Filip Filipović live ?
(Q1274732,P551,c(Q56061))
action filter_type
action find
entity Q1274732
relation P551
type Q56061
['Q1274732', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1274732 property:P551 ?i . ?i rdf:type ontology:Q56061 }
Filip Filipović
action filter_type
action find
entity Filip Filipović
relation residence
type administrative territorial entity
['Filip Filipović', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Filip_Filipović property:residence ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711
SYSTEM
Belgrade
Q3711
(Q1274732,P551,c(Q56061))
action filter_type
action find
entity Q1274732
relation P551
type Q56061
Filip Filipović lived in [ANSWER]
['Q1274732', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1274732 property:P551 ?i . ?i rdf:type ontology:Q56061 }
Belgrade
Filip Filipović lived in Belgrade
Belgrade
action filter_type
action find
entity Filip Filipović
relation residence
type administrative territorial entity
['Filip Filipović', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Filip_Filipović property:residence ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3711
P119
Q502895
USER
Which people have that administrative territory as his/her tomb ?
(c(Q502895),P119,Q3711)
action filter_type
action find_reverse
entity Q3711
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q3711']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P119 resource:Q3711 }
Belgrade
action filter_type
action find_reverse
entity Belgrade
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Belgrade']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:place_of_burial resource:Belgrade }
[]
common name
Q310197 Q722784 Q3161116
SYSTEM
Lazar Hrebeljanović, Petar Borota, Zlata Petkovic
Q310197 Q1189261 Q722784 Q3161116
(c(Q502895),P119,Q3711)
action filter_type
action find_reverse
entity Q3711
relation P119
type Q502895
[ANSWERS] have that administrative territory as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q3711']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P119 resource:Q3711 }
Lazar Hrebeljanović Silahdar Damat Ali Pasha Petar Borota Zlata Petkovic
Lazar Hrebeljanović, Petar Borota and Zlata Petkovic have that administrative territory as his/her tomb
Lazar Hrebeljanović Petar Borota Zlata Petkovic
action filter_type
action find_reverse
entity Belgrade
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Belgrade']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:place_of_burial resource:Belgrade }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q310197 Q722784 Q3161116
P21
Q290
USER
Which sexes do Lazar Hrebeljanović, Petar Borota and Zlata Petkovic belong to ?
(Q310197,P21,c(Q290)) (Q722784,P21,c(Q290)) (Q3161116,P21,c(Q290))
action union
action filter_type
action find
entity Q310197
relation P21
type Q290
action filter_type
action find
entity Q722784
relation P21
type Q290
action filter_type
action find
entity Q3161116
relation P21
type Q290
['Q310197', 'P21', {'concept': 'Q290'}] ['Q722784', 'P21', {'concept': 'Q290'}] ['Q3161116', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { { ?d rdf:type ontology:Q290 . resource:Q310197 property:P21 ?d } UNION { resource:Q722784 property:P21 ?d . ?d rdf:type ontology:Q290 } }
Lazar Hrebeljanović Petar Borota Zlata Petkovic
action union
action filter_type
action find
entity Lazar Hrebeljanović
relation gender
type sex
action filter_type
action find
entity Petar Borota
relation gender
type sex
action filter_type
action find
entity Zlata Petkovic
relation gender
type sex
['Lazar Hrebeljanović', 'gender', {'concept': 'sex'}] ['Petar Borota', 'gender', {'concept': 'sex'}] ['Zlata Petkovic', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { { ?d rdf:type ontology:sex . resource:Lazar_Hrebeljanović property:gender ?d } UNION { resource:Petar_Borota property:gender ?d . ?d rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q310197,P21,c(Q290)) (Q722784,P21,c(Q290)) (Q3161116,P21,c(Q290))
action union
action filter_type
action find
entity Q310197
relation P21
type Q290
action filter_type
action find
entity Q722784
relation P21
type Q290
action filter_type
action find
entity Q3161116
relation P21
type Q290
[ANSWERS]
['Q310197', 'P21', {'concept': 'Q290'}] ['Q722784', 'P21', {'concept': 'Q290'}] ['Q3161116', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { { ?d rdf:type ontology:Q290 . resource:Q310197 property:P21 ?d } UNION { resource:Q722784 property:P21 ?d . ?d rdf:type ontology:Q290 } }
male male female
Lazar Hrebeljanović , Petar Borota and Zlata Petkovic belong to the male, male and female
male male female
action union
action filter_type
action find
entity Lazar Hrebeljanović
relation gender
type sex
action filter_type
action find
entity Petar Borota
relation gender
type sex
action filter_type
action find
entity Zlata Petkovic
relation gender
type sex
['Lazar Hrebeljanović', 'gender', {'concept': 'sex'}] ['Petar Borota', 'gender', {'concept': 'sex'}] ['Zlata Petkovic', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { { ?d rdf:type ontology:sex . resource:Lazar_Hrebeljanović property:gender ?d } UNION { resource:Petar_Borota property:gender ?d . ?d rdf:type ontology:sex } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q310197
P22
Q502895
USER
Who have that one as a father ?
(c(Q502895),P22,Q310197)
action filter_type
action find_reverse
entity Q310197
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q310197']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q310197 . ?b rdf:type ontology:Q502895 }
Lazar Hrebeljanović
action filter_type
action find_reverse
entity Lazar Hrebeljanović
relation father
type common name
[{'concept': 'common name'}, 'father', 'Lazar Hrebeljanović']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Lazar_Hrebeljanović . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q310197
SYSTEM
Did you mean Lazar Hrebeljanović ?
Q6581097 Q6581097 Q6581072
(c(Q502895),P22,Q6581097) (c(Q502895),P22,Q6581097) (c(Q502895),P22,Q6581072)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q6581097'] [{'concept': 'Q502895'}, 'P22', 'Q6581097'] [{'concept': 'Q502895'}, 'P22', 'Q6581072']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q310197 . ?b rdf:type ontology:Q502895 }
male male female
Did you mean Lazar Hrebeljanović ?
Lazar Hrebeljanović
[{'concept': 'common name'}, 'father', 'male'] [{'concept': 'common name'}, 'father', 'male'] [{'concept': 'common name'}, 'father', 'female']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Lazar_Hrebeljanović . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P22,Q310197)
[{'concept': 'Q502895'}, 'P22', 'Q310197']
[{'concept': 'common name'}, 'father', 'Lazar Hrebeljanović']
[]
Q3625270 Q2950131 Q336531
SYSTEM
Dragana of Serbia, Jelena Balšić, Stefan Lazarević
Q458610 Q336531 Q13646085 Q12759996 Q3508524 Q2950131 Q3625270
(c(Q502895),P22,Q310197)
action filter_type
action find_reverse
entity Q310197
relation P22
type Q502895
[ANSWERS] have that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q310197']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q310197 . ?b rdf:type ontology:Q502895 }
Olivera Lazarević Stefan Lazarević Mara Lazarevic Brankovic Teodora Lazarević Vuk Lazarević Jelena Balšić Dragana of Serbia
Dragana of Serbia, Jelena Balšić and Stefan Lazarević have that one as a father
Dragana of Serbia Jelena Balšić Stefan Lazarević
action filter_type
action find_reverse
entity Lazar Hrebeljanović
relation father
type common name
[{'concept': 'common name'}, 'father', 'Lazar Hrebeljanović']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Lazar_Hrebeljanović . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q310197
P40
Q502895
USER
Do Lazar Hrebeljanović have those ones as a child ?
(Q310197,P40,Q3625270) (Q310197,P40,Q2950131) (Q310197,P40,Q336531)
action is_in
entity prev_answer
action find
entity Q310197
relation P40
['Q310197', 'P40', 'Q3625270'] ['Q310197', 'P40', 'Q2950131'] ['Q310197', 'P40', 'Q336531']
ASK WHERE { resource:Q310197 property:P40 ?k . VALUES ( ?k ) { ( resource:Q458610 ) ( resource:Q336531 ) ( resource:Q13646085 ) } }
Lazar Hrebeljanović
action is_in
entity prev_answer
action find
entity Lazar Hrebeljanović
relation child
['Lazar Hrebeljanović', 'child', 'Dragana of Serbia'] ['Lazar Hrebeljanović', 'child', 'Jelena Balšić'] ['Lazar Hrebeljanović', 'child', 'Stefan Lazarević']
ASK WHERE { resource:Lazar_Hrebeljanović property:child ?k . VALUES ( ?k ) { ( resource:Olivera_Lazarević ) ( resource:Stefan_Lazarević ) ( resource:Mara_Lazarevic_Brankovic ) } }
[]
common name
SYSTEM
YES
(Q310197,P40,Q3625270) (Q310197,P40,Q2950131) (Q310197,P40,Q336531)
action is_in
entity prev_answer
action find
entity Q310197
relation P40
[ANSWER]
['Q310197', 'P40', 'Q3625270'] ['Q310197', 'P40', 'Q2950131'] ['Q310197', 'P40', 'Q336531']
ASK WHERE { resource:Q310197 property:P40 ?k . VALUES ( ?k ) { ( resource:Q458610 ) ( resource:Q336531 ) ( resource:Q13646085 ) } }
Yes
action is_in
entity prev_answer
action find
entity Lazar Hrebeljanović
relation child
['Lazar Hrebeljanović', 'child', 'Dragana of Serbia'] ['Lazar Hrebeljanović', 'child', 'Jelena Balšić'] ['Lazar Hrebeljanović', 'child', 'Stefan Lazarević']
ASK WHERE { resource:Lazar_Hrebeljanović property:child ?k . VALUES ( ?k ) { ( resource:Olivera_Lazarević ) ( resource:Stefan_Lazarević ) ( resource:Mara_Lazarevic_Brankovic ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3711
P1001
Q12737077
USER
Which occupation applies to jurisdiction over Belgrade ?
(c(Q12737077),P1001,Q3711)
action filter_type
action find_reverse
entity Q3711
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q3711']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . ?l property:P1001 resource:Q3711 }
Belgrade
action filter_type
action find_reverse
entity Belgrade
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Belgrade']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . ?l property:applies_to_jurisdiction resource:Belgrade }
[]
occupation
Q1264923
SYSTEM
Mayor of Belgrade
Q1264923
(c(Q12737077),P1001,Q3711)
action filter_type
action find_reverse
entity Q3711
relation P1001
type Q12737077
Belgrade [ANSWER] applies to jurisdiction over Belgrade
[{'concept': 'Q12737077'}, 'P1001', 'Q3711']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . ?l property:P1001 resource:Q3711 }
Mayor of Belgrade
Belgrade Mayor of Belgrade applies to jurisdiction over Belgrade
Mayor of Belgrade
action filter_type
action find_reverse
entity Belgrade
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Belgrade']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . ?l property:applies_to_jurisdiction resource:Belgrade }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3625270
P26
Q502895
USER
Which person has Dragana of Serbia as spouse ?
(c(Q502895),P26,Q3625270)
action filter_type
action find
entity Q3625270
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3625270']
SELECT DISTINCT ?v WHERE { resource:Q3625270 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Dragana of Serbia
action filter_type
action find
entity Dragana of Serbia
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Dragana of Serbia']
SELECT DISTINCT ?v WHERE { resource:Dragana_of_Serbia property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Q354796
SYSTEM
Ivan Shishman of Bulgaria
Q354796
(c(Q502895),P26,Q3625270)
action filter_type
action find
entity Q3625270
relation P26
type Q502895
[ANSWER] has Dragana of Serbia as spouse
[{'concept': 'Q502895'}, 'P26', 'Q3625270']
SELECT DISTINCT ?v WHERE { resource:Q3625270 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Ivan Shishman of Bulgaria
Ivan Shishman of Bulgaria has Dragana of Serbia as spouse
Ivan Shishman of Bulgaria
action filter_type
action find
entity Dragana of Serbia
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Dragana of Serbia']
SELECT DISTINCT ?v WHERE { resource:Dragana_of_Serbia property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q354796
P25
Q502895
USER
Who was the mother of that one ?
(Q354796,P25,c(Q502895))
action filter_type
action find
entity Q354796
relation P25
type Q502895
['Q354796', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q354796 property:P25 ?w }
Ivan Shishman of Bulgaria
action filter_type
action find
entity Ivan Shishman of Bulgaria
relation mother
type common name
['Ivan Shishman of Bulgaria', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Ivan_Shishman_of_Bulgaria property:mother ?w }
[]
common name
Q2915643
SYSTEM
Sarah-Theodora
Q2915643
(Q354796,P25,c(Q502895))
action filter_type
action find
entity Q354796
relation P25
type Q502895
The mother of that one was named [ANSWER]
['Q354796', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q354796 property:P25 ?w }
Sarah-Theodora
The mother of that one was named Sarah-Theodora
Sarah-Theodora
action filter_type
action find
entity Ivan Shishman of Bulgaria
relation mother
type common name
['Ivan Shishman of Bulgaria', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Ivan_Shishman_of_Bulgaria property:mother ?w }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2915643 Q14067842 Q4712112
P40
Q502895
USER
Does that person have Pablo Toledano Dorado and Alberto Martinez Piedra as an offspring ?
(Q2915643,P40,Q14067842) (Q2915643,P40,Q4712112)
action is_in
entity Q2915643
action intersection
action find_reverse
entity Q14067842
relation P40
action find_reverse
entity Q4712112
relation P40
['Q2915643', 'P40', 'Q14067842'] ['Q2915643', 'P40', 'Q4712112']
ASK WHERE { resource:Q2915643 property:P40 resource:Q14067842 . resource:Q2915643 property:P40 resource:Q4712112 }
Sarah-Theodora Pablo Toledano Dorado Alberto Martinez Piedra
action is_in
entity Sarah-Theodora
action intersection
action find_reverse
entity Pablo Toledano Dorado
relation child
action find_reverse
entity Alberto Martinez Piedra
relation child
['Sarah-Theodora', 'child', 'Pablo Toledano Dorado'] ['Sarah-Theodora', 'child', 'Alberto Martinez Piedra']
ASK WHERE { resource:Sarah-Theodora property:child resource:Pablo_Toledano_Dorado . resource:Sarah-Theodora property:child resource:Alberto_Martinez_Piedra }
[]
common name
SYSTEM
NO
(Q2915643,P40,Q14067842) (Q2915643,P40,Q4712112)
action is_in
entity Q2915643
action intersection
action find_reverse
entity Q14067842
relation P40
action find_reverse
entity Q4712112
relation P40
[ANSWER]
['Q2915643', 'P40', 'Q14067842'] ['Q2915643', 'P40', 'Q4712112']
ASK WHERE { resource:Q2915643 property:P40 resource:Q14067842 . resource:Q2915643 property:P40 resource:Q4712112 }
No
action is_in
entity Sarah-Theodora
action intersection
action find_reverse
entity Pablo Toledano Dorado
relation child
action find_reverse
entity Alberto Martinez Piedra
relation child
['Sarah-Theodora', 'child', 'Pablo Toledano Dorado'] ['Sarah-Theodora', 'child', 'Alberto Martinez Piedra']
ASK WHERE { resource:Sarah-Theodora property:child resource:Pablo_Toledano_Dorado . resource:Sarah-Theodora property:child resource:Alberto_Martinez_Piedra }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2915643
P20
Q15617994
USER
Where did Sarah-Theodora expire ?
action filter_type
action find
entity Q2915643
relation P20
type Q15617994
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q2915643 property:P20 ?u }
Sarah-Theodora
action filter_type
action find
entity Sarah-Theodora
relation place of death
type designation for an administrative territorial entity
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sarah-Theodora property:place_of_death ?u }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
action filter_type
action find
entity Q2915643
relation P20
type Q15617994
Sarah-Theodora expired in [ANSWER]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q2915643 property:P20 ?u }
Bulgaria
Sarah-Theodora expired in Bulgaria
Bulgaria
action filter_type
action find
entity Sarah-Theodora
relation place of death
type designation for an administrative territorial entity
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sarah-Theodora property:place_of_death ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q219
P1532
Q6979593
USER
Which national association football teams represent that administrative territory ?
(c(Q6979593),P1532,Q219)
action filter_type
action find_reverse
entity Q219
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q219']
SELECT DISTINCT ?h WHERE { ?h property:P1532 resource:Q219 . ?h rdf:type ontology:Q6979593 }
Bulgaria
action filter_type
action find_reverse
entity Bulgaria
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Bulgaria']
SELECT DISTINCT ?h WHERE { ?h property:country_for_sport resource:Bulgaria . ?h rdf:type ontology:national_association_football_team }
[]
national association football team
Q834051 Q4996156
SYSTEM
Bulgaria women's national football team, Bulgaria Olympic football team
Q834051 Q4996156
(c(Q6979593),P1532,Q219)
action filter_type
action find_reverse
entity Q219
relation P1532
type Q6979593
And [ANSWERS] represent that administrative territory
[{'concept': 'Q6979593'}, 'P1532', 'Q219']
SELECT DISTINCT ?h WHERE { ?h property:P1532 resource:Q219 . ?h rdf:type ontology:Q6979593 }
Bulgaria women's national football team Bulgaria Olympic football team
And Bulgaria women's national football team and Bulgaria Olympic football team represent that administrative territory
Bulgaria women's national football team Bulgaria Olympic football team
action filter_type
action find_reverse
entity Bulgaria
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Bulgaria']
SELECT DISTINCT ?h WHERE { ?h property:country_for_sport resource:Bulgaria . ?h rdf:type ontology:national_association_football_team }
[]