Simple Question (Direct)
Simple Question
Q7714997
P161
Q502895
USER
Who starred in The Autumn of Pride ?
(Q7714997,P161,c(Q502895))
action filter_type
action find
entity Q7714997
relation P161
type Q502895
['Q7714997', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7714997 property:P161 ?m . ?m rdf:type ontology:Q502895 }
The Autumn of Pride
action filter_type
action find
entity The Autumn of Pride
relation cast member
type common name
['The Autumn of Pride', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Autumn_of_Pride property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q434267 Q5234822 Q6779317
SYSTEM
Nora Swinburne, David Hawthorne, Mary Dibley
Q434267 Q6779317 Q5056229 Q5234822
(Q7714997,P161,c(Q502895))
action filter_type
action find
entity Q7714997
relation P161
type Q502895
[ANSWERS] starred in The Autumn of Pride
['Q7714997', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7714997 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Nora Swinburne Mary Dibley Cecil Morton York David Hawthorne
Nora Swinburne, David Hawthorne and Mary Dibley starred in The Autumn of Pride
Nora Swinburne David Hawthorne Mary Dibley
action filter_type
action find
entity The Autumn of Pride
relation cast member
type common name
['The Autumn of Pride', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Autumn_of_Pride property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q434267 Q5234822 Q6779317
P106
Q12737077
USER
Which occupations are the professions of Nora Swinburne, David Hawthorne and Mary Dibley ?
(Q434267,P106,c(Q12737077)) (Q5234822,P106,c(Q12737077)) (Q6779317,P106,c(Q12737077))
action union
action filter_type
action find
entity Q434267
relation P106
type Q12737077
action filter_type
action find
entity Q5234822
relation P106
type Q12737077
action filter_type
action find
entity Q6779317
relation P106
type Q12737077
['Q434267', 'P106', {'concept': 'Q12737077'}] ['Q5234822', 'P106', {'concept': 'Q12737077'}] ['Q6779317', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { resource:Q434267 property:P106 ?c . ?c rdf:type ontology:Q12737077 } UNION { resource:Q5234822 property:P106 ?c . ?c rdf:type ontology:Q12737077 } }
Nora Swinburne David Hawthorne Mary Dibley
action union
action filter_type
action find
entity Nora Swinburne
relation occupation
type occupation
action filter_type
action find
entity David Hawthorne
relation occupation
type occupation
action filter_type
action find
entity Mary Dibley
relation occupation
type occupation
['Nora Swinburne', 'occupation', {'concept': 'occupation'}] ['David Hawthorne', 'occupation', {'concept': 'occupation'}] ['Mary Dibley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { resource:Nora_Swinburne property:occupation ?c . ?c rdf:type ontology:occupation } UNION { resource:David_Hawthorne property:occupation ?c . ?c rdf:type ontology:occupation } }
[]
occupation
Q33999 Q2259451 Q33999
SYSTEM
actor for 1st, 3rd, stage actor for 2nd
Q33999 Q2259451 Q33999 Q33999
(Q434267,P106,c(Q12737077)) (Q5234822,P106,c(Q12737077)) (Q6779317,P106,c(Q12737077))
action union
action filter_type
action find
entity Q434267
relation P106
type Q12737077
action filter_type
action find
entity Q5234822
relation P106
type Q12737077
action filter_type
action find
entity Q6779317
relation P106
type Q12737077
[ANSWERS]
['Q434267', 'P106', {'concept': 'Q12737077'}] ['Q5234822', 'P106', {'concept': 'Q12737077'}] ['Q6779317', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { resource:Q434267 property:P106 ?c . ?c rdf:type ontology:Q12737077 } UNION { resource:Q5234822 property:P106 ?c . ?c rdf:type ontology:Q12737077 } }
actor stage actor actor actor
The actor, stage actor and actor are the professions of Nora Swinburne, David Hawthorne and Mary Dibley
actor stage actor actor
action union
action filter_type
action find
entity Nora Swinburne
relation occupation
type occupation
action filter_type
action find
entity David Hawthorne
relation occupation
type occupation
action filter_type
action find
entity Mary Dibley
relation occupation
type occupation
['Nora Swinburne', 'occupation', {'concept': 'occupation'}] ['David Hawthorne', 'occupation', {'concept': 'occupation'}] ['Mary Dibley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { resource:Nora_Swinburne property:occupation ?c . ?c rdf:type ontology:occupation } UNION { resource:David_Hawthorne property:occupation ?c . ?c rdf:type ontology:occupation } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q434267
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q434267,P19,c(Q56061))
action filter_type
action find
entity Q434267
relation P19
type Q56061
['Q434267', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q434267 property:P19 ?v }
Nora Swinburne
action filter_type
action find
entity Nora Swinburne
relation place of birth
type administrative territorial entity
['Nora Swinburne', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Nora_Swinburne property:place_of_birth ?v }
[]
administrative territorial entity
Clarification for simple ques.
Q434267
SYSTEM
Did you mean Nora Swinburne ?
Q33999 Q2259451 Q33999
(Q33999,P19,c(Q56061)) (Q2259451,P19,c(Q56061)) (Q33999,P19,c(Q56061))
[ANSWER]
['Q33999', 'P19', {'concept': 'Q56061'}] ['Q2259451', 'P19', {'concept': 'Q56061'}] ['Q33999', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q434267 property:P19 ?v }
actor stage actor actor
Did you mean Nora Swinburne ?
Nora Swinburne
['actor', 'place of birth', {'concept': 'administrative territorial entity'}] ['stage actor', 'place of birth', {'concept': 'administrative territorial entity'}] ['actor', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Nora_Swinburne property:place_of_birth ?v }
[]
Simple Question (Coreferenced)
USER
Yes
(Q434267,P19,c(Q56061))
['Q434267', 'P19', {'concept': 'Q56061'}]
['Nora Swinburne', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
Q22889
SYSTEM
Bath
Q22889
(Q434267,P19,c(Q56061))
action filter_type
action find
entity Q434267
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q434267', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q434267 property:P19 ?v }
Bath
Bath is the place of birth of that person
Bath
action filter_type
action find
entity Nora Swinburne
relation place of birth
type administrative territorial entity
['Nora Swinburne', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Nora_Swinburne property:place_of_birth ?v }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16233302 Q5234822
P19 P20
Q56061
USER
Which administrative territories are the places of death of David Hawthorne or are the places of birth of Kim Young-keun ?
OR((Q5234822,P20,c(Q56061)), (Q16233302,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5234822
relation P20
action find
entity Q16233302
relation P19
type Q56061
{'OR': [['Q5234822', 'P20', {'concept': 'Q56061'}], ['Q16233302', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5234822 property:P20 ?f } UNION { resource:Q16233302 property:P19 ?f } } . ?f rdf:type ontology:Q56061 }
Kim Young-keun David Hawthorne
action filter_type
action union
action find
entity David Hawthorne
relation place of death
action find
entity Kim Young-keun
relation place of birth
type administrative territorial entity
{'OR': [['David Hawthorne', 'place of death', {'concept': 'administrative territorial entity'}], ['Kim Young-keun', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:David_Hawthorne property:place_of_death ?f } UNION { resource:Kim_Young-keun property:place_of_birth ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42157 Q84
SYSTEM
Pohang, London
Q42157 Q84
OR((Q5234822,P20,c(Q56061)), (Q16233302,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5234822
relation P20
action find
entity Q16233302
relation P19
type Q56061
[ANSWERS] are the places of death of David Hawthorne or are the places of birth of Kim Young-keun
{'OR': [['Q5234822', 'P20', {'concept': 'Q56061'}], ['Q16233302', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5234822 property:P20 ?f } UNION { resource:Q16233302 property:P19 ?f } } . ?f rdf:type ontology:Q56061 }
Pohang London
Pohang and London are the places of death of David Hawthorne or are the places of birth of Kim Young-keun
Pohang London
action filter_type
action union
action find
entity David Hawthorne
relation place of death
action find
entity Kim Young-keun
relation place of birth
type administrative territorial entity
{'OR': [['David Hawthorne', 'place of death', {'concept': 'administrative territorial entity'}], ['Kim Young-keun', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:David_Hawthorne property:place_of_death ?f } UNION { resource:Kim_Young-keun property:place_of_birth ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P30
Q2221906 Q56061
USER
How many administrative territories are a part of around the same number of geographic locations as that administrative territory ?
(c(Q56061),P30,c(Q2221906))
[{'concept': 'Q56061'}, 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q5107 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q2221906 }
[{'concept': 'administrative territorial entity'}, 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:continent ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:geographic_location }
[]
geographic location administrative territorial entity
Comparative|Count over More/Less|Single entity type|Clarification
Q42157
SYSTEM
Did you mean Pohang ?
(c(Q56061),P30,c(Q2221906))
[ANSWER]
[{'concept': 'Q56061'}, 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q5107 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q2221906 }
Did you mean Pohang ?
Pohang
[{'concept': 'administrative territorial entity'}, 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:continent ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:geographic_location }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant London. Could you tell me the answer for that?
(c(Q56061),P30,c(Q2221906))
Q84
[{'concept': 'Q56061'}, 'P30', {'concept': 'Q2221906'}]
[{'concept': 'administrative territorial entity'}, 'continent', {'concept': 'geographic location'}]
[]
SYSTEM
551
Q2715968 Q2441038 Q7708904 Q1497615 Q4777848 Q200235 Q1753744 Q157478 Q10086 Q1718 Q490682 Q163798 Q6960984 Q902615 Q894 Q502780 Q891 Q748533 Q2443984 Q24639 Q2718140 Q2256185 Q506773 Q233467 Q16650704 Q7260855 Q565956 Q2541130 Q2242807 Q217071 Q2716607 Q767364 Q2715998 Q321197 Q7054 Q2137025 Q2335714 Q2443911 Q515046 Q515500 Q16168559 Q6862267 Q585085 Q7920131 Q4258240 Q2353293 Q82770 Q7163366 Q7127885 Q25409 Q2229668 Q205929 Q5758 Q208162 Q503640 Q5689 Q103993 Q298780 Q1134373 Q2716157 Q781354 Q2716091 Q16016733 Q4067724 Q5101358 Q693939 Q7785539 Q13648690 Q9923 Q2716558 Q924808 Q206687 Q7639241 Q105342 Q5353440 Q1757 Q15241519 Q16472108 Q15241517 Q15241516 Q30951 Q80874 Q90 Q16635 Q4680102 Q1325683 Q82299 Q8378 Q7919940 Q179252 Q505459 Q6444256 Q7285664 Q299 Q145552 Q2716938 Q7880 Q16654056 Q14621387 Q494521 Q159095 Q495428 Q7171051 Q12015671 Q1914786 Q6750285 Q6750283 Q463273 Q1382194 Q1487593 Q80844 Q5831 Q7079803 Q2242833 Q584605 Q1800 Q519486 Q16650690 Q3323 Q582655 Q54140 Q42941 Q7135124 Q686681 Q16015040 Q242995 Q16255241 Q83304 Q2554837 Q82927 Q2554830 Q81905 Q2229733 Q355435 Q8068472 Q6902146 Q3778477 Q488270 Q870148 Q4483736 Q5877199 Q6447394 Q196694 Q2357934 Q6988747 Q505920 Q6959531 Q1524 Q817218 Q496391 Q1701113 Q1776842 Q7141235 Q2716112 Q4764499 Q2715851 Q298416 Q986582 Q5917 Q11909 Q461922 Q167715 Q5616433 Q5269306 Q8356 Q6425464 Q3595887 Q1013183 Q11703 Q4415146 Q9824 Q6346 Q207754 Q2044 Q207756 Q384264 Q5087979 Q3703 Q2718151 Q417336 Q3850377 Q25528 Q1622995 Q5989854 Q380144 Q2715723 Q5389622 Q16658210 Q1295 Q926240 Q242563 Q72 Q4525589 Q4678485 Q4070552 Q16636995 Q237 Q334 Q21995688 Q239 Q2283203 Q5101164 Q105455 Q994 Q5043782 Q2229696 Q1513 Q1656936 Q6480331 Q525933 Q1297 Q162279 Q723329 Q2716197 Q720084 Q720087 Q1366569 Q2716014 Q6401166 Q906 Q2873545 Q21845358 Q2548014 Q3531934 Q506549 Q80836 Q4264 Q87 Q84 Q16472115 Q15241507 Q88 Q1557417 Q6901179 Q163973 Q5094191 Q298706 Q5147067 Q5226504 Q1753709 Q1006493 Q9863 Q4789666 Q4992182 Q1930255 Q83088 Q2103 Q940095 Q6379117 Q62158 Q200311 Q773280 Q329984 Q47034 Q3626380 Q338349 Q25396 Q5396726 Q1261552 Q78 Q6741110 Q140087 Q506838 Q70 Q641140 Q926587 Q37100 Q5181846 Q21205843 Q2441904 Q617438 Q2308150 Q174 Q172 Q270 Q7359247 Q487921 Q62 Q5266485 Q1728043 Q228405 Q515527 Q387346 Q16648189 Q592059 Q491535 Q5520494 Q82717 Q6353280 Q639054 Q6434363 Q16658184 Q192098 Q16658180 Q15241652 Q328649 Q66616 Q9125 Q537997 Q923120 Q244415 Q16644 Q16641 Q26569 Q7919197 Q7046355 Q15090 Q956 Q196934 Q959 Q3957365 Q987 Q103850 Q631849 Q11854 Q1190753 Q1770 Q43475 Q506571 Q505495 Q7399779 Q515117 Q156593 Q214681 Q1264822 Q506871 Q738444 Q1105919 Q3947670 Q7458119 Q2775275 Q6960946 Q277322 Q2541013 Q584494 Q2231093 Q16658204 Q16658206 Q3740507 Q26 Q16658203 Q6963452 Q54886 Q16658016 Q2716589 Q1436816 Q1353 Q1352 Q82684 Q1707422 Q6907792 Q4207520 Q18077674 Q176358 Q2728994 Q573599 Q1027659 Q1047189 Q7710223 Q6432749 Q5379235 Q4661775 Q7488779 Q2715119 Q25230 Q16015068 Q6813576 Q969 Q203476 Q489911 Q85 Q547710 Q15241991 Q1105646 Q4072448 Q254244 Q1183 Q198131 Q624467 Q1259122 Q840867 Q7837984 Q505955 Q628178 Q12984638 Q5269590 Q44016 Q19188 Q4740168 Q4454 Q471969 Q2229537 Q82539 Q318404 Q4657770 Q1646915 Q13640603 Q463252 Q2400442 Q82362 Q515423 Q1724 Q7122288 Q79539 Q522362 Q2231112 Q1000485 Q223308 Q539671 Q2454031 Q124919 Q120783 Q6154758 Q65 Q61 Q503266 Q7171098 Q46415 Q2236242 Q200028 Q6350754 Q3761 Q15552182 Q37112 Q931178 Q83062 Q385 Q5813 Q522513 Q12439 Q7919471 Q269 Q9397785 Q7709797 Q2443840 Q2441049 Q302654 Q2019662 Q225729 Q253851 Q7397626 Q81811 Q691360 Q79990 Q3816646 Q748336 Q16658191 Q7563991 Q4629 Q1026885 Q572512 Q10313 Q168511 Q71 Q7785365 Q535267 Q3630738 Q649 Q3771 Q12063672 Q643835 Q6382752 Q490715 Q2625490 Q10923 Q4361 Q79848 Q202822 Q193569 Q588 Q3929844 Q7809396 Q7931394 Q586 Q7920868 Q584411 Q18399563 Q220 Q9270 Q6364 Q280709 Q39519 Q178703 Q4984306 Q1929511 Q7530672 Q201243 Q14452 Q2541166 Q584703 Q100 Q6747109 Q212289 Q216280 Q26180 Q12423923 Q589108 Q225375 Q83190 Q485172 Q83199 Q1002908 Q134760 Q4750920 Q2341728 Q1062635 Q2540938 Q5823 Q6755081 Q5876178 Q6348681 Q709267 Q7259312 Q83032 Q12984248 Q659823 Q7102905 Q1022512 Q1538 Q16645832 Q976 Q975 Q2019694 Q502646 Q36600 Q2716132 Q2540565 Q978780 Q760153 Q2746237 Q1389472 Q127623 Q456737 Q1341 Q1348 Q82430 Q5064877 Q1156 Q1010 Q1012 Q15241524 Q15241523 Q81779 Q2541574 Q496489 Q198210 Q12984622 Q2992455 Q206649 Q6934142 Q6744164
(c(Q56061),P30,c(Q2221906))
[ANSWER]
[{'concept': 'Q56061'}, 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q5107 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q2221906 }
Vettaikaranpudur Karambakkam Thachu oorani Schadeck Anupparpalayam Nashik Irugur Lesozavodsk Mysore Düsseldorf Achipatti Thrissur Nallur, Tirupur Bravicea Samara Forchtenberg Nizhny Novgorod Iisalmi Chettipalayam Vancouver Odaiyakulam Hackness Elzach Gisborne, New Zealand Innokent'evka Purasawalkam Anna Nagar Vedapatti Kurumbalur Pucallpa Periyanaickenpalayam Keene Ulundurpettai Cieszyn Dalnegorsk Kengeri Steeden Kariamangalam Schüttorf Vilankurichi Novozhatkovo Mimisal Athipattu Vennaimalai Lenino Barnala district Bad Dürrheim Pennagaram taluk Pallikondapattu Košice Thenkarai Ilmenau Bad Aibling Patiala Gunzenhausen Åland Islands Artyom Pollachi Base Aérea Teniente Benjamín Matienzo Sankaramanallur Kapurthala Thamaraikulam Orlinoye Anuchino Chintheche Mellau Thiruvegampet Taradei Namakkal Samalapuram Linderte Nelson Sundaramudayan Bolshoy Kamen Elangarkudi Helsinki Alekseyevka Lesnoye Altynovka Alchan Jalgaon Donzdorf Paris Guam Adamangalam-Pudur Viluppuram Dornstetten Palencia Vengikkal Buchen Aulendorf Kundagavayal Rajakilpakkam Vidov Katav-Ivanovsk Padianallur Toulouse Markovo Anna Emmendingen Brobergen Bretten Perumbakkam Novokiyevsky Uval Kliniska Wielkie Maniyakarampalayam Maniyadhalli Mahabaleshwar Pen Rampur Ebersbach an der Fils Melilla Ogalur Kurudampalayam Nuzi Kochi Davangere Il'movka Belgorod Ashokapuram Salem Agra Paramanandal European Green Capital Award Ariadnoye Jhansi Joh Himachal Pradesh Dornhan Maraimalai Nagar Neckargemünd Minjur Eislingen/Fils Thiruneermalai Adelsheim Zeer mountain Bryn Gudalur Alsleben Monte Verità Filaretovka Hogenakkal Kurumbapatti Troitsk Kerki Rathina Sabapathi Puram Erbach an der Donau Naidumangalam Athens Karur Bad Krozingen Madhavaram Wirbelau Paruvathanahalli Marungur, Tamil Nadu Anichangkuppam Saravanampatti Madikeri Manali, Tamil Nadu Huntington Beach Vadodara Bidar Thiruvananthapuram Guindy Dharmapuri taluk Valladolid Kodungaiyur Khandala Grožnjan United States Virgin Islands Thiruvetriyur Erode Indianapolis Trichy Florence Tauranga Burladingen Chatur Vedha Mangalam Bamako Palakkodu Aken (Elbe) Marudur Saba Hofen Iduvoi Adyar Thirumalayampalayam Eriyur Urozhaynoye Dortmund Brombach Sathyamangalam Zürich Shmakovka Adaiyur Arkhangelovka Glazovka Vatican City Singapore Anaittha Brussels Mhow Chinnakuyili Miass Tbilisi Washermanpet Tiruvethipuram Nagpur Sáenz Peña Laligam Chinnavedampatti Chicago Kuopio Ascot Pennathur Guruvayur Petaluma Malka River Thudiyalur Khe aab mountain Chelyabinsk Rurzyca, West Pomeranian Voivodeship Bryn Udumalaipettai Pattabiram Fridingen an der Donau Geislingen an der Steige Mercosur Alexandria London Kurskoye Arkhipovka Alexandria Thiruttani Monnani Ellwangen (Jagst) Chetput Palani Villivakkam Dasak mountain Inam Karur Cerro Sombrero Salem Kannur Sadras Kombai, Tamil Nadu Gammertingen Bochum Sierra de los Padres Kavaraipettai Aach Mathura Aumenau Úbeda Espoo Gandhipuram, Coimbatore Puerto Toro Bonaire Esanatham Dhaliyur Basel Malaiyur Zlatoust Bad Wurzach Bern Hanumanthampatti Las Parejas, Santa Fe Auckland Cramerview Khatyari Zamin Uthukuli Apam Karamadai São Paulo Toronto Warsaw Rogers Calw San Francisco Devanambattu Sheremetyevo Madurai Engen Weinbach Yelizavetovka Kinathukadavu Bad Wimpfen Ganapathy, Coimbatore Furtwangen im Schwarzwald Kaliyani Zhovti Vody Kottur-Malayandipattinam Panteleymonovka Oymyakon Orlovka Busse Burtscheid Indore Winterthur Gundelsheim San Martín Base Gorakhpur Northern Mariana Islands American Samoa Zahlé Velliyanai Nochimalai Lleida Beijing Ussuriysk Vladivostok Thoppur New Delhi Arsenyev Diu Rajkot Desur Tallinn Derby Geisingen Gengenbach Sai Baba colony Margao Sambir Panjim Dhemaji Ettenheim Karumathampatti Chinniampalayam San Mauro Mare Sevvur Ajijic Nallampalli Yanam Mulanur Avadi Umbergaon Tamga Turgenevo Favrio Northern Ireland Ruzhino Nangaimozhi Cuenca Nevskoye Punjaipugalur Tirupati Delhi Chennai Aichtal Goundampalayam Moongilthuraipattu Kazakevichevo Aleksey-Nikol'skoye Monte Rua Kokrajhar Weilburg Strabane Golovnino Thandukkaran palayam Korukkupet Ennore Adambakkam Shanmuganatha Pattanam Pallipattu Guernsey Venyukovo Melpakkam Abbekerk Port Blair Breisach Cairo Giengen Nizhnie Luzhki Katonatelep Aurovka Gobichettipalayam Puerto Rico Mettupalayam, Coimbatore Hanseongbu Driouch Rudnaya Pristan Trelech Blaubeuren Bopfingen Devakottai taluk Dhinna Bellur Markham Mainland China Perumanallur Khabarovsk Lille metropolis Tiruverkadu Eppelheim Silvassa Walayar Mylapore Banevurovo Daman, Daman and Diu América Neckarbischofsheim Bad Waldsee Saarbrücken Pacific Alliance Columbiana Bad Säckingen Sirumugai Raebareli New Amsterdam Beilstein Triplicane Kiuruvesi Salem Túxpam de Rodríguez Cano Los Angeles Washington, D.C. Bad Teinach-Zavelstein Perungattur Chitradurga Madukkarai Hamilton Kalasapakkam Accra Tikhmenevo Gulbarga Salem Donaueschingen Gdynia Canary Islands Bad Schussenried Detroit Vembakkam Tashkent Zhylichy Thamaraipakkam Kalapatti Kanakkampalayam Valsad Foggy Bottom Harsewinkel Kodaikanal Sadayampattu Gaildorf Kangayampalayam Christchurch Kottur, Tamil Nadu Battambang Polevoye Sothukanni Surat Haveri Teltow Donostia/San Sebastián Endingen am Kaiserstuhl Geneva Thirumullaivoyal Geislingen Bhood Moscow Gütersloh Neemrana Arfurt Keelathaniyam Abiramam Mangalam Winterberg Curitiba Southampton Amritsar district Satka Katowice Ramapuram, Chennai Tiruppathur Vinayagapuram Bonn Veraiyur Anaimalai Argunskoye Rome Thimphu Uchkuduk Yavatmal Brinzio Bonndorf im Schwarzwald Buddireddipatti Lonavla Sirukoodalpatti Slutsk Easter Island Nerkunram Alanthurai Boston Manavasi Palmerston North Frontignan Sint Eustatius Gummudipoondi Ashoknagar District Verl Bad Saulgau Ann Arbor Gerabronn Sunland Park Dalnerechensk Anaicut Tarn Taran Sahib Chapala Mandapam Ceuta Maravamangalam Hodgson, Manitoba Kaivandur Bardhaman Puliakulam Bad Urach Tiruvannamalai taluk Conway Oriyur Karonga Pune Donskoye Tomsk San Antonio Mehsana district Bad Friedrichshall The Hague Sathiyavijayanagaram Vellakinar Vasco da Gama Bharuch Torre (Serra da Estrela) Dumka Vantaa Ambattur Tolyatti Kolkata Blumberg Cerro Castillo Village, Chile Mumbai Maribor Celje Abrazheyevka Abramovka Bräunlingen Melachokkanathapuram Bad Buchau Shakhunya Theni taluk Mambalam Dietenheim Mullandrum Mallial
551
[{'concept': 'administrative territorial entity'}, 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:continent ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P1427
Q2912397
USER
Which single-day race has London as the start location ?
(c(Q2912397),P1427,Q84)
action filter_type
action find_reverse
entity Q84
relation P1427
type Q2912397
[{'concept': 'Q2912397'}, 'P1427', 'Q84']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2912397 . ?q property:P1427 resource:Q84 }
London
action filter_type
action find_reverse
entity London
relation start point
type single-day race
[{'concept': 'single-day race'}, 'start point', 'London']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:single-day_race . ?q property:start_point resource:London }
[]
single-day race
Q20739807
SYSTEM
2015 RideLondon–Surrey Classic
Q20739807
(c(Q2912397),P1427,Q84)
action filter_type
action find_reverse
entity Q84
relation P1427
type Q2912397
Which single-day race has London as the start location
[{'concept': 'Q2912397'}, 'P1427', 'Q84']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2912397 . ?q property:P1427 resource:Q84 }
2015 RideLondon–Surrey Classic
Which single-day race has London as the start location
2015 RideLondon–Surrey Classic
action filter_type
action find_reverse
entity London
relation start point
type single-day race
[{'concept': 'single-day race'}, 'start point', 'London']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:single-day_race . ?q property:start_point resource:London }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42157
P17
Q15617994
USER
Which administrative territory is Pohang present in ?
(Q42157,P17,c(Q15617994))
action filter_type
action find
entity Q42157
relation P17
type Q15617994
['Q42157', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q42157 property:P17 ?q }
Pohang
action filter_type
action find
entity Pohang
relation country
type designation for an administrative territorial entity
['Pohang', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pohang property:country ?q }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q42157,P17,c(Q15617994))
action filter_type
action find
entity Q42157
relation P17
type Q15617994
Pohang is in [ANSWER]
['Q42157', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q42157 property:P17 ?q }
South Korea
Pohang is in South Korea
South Korea
action filter_type
action find
entity Pohang
relation country
type designation for an administrative territorial entity
['Pohang', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pohang property:country ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4954535
Q15617994
USER
And what about Bradfield School?
(Q4954535,P17,c(Q15617994))
action filter_type
action find
entity Q4954535
relation P17
type Q15617994
['Q4954535', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q4954535 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Bradfield School
action filter_type
action find
entity Bradfield School
relation country
type designation for an administrative territorial entity
['Bradfield School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bradfield_School property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4954535,P17,c(Q15617994))
action filter_type
action find
entity Q4954535
relation P17
type Q15617994
[ANSWER]
['Q4954535', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q4954535 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Bradfield School
relation country
type designation for an administrative territorial entity
['Bradfield School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bradfield_School property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]