Simple Question (Direct)
Simple Question
Q4242788
P20
Q56061
USER
Where did the demise of Porfiry Nikitich Krylov occur ?
(Q4242788,P20,c(Q56061))
action filter_type
action find
entity Q4242788
relation P20
type Q56061
['Q4242788', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q4242788 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Porfiry Nikitich Krylov
action filter_type
action find
entity Porfiry Nikitich Krylov
relation place of death
type administrative territorial entity
['Porfiry Nikitich Krylov', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Porfiry_Nikitich_Krylov property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q4242788,P20,c(Q56061))
action filter_type
action find
entity Q4242788
relation P20
type Q56061
The demise of Porfiry Nikitich Krylov occurred in [ANSWER]
['Q4242788', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q4242788 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Moscow
The demise of Porfiry Nikitich Krylov occurred in Moscow
Moscow
action filter_type
action find
entity Porfiry Nikitich Krylov
relation place of death
type administrative territorial entity
['Porfiry Nikitich Krylov', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Porfiry_Nikitich_Krylov property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4242788
P119
Q43229
USER
Which organization is the resting place of that person ?
(Q649,P119,c(Q43229))
action filter_type
action find
entity Q4242788
relation P119
type Q43229
['Q649', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q4242788 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Porfiry Nikitich Krylov
action filter_type
action find
entity Porfiry Nikitich Krylov
relation place of burial
type organization
['Moscow', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Porfiry_Nikitich_Krylov property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
organization
Q208175
SYSTEM
Novodevichy Cemetery
Q208175
(Q649,P119,c(Q43229))
action filter_type
action find
entity Q4242788
relation P119
type Q43229
[ANSWER] is the resting place of that person
['Q649', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q4242788 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Novodevichy Cemetery
Novodevichy Cemetery is the resting place of that person
Novodevichy Cemetery
action filter_type
action find
entity Porfiry Nikitich Krylov
relation place of burial
type organization
['Moscow', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Porfiry_Nikitich_Krylov property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q208175 Q159
P17
Q15617994
USER
Is that organization a part of Russia ?
(Q208175,P17,Q159)
action is_in
entity Q159
action find
entity Q208175
relation P17
['Q208175', 'P17', 'Q159']
ASK WHERE { resource:Q208175 property:P17 resource:Q159 }
Novodevichy Cemetery Russia
action is_in
entity Russia
action find
entity Novodevichy Cemetery
relation country
['Novodevichy Cemetery', 'country', 'Russia']
ASK WHERE { resource:Novodevichy_Cemetery property:country resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q208175,P17,Q159)
action is_in
entity Q159
action find
entity Q208175
relation P17
[ANSWER]
['Q208175', 'P17', 'Q159']
ASK WHERE { resource:Q208175 property:P17 resource:Q159 }
Yes
action is_in
entity Russia
action find
entity Novodevichy Cemetery
relation country
['Novodevichy Cemetery', 'country', 'Russia']
ASK WHERE { resource:Novodevichy_Cemetery property:country resource:Russia }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5399254 Q4242788
P106
Q12737077
USER
Which occupations are the professions of Porfiry Nikitich Krylov or Gustaf Järnefelt ?
OR((Q4242788,P106,c(Q12737077)), (Q5399254,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4242788
relation P106
action find
entity Q5399254
relation P106
type Q12737077
{'OR': [['Q4242788', 'P106', {'concept': 'Q12737077'}], ['Q5399254', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?x ) { ( resource:Q4242788 ) ( resource:Q5399254 ) } . ?x property:P106 ?c } . ?c rdf:type ontology:Q12737077 }
Gustaf Järnefelt Porfiry Nikitich Krylov
action filter_type
action union
action find
entity Porfiry Nikitich Krylov
relation occupation
action find
entity Gustaf Järnefelt
relation occupation
type occupation
{'OR': [['Porfiry Nikitich Krylov', 'occupation', {'concept': 'occupation'}], ['Gustaf Järnefelt', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?x ) { ( resource:Porfiry_Nikitich_Krylov ) ( resource:Gustaf_Järnefelt ) } . ?x property:occupation ?c } . ?c rdf:type ontology:occupation }
[]
occupation
Q1114448 Q1028181 Q11063 Q739437
SYSTEM
cartoonist, painter, astronomer, poster artist
Q1114448 Q1028181 Q11063 Q739437
OR((Q4242788,P106,c(Q12737077)), (Q5399254,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4242788
relation P106
action find
entity Q5399254
relation P106
type Q12737077
The [ANSWERS] are the professions of Porfiry Nikitich Krylov or Gustaf Järnefelt
{'OR': [['Q4242788', 'P106', {'concept': 'Q12737077'}], ['Q5399254', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?x ) { ( resource:Q4242788 ) ( resource:Q5399254 ) } . ?x property:P106 ?c } . ?c rdf:type ontology:Q12737077 }
cartoonist painter astronomer poster artist
The cartoonist, painter, astronomer and poster artist are the professions of Porfiry Nikitich Krylov or Gustaf Järnefelt
cartoonist painter astronomer poster artist
action filter_type
action union
action find
entity Porfiry Nikitich Krylov
relation occupation
action find
entity Gustaf Järnefelt
relation occupation
type occupation
{'OR': [['Porfiry Nikitich Krylov', 'occupation', {'concept': 'occupation'}], ['Gustaf Järnefelt', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?x ) { ( resource:Porfiry_Nikitich_Krylov ) ( resource:Gustaf_Järnefelt ) } . ?x property:occupation ?c } . ?c rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1114448
P425
Q483394
USER
Who has that one as the associated field of occupation ?
(Q1114448,P425,c(Q483394))
action filter_type
action find
entity Q1114448
relation P425
type Q483394
['Q1114448', 'P425', {'concept': 'Q483394'}]
SELECT DISTINCT ?s WHERE { resource:Q1114448 property:P425 ?s . ?s rdf:type ontology:Q483394 }
cartoonist
action filter_type
action find
entity cartoonist
relation field of this occupation
type genre
['cartoonist', 'field of this occupation', {'concept': 'genre'}]
SELECT DISTINCT ?s WHERE { resource:cartoonist property:field_of_this_occupation ?s . ?s rdf:type ontology:genre }
[]
genre
Clarification for simple ques.
Q11063
SYSTEM
Did you mean astronomer ?
Q1114448 Q1028181 Q11063 Q739437
(Q1114448,P425,c(Q483394)) (Q1028181,P425,c(Q483394)) (Q11063,P425,c(Q483394)) (Q739437,P425,c(Q483394))
[ANSWER]
['Q1114448', 'P425', {'concept': 'Q483394'}] ['Q1028181', 'P425', {'concept': 'Q483394'}] ['Q11063', 'P425', {'concept': 'Q483394'}] ['Q739437', 'P425', {'concept': 'Q483394'}]
SELECT DISTINCT ?s WHERE { resource:Q1114448 property:P425 ?s . ?s rdf:type ontology:Q483394 }
cartoonist painter astronomer poster artist
Did you mean astronomer ?
astronomer
['cartoonist', 'field of this occupation', {'concept': 'genre'}] ['painter', 'field of this occupation', {'concept': 'genre'}] ['astronomer', 'field of this occupation', {'concept': 'genre'}] ['poster artist', 'field of this occupation', {'concept': 'genre'}]
SELECT DISTINCT ?s WHERE { resource:cartoonist property:field_of_this_occupation ?s . ?s rdf:type ontology:genre }
[]
Simple Question (Coreferenced)
USER
No, I meant cartoonist. Could you tell me the answer for that?
(Q1114448,P425,c(Q483394))
Q1114448
['Q1114448', 'P425', {'concept': 'Q483394'}]
['cartoonist', 'field of this occupation', {'concept': 'genre'}]
[]
Q627603
SYSTEM
cartoon
Q627603
(Q1114448,P425,c(Q483394))
action filter_type
action find
entity Q1114448
relation P425
type Q483394
The [ANSWER] has that one as the associated field of occupation
['Q1114448', 'P425', {'concept': 'Q483394'}]
SELECT DISTINCT ?s WHERE { resource:Q1114448 property:P425 ?s . ?s rdf:type ontology:Q483394 }
cartoon
The cartoon has that one as the associated field of occupation
cartoon
action filter_type
action find
entity cartoonist
relation field of this occupation
type genre
['cartoonist', 'field of this occupation', {'concept': 'genre'}]
SELECT DISTINCT ?s WHERE { resource:cartoonist property:field_of_this_occupation ?s . ?s rdf:type ontology:genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P138
Q43229
USER
Which organization is named after Moscow ?
(c(Q43229),P138,Q649)
action filter_type
action find_reverse
entity Q649
relation P138
type Q43229
[{'concept': 'Q43229'}, 'P138', 'Q649']
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q649 . ?h rdf:type ontology:Q43229 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'Moscow']
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:Moscow . ?h rdf:type ontology:organization }
[]
organization
Q1518042
SYSTEM
Moscow Circus on Tsvetnoy Boulevard
Q1518042
(c(Q43229),P138,Q649)
action filter_type
action find_reverse
entity Q649
relation P138
type Q43229
In [ANSWER] is named after Moscow
[{'concept': 'Q43229'}, 'P138', 'Q649']
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q649 . ?h rdf:type ontology:Q43229 }
Moscow Circus on Tsvetnoy Boulevard
In Moscow Circus on Tsvetnoy Boulevard is named after Moscow
Moscow Circus on Tsvetnoy Boulevard
action filter_type
action find_reverse
entity Moscow
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'Moscow']
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:Moscow . ?h rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P190
Q515
USER
Which cities are partner towns of Moscow ?
(Q649,P190,c(Q515))
action filter_type
action find
entity Q649
relation P190
type Q515
['Q649', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . resource:Q649 property:P190 ?n }
Moscow
action filter_type
action find
entity Moscow
relation sister city
type city
['Moscow', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . resource:Moscow property:sister_city ?n }
[]
city
Q1486 Q1773 Q1461
SYSTEM
Buenos Aires, Riga, Manila
Q8684 Q3616 Q1953 Q3572 Q1461 Q3004 Q19660 Q19689 Q1486 Q1773 Q9005
(Q649,P190,c(Q515))
action filter_type
action find
entity Q649
relation P190
type Q515
[ANSWERS] are partner towns of Moscow
['Q649', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . resource:Q649 property:P190 ?n }
Seoul Tehran Yerevan Tunis Manila Ingolstadt Bucharest Tirana Buenos Aires Riga Brussels
Buenos Aires, Riga and Manila are partner towns of Moscow
Buenos Aires Riga Manila
action filter_type
action find
entity Moscow
relation sister city
type city
['Moscow', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . resource:Moscow property:sister_city ?n }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4190
Q515
USER
And also tell me about Passau?
(Q4190,P190,c(Q515))
action filter_type
action find
entity Q4190
relation P190
type Q515
['Q4190', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q4190 property:P190 ?w . ?w rdf:type ontology:Q515 }
Passau
action filter_type
action find
entity Passau
relation sister city
type city
['Passau', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Passau property:sister_city ?w . ?w rdf:type ontology:city }
[]
city
Q146317 Q16506 Q38968
SYSTEM
Veszprém, České Budějovice, Liuzhou
Q146317 Q16506 Q38968
(Q4190,P190,c(Q515))
action filter_type
action find
entity Q4190
relation P190
type Q515
[ANSWERS]
['Q4190', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q4190 property:P190 ?w . ?w rdf:type ontology:Q515 }
Veszprém České Budějovice Liuzhou
Veszprém České Budějovice Liuzhou
action filter_type
action find
entity Passau
relation sister city
type city
['Passau', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Passau property:sister_city ?w . ?w rdf:type ontology:city }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1383
Q56061 Q515
USER
Which cities contain around the same number of administrative territories as that city ?
(c(Q515),P1383,c(Q56061))
[{'concept': 'Q515'}, 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z property:P1383 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
[{'concept': 'city'}, 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z property:contains_settlement ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity city
Comparative|More/Less|Single entity type|Clarification
Q146317
SYSTEM
Did you mean Veszprém ?
(c(Q515),P1383,c(Q56061))
[ANSWER]
[{'concept': 'Q515'}, 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z property:P1383 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
Did you mean Veszprém ?
Veszprém
[{'concept': 'city'}, 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z property:contains_settlement ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant České Budějovice. Could you tell me the answer for that?
(c(Q515),P1383,c(Q56061))
Q16506
[{'concept': 'Q515'}, 'P1383', {'concept': 'Q56061'}]
[{'concept': 'city'}, 'contains settlement', {'concept': 'administrative territorial entity'}]
[]
Q14960 Q19660 Q16506
SYSTEM
Brno, Bucharest, České Budějovice
Q168921 Q850962 Q14960 Q253825 Q283862 Q850974 Q3846983 Q935834 Q765841 Q383850 Q851056 Q585548 Q508313 Q16506 Q328647 Q248018 Q169127 Q855187 Q850982 Q835227 Q639520 Q167109 Q851037 Q331577 Q1018204 Q771191 Q275642 Q3573941 Q837167 Q837170 Q2198771 Q803706 Q855073 Q276156 Q265012 Q850969 Q386945 Q749320 Q276164 Q923254 Q556266 Q666373 Q851042 Q571769 Q276152 Q226000 Q751352 Q737830 Q169135 Q837968 Q221214 Q526335 Q789811 Q281371 Q837960 Q209782 Q641218 Q276004 Q592480 Q203929 Q1088716 Q596043 Q250006 Q829051 Q521108 Q275810 Q423441 Q837173 Q225257 Q214938 Q1018184 Q373707 Q376233 Q851007 Q276336 Q252061 Q789256 Q586387 Q855719 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q837161 Q548502 Q568376 Q186719 Q75537 Q535516 Q508057 Q754721 Q839796 Q502993 Q837157 Q748068 Q743752 Q736276 Q276135 Q276137 Q843043 Q197687 Q253872 Q217131 Q275990 Q248959 Q511951 Q935846 Q75504 Q313689 Q651322 Q906711 Q276128 Q855032 Q790338 Q756585 Q851001 Q375371 Q912224 Q855721 Q276009 Q169064 Q772576 Q166829 Q926163 Q589880 Q167121 Q548575 Q275910 Q678884 Q841603 Q587746 Q756593 Q756590 Q851013 Q167792 Q19660 Q602184 Q276154 Q423371 Q650981 Q764806 Q842925 Q756578 Q390156 Q851021 Q592497 Q727421 Q851029 Q423414 Q596609 Q655818 Q275904 Q508670 Q187812 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141
(c(Q515),P1383,c(Q56061))
[ANSWERS] contain around the same number of administrative territories as that city
[{'concept': 'Q515'}, 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z property:P1383 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
Bragadiru Copșa Mică Brno Salcea Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Litovel Cristuru Secuiesc Ocnele Mari Nădlac České Budějovice Sulina Isaccea Chitila Câmpeni Curtici Ineu Voluntari Eger Comarnic Abrud Slănic Berești Roznov Săliște Hațeg Gura Humorului Măgurele Baia Sprie Solt Berbești Bușteni Victoria Babadag Monor Căzănești Fundulea Târgu Ocna Seini Hârlău Boldești-Scăeni Dragomirești Jimbolia Plopeni Mizil Pantelimon Băile Tușnad Cugir Keszthely Bălan Jászberény Năvodari Borșa Videle Murgeni Târgu Bujor Zimnicea Lőrinci Ovidiu Slănic-Moldova Moldova Nouă Dumbrăveni Cajvana Țăndărei Cisnădie Rupea Gyula Cavnic Luduș Săcueni Deta Livada Valea lui Mihai Balatonalmádi Eforie Băile Govora Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Sânnicolau Mare Anina Breaza Ocna Sibiului Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Uherské Hradiště Covasna Hârșova Odobești Cernavodă Dăbuleni Milișăuți Sárvár Miercurea Sibiului Bechet Buftea Răcari Zărnești Predeal Vlăhița Bocșa Agnita Năsăud Nucet Frasin Mezőkovácsháza Râșnov Buhuși Măcin Călimănești Techirghiol Băile Olănești Amara Sângeorgiu de Pădure Negrești-Oaș Miercurea Nirajului Popești-Leordeni Pucioasa Ungheni Aninoasa Sântana Fieni Tiszakécske Siret Târgu Neamț Comănești Vașcău Sărmașu Bucharest Solca Ștefănești Ștei Băile Herculane Rovinari Edelény Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Aleșd Țicleni Vișeu de Sus Buziaș Flămânzi Chișineu-Criș Dunaújváros Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus
Brno, Bucharest and České Budějovice contain around the same number of administrative territories as that city
Brno Bucharest České Budějovice
[{'concept': 'city'}, 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z property:contains_settlement ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q408 Q5399254
P530 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Gustaf Järnefelt and have a diplomatic relationship with Australia ?
AND((Q5399254,P27,c(Q15617994)), (Q408,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q5399254
relation P27
action find
entity Q408
relation P530
type Q15617994
{'AND': [['Q5399254', 'P27', {'concept': 'Q15617994'}], ['Q408', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q5399254 property:P27 ?v . resource:Q408 property:P530 ?v }
Australia Gustaf Järnefelt
action filter_type
action intersection
action find
entity Gustaf Järnefelt
relation country of citizenship
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Gustaf Järnefelt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gustaf_Järnefelt property:country_of_citizenship ?v . resource:Australia property:diplomatic_relation ?v }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
AND((Q5399254,P27,c(Q15617994)), (Q408,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q5399254
relation P27
action find
entity Q408
relation P530
type Q15617994
[ANSWER] is the countries of citizenship of Gustaf Järnefelt and have a diplomatic relationship with Australia
{'AND': [['Q5399254', 'P27', {'concept': 'Q15617994'}], ['Q408', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q5399254 property:P27 ?v . resource:Q408 property:P530 ?v }
Finland
Finland is the countries of citizenship of Gustaf Järnefelt and have a diplomatic relationship with Australia
Finland
action filter_type
action intersection
action find
entity Gustaf Järnefelt
relation country of citizenship
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Gustaf Järnefelt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gustaf_Järnefelt property:country_of_citizenship ?v . resource:Australia property:diplomatic_relation ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P127
Q811979 Q2385804
USER
How many architectural structures or educational institutions belongs to that administrative territory ?
(c(Q811979),P127,Q33) (c(Q2385804),P127,Q33) (c(Q811979),P127,Q33) (c(Q2385804),P127,Q33)
action count
action union
action filter_type
action find_reverse
entity Q33
relation P127
type Q811979
action filter_type
action find_reverse
entity Q33
relation P127
type Q2385804
[{'concept': 'Q811979'}, 'P127', 'Q33'] [{'concept': 'Q2385804'}, 'P127', 'Q33'] [{'concept': 'Q811979'}, 'P127', 'Q33'] [{'concept': 'Q2385804'}, 'P127', 'Q33']
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:Q2385804 ) ( ontology:Q811979 ) } . ?z rdf:type ?e }
action count
action union
action filter_type
action find_reverse
entity Finland
relation owned by
type architectural structure
action filter_type
action find_reverse
entity Finland
relation owned by
type educational institution
[{'concept': 'architectural structure'}, 'owned by', 'Finland'] [{'concept': 'educational institution'}, 'owned by', 'Finland'] [{'concept': 'architectural structure'}, 'owned by', 'Finland'] [{'concept': 'educational institution'}, 'owned by', 'Finland']
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:educational_institution ) ( ontology:architectural_structure ) } . ?z rdf:type ?e }
[]
architectural structure educational institution
SYSTEM
2
Q3279961 Q5391306
(c(Q811979),P127,Q33) (c(Q2385804),P127,Q33) (c(Q811979),P127,Q33) (c(Q2385804),P127,Q33)
action count
action union
action filter_type
action find_reverse
entity Q33
relation P127
type Q811979
action filter_type
action find_reverse
entity Q33
relation P127
type Q2385804
[ANSWER]
[{'concept': 'Q811979'}, 'P127', 'Q33'] [{'concept': 'Q2385804'}, 'P127', 'Q33'] [{'concept': 'Q811979'}, 'P127', 'Q33'] [{'concept': 'Q2385804'}, 'P127', 'Q33']
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:Q2385804 ) ( ontology:Q811979 ) } . ?z rdf:type ?e }
House of the Estates Oulun Suomalaisen Yhteiskoulun Lukio
2
action count
action union
action filter_type
action find_reverse
entity Finland
relation owned by
type architectural structure
action filter_type
action find_reverse
entity Finland
relation owned by
type educational institution
[{'concept': 'architectural structure'}, 'owned by', 'Finland'] [{'concept': 'educational institution'}, 'owned by', 'Finland'] [{'concept': 'architectural structure'}, 'owned by', 'Finland'] [{'concept': 'educational institution'}, 'owned by', 'Finland']
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:educational_institution ) ( ontology:architectural_structure ) } . ?z rdf:type ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P1001
Q895526
USER
Which authority organs have jurisdiction over Finland ?
(c(Q895526),P1001,Q33)
action filter_type
action find_reverse
entity Q33
relation P1001
type Q895526
[{'concept': 'Q895526'}, 'P1001', 'Q33']
SELECT DISTINCT ?y WHERE { ?y property:P1001 resource:Q33 . ?y rdf:type ontology:Q895526 }
Finland
action filter_type
action find_reverse
entity Finland
relation applies to jurisdiction
type authority organ
[{'concept': 'authority organ'}, 'applies to jurisdiction', 'Finland']
SELECT DISTINCT ?y WHERE { ?y property:applies_to_jurisdiction resource:Finland . ?y rdf:type ontology:authority_organ }
[]
authority organ
Q10701055 Q3357506 Q11900238
SYSTEM
Finnish Transport Safety Agency, Safety Investigation Authority, Office of the Prosecutor General of Finland
Q3357506 Q3360446 Q11900238 Q10701055 Q3087818 Q2586717 Q18694386
(c(Q895526),P1001,Q33)
action filter_type
action find_reverse
entity Q33
relation P1001
type Q895526
[ANSWERS] have jurisdiction over Finland
[{'concept': 'Q895526'}, 'P1001', 'Q33']
SELECT DISTINCT ?y WHERE { ?y property:P1001 resource:Q33 . ?y rdf:type ontology:Q895526 }
Safety Investigation Authority Finnish Transport Agency Office of the Prosecutor General of Finland Finnish Transport Safety Agency Finnish Rail Administration Regional State Administrative Agency High Court of Impeachment
Finnish Transport Safety Agency, Safety Investigation Authority and Office of the Prosecutor General of Finland have jurisdiction over Finland
Finnish Transport Safety Agency Safety Investigation Authority Office of the Prosecutor General of Finland
action filter_type
action find_reverse
entity Finland
relation applies to jurisdiction
type authority organ
[{'concept': 'authority organ'}, 'applies to jurisdiction', 'Finland']
SELECT DISTINCT ?y WHERE { ?y property:applies_to_jurisdiction resource:Finland . ?y rdf:type ontology:authority_organ }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10701055
P159
Q123705
USER
Which neighborhood is the HQ of that authority organ ?
(Q10701055,P159,c(Q123705))
action filter_type
action find
entity Q10701055
relation P159
type Q123705
['Q10701055', 'P159', {'concept': 'Q123705'}]
SELECT DISTINCT ?s WHERE { resource:Q10701055 property:P159 ?s . ?s rdf:type ontology:Q123705 }
Finnish Transport Safety Agency
action filter_type
action find
entity Finnish Transport Safety Agency
relation headquarters location
type neighborhood
['Finnish Transport Safety Agency', 'headquarters location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?s WHERE { resource:Finnish_Transport_Safety_Agency property:headquarters_location ?s . ?s rdf:type ontology:neighborhood }
[]
neighborhood
Clarification for simple ques.
Q11900238
SYSTEM
Did you mean Office of the Prosecutor General of Finland ?
Q10701055 Q3357506 Q11900238
(Q10701055,P159,c(Q123705)) (Q3357506,P159,c(Q123705)) (Q11900238,P159,c(Q123705))
[ANSWER]
['Q10701055', 'P159', {'concept': 'Q123705'}] ['Q3357506', 'P159', {'concept': 'Q123705'}] ['Q11900238', 'P159', {'concept': 'Q123705'}]
SELECT DISTINCT ?s WHERE { resource:Q10701055 property:P159 ?s . ?s rdf:type ontology:Q123705 }
Finnish Transport Safety Agency Safety Investigation Authority Office of the Prosecutor General of Finland
Did you mean Office of the Prosecutor General of Finland ?
Office of the Prosecutor General of Finland
['Finnish Transport Safety Agency', 'headquarters location', {'concept': 'neighborhood'}] ['Safety Investigation Authority', 'headquarters location', {'concept': 'neighborhood'}] ['Office of the Prosecutor General of Finland', 'headquarters location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?s WHERE { resource:Finnish_Transport_Safety_Agency property:headquarters_location ?s . ?s rdf:type ontology:neighborhood }
[]
Simple Question (Coreferenced)
USER
No, I meant Finnish Transport Safety Agency. Could you tell me the answer for that?
(Q10701055,P159,c(Q123705))
Q10701055
['Q10701055', 'P159', {'concept': 'Q123705'}]
['Finnish Transport Safety Agency', 'headquarters location', {'concept': 'neighborhood'}]
[]
Q1973972
SYSTEM
Vallila
Q1973972
(Q10701055,P159,c(Q123705))
action filter_type
action find
entity Q10701055
relation P159
type Q123705
[ANSWER] is the HQ of that authority organ
['Q10701055', 'P159', {'concept': 'Q123705'}]
SELECT DISTINCT ?s WHERE { resource:Q10701055 property:P159 ?s . ?s rdf:type ontology:Q123705 }
Vallila
Vallila is the HQ of that authority organ
Vallila
action filter_type
action find
entity Finnish Transport Safety Agency
relation headquarters location
type neighborhood
['Finnish Transport Safety Agency', 'headquarters location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?s WHERE { resource:Finnish_Transport_Safety_Agency property:headquarters_location ?s . ?s rdf:type ontology:neighborhood }
[]