Simple Question (Direct)
Simple Question
Q4771085
P641
Q349
USER
Which sport did Ante Miročević participate in ?
(Q4771085,P641,c(Q349))
action filter_type
action find
entity Q4771085
relation P641
type Q349
['Q4771085', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q4771085 property:P641 ?p . ?p rdf:type ontology:Q349 }
Ante Miročević
action filter_type
action find
entity Ante Miročević
relation sport
type sport
['Ante Miročević', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Ante_Miročević property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4771085,P641,c(Q349))
action filter_type
action find
entity Q4771085
relation P641
type Q349
Ante Miročević participated in [ANSWER]
['Q4771085', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q4771085 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
Ante Miročević participated in association football
association football
action filter_type
action find
entity Ante Miročević
relation sport
type sport
['Ante Miročević', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Ante_Miročević property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4771085
P21
Q290
USER
What is the sex of Ante Miročević ?
(Q4771085,P21,c(Q290))
action filter_type
action find
entity Q4771085
relation P21
type Q290
['Q4771085', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q4771085 property:P21 ?p . ?p rdf:type ontology:Q290 }
Ante Miročević
action filter_type
action find
entity Ante Miročević
relation gender
type sex
['Ante Miročević', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Ante_Miročević property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4771085,P21,c(Q290))
action filter_type
action find
entity Q4771085
relation P21
type Q290
The sex of Ante Miročević is a [ANSWER]
['Q4771085', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q4771085 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of Ante Miročević is a male
male
action filter_type
action find
entity Ante Miročević
relation gender
type sex
['Ante Miročević', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Ante_Miročević property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q318076
Q290
USER
And also tell me about Abdul Kerim Pasha?
(Q318076,P21,c(Q290))
action filter_type
action find
entity Q318076
relation P21
type Q290
['Q318076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q318076 property:P21 ?c . ?c rdf:type ontology:Q290 }
Abdul Kerim Pasha
action filter_type
action find
entity Abdul Kerim Pasha
relation gender
type sex
['Abdul Kerim Pasha', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Abdul_Kerim_Pasha property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q318076,P21,c(Q290))
action filter_type
action find
entity Q318076
relation P21
type Q290
[ANSWER]
['Q318076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q318076 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Abdul Kerim Pasha
relation gender
type sex
['Abdul Kerim Pasha', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Abdul_Kerim_Pasha property:gender ?c . ?c rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q4245119
P21
Q502895
USER
Does Olga Gennadyevna Kuznetsova have the gender as that sex ?
(Q4245119,P21,Q6581097)
action is_in
entity Q4245119
action find
entity Q6581097
relation P21
['Q4245119', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q4245119 }
male Olga Gennadyevna Kuznetsova
action is_in
entity Olga Gennadyevna Kuznetsova
action find
entity male
relation gender
['Olga Gennadyevna Kuznetsova', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Olga_Gennadyevna_Kuznetsova }
[]
common name
SYSTEM
NO
(Q4245119,P21,Q6581097)
action is_in
entity Q4245119
action find
entity Q6581097
relation P21
[ANSWER]
['Q4245119', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q4245119 }
No
action is_in
entity Olga Gennadyevna Kuznetsova
action find
entity male
relation gender
['Olga Gennadyevna Kuznetsova', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Olga_Gennadyevna_Kuznetsova }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16217666 Q4245119
P27
Q15617994
USER
Which administrative territories are the native countriesof Olga Gennadyevna Kuznetsova or András Török ?
OR((Q4245119,P27,c(Q15617994)), (Q16217666,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4245119
relation P27
action find
entity Q16217666
relation P27
type Q15617994
{'OR': [['Q4245119', 'P27', {'concept': 'Q15617994'}], ['Q16217666', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q4245119 property:P27 ?g } UNION { resource:Q16217666 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
András Török Olga Gennadyevna Kuznetsova
action filter_type
action union
action find
entity Olga Gennadyevna Kuznetsova
relation country of citizenship
action find
entity András Török
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Olga Gennadyevna Kuznetsova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['András Török', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Olga_Gennadyevna_Kuznetsova property:country_of_citizenship ?g } UNION { resource:András_Török property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q159
SYSTEM
Hungary, Russia
Q28 Q159
OR((Q4245119,P27,c(Q15617994)), (Q16217666,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4245119
relation P27
action find
entity Q16217666
relation P27
type Q15617994
[ANSWERS] are the native countriesof Olga Gennadyevna Kuznetsova or András Török
{'OR': [['Q4245119', 'P27', {'concept': 'Q15617994'}], ['Q16217666', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q4245119 property:P27 ?g } UNION { resource:Q16217666 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Hungary Russia
Hungary and Russia are the native countriesof Olga Gennadyevna Kuznetsova or András Török
Hungary Russia
action filter_type
action union
action find
entity Olga Gennadyevna Kuznetsova
relation country of citizenship
action find
entity András Török
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Olga Gennadyevna Kuznetsova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['András Török', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Olga_Gennadyevna_Kuznetsova property:country_of_citizenship ?g } UNION { resource:András_Török property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q28 Q159
P17
Q41176
USER
Which buildings are located in Hungary and Russia ?
(c(Q41176),P17,Q28) (c(Q41176),P17,Q159)
action union
action filter_type
action find_reverse
entity Q28
relation P17
type Q41176
action filter_type
action find_reverse
entity Q159
relation P17
type Q41176
[{'concept': 'Q41176'}, 'P17', 'Q28'] [{'concept': 'Q41176'}, 'P17', 'Q159']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q41176 . ?w property:P17 resource:Q159 } UNION { ?w rdf:type ontology:Q41176 . ?w property:P17 resource:Q28 } }
Hungary Russia
action union
action filter_type
action find_reverse
entity Hungary
relation country
type building
action filter_type
action find_reverse
entity Russia
relation country
type building
[{'concept': 'building'}, 'country', 'Hungary'] [{'concept': 'building'}, 'country', 'Russia']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:building . ?w property:country resource:Russia } UNION { ?w rdf:type ontology:building . ?w property:country resource:Hungary } }
[]
building
Q1298173 Q522868 Q764685
SYSTEM
Szigligeti Theatre, Budapest Western Railway Terminal, Budapest Southern Railway Terminal
Q875436 Q522868 Q1105597 Q27102747 Q1175298 Q12355789 Q897556 Q1233423 Q16745092 Q1123058 Q927806 Q685998 Q1126381 Q1322931 Q859335 Q1470946 Q27310705 Q897824 Q897802 Q873002 Q1413763 Q15633242 Q24969407 Q21515024 Q1468612 Q1163043 Q19853477 Q604953 Q764685 Q1472269 Q1296867 Q1111425 Q18608208 Q674032 Q901162 Q1296740 Q1460781 Q24258363 Q1187508 Q222780 Q1165628 Q20478995 Q1296701 Q580280 Q1298173 Q896500 Q4750 Q194783 Q1242803 Q9187516 Q1215022 Q1800041 Q2315050 Q7994714 Q80906 Q4322447 Q2064699 Q4407697 Q4125407 Q2371326 Q567308 Q283120 Q1144475 Q4122821 Q203479 Q2854543 Q2465440 Q4304134 Q16677741 Q4057905 Q138908 Q4398099 Q2023092 Q4044349 Q2568720 Q1519034 Q139318 Q571291 Q1621200 Q5060576 Q788299 Q4392418 Q2000542 Q588680 Q1229016 Q1367269 Q153502 Q4076929 Q2033910 Q2396090 Q4122943 Q3360856 Q16702698 Q23830022 Q11838753 Q1877773 Q1981162 Q2670942 Q1186567 Q1961082 Q34085 Q4221645 Q676093 Q4407678 Q3180156 Q844124 Q4097549 Q5100678 Q794711 Q1353643 Q1329088 Q1258473 Q548259 Q728971 Q3533215 Q187333 Q4453404 Q830344 Q1988060 Q5183331 Q4460360 Q2463835 Q1344454 Q2307647 Q4330107 Q3279128 Q4460357 Q4155887 Q405637 Q3287172 Q7467 Q7461 Q751345 Q4481799 Q4230452 Q182147 Q126646 Q4059176 Q4449569 Q1255657 Q147994 Q1238406 Q2022067 Q1563072 Q1930409 Q4255374 Q1370087 Q930376 Q2491710 Q21195003 Q704562 Q4351536 Q20821474 Q4351571 Q2652905 Q4351569 Q1369676 Q4508676 Q637314 Q4441034
(c(Q41176),P17,Q28) (c(Q41176),P17,Q159)
action union
action filter_type
action find_reverse
entity Q28
relation P17
type Q41176
action filter_type
action find_reverse
entity Q159
relation P17
type Q41176
[ANSWERS] are located in Hungary and Russia
[{'concept': 'Q41176'}, 'P17', 'Q28'] [{'concept': 'Q41176'}, 'P17', 'Q159']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q41176 . ?w property:P17 resource:Q159 } UNION { ?w rdf:type ontology:Q41176 . ?w property:P17 resource:Q28 } }
Bela Komjadi Stadium Budapest Western Railway Terminal Katona József Theatre (Kecskemét) Szívkórház, Balatonfüred Média Center Campona Géza Gárdonyi Theater Palace of Arts Magyar Theatre Palace of Finance, Miskolc Calvary chapel (Búcsúszentlászló) Sándor Palace Amade-Bajzáth-Pappenheim-Károlyi Castle Mária Chapel in Kútvölgy Torkos Palace Cella trichora Archiepiscopal Palace (Eger) St. Andrea Estate Rudas Baths Comedy Theatre of Budapest Gergely Csíky Theatre Court Theatre of Buda Thália Theater Ice Hockey Stadium of Dunaújváros Former Károlyi Mansion, Budapest District VIII Convent Chapel, Miskolc Palaces and mansions in Hungary Károlyi Palace, Budapest Festetics Palace Budapest Southern Railway Terminal Örkény Theatre, Budapest Holy Tree Chapel, Dömös Little Provost's Palace, Eger Episcopal Palace Vigadó Concert Hall Dagály thermal baths Saint Sigismund Church in Buda Vodica Primate's Palace, Budapest National Theatre Csokonai Theatre Maros Mozi Hermina Chapel Saint Roch Cemetery Chapel, Baja National Theatre of Győr Szigligeti Theatre National Theatre of Pécs Bishop's chapel (Makó) Széchenyi thermal bath Croat Theatre of Pécs Chapel of Alexandra Pavlovna in Üröm Great Provost's Palace, Eger Ladozhsky railway station Oranienbaum, Russia White Gardens Pella Palace New Stage of Bolshoi Theatre Taganka Theatre Youth Theatre on the Fontanka Voronezh State Academic Drama Theatre A. Koltsov Makaryev Fair Vladivostok railway station Marble Palace Ostankino Palace Primorsky railway station Pavlov's House Catherine Palace Rusakov Workers' Club Malaya Bronnaya Theatre Monplaisir Palace Dutch Admiralty Bolshoi Theatre Russian Ilizarov Scientific Center for Restorative Traumatology and Orthopaedics Vysotsky Mirax-Plaza Russia Yelagin Palace Alexander Palace Moskovsky railway station Mossovet Theatre Tsarskoye Selo Central Clinical Hospital Nordstar Tower Putin's Palace Saint Michael's Castle Constantine Palace Mariinsky Palace Belorussky railway station Maksim Gorky Samara Academic Drama Theatre Baltic House Festival Theatre State Kremlin Palace Chuvash State Academic Drama Theatre Volgograd railway station Ficquelmont Palace The Theatre Art Studio Palace of Culture of Trade Unions Chesme Palace Amusement Palace Tovstonogov Bolshoi Drama Theater Summer Palace Alexandrinsky Theatre Catherine Palace Kazan Railway station The Kirov regional drama theatre. S. M. Kirov Tauride Palace St Petersburg Psychiatric Hospital of Specialized Type with Intense Observation Sochi railway station White House Bryansk regional drama theatre. A. K. Tolstoy Chinese Village Kikin Hall Swallow's Nest Yaroslavsky railway station Peterhof Palace Finland Station Smolny Institute Sparrow Hills Anichkov Palace Theater "Vernadsky, 13" Haus der Technik Sanduny Creaking Pagoda Tomsk-1 Railway station Peterhof Grand Palace Leningradsky railway station Palace of Facets Obukhovskaya Hospital Communal House of the Textile Institute Tomsk-2 Railway station Shuvalov Palace Pavlovsk Palace Saint Petersburg Manege Priory Palace Gatchina Palace Nizhny Novgorod railway station Federal Center of Neurosurgery (Tyumen) Sokolniki Exhibition and Convention Centre Winter Palace Chuvash State Opera and Ballet Theater Komissarjevsky Theatre Taganrog Theatre Kaliningrad Regional Drama Theatre Tsaritsyno Park Vitebsky railway station Kotelnicheskaya Embankment Building Rossiya Theatre Mikhaylovsky Palace Lakhta Center Grand Kremlin Palace Kremlin Senate Edelweiss Sarepta Kremlin Arsenal Perm Academic Theatre Samara Railway station Perm I Old Saint Petersburg Stock Exchange Perm II Maly Theatre Chelyabinsk Main Summer Palace of Peter I Moscow Gostiny Dvor
Szigligeti Theatre, Budapest Western Railway Terminal and Budapest Southern Railway Terminal are located in Hungary and Russia
Szigligeti Theatre Budapest Western Railway Terminal Budapest Southern Railway Terminal
action union
action filter_type
action find_reverse
entity Hungary
relation country
type building
action filter_type
action find_reverse
entity Russia
relation country
type building
[{'concept': 'building'}, 'country', 'Hungary'] [{'concept': 'building'}, 'country', 'Russia']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:building . ?w property:country resource:Russia } UNION { ?w rdf:type ontology:building . ?w property:country resource:Hungary } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1298173
P1037
Q502895
USER
Which people manage that building ?
(Q1298173,P1037,c(Q502895))
action filter_type
action find
entity Q1298173
relation P1037
type Q502895
['Q1298173', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1298173 property:P1037 ?t . ?t rdf:type ontology:Q502895 }
Szigligeti Theatre
action filter_type
action find
entity Szigligeti Theatre
relation manager/director
type common name
['Szigligeti Theatre', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Szigligeti_Theatre property:manager/director ?t . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q522868
SYSTEM
Did you mean Budapest Western Railway Terminal ?
Q1298173 Q522868 Q764685
(Q1298173,P1037,c(Q502895)) (Q522868,P1037,c(Q502895)) (Q764685,P1037,c(Q502895))
[ANSWER]
['Q1298173', 'P1037', {'concept': 'Q502895'}] ['Q522868', 'P1037', {'concept': 'Q502895'}] ['Q764685', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1298173 property:P1037 ?t . ?t rdf:type ontology:Q502895 }
Szigligeti Theatre Budapest Western Railway Terminal Budapest Southern Railway Terminal
Did you mean Budapest Western Railway Terminal ?
Budapest Western Railway Terminal
['Szigligeti Theatre', 'manager/director', {'concept': 'common name'}] ['Budapest Western Railway Terminal', 'manager/director', {'concept': 'common name'}] ['Budapest Southern Railway Terminal', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Szigligeti_Theatre property:manager/director ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Szigligeti Theatre. Could you tell me the answer for that?
(Q1298173,P1037,c(Q502895))
Q1298173
['Q1298173', 'P1037', {'concept': 'Q502895'}]
['Szigligeti Theatre', 'manager/director', {'concept': 'common name'}]
[]
Q724571 Q12816685 Q960516
SYSTEM
György Spiró, Lajos Vass, Emil Keres
Q1241046 Q750105 Q1107781 Q1298288 Q724571 Q1302108 Q14948475 Q789891 Q21914370 Q21962744 Q960516 Q21963498 Q12816685
(Q1298173,P1037,c(Q502895))
action filter_type
action find
entity Q1298173
relation P1037
type Q502895
[ANSWERS] manage that building
['Q1298173', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1298173 property:P1037 ?t . ?t rdf:type ontology:Q502895 }
István Prókai György Schwajda Imre Kerényi János Szikora György Spiró Gábor Székely Gábor Berényi Péter Balázs Károly Vass Győző Daniss Emil Keres Boldizsár Lengyel Lajos Vass
György Spiró, Lajos Vass and Emil Keres manage that building
György Spiró Lajos Vass Emil Keres
action filter_type
action find
entity Szigligeti Theatre
relation manager/director
type common name
['Szigligeti Theatre', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Szigligeti_Theatre property:manager/director ?t . ?t rdf:type ontology:common_name }
[]