Simple Question (Direct)
Simple Question
Q12022007
P20
Q56061
USER
Which administrative territory is the place of death of Ivan Sekyra ?
(Q12022007,P20,c(Q56061))
action filter_type
action find
entity Q12022007
relation P20
type Q56061
['Q12022007', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q12022007 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Ivan Sekyra
action filter_type
action find
entity Ivan Sekyra
relation place of death
type administrative territorial entity
['Ivan Sekyra', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ivan_Sekyra property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q12022007,P20,c(Q56061))
action filter_type
action find
entity Q12022007
relation P20
type Q56061
[ANSWER] is the place of death of Ivan Sekyra
['Q12022007', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q12022007 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Prague
Prague is the place of death of Ivan Sekyra
Prague
action filter_type
action find
entity Ivan Sekyra
relation place of death
type administrative territorial entity
['Ivan Sekyra', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ivan_Sekyra property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1085
P36
Q2221906
USER
Which geographic location consists of that administrative territory as its capital ?
(c(Q2221906),P36,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P36
type Q2221906
[{'concept': 'Q2221906'}, 'P36', 'Q1085']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2221906 . ?o property:P36 resource:Q1085 }
Prague
action filter_type
action find_reverse
entity Prague
relation capital
type geographic location
[{'concept': 'geographic location'}, 'capital', 'Prague']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:geographic_location . ?o property:capital resource:Prague }
[]
geographic location
Q39193
SYSTEM
Bohemia
Q39193
(c(Q2221906),P36,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P36
type Q2221906
[ANSWER] consists of that administrative territory as its capital
[{'concept': 'Q2221906'}, 'P36', 'Q1085']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2221906 . ?o property:P36 resource:Q1085 }
Bohemia
Bohemia consists of that administrative territory as its capital
Bohemia
action filter_type
action find_reverse
entity Prague
relation capital
type geographic location
[{'concept': 'geographic location'}, 'capital', 'Prague']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:geographic_location . ?o property:capital resource:Prague }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1085
P190
Q515
USER
Which cities are partner town of Prague ?
(c(Q515),P190,Q1085)
action filter_type
action find
entity Q1085
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q1085']
SELECT DISTINCT ?x WHERE { resource:Q1085 property:P190 ?x . ?x rdf:type ontology:Q515 }
Prague
action filter_type
action find
entity Prague
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Prague']
SELECT DISTINCT ?x WHERE { resource:Prague property:sister_city ?x . ?x rdf:type ontology:city }
[]
city
Q1486 Q1794 Q19689
SYSTEM
Buenos Aires, Frankfurt, Tirana
Q3572 Q1794 Q19689 Q1486 Q3936 Q9005
(c(Q515),P190,Q1085)
action filter_type
action find
entity Q1085
relation P190
type Q515
[ANSWERS] are partner town of Prague
[{'concept': 'Q515'}, 'P190', 'Q1085']
SELECT DISTINCT ?x WHERE { resource:Q1085 property:P190 ?x . ?x rdf:type ontology:Q515 }
Tunis Frankfurt Tirana Buenos Aires Bamberg Brussels
Buenos Aires, Frankfurt and Tirana are partner town of Prague
Buenos Aires Frankfurt Tirana
action filter_type
action find
entity Prague
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Prague']
SELECT DISTINCT ?x WHERE { resource:Prague property:sister_city ?x . ?x rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1486 Q1794 Q19689
P190
Q515
USER
Which cities are sister town of Buenos Aires, Frankfurt and Tirana ?
(c(Q515),P190,Q1486) (c(Q515),P190,Q1794) (c(Q515),P190,Q19689)
action union
action filter_type
action find
entity Q1486
relation P190
type Q515
action filter_type
action find
entity Q1794
relation P190
type Q515
action filter_type
action find
entity Q19689
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q1486'] [{'concept': 'Q515'}, 'P190', 'Q1794'] [{'concept': 'Q515'}, 'P190', 'Q19689']
SELECT DISTINCT ?g WHERE { VALUES ( ?e ) { ( resource:Q1794 ) ( resource:Q1486 ) } . ?e property:P190 ?g }
Buenos Aires Frankfurt Tirana
action union
action filter_type
action find
entity Buenos Aires
relation sister city
type city
action filter_type
action find
entity Frankfurt
relation sister city
type city
action filter_type
action find
entity Tirana
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Buenos Aires'] [{'concept': 'city'}, 'sister city', 'Frankfurt'] [{'concept': 'city'}, 'sister city', 'Tirana']
SELECT DISTINCT ?g WHERE { VALUES ( ?e ) { ( resource:Frankfurt ) ( resource:Buenos_Aires ) } . ?e property:sister_city ?g }
[]
city
Q1899 Q1899 Q456
SYSTEM
Lyon for 3rd, Kyiv for 1st, 2nd
Q8684 Q2900 Q2887 Q1899 Q1953 Q2844 Q8652 Q2079 Q456 Q8684 Q23482 Q1899 Q9005 Q11194 Q19660 Q3861
(c(Q515),P190,Q1486) (c(Q515),P190,Q1794) (c(Q515),P190,Q19689)
action union
action filter_type
action find
entity Q1486
relation P190
type Q515
action filter_type
action find
entity Q1794
relation P190
type Q515
action filter_type
action find
entity Q19689
relation P190
type Q515
[ANSWERS]
[{'concept': 'Q515'}, 'P190', 'Q1486'] [{'concept': 'Q515'}, 'P190', 'Q1794'] [{'concept': 'Q515'}, 'P190', 'Q19689']
SELECT DISTINCT ?g WHERE { VALUES ( ?e ) { ( resource:Q1794 ) ( resource:Q1486 ) } . ?e property:P190 ?g }
Seoul Quito Santiago Kyiv Yerevan Brasília Miami Leipzig Lyon Seoul Marseille Kyiv Brussels Sarajevo Bucharest Doha
Kyiv, Kyiv and Lyon are sister town of Buenos Aires, Frankfurt and Tirana
Kyiv Kyiv Lyon
action union
action filter_type
action find
entity Buenos Aires
relation sister city
type city
action filter_type
action find
entity Frankfurt
relation sister city
type city
action filter_type
action find
entity Tirana
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Buenos Aires'] [{'concept': 'city'}, 'sister city', 'Frankfurt'] [{'concept': 'city'}, 'sister city', 'Tirana']
SELECT DISTINCT ?g WHERE { VALUES ( ?e ) { ( resource:Frankfurt ) ( resource:Buenos_Aires ) } . ?e property:sister_city ?g }
[]
Clarification
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
Clarification for simple ques.
Q456
SYSTEM
Did you mean Lyon ?
Q1899 Q1899 Q456
(c(Q43229),P740,Q1899) (c(Q43229),P740,Q1899) (c(Q43229),P740,Q456)
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q1899'] [{'concept': 'Q43229'}, 'P740', 'Q1899'] [{'concept': 'Q43229'}, 'P740', 'Q456']
SELECT DISTINCT ?j WHERE { ?j property:P740 resource:Q1899 . ?j rdf:type ontology:Q43229 }
Kyiv Kyiv Lyon
Did you mean Lyon ?
Lyon
[{'concept': 'organization'}, 'location of formation', 'Kyiv'] [{'concept': 'organization'}, 'location of formation', 'Kyiv'] [{'concept': 'organization'}, 'location of formation', 'Lyon']
SELECT DISTINCT ?j WHERE { ?j property:location_of_formation resource:Kyiv . ?j rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Kyiv. Could you tell me the answer for that?
(c(Q43229),P740,Q1899)
Q1899
[{'concept': 'Q43229'}, 'P740', 'Q1899']
[{'concept': 'organization'}, 'location of formation', 'Kyiv']
[]
Q4430440 Q2026929 Q2012897
SYSTEM
Soyuz-Viktan, Stereolizza, 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 Soyuz-Viktan, Stereolizza and Obolon CJSC
Soyuz-Viktan Stereolizza 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 }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q106108 Q1899
P19 P190
Q56061
USER
Which administrative territories are partner towns of Kyiv or are the places of birth of Bruno Möhring ?
OR((Q1899,P190,c(Q56061)), (Q106108,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1899
relation P190
action find
entity Q106108
relation P19
type Q56061
{'OR': [['Q1899', 'P190', {'concept': 'Q56061'}], ['Q106108', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q1899 property:P190 ?o } UNION { resource:Q106108 property:P19 ?o } } . ?o rdf:type ontology:Q56061 }
Bruno Möhring Kyiv
action filter_type
action union
action find
entity Kyiv
relation sister city
action find
entity Bruno Möhring
relation place of birth
type administrative territorial entity
{'OR': [['Kyiv', 'sister city', {'concept': 'administrative territorial entity'}], ['Bruno Möhring', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Kyiv property:sister_city ?o } UNION { resource:Bruno_Möhring property:place_of_birth ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711 Q9248 Q2044 Q727 Q40840 Q7880 Q172 Q1520 Q8678 Q5168
SYSTEM
Some of them are Belgrade, Baku, Florence, Amsterdam, Tampere, Toulouse, Toronto, Astana, Rio de Janeiro, Makhachkala
Q1757 Q1754 Q994 Q727 Q9248 Q472 Q4120832 Q1770 Q1297 Q5168 Q1829 Q40840 Q23436 Q1524 Q3711 Q1780 Q1781 Q1489 Q25331 Q1520 Q1741 Q206954 Q1726 Q21197 Q7880 Q216 Q172 Q270 Q8678 Q239 Q956 Q2280 Q2044 Q3640
OR((Q1899,P190,c(Q56061)), (Q106108,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1899
relation P190
action find
entity Q106108
relation P19
type Q56061
[ANSWERS] are partner towns of Kyiv or are the places of birth of Bruno Möhring
{'OR': [['Q1899', 'P190', {'concept': 'Q56061'}], ['Q106108', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q1899 property:P190 ?o } UNION { resource:Q106108 property:P19 ?o } } . ?o rdf:type ontology:Q56061 }
Helsinki Stockholm Tbilisi Amsterdam Baku Sofia Königsberg Tallinn Chicago Makhachkala Kaliningrad Tampere Edinburgh Athens Belgrade Bratislava Budapest Mexico City Odense Astana Vienna Kastoria Munich Chișinău Toulouse Vilnius Toronto Warsaw Rio de Janeiro Brussels Beijing Minsk Florence Ankara
Belgrade, Baku, Florence, Amsterdam, Tampere, Toulouse, Toronto, Astana, Rio de Janeiro and Makhachkala are partner towns of Kyiv or are the places of birth of Bruno Möhring
Belgrade Baku Florence Amsterdam Tampere Toulouse Toronto Astana Rio de Janeiro Makhachkala
action filter_type
action union
action find
entity Kyiv
relation sister city
action find
entity Bruno Möhring
relation place of birth
type administrative territorial entity
{'OR': [['Kyiv', 'sister city', {'concept': 'administrative territorial entity'}], ['Bruno Möhring', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Kyiv property:sister_city ?o } UNION { resource:Bruno_Möhring property:place_of_birth ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q486282 Q1899
P190
Q56061
USER
Which administrative territories are twin cities of Kyiv or Pavlodar ?
OR((Q1899,P190,c(Q56061)), (Q486282,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1899
relation P190
action find
entity Q486282
relation P190
type Q56061
{'OR': [['Q1899', 'P190', {'concept': 'Q56061'}], ['Q486282', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { ?w property:P190 ?r . VALUES ( ?w ) { ( resource:Q1899 ) ( resource:Q486282 ) } } . ?r rdf:type ontology:Q56061 }
Pavlodar Kyiv
action filter_type
action union
action find
entity Kyiv
relation sister city
action find
entity Pavlodar
relation sister city
type administrative territorial entity
{'OR': [['Kyiv', 'sister city', {'concept': 'administrative territorial entity'}], ['Pavlodar', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?w property:sister_city ?r . VALUES ( ?w ) { ( resource:Kyiv ) ( resource:Pavlodar ) } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1770 Q2044 Q5168 Q9248 Q23436 Q649 Q1726 Q2280 Q7880 Q994
SYSTEM
Some of them are Tallinn, Florence, Makhachkala, Baku, Edinburgh, Moscow, Munich, Minsk, Toulouse, Tbilisi
Q1757 Q1754 Q994 Q727 Q649 Q9248 Q472 Q1770 Q1297 Q5168 Q40840 Q23436 Q1524 Q3711 Q1520 Q1781 Q1489 Q25331 Q898 Q1741 Q1780 Q206954 Q1726 Q21197 Q7880 Q216 Q172 Q270 Q8678 Q239 Q956 Q2280 Q2044 Q3640
OR((Q1899,P190,c(Q56061)), (Q486282,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1899
relation P190
action find
entity Q486282
relation P190
type Q56061
[ANSWERS] are twin cities of Kyiv or Pavlodar
{'OR': [['Q1899', 'P190', {'concept': 'Q56061'}], ['Q486282', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { ?w property:P190 ?r . VALUES ( ?w ) { ( resource:Q1899 ) ( resource:Q486282 ) } } . ?r rdf:type ontology:Q56061 }
Helsinki Stockholm Tbilisi Amsterdam Moscow Baku Sofia Tallinn Chicago Makhachkala Tampere Edinburgh Athens Belgrade Astana Budapest Mexico City Odense Omsk Vienna Bratislava Kastoria Munich Chișinău Toulouse Vilnius Toronto Warsaw Rio de Janeiro Brussels Beijing Minsk Florence Ankara
Tallinn, Florence, Makhachkala, Baku, Edinburgh, Moscow, Munich, Minsk, Toulouse and Tbilisi are twin cities of Kyiv or Pavlodar
Tallinn Florence Makhachkala Baku Edinburgh Moscow Munich Minsk Toulouse Tbilisi
action filter_type
action union
action find
entity Kyiv
relation sister city
action find
entity Pavlodar
relation sister city
type administrative territorial entity
{'OR': [['Kyiv', 'sister city', {'concept': 'administrative territorial entity'}], ['Pavlodar', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?w property:sister_city ?r . VALUES ( ?w ) { ( resource:Kyiv ) ( resource:Pavlodar ) } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1770 Q2044 Q5168 Q9248 Q23436 Q649 Q1726 Q2280 Q7880 Q994
P190
Q56061
USER
Which administrative territories are twin town of those ones ?
(c(Q56061),P190,Q1770) (c(Q56061),P190,Q2044) (c(Q56061),P190,Q5168) (c(Q56061),P190,Q9248) (c(Q56061),P190,Q23436) (c(Q56061),P190,Q649) (c(Q56061),P190,Q1726) (c(Q56061),P190,Q2280) (c(Q56061),P190,Q7880) (c(Q56061),P190,Q994)
action filter_type
action find_reverse
entity prev_answer
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q1770'] [{'concept': 'Q56061'}, 'P190', 'Q2044'] [{'concept': 'Q56061'}, 'P190', 'Q5168'] [{'concept': 'Q56061'}, 'P190', 'Q9248'] [{'concept': 'Q56061'}, 'P190', 'Q23436'] [{'concept': 'Q56061'}, 'P190', 'Q649'] [{'concept': 'Q56061'}, 'P190', 'Q1726'] [{'concept': 'Q56061'}, 'P190', 'Q2280'] [{'concept': 'Q56061'}, 'P190', 'Q7880'] [{'concept': 'Q56061'}, 'P190', 'Q994']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . ?m property:P190 ?y . VALUES ( ?y ) { ( resource:Q1757 ) ( resource:Q1754 ) ( resource:Q994 ) } }
Tallinn Florence Makhachkala Baku Edinburgh Moscow Munich Minsk Toulouse Tbilisi
action filter_type
action find_reverse
entity prev_answer
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Tallinn'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Florence'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Makhachkala'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Baku'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Edinburgh'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Moscow'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Munich'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Minsk'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Toulouse'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Tbilisi']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . ?m property:sister_city ?y . VALUES ( ?y ) { ( resource:Helsinki ) ( resource:Stockholm ) ( resource:Tbilisi ) } }
[]
administrative territorial entity
Q1085 Q649 Q649
SYSTEM
Moscow for 2nd, 3rd, Prague for 1st
Q858775 Q761 Q1296 Q641 Q649 Q749 Q216 Q28271 Q1709 Q1707 Q1754 Q747509 Q192155 Q1524 Q159273 Q41876 Q430776 Q23436 Q3642 Q81137 Q42053 Q93347 Q3130 Q8356 Q3766 Q1781 Q93338 Q214178 Q5776 Q185134 Q35178 Q51103 Q38511 Q406 Q80985 Q34370 Q2837 Q6221 Q192888 Q199723 Q312759 Q5239 Q219671 Q205942 Q104560 Q641 Q16555 Q25416 Q2634 Q3718 Q81398 Q80053 Q48195 Q994719 Q3805 Q84 Q406 Q8678 Q1479 Q24639 Q133073 Q15684 Q216 Q25410 Q1726 Q33959 Q2044 Q1524 Q1520 Q987 Q994 Q2807 Q956 Q1297 Q727 Q1218 Q1085 Q179830 Q133026 Q472 Q3630 Q216 Q270 Q25409 Q23564 Q1353 Q42308 Q3640 Q13498 Q437 Q1718 Q33935 Q1770 Q3561 Q1741 Q5582862 Q178373 Q18808 Q1780 Q131290 Q19566 Q64 Q1491 Q486282 Q41572 Q196678 Q186576 Q3805 Q1490 Q43070 Q3820 Q84 Q85 Q807 Q239 Q1861 Q140147 Q2028 Q3921 Q23436 Q121157 Q48195 Q1479 Q898 Q891 Q883 Q1563 Q2801 Q956 Q2837 Q9832 Q12439 Q580 Q586 Q216 Q3640 Q9365 Q1763 Q21197 Q41262 Q1874 Q132572 Q42800 Q1829 Q49256 Q85 Q10509 Q25416 Q3659 Q1718 Q33935 Q23154 Q23556 Q8673 Q1524 Q1520 Q8692 Q649 Q216 Q3640 Q437 Q1735 Q1724 Q2656 Q21197 Q23154 Q23556 Q406 Q8673 Q12191
(c(Q56061),P190,Q1770) (c(Q56061),P190,Q2044) (c(Q56061),P190,Q5168) (c(Q56061),P190,Q9248) (c(Q56061),P190,Q23436) (c(Q56061),P190,Q649) (c(Q56061),P190,Q1726) (c(Q56061),P190,Q2280) (c(Q56061),P190,Q7880) (c(Q56061),P190,Q994)
action filter_type
action find_reverse
entity prev_answer
relation P190
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P190', 'Q1770'] [{'concept': 'Q56061'}, 'P190', 'Q2044'] [{'concept': 'Q56061'}, 'P190', 'Q5168'] [{'concept': 'Q56061'}, 'P190', 'Q9248'] [{'concept': 'Q56061'}, 'P190', 'Q23436'] [{'concept': 'Q56061'}, 'P190', 'Q649'] [{'concept': 'Q56061'}, 'P190', 'Q1726'] [{'concept': 'Q56061'}, 'P190', 'Q2280'] [{'concept': 'Q56061'}, 'P190', 'Q7880'] [{'concept': 'Q56061'}, 'P190', 'Q994']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . ?m property:P190 ?y . VALUES ( ?y ) { ( resource:Q1757 ) ( resource:Q1754 ) ( resource:Q994 ) } }
Dartford Białystok Ghent Venice Moscow Groningen Vilnius Annapolis Schwerin Kiel Stockholm Los Gatos Kotka Athens Arequipa Reims Nazareth Edinburgh Asmara Olomouc Isfahan Mostar Sydney Valladolid Damascus Budapest Gaziantep Nablus Bethlehem Tlemcen Kuwait City Cali Turku Istanbul Fes Rotterdam Kaluga Brescia Smolyan Balıkesir Biskra Vladikavkaz Ndola Yalova Balakovo Venice Houston Stavanger Naples Dakar Acapulco Tabriz Basra Christiansted Amman London Istanbul Rio de Janeiro Bordeaux Vancouver Dunedin Segovia Vilnius Aalborg Munich Nice Florence Athens Astana New Delhi Tbilisi Madrid Beijing Chicago Amsterdam Jerusalem Prague Jelgava Kolomna Sofia Jakarta Vilnius Warsaw Košice Podgorica Delhi Kharkiv Ankara Taranto Ljubljana Düsseldorf Tel Aviv Tallinn Algiers Vienna Cusco Rasht Pyongyang Bratislava Ganja Simferopol Berlin La Paz Pavlodar Mykolaiv Torzhok Pazardzhik Amman Tokyo Donetsk Beirut London Cairo Lausanne Brussels Bangkok Brest Verona Harare Edinburgh Mashhad Basra Bordeaux Omsk Nizhny Novgorod Novosibirsk Havana Bryansk Beijing Kaluga Eindhoven Detroit Łódź Bonn Vilnius Ankara Dushanbe Murmansk Chișinău Nottingham Odessa Tiraspol Belo Horizonte Kaliningrad Bakersfield Cairo Elche Stavanger N'Djamena Düsseldorf Tel Aviv Bristol Atlanta Lagos Athens Astana Bilbao Moscow Vilnius Ankara Ljubljana Innsbruck Saarbrücken Palermo Chișinău Bristol Atlanta Istanbul Lagos Nantes
Prague, Moscow and Moscow are twin town of those ones
Prague Moscow Moscow
action filter_type
action find_reverse
entity prev_answer
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Tallinn'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Florence'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Makhachkala'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Baku'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Edinburgh'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Moscow'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Munich'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Minsk'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Toulouse'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Tbilisi']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . ?m property:sister_city ?y . VALUES ( ?y ) { ( resource:Helsinki ) ( resource:Stockholm ) ( resource:Tbilisi ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1085
P1376
Q7275
USER
What have that administrative territory as their capital ?
(Q1085,P1376,c(Q7275))
action filter_type
action find
entity Q1085
relation P1376
type Q7275
['Q1085', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q1085 property:P1376 ?k . ?k rdf:type ontology:Q7275 }
Prague
action filter_type
action find
entity Prague
relation capital of
type state
['Prague', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Prague property:capital_of ?k . ?k rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q649
SYSTEM
Did you mean Moscow ?
Q1085 Q649 Q649
(Q1085,P1376,c(Q7275)) (Q649,P1376,c(Q7275)) (Q649,P1376,c(Q7275))
[ANSWER]
['Q1085', 'P1376', {'concept': 'Q7275'}] ['Q649', 'P1376', {'concept': 'Q7275'}] ['Q649', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q1085 property:P1376 ?k . ?k rdf:type ontology:Q7275 }
Prague Moscow Moscow
Did you mean Moscow ?
Moscow
['Prague', 'capital of', {'concept': 'state'}] ['Moscow', 'capital of', {'concept': 'state'}] ['Moscow', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Prague property:capital_of ?k . ?k rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
No, I meant Prague. Could you tell me the answer for that?
(Q1085,P1376,c(Q7275))
Q1085
['Q1085', 'P1376', {'concept': 'Q7275'}]
['Prague', 'capital of', {'concept': 'state'}]
[]
Q1998866 Q42585 Q33946
SYSTEM
Czech and Slovak Federal Republic, Kingdom of Bohemia, Czechoslovakia
Q1998866 Q42585 Q2162698 Q33946
(Q1085,P1376,c(Q7275))
action filter_type
action find
entity Q1085
relation P1376
type Q7275
[ANSWERS] have that administrative territory as their capital
['Q1085', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q1085 property:P1376 ?k . ?k rdf:type ontology:Q7275 }
Czech and Slovak Federal Republic Kingdom of Bohemia Duchy of Bohemia Czechoslovakia
Czech and Slovak Federal Republic, Kingdom of Bohemia and Czechoslovakia have that administrative territory as their capital
Czech and Slovak Federal Republic Kingdom of Bohemia Czechoslovakia
action filter_type
action find
entity Prague
relation capital of
type state
['Prague', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Prague property:capital_of ?k . ?k rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1085
P1376
Q56061
USER
Are Prague the capital of those states ?
(Q1085,P1376,Q1998866) (Q1085,P1376,Q42585) (Q1085,P1376,Q33946)
action is_in
entity prev_answer
action find
entity Q1085
relation P1376
['Q1085', 'P1376', 'Q1998866'] ['Q1085', 'P1376', 'Q42585'] ['Q1085', 'P1376', 'Q33946']
ASK WHERE { resource:Q1085 property:P1376 ?w . VALUES ( ?w ) { ( resource:Q1998866 ) ( resource:Q42585 ) ( resource:Q2162698 ) } }
Prague
action is_in
entity prev_answer
action find
entity Prague
relation capital of
['Prague', 'capital of', 'Czech and Slovak Federal Republic'] ['Prague', 'capital of', 'Kingdom of Bohemia'] ['Prague', 'capital of', 'Czechoslovakia']
ASK WHERE { resource:Prague property:capital_of ?w . VALUES ( ?w ) { ( resource:Czech_and_Slovak_Federal_Republic ) ( resource:Kingdom_of_Bohemia ) ( resource:Duchy_of_Bohemia ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q1085,P1376,Q1998866) (Q1085,P1376,Q42585) (Q1085,P1376,Q33946)
action is_in
entity prev_answer
action find
entity Q1085
relation P1376
[ANSWER]
['Q1085', 'P1376', 'Q1998866'] ['Q1085', 'P1376', 'Q42585'] ['Q1085', 'P1376', 'Q33946']
ASK WHERE { resource:Q1085 property:P1376 ?w . VALUES ( ?w ) { ( resource:Q1998866 ) ( resource:Q42585 ) ( resource:Q2162698 ) } }
Yes
action is_in
entity prev_answer
action find
entity Prague
relation capital of
['Prague', 'capital of', 'Czech and Slovak Federal Republic'] ['Prague', 'capital of', 'Kingdom of Bohemia'] ['Prague', 'capital of', 'Czechoslovakia']
ASK WHERE { resource:Prague property:capital_of ?w . VALUES ( ?w ) { ( resource:Czech_and_Slovak_Federal_Republic ) ( resource:Kingdom_of_Bohemia ) ( resource:Duchy_of_Bohemia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P291
Q2342494
USER
Which collectables have New York City as their publication place ?
(c(Q2342494),P291,Q60)
action filter_type
action find_reverse
entity Q60
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q60']
SELECT DISTINCT ?s WHERE { ?s property:P291 resource:Q60 . ?s rdf:type ontology:Q2342494 }
New York City
action filter_type
action find_reverse
entity New York City
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'New York City']
SELECT DISTINCT ?s WHERE { ?s property:place_of_publication resource:New_York_City . ?s rdf:type ontology:collectable }
[]
collectable
Q12345459 Q4009748 Q3224307
SYSTEM
Beletra Almanako N-ro 1 (Septembro 2007), Black Wind, The Courtship of Princess Leia
Q8030237 Q25269456 Q26806375 Q27460950 Q19678983 Q20890289 Q6883290 Q15733591 Q15733590 Q19047204 Q19098302 Q21856697 Q23951969 Q19570657 Q19250538 Q3352152 Q4009748 Q26208887 Q21601290 Q24690921 Q22222886 Q12345459 Q19800117 Q2898152 Q16386559 Q1606854 Q20513221 Q22061767 Q19098306 Q19768274 Q19912624 Q27075962 Q19098286 Q3224307 Q19098288 Q19561861 Q22116718 Q7302068 Q12345465 Q12345467 Q12345460 Q19697833 Q19753622 Q19098279 Q20031285 Q19756648 Q19098271 Q18231015 Q15733588 Q19098275 Q17112373 Q20027084 Q27219557 Q19947436 Q22222920 Q19463484 Q13415851 Q16989239 Q19098293 Q27095334 Q16004946 Q26869064
(c(Q2342494),P291,Q60)
action filter_type
action find_reverse
entity Q60
relation P291
type Q2342494
[ANSWERS] have New York City as their publication place
[{'concept': 'Q2342494'}, 'P291', 'Q60']
SELECT DISTINCT ?s WHERE { ?s property:P291 resource:Q60 . ?s rdf:type ontology:Q2342494 }
Wolfwatching Panzer Leader Encyclopedia of the Blues The immaculate invasion Analytical Psychology and German Classical Aesthetics: Goethe, Schiller, and Jung, Volume 1: The Development of the Personality European Agreement concerning the International Carriage of Dangerous Goods by Inland Waterways (ADN) including the Annexed Regulations, applicable as from 1 January 2011 A History of landownership in modern Egypt, 1800-1950 Beletra Almanako N-ro 7 (Februaro 2010) - 4a jaro Beletra Almanako N-ro 6 (Oktobro 2009) Misforming a Nation The Rover Boys on the Plains Isabella: The Warrior Queen French travellers in the United States, 1765-1932 : a bibliography Address on the Medical Education of Women Crawford W. Long & the Discovery of Ether Anesthesia On Numbers and Games Black Wind The four little dragons Studies in peerage and family history Computer simulation using particles Toward an Anthropological Theory of Value Beletra Almanako N-ro 1 (Septembro 2007) The Centaurians Joseph and His Friend: A Story of Pennsylvania King Coal The Code Book Horrors of Armenia: the story of an eye-witness Mortality in an International Perspective The Rover Boys Out West Symposium on Love The Rover Boys on Treasure Isle The Information: A History, a Theory, a Flood The Rover Boys in the Mountains The Courtship of Princess Leia The Rover Boys on Land and Sea Medicine as a Profession for Women Simon & Schuster's guide to horses & ponies of the world Rebel Without a Crew Beletra Almanako N-ro 5 (Junio 2009) Beletra Almanako N-ro 9 (Oktobro 2010) - 4a jaro Beletra Almanako N-ro 2 (Marto 2008) Through the Earth A Song of the English The Rover Boys in Southern Waters Butterfly Man The Rover Boys on the Farm The Rover Boys at School In a Queer Time and Place Beletra Almanako N-ro 8 (Junio 2010) - 4a jaro The Rover Boys in Camp Lavender and Old Lace The Boys of Bellwood School Corrosion engineering: principles and practice Star of Gypsies The Democracy Project Among the Daughters The Bud Collins History of Tennis de Kooning: An American Master The Rover Boys on the Great Lakes A Course in Computational Algebraic Number Theory Character of Renaissance Architecture Dictionary of American family names
Beletra Almanako N-ro 1 (Septembro 2007), Black Wind and The Courtship of Princess Leia have New York City as their publication place
Beletra Almanako N-ro 1 (Septembro 2007) Black Wind The Courtship of Princess Leia
action filter_type
action find_reverse
entity New York City
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'New York City']
SELECT DISTINCT ?s WHERE { ?s property:place_of_publication resource:New_York_City . ?s rdf:type ontology:collectable }
[]