Simple Question (Direct)
Simple Question
Q1160652
P19
Q56061
USER
Which administrative territory was Daniel Fernholm born at ?
(Q1160652,P19,c(Q56061))
action filter_type
action find
entity Q1160652
relation P19
type Q56061
['Q1160652', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1160652 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Daniel Fernholm
action filter_type
action find
entity Daniel Fernholm
relation place of birth
type administrative territorial entity
['Daniel Fernholm', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Daniel_Fernholm property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q1160652,P19,c(Q56061))
action filter_type
action find
entity Q1160652
relation P19
type Q56061
Daniel Fernholm was born in [ANSWER]
['Q1160652', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1160652 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Stockholm
Daniel Fernholm was born in Stockholm
Stockholm
action filter_type
action find
entity Daniel Fernholm
relation place of birth
type administrative territorial entity
['Daniel Fernholm', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Daniel_Fernholm property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1754
P36
Q1048835
USER
Which political territory has that administrative territory as its administrative centre ?
(c(Q1048835),P36,Q1754)
action filter_type
action find_reverse
entity Q1754
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q1754']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q1754 . ?w rdf:type ontology:Q1048835 }
Stockholm
action filter_type
action find_reverse
entity Stockholm
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Stockholm']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Stockholm . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q104231
SYSTEM
Stockholm County
Q104231
(c(Q1048835),P36,Q1754)
action filter_type
action find_reverse
entity Q1754
relation P36
type Q1048835
City [ANSWER] has that administrative territory as its administrative centre
[{'concept': 'Q1048835'}, 'P36', 'Q1754']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q1754 . ?w rdf:type ontology:Q1048835 }
Stockholm County
City Stockholm County has that administrative territory as its administrative centre
Stockholm County
action filter_type
action find_reverse
entity Stockholm
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Stockholm']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Stockholm . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1754
P1376
Q7275
USER
Which state has Stockholm as its capital ?
(Q1754,P1376,c(Q7275))
action filter_type
action find
entity Q1754
relation P1376
type Q7275
['Q1754', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7275 . resource:Q1754 property:P1376 ?l }
Stockholm
action filter_type
action find
entity Stockholm
relation capital of
type state
['Stockholm', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:state . resource:Stockholm property:capital_of ?l }
[]
state
Q62589
SYSTEM
Union between Sweden and Norway
Q62589
(Q1754,P1376,c(Q7275))
action filter_type
action find
entity Q1754
relation P1376
type Q7275
[ANSWER] has Stockholm as its capital
['Q1754', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7275 . resource:Q1754 property:P1376 ?l }
Union between Sweden and Norway
Union between Sweden and Norway has Stockholm as its capital
Union between Sweden and Norway
action filter_type
action find
entity Stockholm
relation capital of
type state
['Stockholm', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:state . resource:Stockholm property:capital_of ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1754
P190
Q515
USER
Which cities are partner town of Stockholm ?
(c(Q515),P190,Q1754)
action filter_type
action find
entity Q1754
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q1754']
SELECT DISTINCT ?t WHERE { resource:Q1754 property:P190 ?t . ?t rdf:type ontology:Q515 }
Stockholm
action filter_type
action find
entity Stockholm
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Stockholm']
SELECT DISTINCT ?t WHERE { resource:Stockholm property:sister_city ?t . ?t rdf:type ontology:city }
[]
city
Q1773 Q1899 Q11194
SYSTEM
Riga, Kyiv, Sarajevo
Q3624 Q3572 Q19689 Q1899 Q1773 Q11194
(c(Q515),P190,Q1754)
action filter_type
action find
entity Q1754
relation P190
type Q515
[ANSWERS] are partner town of Stockholm
[{'concept': 'Q515'}, 'P190', 'Q1754']
SELECT DISTINCT ?t WHERE { resource:Q1754 property:P190 ?t . ?t rdf:type ontology:Q515 }
Addis Ababa Tunis Tirana Kyiv Riga Sarajevo
Riga, Kyiv and Sarajevo are partner town of Stockholm
Riga Kyiv Sarajevo
action filter_type
action find
entity Stockholm
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Stockholm']
SELECT DISTINCT ?t WHERE { resource:Stockholm property:sister_city ?t . ?t rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1773 Q1899 Q11194
P159
Q7210356
USER
Which political organizations have HQ at Riga, Kyiv and Sarajevo ?
(c(Q7210356),P159,Q1773) (c(Q7210356),P159,Q1899) (c(Q7210356),P159,Q11194)
action union
action filter_type
action find_reverse
entity Q1773
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q1899
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q11194
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q1773'] [{'concept': 'Q7210356'}, 'P159', 'Q1899'] [{'concept': 'Q7210356'}, 'P159', 'Q11194']
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Q1773 ) ( resource:Q1899 ) } . ?n property:P159 ?m }
Riga Kyiv Sarajevo
action union
action filter_type
action find_reverse
entity Riga
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Kyiv
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Sarajevo
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Riga'] [{'concept': 'political organization'}, 'headquarters location', 'Kyiv'] [{'concept': 'political organization'}, 'headquarters location', 'Sarajevo']
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Riga ) ( resource:Kyiv ) } . ?n property:headquarters_location ?m }
[]
political organization
Q1576026 Q1357342 Q1474490
SYSTEM
National Alliance, New Era Party, For Human Rights in United Latvia
Q763974 Q1250133 Q1573271 Q2577092 Q1479723 Q2167704 Q1357342 Q992046 Q746777 Q1135496 Q182488 Q4157658 Q3401675 Q1756085 Q903671 Q1474490 Q1507032 Q1679630 Q1576026 Q733925 Q2337323 Q1474484 Q384826 Q4182271 Q167928 Q164226 Q2415479 Q2034609 Q1499300 Q2104371 Q7878501 Q2617120 Q2330393 Q3274568 Q4088284 Q45376 Q4430263 Q788180 Q2355317 Q4430448 Q8061712 Q383371 Q2994303 Q974724 Q2636074 Q4157651 Q1770215 Q2982576 Q922724 Q1423126 Q1519770 Q6450960 Q937266 Q1984877 Q7893743 Q7086274 Q1629755 Q7878407 Q2351483 Q204125 Q4415027 Q15361249 Q4396 Q11227474 Q2635662 Q12100003 Q4147532 Q4266 Q884932 Q2588871 Q290441 Q947126 Q1083976 Q4349891 Q12142151 Q2380317 Q6947580 Q515003 Q4260831 Q7165502 Q2299546 Q1968659 Q7878493 Q4430516 Q4947409 Q2490586 Q1288920 Q1143161 Q921704 Q13476193 Q2912096 Q1566536 Q533141 Q13231807 Q1565692 Q946306 Q7141114 Q3612403 Q594292 Q1132677 Q290118
(c(Q7210356),P159,Q1773) (c(Q7210356),P159,Q1899) (c(Q7210356),P159,Q11194)
action union
action filter_type
action find_reverse
entity Q1773
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q1899
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q11194
relation P159
type Q7210356
[ANSWERS] have HQ at Riga, Kyiv and Sarajevo
[{'concept': 'Q7210356'}, 'P159', 'Q1773'] [{'concept': 'Q7210356'}, 'P159', 'Q1899'] [{'concept': 'Q7210356'}, 'P159', 'Q11194']
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Q1773 ) ( resource:Q1899 ) } . ?n property:P159 ?m }
Christian Democratic Union People's Party Latvian Social Democratic Workers' Party For a Good Latvia For Fatherland and Freedom/LNNK Social Democratic Party "Harmony" New Era Party Unity Pērkonkrusts Latvian Green Party Equal Rights Democratic Centre Latvia's First Party Latvia's First Party/Latvian Way Harmony Centre For Human Rights in United Latvia Latvian Way Civic Union National Alliance Socialist Party of Latvia National Harmony Party Latvian Farmers' Union Reform Party For native language! Union of Greens and Farmers All For Latvia! Party of Greens of Ukraine Ukrainian National Assembly – Ukrainian National Self Defence Social Democratic Party of Ukraine PORA Ukrainian Republican Party European Party of Ukraine For Ukraine! Ukrainian Party of Socialist Independists Leonid Chernovetskyi Bloc Batkivshchyna Social Christian Party Our Ukraine–People's Self-Defense Bloc Radical Party Union Party Yuriy Lutsenko's People's Self-Defense Yulia Tymoshenko Bloc Party of Industrialists and Entrepreneurs of Ukraine For United Ukraine People's Democratic Party Democratic Party of Ukraine Ukrainian Platform "Sobor" Liberal Party of Ukraine Socialist Party of Ukraine Ukraine – Forward! Congress of Ukrainian Nationalists Kyiv Civil Activists United Centre Hromada Unity Oleksandr Omelchenko Bloc Reforms and Order Party Ukraine of the Future People's Movement of Ukraine Bloc of Left and Center-left Forces Peasant Party of Ukraine Right Sector All-Ukrainian Union "Svoboda" Justice Party Motherland Defenders Party Democratic Alliance Civil Position Party of Regions Lytvyn Bloc Front for Change Ukrainian Democratic Alliance for Reform Progressive Socialist Party of Ukraine Christian Democratic Union Petro Poroshenko Bloc New Politics (Ukraine) Russian Bloc Mykola Katerynchuk Bloc Ukrainian People's Party Liberal Democratic Party of Ukraine People's Committee to Protect Ukraine Our Ukraine Republican Christian Party Ukrainian Peasant Democratic Party Union of Leftists Bosnian Movement of National Pride Workers' Communist Party of Bosnia and Herzegovina People's Party For Work And Betterment Social Democratic Party of Bosnia and Herzegovina Liberal Democratic Party Party of Justice and Trust Citizens' Democratic Party Social Democratic Union of Bosnia and Herzegovina League of Communists of Bosnia and Herzegovina Democratic Front (Bosnia and Herzegovina) New Croatian Initiative Our Party Party of Rights of Bosnia and Herzegovina 1861 Union for a Better Future of BiH Bosnian-Herzegovinian Patriotic Party-Sefer Halilović Party of Democratic Action Party for Bosnia and Herzegovina
National Alliance, New Era Party and For Human Rights in United Latvia have HQ at Riga, Kyiv and Sarajevo
National Alliance New Era Party For Human Rights in United Latvia
action union
action filter_type
action find_reverse
entity Riga
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Kyiv
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Sarajevo
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Riga'] [{'concept': 'political organization'}, 'headquarters location', 'Kyiv'] [{'concept': 'political organization'}, 'headquarters location', 'Sarajevo']
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Riga ) ( resource:Kyiv ) } . ?n property:headquarters_location ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q104231
P237
Q17335294
USER
What is the ensign for Stockholm County ?
(Q104231,P237,c(Q17335294))
action filter_type
action find
entity Q104231
relation P237
type Q17335294
['Q104231', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { resource:Q104231 property:P237 ?m . ?m rdf:type ontology:Q17335294 }
Stockholm County
action filter_type
action find
entity Stockholm County
relation coat of arms
type flag or coat of arms
['Stockholm County', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { resource:Stockholm_County property:coat_of_arms ?m . ?m rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q3083694
SYSTEM
Stockholm county coat of arms
Q3083694
(Q104231,P237,c(Q17335294))
action filter_type
action find
entity Q104231
relation P237
type Q17335294
The ensign for Stockholm County is in [ANSWER]
['Q104231', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { resource:Q104231 property:P237 ?m . ?m rdf:type ontology:Q17335294 }
Stockholm county coat of arms
The ensign for Stockholm County is in Stockholm county coat of arms
Stockholm county coat of arms
action filter_type
action find
entity Stockholm County
relation coat of arms
type flag or coat of arms
['Stockholm County', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { resource:Stockholm_County property:coat_of_arms ?m . ?m rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1899
P119
Q502895
USER
Which people have Kyiv as his/her tomb ?
(c(Q502895),P119,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q1899']
SELECT DISTINCT ?x WHERE { ?x property:P119 resource:Q1899 . ?x rdf:type ontology:Q502895 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Kyiv']
SELECT DISTINCT ?x WHERE { ?x property:place_of_burial resource:Kyiv . ?x rdf:type ontology:common_name }
[]
common name
Q6131983 Q4203883
SYSTEM
Oleg of Novgorod, Ivan Iskra
Q6131983 Q4203883
(c(Q502895),P119,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P119
type Q502895
[ANSWERS] have Kyiv as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q1899']
SELECT DISTINCT ?x WHERE { ?x property:P119 resource:Q1899 . ?x rdf:type ontology:Q502895 }
Oleg of Novgorod Ivan Iskra
Oleg of Novgorod and Ivan Iskra have Kyiv as his/her tomb
Oleg of Novgorod Ivan Iskra
action filter_type
action find_reverse
entity Kyiv
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Kyiv']
SELECT DISTINCT ?x WHERE { ?x property:place_of_burial resource:Kyiv . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6131983
P53
Q8436
USER
What dynasty does that person belong to ?
(Q6131983,P53,c(Q8436))
action filter_type
action find
entity Q6131983
relation P53
type Q8436
['Q6131983', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q8436 . resource:Q6131983 property:P53 ?n }
Oleg of Novgorod
action filter_type
action find
entity Oleg of Novgorod
relation noble family
type family
['Oleg of Novgorod', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:family . resource:Oleg_of_Novgorod property:noble_family ?n }
[]
family
Clarification for simple ques.
Q4203883
SYSTEM
Did you mean Ivan Iskra ?
Q6131983 Q4203883
(Q6131983,P53,c(Q8436)) (Q4203883,P53,c(Q8436))
[ANSWER]
['Q6131983', 'P53', {'concept': 'Q8436'}] ['Q4203883', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q8436 . resource:Q6131983 property:P53 ?n }
Oleg of Novgorod Ivan Iskra
Did you mean Ivan Iskra ?
Ivan Iskra
['Oleg of Novgorod', 'noble family', {'concept': 'family'}] ['Ivan Iskra', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:family . resource:Oleg_of_Novgorod property:noble_family ?n }
[]
Simple Question (Coreferenced)
USER
No, I meant Oleg of Novgorod. Could you tell me the answer for that?
(Q6131983,P53,c(Q8436))
Q6131983
['Q6131983', 'P53', {'concept': 'Q8436'}]
['Oleg of Novgorod', 'noble family', {'concept': 'family'}]
[]
Q210398
SYSTEM
Rurik dynasty
Q210398
(Q6131983,P53,c(Q8436))
action filter_type
action find
entity Q6131983
relation P53
type Q8436
That person belongs to [ANSWER]
['Q6131983', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q8436 . resource:Q6131983 property:P53 ?n }
Rurik dynasty
That person belongs to Rurik dynasty
Rurik dynasty
action filter_type
action find
entity Oleg of Novgorod
relation noble family
type family
['Oleg of Novgorod', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:family . resource:Oleg_of_Novgorod property:noble_family ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6131983
P20
Q515
USER
Which city is the place of death of Oleg of Novgorod ?
(Q6131983,P20,c(Q515))
action filter_type
action find
entity Q6131983
relation P20
type Q515
['Q6131983', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q6131983 property:P20 ?w }
Oleg of Novgorod
action filter_type
action find
entity Oleg of Novgorod
relation place of death
type city
['Oleg of Novgorod', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Oleg_of_Novgorod property:place_of_death ?w }
[]
city
Q1899
SYSTEM
Kyiv
Q1899
(Q6131983,P20,c(Q515))
action filter_type
action find
entity Q6131983
relation P20
type Q515
[ANSWER] is the place of death of Oleg of Novgorod
['Q6131983', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q6131983 property:P20 ?w }
Kyiv
Kyiv is the place of death of Oleg of Novgorod
Kyiv
action filter_type
action find
entity Oleg of Novgorod
relation place of death
type city
['Oleg of Novgorod', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Oleg_of_Novgorod property:place_of_death ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1899
P740
Q43229
USER
What are the organizations that were formed at that city ?
(c(Q43229),P740,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q1899']
SELECT DISTINCT ?j WHERE { ?j property:P740 resource:Q1899 . ?j rdf:type ontology:Q43229 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Kyiv']
SELECT DISTINCT ?j WHERE { ?j property:location_of_formation resource:Kyiv . ?j rdf:type ontology:organization }
[]
organization
Q2026929 Q4430440 Q2012897
SYSTEM
Stereolizza, Soyuz-Viktan, Obolon CJSC
Q4430440 Q4037081 Q2026929 Q4051116 Q4038230 Q16933042 Q20098080 Q2012897
(c(Q43229),P740,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P740
type Q43229
The organizations that were formed at that city are [ANSWERS]
[{'concept': 'Q43229'}, 'P740', 'Q1899']
SELECT DISTINCT ?j WHERE { ?j property:P740 resource:Q1899 . ?j rdf:type ontology:Q43229 }
Soyuz-Viktan Dazzle Dreams Stereolizza The Hardkiss Esthetic Education MedInvestTrade Postmen DA Obolon CJSC
The organizations that were formed at that city are Stereolizza, Soyuz-Viktan and Obolon CJSC
Stereolizza Soyuz-Viktan Obolon CJSC
action filter_type
action find_reverse
entity Kyiv
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Kyiv']
SELECT DISTINCT ?j WHERE { ?j property:location_of_formation resource:Kyiv . ?j rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2026929 Q4430440 Q2012897
P740
Q515
USER
Which locations did those organizations orginate in ?
(Q2026929,P740,c(Q515)) (Q4430440,P740,c(Q515)) (Q2012897,P740,c(Q515))
action filter_type
action find
entity prev_answer
relation P740
type Q515
['Q2026929', 'P740', {'concept': 'Q515'}] ['Q4430440', 'P740', {'concept': 'Q515'}] ['Q2012897', 'P740', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { ?r property:P740 ?q . ?q rdf:type ontology:Q515 . VALUES ( ?r ) { ( resource:Q4430440 ) ( resource:Q4037081 ) ( resource:Q2026929 ) } }
Stereolizza Soyuz-Viktan Obolon CJSC
action filter_type
action find
entity prev_answer
relation location of formation
type city
['Stereolizza', 'location of formation', {'concept': 'city'}] ['Soyuz-Viktan', 'location of formation', {'concept': 'city'}] ['Obolon CJSC', 'location of formation', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { ?r property:location_of_formation ?q . ?q rdf:type ontology:city . VALUES ( ?r ) { ( resource:Soyuz-Viktan ) ( resource:Dazzle_Dreams ) ( resource:Stereolizza ) } }
[]
city
Q1899 Q1899 Q1899
SYSTEM
Kyiv
Q1899 Q1899 Q1899
(Q2026929,P740,c(Q515)) (Q4430440,P740,c(Q515)) (Q2012897,P740,c(Q515))
action filter_type
action find
entity prev_answer
relation P740
type Q515
Those organizations orginated to [ANSWER], [ANSWER] and [ANSWER]
['Q2026929', 'P740', {'concept': 'Q515'}] ['Q4430440', 'P740', {'concept': 'Q515'}] ['Q2012897', 'P740', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { ?r property:P740 ?q . ?q rdf:type ontology:Q515 . VALUES ( ?r ) { ( resource:Q4430440 ) ( resource:Q4037081 ) ( resource:Q2026929 ) } }
Kyiv Kyiv Kyiv
Those organizations orginated to Kyiv, Kyiv and Kyiv
Kyiv Kyiv Kyiv
action filter_type
action find
entity prev_answer
relation location of formation
type city
['Stereolizza', 'location of formation', {'concept': 'city'}] ['Soyuz-Viktan', 'location of formation', {'concept': 'city'}] ['Obolon CJSC', 'location of formation', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { ?r property:location_of_formation ?q . ?q rdf:type ontology:city . VALUES ( ?r ) { ( resource:Soyuz-Viktan ) ( resource:Dazzle_Dreams ) ( resource:Stereolizza ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1899
P138
Q34442
USER
Which road has Kyiv as its toponym ?
(c(Q34442),P138,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q1899']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q1899 . ?t rdf:type ontology:Q34442 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation named after
type road
[{'concept': 'road'}, 'named after', 'Kyiv']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Kyiv . ?t rdf:type ontology:road }
[]
road
Q12091709
SYSTEM
Kyivska Street
Q12091709
(c(Q34442),P138,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P138
type Q34442
[ANSWER] has Kyiv as its toponym
[{'concept': 'Q34442'}, 'P138', 'Q1899']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q1899 . ?t rdf:type ontology:Q34442 }
Kyivska Street
Kyivska Street has Kyiv as its toponym
Kyivska Street
action filter_type
action find_reverse
entity Kyiv
relation named after
type road
[{'concept': 'road'}, 'named after', 'Kyiv']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Kyiv . ?t rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1899
P559
Q3565868
USER
Which rail transport terminates at Kyiv ?
(c(Q3565868),P559,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P559
type Q3565868
[{'concept': 'Q3565868'}, 'P559', 'Q1899']
SELECT DISTINCT ?y WHERE { ?y property:P559 resource:Q1899 . ?y rdf:type ontology:Q3565868 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation terminus
type rail transport
[{'concept': 'rail transport'}, 'terminus', 'Kyiv']
SELECT DISTINCT ?y WHERE { ?y property:terminus resource:Kyiv . ?y rdf:type ontology:rail_transport }
[]
rail transport
Q16653259
SYSTEM
Zaporizhzhya
Q16653259
(c(Q3565868),P559,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P559
type Q3565868
[ANSWER] terminates at Kyiv
[{'concept': 'Q3565868'}, 'P559', 'Q1899']
SELECT DISTINCT ?y WHERE { ?y property:P559 resource:Q1899 . ?y rdf:type ontology:Q3565868 }
Zaporizhzhya
Zaporizhzhya terminates at Kyiv
Zaporizhzhya
action filter_type
action find_reverse
entity Kyiv
relation terminus
type rail transport
[{'concept': 'rail transport'}, 'terminus', 'Kyiv']
SELECT DISTINCT ?y WHERE { ?y property:terminus resource:Kyiv . ?y rdf:type ontology:rail_transport }
[]