Simple Question (Direct)
Simple Question
Q1703658
P641
Q349
USER
Which sport was Jordan Slew a part of ?
(Q1703658,P641,c(Q349))
action filter_type
action find
entity Q1703658
relation P641
type Q349
['Q1703658', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q1703658 property:P641 ?d . ?d rdf:type ontology:Q349 }
Jordan Slew
action filter_type
action find
entity Jordan Slew
relation sport
type sport
['Jordan Slew', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Jordan_Slew property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1703658,P641,c(Q349))
action filter_type
action find
entity Q1703658
relation P641
type Q349
The [ANSWER] was Jordan Slew a part of
['Q1703658', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q1703658 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
The association football was Jordan Slew a part of
association football
action filter_type
action find
entity Jordan Slew
relation sport
type sport
['Jordan Slew', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Jordan_Slew property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P2416
Q502895
USER
Which people were a contestant in that sport ?
(c(Q502895),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[{'concept': 'Q502895'}, 'P2416', 'Q2736']
SELECT DISTINCT ?y WHERE { ?y property:P2416 resource:Q2736 . ?y rdf:type ontology:Q502895 }
association football
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?y WHERE { ?y property:sports_discipline_competed_in resource:association_football . ?y rdf:type ontology:common_name }
[]
common name
Q22998602 Q3939068 Q1975921
SYSTEM
Maximilian Mittelstädt, Roberto Policano, Agustín Gómez Pagóla
Q23902692 Q3939068 Q22687929 Q22998602 Q877207 Q1975921 Q23095388 Q24006307
(c(Q502895),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[ANSWERS] were a contestant in that sport
[{'concept': 'Q502895'}, 'P2416', 'Q2736']
SELECT DISTINCT ?y WHERE { ?y property:P2416 resource:Q2736 . ?y rdf:type ontology:Q502895 }
Florian Kohls Roberto Policano Pedro Confesor Maximilian Mittelstädt Horst Bertram Agustín Gómez Pagóla Eberhard Dallagrazia Lion Schweers
Maximilian Mittelstädt, Roberto Policano and Agustín Gómez Pagóla were a contestant in that sport
Maximilian Mittelstädt Roberto Policano Agustín Gómez Pagóla
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?y WHERE { ?y property:sports_discipline_competed_in resource:association_football . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q22998602 Q3939068 Q1975921
P19
Q56061
USER
Which administrative territories are the places of birth of Maximilian Mittelstädt, Roberto Policano and Agustín Gómez Pagóla ?
(Q22998602,P19,c(Q56061)) (Q3939068,P19,c(Q56061)) (Q1975921,P19,c(Q56061))
action union
action filter_type
action find
entity Q22998602
relation P19
type Q56061
action filter_type
action find
entity Q3939068
relation P19
type Q56061
action filter_type
action find
entity Q1975921
relation P19
type Q56061
['Q22998602', 'P19', {'concept': 'Q56061'}] ['Q3939068', 'P19', {'concept': 'Q56061'}] ['Q1975921', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?e property:P19 ?g . VALUES ( ?e ) { ( resource:Q22998602 ) ( resource:Q3939068 ) } }
Maximilian Mittelstädt Roberto Policano Agustín Gómez Pagóla
action union
action filter_type
action find
entity Maximilian Mittelstädt
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Roberto Policano
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Agustín Gómez Pagóla
relation place of birth
type administrative territorial entity
['Maximilian Mittelstädt', 'place of birth', {'concept': 'administrative territorial entity'}] ['Roberto Policano', 'place of birth', {'concept': 'administrative territorial entity'}] ['Agustín Gómez Pagóla', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?e property:place_of_birth ?g . VALUES ( ?e ) { ( resource:Maximilian_Mittelstädt ) ( resource:Roberto_Policano ) } }
[]
administrative territorial entity
Q64 Q220 Q681893
SYSTEM
Berlin, Rome, Errenteria
Q64 Q220 Q681893
(Q22998602,P19,c(Q56061)) (Q3939068,P19,c(Q56061)) (Q1975921,P19,c(Q56061))
action union
action filter_type
action find
entity Q22998602
relation P19
type Q56061
action filter_type
action find
entity Q3939068
relation P19
type Q56061
action filter_type
action find
entity Q1975921
relation P19
type Q56061
[ANSWERS] are the places of birth of Maximilian Mittelstädt, Roberto Policano and Agustín Gómez Pagóla
['Q22998602', 'P19', {'concept': 'Q56061'}] ['Q3939068', 'P19', {'concept': 'Q56061'}] ['Q1975921', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?e property:P19 ?g . VALUES ( ?e ) { ( resource:Q22998602 ) ( resource:Q3939068 ) } }
Berlin Rome Errenteria
Berlin, Rome and Errenteria are the places of birth of Maximilian Mittelstädt, Roberto Policano and Agustín Gómez Pagóla
Berlin Rome Errenteria
action union
action filter_type
action find
entity Maximilian Mittelstädt
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Roberto Policano
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Agustín Gómez Pagóla
relation place of birth
type administrative territorial entity
['Maximilian Mittelstädt', 'place of birth', {'concept': 'administrative territorial entity'}] ['Roberto Policano', 'place of birth', {'concept': 'administrative territorial entity'}] ['Agustín Gómez Pagóla', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?e property:place_of_birth ?g . VALUES ( ?e ) { ( resource:Maximilian_Mittelstädt ) ( resource:Roberto_Policano ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q64 Q220 Q681893
P190
Q56061
USER
Which administrative territories are sister towns of those ones ?
(Q64,P190,c(Q56061)) (Q220,P190,c(Q56061)) (Q681893,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
['Q64', 'P190', {'concept': 'Q56061'}] ['Q220', 'P190', {'concept': 'Q56061'}] ['Q681893', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . VALUES ( ?n ) { ( resource:Q64 ) ( resource:Q220 ) ( resource:Q681893 ) } . ?n property:P190 ?d }
Berlin Rome Errenteria
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Berlin', 'sister city', {'concept': 'administrative territorial entity'}] ['Rome', 'sister city', {'concept': 'administrative territorial entity'}] ['Errenteria', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . VALUES ( ?n ) { ( resource:Berlin ) ( resource:Rome ) ( resource:Errenteria ) } . ?n property:sister_city ?d }
[]
administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q269 Q84 Q3630 Q270 Q649 Q239 Q2807 Q956 Q1781 Q1489 Q1490 Q65 Q90 Q406 Q1085 Q484799 Q8717 Q90 Q34647 Q1490 Q132830 Q986741 Q14882
(Q64,P190,c(Q56061)) (Q220,P190,c(Q56061)) (Q681893,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[ANSWERS] are sister towns of those ones
['Q64', 'P190', {'concept': 'Q56061'}] ['Q220', 'P190', {'concept': 'Q56061'}] ['Q681893', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . VALUES ( ?n ) { ( resource:Q64 ) ( resource:Q220 ) ( resource:Q681893 ) } . ?n property:P190 ?d }
Tashkent London Jakarta Warsaw Moscow Brussels Madrid Beijing Budapest Mexico City Tokyo Los Angeles Paris Istanbul Prague Marbella Seville Paris Johannesburg Tokyo Douala Lousada Schorndorf
Prague, Moscow and Madrid are sister towns of those ones
Prague Moscow Madrid
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Berlin', 'sister city', {'concept': 'administrative territorial entity'}] ['Rome', 'sister city', {'concept': 'administrative territorial entity'}] ['Errenteria', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . VALUES ( ?n ) { ( resource:Berlin ) ( resource:Rome ) ( resource:Errenteria ) } . ?n property:sister_city ?d }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1085 Q649 Q2807
P840
Q838948
USER
Which works of art have their narrative set in those administrative territories ?
(c(Q838948),P840,Q1085) (c(Q838948),P840,Q649) (c(Q838948),P840,Q2807)
action filter_type
action find_reverse
entity prev_answer
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q1085'] [{'concept': 'Q838948'}, 'P840', 'Q649'] [{'concept': 'Q838948'}, 'P840', 'Q2807']
SELECT DISTINCT ?h WHERE { ?h property:P840 ?i . ?h rdf:type ontology:Q838948 . VALUES ( ?i ) { ( resource:Q269 ) ( resource:Q84 ) ( resource:Q3630 ) } }
Prague Moscow Madrid
action filter_type
action find_reverse
entity prev_answer
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Prague'] [{'concept': 'work of art'}, 'narrative location', 'Moscow'] [{'concept': 'work of art'}, 'narrative location', 'Madrid']
SELECT DISTINCT ?h WHERE { ?h property:narrative_location ?i . ?h rdf:type ontology:work_of_art . VALUES ( ?i ) { ( resource:Tashkent ) ( resource:London ) ( resource:Jakarta ) } }
[]
work of art
Q205028 Q107226 Q107226
SYSTEM
Iron Man 2 for 1st, The Bourne Ultimatum for 2nd, 3rd
Q768103 Q27500565 Q1722254 Q143092 Q1741232 Q3565938 Q1812183 Q324011 Q4851207 Q2478495 Q1122571 Q1794537 Q151904 Q2471653 Q15270854 Q195576 Q1078365 Q1122775 Q213411 Q5516100 Q16514509 Q1444720 Q288645 Q1962112 Q20982361 Q223596 Q7939326 Q4491991 Q16045281 Q53105 Q4839311 Q17363277 Q2080262 Q14948560 Q4090322 Q1542476 Q4191989 Q4155282 Q1200034 Q1965544 Q503046 Q387638 Q2528155 Q3032583 Q1983714 Q3818573 Q3574924 Q964657 Q3207829 Q19799118 Q4364840 Q22953531 Q24905490 Q4193220 Q380803 Q915313 Q924756 Q252072 Q760989 Q529053 Q1212068 Q662342 Q4985891 Q17019453 Q1630953 Q4029298 Q594307 Q2571534 Q1428430 Q18758192 Q1327680 Q4189197 Q1045388 Q1124617 Q12654167 Q832514 Q205028 Q156608 Q4165167 Q925852 Q4303906 Q14370516 Q107226 Q83542 Q2028280 Q691916 Q19742713 Q20051329 Q3429263 Q2995252 Q930936 Q13420173 Q903930 Q244999 Q777739 Q628154 Q13806247 Q902672 Q407184 Q25820974 Q5467382 Q82949 Q514293 Q72276 Q16143284 Q4891043 Q5966617 Q3214229 Q9018899 Q5966465 Q6043996 Q4154359 Q5877267 Q11690969 Q1801658 Q5657767 Q5970928 Q310427 Q129637 Q3312512 Q5826956 Q107226 Q21819915 Q3780609 Q21003486 Q1180275 Q1765922
(c(Q838948),P840,Q1085) (c(Q838948),P840,Q649) (c(Q838948),P840,Q2807)
action filter_type
action find_reverse
entity prev_answer
relation P840
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P840', 'Q1085'] [{'concept': 'Q838948'}, 'P840', 'Q649'] [{'concept': 'Q838948'}, 'P840', 'Q2807']
SELECT DISTINCT ?h WHERE { ?h property:P840 ?i . ?h rdf:type ontology:Q838948 . VALUES ( ?i ) { ( resource:Q269 ) ( resource:Q84 ) ( resource:Q3630 ) } }
Gympl The White Dove Czech Dream Romeo, Juliet and Darkness Mission: Impossible Big Beat Empties The Best Offer Ball Lightning Wrong Side Up The Unbearable Lightness of Being Cosy Dens Casino Royale The Beloved Nobody knows about sex 1612 Undisputed II: Last Man Standing Comrade X Cast Away Fast & Furious 6 Panfilov's 28 Men Destroy All Monsters G.I. Joe: The Rise of Cobra Stilyagi Hardcore Henry X-Men: First Class Vodkaa, komisario Palmu Treasure Raiders Spooks: The Greater Good Moscow Does Not Believe in Tears Back in the USSR Kvadrat Branded Break Loose Shadowboxing 3: Last Round Ivan the Terrible. Part I Winter Evening in Gagra Down House In Like Flint Dangerous for Your Life! Andrei Rublev Rocky IV Office Romance Dieci inverni Newsmakers Savoy Hotel 217 The Envy of Gods The Darkest Hour Möbius Nevalyashka 2 A Captive in the Land Mafia: The Game of Survival The Death of Stalin Goldengirl Aelita Brigada Police Academy: Mission to Moscow The Country of Deaf Moscow on the Hudson Day Watch Echelon Conspiracy K-19: The Widowmaker X-Men: Days of Future Past Our Kind of Traitor Hotel Lux The Ballad of Uhlans Gorky Park The Master and Margaret Earth vs. the Flying Saucers Prizrak Skyjacked Moscow Zero Night Watch Condorman Eastern Drift The Fourth State Iron Man 2 The Bourne Supremacy The House I Live In The Steamroller and the Violin Moscow Heat The Expendables 3 The Bourne Ultimatum Resident Evil: Retribution Everybody Dies but Me Hitman Guardiens Ivan the Terrible Blade Tsar Command Performance Moscow Chill RED 2 Walking the Streets of Moscow Ivan Vasilievich: Back to the Future Mission: Impossible – Ghost Protocol Child 44 Jack Ryan: Shadow Recruit Air Force One Collector Forbidden Territory Rocky V Red Heat A Good Day to Die Hard The Steel of Madrid Doña Francisquita La eterna canción La verbena de la Paloma The Troublemaker La del manojo de rosas No te ofendas, Beatriz The Phantom Lady Gente menuda Mariana Pineda El barberillo de Lavapiés Adiós a la bohemia Las bicicletas son para el verano Azuloscurocasinegro Boystown Bohemian Lights El trust de los tenorios The Bourne Ultimatum Los hijos de la noche Luisa Fernanda Por la calle de Alcalá Princesas The Anarchist's Wife
Iron Man 2, The Bourne Ultimatum and The Bourne Ultimatum have their narrative set in those administrative territories
Iron Man 2 The Bourne Ultimatum The Bourne Ultimatum
action filter_type
action find_reverse
entity prev_answer
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Prague'] [{'concept': 'work of art'}, 'narrative location', 'Moscow'] [{'concept': 'work of art'}, 'narrative location', 'Madrid']
SELECT DISTINCT ?h WHERE { ?h property:narrative_location ?i . ?h rdf:type ontology:work_of_art . VALUES ( ?i ) { ( resource:Tashkent ) ( resource:London ) ( resource:Jakarta ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q107226
P1441
Q15619164
USER
Which abstract beings are featured in that work of art ?
(c(Q15619164),P1441,Q107226)
action filter_type
action find_reverse
entity Q107226
relation P1441
type Q15619164
[{'concept': 'Q15619164'}, 'P1441', 'Q107226']
SELECT DISTINCT ?p WHERE { ?p property:P1441 resource:Q107226 . ?p rdf:type ontology:Q15619164 }
The Bourne Ultimatum
action filter_type
action find_reverse
entity The Bourne Ultimatum
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum']
SELECT DISTINCT ?p WHERE { ?p property:present_in_work resource:The_Bourne_Ultimatum . ?p rdf:type ontology:abstract_being }
[]
abstract being
Clarification for simple ques.
Q107226
SYSTEM
Did you mean The Bourne Ultimatum ?
Q205028 Q107226 Q107226
(c(Q15619164),P1441,Q205028) (c(Q15619164),P1441,Q107226) (c(Q15619164),P1441,Q107226)
[ANSWER]
[{'concept': 'Q15619164'}, 'P1441', 'Q205028'] [{'concept': 'Q15619164'}, 'P1441', 'Q107226'] [{'concept': 'Q15619164'}, 'P1441', 'Q107226']
SELECT DISTINCT ?p WHERE { ?p property:P1441 resource:Q107226 . ?p rdf:type ontology:Q15619164 }
Iron Man 2 The Bourne Ultimatum The Bourne Ultimatum
Did you mean The Bourne Ultimatum ?
The Bourne Ultimatum
[{'concept': 'abstract being'}, 'present in work', 'Iron Man 2'] [{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum'] [{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum']
SELECT DISTINCT ?p WHERE { ?p property:present_in_work resource:The_Bourne_Ultimatum . ?p rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15619164),P1441,Q107226)
[{'concept': 'Q15619164'}, 'P1441', 'Q107226']
[{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum']
[]
Q1059919 Q7129195
SYSTEM
Jason Bourne, Pamela Landy
Q1059919 Q7129195
(c(Q15619164),P1441,Q107226)
action filter_type
action find_reverse
entity Q107226
relation P1441
type Q15619164
[ANSWERS] are featured in that work of art
[{'concept': 'Q15619164'}, 'P1441', 'Q107226']
SELECT DISTINCT ?p WHERE { ?p property:P1441 resource:Q107226 . ?p rdf:type ontology:Q15619164 }
Jason Bourne Pamela Landy
Jason Bourne and Pamela Landy are featured in that work of art
Jason Bourne Pamela Landy
action filter_type
action find_reverse
entity The Bourne Ultimatum
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum']
SELECT DISTINCT ?p WHERE { ?p property:present_in_work resource:The_Bourne_Ultimatum . ?p rdf:type ontology:abstract_being }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16643218 Q2807
P19 P190
Q56061
USER
Which administrative territories are the sister cities of Madrid and were Ilan Manouach born in ?
AND((Q2807,P190,c(Q56061)), (Q16643218,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q2807
relation P190
action find
entity Q16643218
relation P19
type Q56061
{'AND': [['Q2807', 'P190', {'concept': 'Q56061'}], ['Q16643218', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q2807 property:P190 ?l . resource:Q16643218 property:P19 ?l }
Ilan Manouach Madrid
action filter_type
action intersection
action find
entity Madrid
relation sister city
action find
entity Ilan Manouach
relation place of birth
type administrative territorial entity
{'AND': [['Madrid', 'sister city', {'concept': 'administrative territorial entity'}], ['Ilan Manouach', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Madrid property:sister_city ?l . resource:Ilan_Manouach property:place_of_birth ?l }
[]
administrative territorial entity
Q1524
SYSTEM
Athens
Q1524
AND((Q2807,P190,c(Q56061)), (Q16643218,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q2807
relation P190
action find
entity Q16643218
relation P19
type Q56061
[ANSWER] is the sister cities of Madrid and were Ilan Manouach born in
{'AND': [['Q2807', 'P190', {'concept': 'Q56061'}], ['Q16643218', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q2807 property:P190 ?l . resource:Q16643218 property:P19 ?l }
Athens
Athens is the sister cities of Madrid and were Ilan Manouach born in
Athens
action filter_type
action intersection
action find
entity Madrid
relation sister city
action find
entity Ilan Manouach
relation place of birth
type administrative territorial entity
{'AND': [['Madrid', 'sister city', {'concept': 'administrative territorial entity'}], ['Ilan Manouach', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Madrid property:sister_city ?l . resource:Ilan_Manouach property:place_of_birth ?l }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q102365 Q1524
P190
Q56061
USER
Which administrative territories are twin towns of Athens or Pärnu ?
OR((Q1524,P190,c(Q56061)), (Q102365,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1524
relation P190
action find
entity Q102365
relation P190
type Q56061
{'OR': [['Q1524', 'P190', {'concept': 'Q56061'}], ['Q102365', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1524 property:P190 ?s } UNION { resource:Q102365 property:P190 ?s } } . ?s rdf:type ontology:Q56061 }
Pärnu Athens
action filter_type
action union
action find
entity Athens
relation sister city
action find
entity Pärnu
relation sister city
type administrative territorial entity
{'OR': [['Athens', 'sister city', {'concept': 'administrative territorial entity'}], ['Pärnu', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Athens property:sister_city ?s } UNION { resource:Pärnu property:sister_city ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727 Q3551 Q270 Q472 Q125080 Q193190 Q340 Q1449 Q26881 Q135410
SYSTEM
Some of them are Amsterdam, Rabat, Warsaw, Sofia, Vaasa, Famagusta, Montreal, Genoa, Helsingør, Domodedovo
Q437 Q994 Q727 Q3766 Q649 Q193190 Q472 Q179830 Q100 Q3820 Q1297 Q3856 Q340 Q8471 Q102158 Q2634 Q1489 Q1563 Q3551 Q23556 Q203263 Q49191 Q3711 Q1085 Q134712 Q26881 Q5582862 Q1449 Q51103 Q39420 Q270 Q8678 Q2807 Q597 Q956 Q1492 Q2044 Q65 Q135410 Q5776 Q125080 Q61 Q406
OR((Q1524,P190,c(Q56061)), (Q102365,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1524
relation P190
action find
entity Q102365
relation P190
type Q56061
[ANSWERS] are twin towns of Athens or Pärnu
{'OR': [['Q1524', 'P190', {'concept': 'Q56061'}], ['Q102365', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1524 property:P190 ?s } UNION { resource:Q102365 property:P190 ?s } } . ?s rdf:type ontology:Q56061 }
Ljubljana Tbilisi Amsterdam Damascus Moscow Famagusta Sofia Jelgava Boston Beirut Chicago Nicosia Montreal Reggio Calabria Narva Naples Mexico City Havana Rabat Atlanta Athens Portsmouth Belgrade Prague Šiauliai Helsingør Cusco Genoa Cali Sochi Warsaw Rio de Janeiro Madrid Lisbon Beijing Barcelona Florence Los Angeles Domodedovo Bethlehem Vaasa Washington, D.C. Istanbul
Amsterdam, Rabat, Warsaw, Sofia, Vaasa, Famagusta, Montreal, Genoa, Helsingør and Domodedovo are twin towns of Athens or Pärnu
Amsterdam Rabat Warsaw Sofia Vaasa Famagusta Montreal Genoa Helsingør Domodedovo
action filter_type
action union
action find
entity Athens
relation sister city
action find
entity Pärnu
relation sister city
type administrative territorial entity
{'OR': [['Athens', 'sister city', {'concept': 'administrative territorial entity'}], ['Pärnu', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Athens property:sister_city ?s } UNION { resource:Pärnu property:sister_city ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34404
P163
Q17335294
USER
What is the name of coat of arms associated with New Orleans ?
(Q34404,P163,c(Q17335294))
action filter_type
action find
entity Q34404
relation P163
type Q17335294
['Q34404', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?o WHERE { resource:Q34404 property:P163 ?o . ?o rdf:type ontology:Q17335294 }
New Orleans
action filter_type
action find
entity New Orleans
relation flag
type flag or coat of arms
['New Orleans', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?o WHERE { resource:New_Orleans property:flag ?o . ?o rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q5456787
SYSTEM
Flag of New Orleans
Q5456787
(Q34404,P163,c(Q17335294))
action filter_type
action find
entity Q34404
relation P163
type Q17335294
The name of coat of arms associated with New Orleans is the [ANSWER]
['Q34404', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?o WHERE { resource:Q34404 property:P163 ?o . ?o rdf:type ontology:Q17335294 }
Flag of New Orleans
The name of coat of arms associated with New Orleans is the Flag of New Orleans
Flag of New Orleans
action filter_type
action find
entity New Orleans
relation flag
type flag or coat of arms
['New Orleans', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?o WHERE { resource:New_Orleans property:flag ?o . ?o rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5400
Q17335294
USER
And how about Perm Krai?
(Q5400,P163,c(Q17335294))
action filter_type
action find
entity Q5400
relation P163
type Q17335294
['Q5400', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?s WHERE { resource:Q5400 property:P163 ?s . ?s rdf:type ontology:Q17335294 }
Perm Krai
action filter_type
action find
entity Perm Krai
relation flag
type flag or coat of arms
['Perm Krai', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?s WHERE { resource:Perm_Krai property:flag ?s . ?s rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q2641161
SYSTEM
Flag of Perm Oblast
Q2641161
(Q5400,P163,c(Q17335294))
action filter_type
action find
entity Q5400
relation P163
type Q17335294
[ANSWER]
['Q5400', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?s WHERE { resource:Q5400 property:P163 ?s . ?s rdf:type ontology:Q17335294 }
Flag of Perm Oblast
Flag of Perm Oblast
action filter_type
action find
entity Perm Krai
relation flag
type flag or coat of arms
['Perm Krai', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?s WHERE { resource:Perm_Krai property:flag ?s . ?s rdf:type ontology:flag_or_coat_of_arms }
[]