Simple Question (Direct)
Simple Question
Q834758
P21
Q290
USER
Which sex does Mihály Borbély have ?
(Q834758,P21,c(Q290))
action filter_type
action find
entity Q834758
relation P21
type Q290
['Q834758', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q834758 property:P21 ?j . ?j rdf:type ontology:Q290 }
Mihály Borbély
action filter_type
action find
entity Mihály Borbély
relation gender
type sex
['Mihály Borbély', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Mihály_Borbély property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q834758,P21,c(Q290))
action filter_type
action find
entity Q834758
relation P21
type Q290
Mihály Borbély has a [ANSWER]
['Q834758', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q834758 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Mihály Borbély has a male
male
action filter_type
action find
entity Mihály Borbély
relation gender
type sex
['Mihály Borbély', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Mihály_Borbély property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q834758
P106
Q12737077
USER
Which occupations have Mihály Borbély as his/her 's career ?
(Q834758,P106,c(Q12737077))
action filter_type
action find
entity Q834758
relation P106
type Q12737077
['Q834758', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q834758 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Mihály Borbély
action filter_type
action find
entity Mihály Borbély
relation occupation
type occupation
['Mihály Borbély', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Mihály_Borbély property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q12800682 Q118865 Q16145150
SYSTEM
saxophonist, clarinetist, music educator
Q12800682 Q118865 Q16145150
(Q834758,P106,c(Q12737077))
action filter_type
action find
entity Q834758
relation P106
type Q12737077
[ANSWERS] have Mihály Borbély as his/her 's career
['Q834758', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q834758 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
saxophonist clarinetist music educator
Saxophonist, clarinetist and music educator have Mihály Borbély as his/her 's career
saxophonist clarinetist music educator
action filter_type
action find
entity Mihály Borbély
relation occupation
type occupation
['Mihály Borbély', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Mihály_Borbély property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q834758
P19
Q515
USER
Which city is the place of birth of Mihály Borbély ?
(Q834758,P19,c(Q515))
action filter_type
action find
entity Q834758
relation P19
type Q515
['Q834758', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q834758 property:P19 ?i . ?i rdf:type ontology:Q515 }
Mihály Borbély
action filter_type
action find
entity Mihály Borbély
relation place of birth
type city
['Mihály Borbély', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Mihály_Borbély property:place_of_birth ?i . ?i rdf:type ontology:city }
[]
city
Q390798
SYSTEM
Szentendre
Q390798
(Q834758,P19,c(Q515))
action filter_type
action find
entity Q834758
relation P19
type Q515
[ANSWER] is the place of birth of Mihály Borbély
['Q834758', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q834758 property:P19 ?i . ?i rdf:type ontology:Q515 }
Szentendre
Szentendre is the place of birth of Mihály Borbély
Szentendre
action filter_type
action find
entity Mihály Borbély
relation place of birth
type city
['Mihály Borbély', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Mihály_Borbély property:place_of_birth ?i . ?i rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11470258
Q515
USER
And how about Kazuhide Yamada?
(Q11470258,P19,c(Q515))
action filter_type
action find
entity Q11470258
relation P19
type Q515
['Q11470258', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q515 . resource:Q11470258 property:P19 ?z }
Kazuhide Yamada
action filter_type
action find
entity Kazuhide Yamada
relation place of birth
type city
['Kazuhide Yamada', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:city . resource:Kazuhide_Yamada property:place_of_birth ?z }
[]
city
Q490928
SYSTEM
Tondabayashi
Q490928
(Q11470258,P19,c(Q515))
action filter_type
action find
entity Q11470258
relation P19
type Q515
[ANSWER]
['Q11470258', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q515 . resource:Q11470258 property:P19 ?z }
Tondabayashi
Tondabayashi
action filter_type
action find
entity Kazuhide Yamada
relation place of birth
type city
['Kazuhide Yamada', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:city . resource:Kazuhide_Yamada property:place_of_birth ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11470258
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q490928,P27,c(Q15617994))
action filter_type
action find
entity Q11470258
relation P27
type Q15617994
['Q490928', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q11470258 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Kazuhide Yamada
action filter_type
action find
entity Kazuhide Yamada
relation country of citizenship
type designation for an administrative territorial entity
['Tondabayashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Kazuhide_Yamada property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q490928,P27,c(Q15617994))
action filter_type
action find
entity Q11470258
relation P27
type Q15617994
To [ANSWER] is the native country of that person
['Q490928', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q11470258 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Japan
To Japan is the native country of that person
Japan
action filter_type
action find
entity Kazuhide Yamada
relation country of citizenship
type designation for an administrative territorial entity
['Tondabayashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Kazuhide_Yamada property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17 Q37143
P463
Q484652
USER
Was that administrative territory a member of G8 ?
(Q17,P463,Q37143)
action is_in
entity Q37143
action find
entity Q17
relation P463
['Q17', 'P463', 'Q37143']
ASK WHERE { resource:Q17 property:P463 resource:Q37143 }
Japan G8
action is_in
entity G8
action find
entity Japan
relation member of
['Japan', 'member of', 'G8']
ASK WHERE { resource:Japan property:member_of resource:G8 }
[]
international organization
SYSTEM
YES
(Q17,P463,Q37143)
action is_in
entity Q37143
action find
entity Q17
relation P463
[ANSWER]
['Q17', 'P463', 'Q37143']
ASK WHERE { resource:Q17 property:P463 resource:Q37143 }
Yes
action is_in
entity G8
action find
entity Japan
relation member of
['Japan', 'member of', 'G8']
ASK WHERE { resource:Japan property:member_of resource:G8 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q834758
P136
Q151885
USER
What can be considered as category for Mihály Borbély ?
(Q834758,P136,c(Q151885))
action filter_type
action find
entity Q834758
relation P136
type Q151885
['Q834758', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { resource:Q834758 property:P136 ?i . ?i rdf:type ontology:Q151885 }
Mihály Borbély
action filter_type
action find
entity Mihály Borbély
relation genre
type concept
['Mihály Borbély', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { resource:Mihály_Borbély property:genre ?i . ?i rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q834758,P136,c(Q151885))
action filter_type
action find
entity Q834758
relation P136
type Q151885
The [ANSWER] can be considered as category for Mihály Borbély
['Q834758', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { resource:Q834758 property:P136 ?i . ?i rdf:type ontology:Q151885 }
jazz
The jazz can be considered as category for Mihály Borbély
jazz
action filter_type
action find
entity Mihály Borbély
relation genre
type concept
['Mihály Borbély', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { resource:Mihály_Borbély property:genre ?i . ?i rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q390798
P1376
Q1162835
USER
Which district of Hungary has Szentendre as its capital ?
(Q390798,P1376,c(Q1162835))
action filter_type
action find
entity Q390798
relation P1376
type Q1162835
['Q390798', 'P1376', {'concept': 'Q1162835'}]
SELECT DISTINCT ?o WHERE { resource:Q390798 property:P1376 ?o . ?o rdf:type ontology:Q1162835 }
Szentendre
action filter_type
action find
entity Szentendre
relation capital of
type district of Hungary
['Szentendre', 'capital of', {'concept': 'district of Hungary'}]
SELECT DISTINCT ?o WHERE { resource:Szentendre property:capital_of ?o . ?o rdf:type ontology:district_of_Hungary }
[]
district of Hungary
Q854326
SYSTEM
Szentendre District
Q854326
(Q390798,P1376,c(Q1162835))
action filter_type
action find
entity Q390798
relation P1376
type Q1162835
District [ANSWER] has Szentendre as its capital
['Q390798', 'P1376', {'concept': 'Q1162835'}]
SELECT DISTINCT ?o WHERE { resource:Q390798 property:P1376 ?o . ?o rdf:type ontology:Q1162835 }
Szentendre District
District Szentendre District has Szentendre as its capital
Szentendre District
action filter_type
action find
entity Szentendre
relation capital of
type district of Hungary
['Szentendre', 'capital of', {'concept': 'district of Hungary'}]
SELECT DISTINCT ?o WHERE { resource:Szentendre property:capital_of ?o . ?o rdf:type ontology:district_of_Hungary }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q42520 Q834758
P47 P27
Q15617994
USER
Which administrative territories do Mihály Borbély belong to or are adjacent to Pessano con Bornago ?
OR((Q834758,P27,c(Q15617994)), (Q42520,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q834758
relation P27
action find
entity Q42520
relation P47
type Q15617994
{'OR': [['Q834758', 'P27', {'concept': 'Q15617994'}], ['Q42520', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q834758 property:P27 ?w } UNION { resource:Q42520 property:P47 ?w } } . ?w rdf:type ontology:Q15617994 }
Pessano con Bornago Mihály Borbély
action filter_type
action union
action find
entity Mihály Borbély
relation country of citizenship
action find
entity Pessano con Bornago
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Mihály Borbély', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pessano con Bornago', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Mihály_Borbély property:country_of_citizenship ?w } UNION { resource:Pessano_con_Bornago property:shares_border_with ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q42993 Q42115 Q42416 Q43055 Q40051 Q28 Q42509
SYSTEM
Gessate, Carugate, Cambiago, Gorgonzola, Caponago, Hungary, Bussero
Q42993 Q42115 Q42416 Q43055 Q40051 Q28 Q42509
OR((Q834758,P27,c(Q15617994)), (Q42520,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q834758
relation P27
action find
entity Q42520
relation P47
type Q15617994
[ANSWERS] Borbély belong to Mihály or are adjacent to Pessano con Bornago
{'OR': [['Q834758', 'P27', {'concept': 'Q15617994'}], ['Q42520', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q834758 property:P27 ?w } UNION { resource:Q42520 property:P47 ?w } } . ?w rdf:type ontology:Q15617994 }
Gessate Carugate Cambiago Gorgonzola Caponago Hungary Bussero
Gessate, Carugate, Cambiago, Gorgonzola, Caponago, Hungary and Bussero Borbély belong to Mihály or are adjacent to Pessano con Bornago
Gessate Carugate Cambiago Gorgonzola Caponago Hungary Bussero
action filter_type
action union
action find
entity Mihály Borbély
relation country of citizenship
action find
entity Pessano con Bornago
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Mihály Borbély', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pessano con Bornago', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Mihály_Borbély property:country_of_citizenship ?w } UNION { resource:Pessano_con_Bornago property:shares_border_with ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q724713 Q834758
P27
Q15617994
USER
Which administrative territories are Mihály Borbély or Asha Miró a civilian of ?
OR((Q834758,P27,c(Q15617994)), (Q724713,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q834758
relation P27
action find
entity Q724713
relation P27
type Q15617994
{'OR': [['Q834758', 'P27', {'concept': 'Q15617994'}], ['Q724713', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?s ) { ( resource:Q724713 ) ( resource:Q834758 ) } . ?s property:P27 ?m } . ?m rdf:type ontology:Q15617994 }
Asha Miró Mihály Borbély
action filter_type
action union
action find
entity Mihály Borbély
relation country of citizenship
action find
entity Asha Miró
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mihály Borbély', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Asha Miró', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?s ) { ( resource:Asha_Miró ) ( resource:Mihály_Borbély ) } . ?s property:country_of_citizenship ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q29
SYSTEM
Hungary, Spain
Q28 Q29
OR((Q834758,P27,c(Q15617994)), (Q724713,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q834758
relation P27
action find
entity Q724713
relation P27
type Q15617994
[ANSWERS] are Mihály Borbély or Asha Miró a civilian of
{'OR': [['Q834758', 'P27', {'concept': 'Q15617994'}], ['Q724713', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?s ) { ( resource:Q724713 ) ( resource:Q834758 ) } . ?s property:P27 ?m } . ?m rdf:type ontology:Q15617994 }
Hungary Spain
Hungary and Spain are Mihály Borbély or Asha Miró a civilian of
Hungary Spain
action filter_type
action union
action find
entity Mihály Borbély
relation country of citizenship
action find
entity Asha Miró
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mihály Borbély', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Asha Miró', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?s ) { ( resource:Asha_Miró ) ( resource:Mihály_Borbély ) } . ?s property:country_of_citizenship ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q28 Q29
P17
Q4830453
USER
Which business enterprises are situated in those administrative territories ?
(c(Q4830453),P17,Q28) (c(Q4830453),P17,Q29)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q4830453
[{'concept': 'Q4830453'}, 'P17', 'Q28'] [{'concept': 'Q4830453'}, 'P17', 'Q29']
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Q28 ) ( resource:Q29 ) } . ?n property:P17 ?m . ?n rdf:type ontology:Q4830453 }
Hungary Spain
action filter_type
action find_reverse
entity prev_answer
relation country
type business enterprise
[{'concept': 'business enterprise'}, 'country', 'Hungary'] [{'concept': 'business enterprise'}, 'country', 'Spain']
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Hungary ) ( resource:Spain ) } . ?n property:country ?m . ?n rdf:type ontology:business_enterprise }
[]
business enterprise
Q329426 Q155573 Q993013
SYSTEM
Danone, Airbus Helicopters, Európa Publishing
Q1009031 Q1224773 Q906719 Q752482 Q1221461 Q25796224 Q23011717 Q1114071 Q852566 Q25657 Q168082 Q993013 Q17037156 Q867815 Q20438616 Q834518 Q518487 Q746503 Q239416 Q1549038 Q181697 Q20830297 Q989062 Q5864366 Q6144562 Q1333395 Q5710444 Q7924401 Q2051718 Q16249980 Q1328397 Q4890716 Q5486830 Q21561336 Q3750868 Q5876800 Q5138392 Q3061020 Q5016807 Q10926634 Q1495046 Q12263146 Q263924 Q2990395 Q20821619 Q2448993 Q3394955 Q3325253 Q21571874 Q4680832 Q329426 Q2990397 Q17064788 Q2743194 Q6987964 Q6747848 Q5418537 Q6050822 Q1509312 Q155573 Q279413 Q301129 Q2920332 Q1556184 Q21572088 Q21572092 Q136503 Q15529123 Q21571760 Q1798568 Q4727705 Q5120180 Q6907048 Q21571745 Q21571751 Q14955165 Q14955166 Q1946170 Q5379454 Q1456484 Q20492050 Q20639997 Q18763343 Q962340 Q5483013 Q1143007 Q4803285 Q629326 Q18763360 Q2876210 Q21572130 Q21572112 Q7429453 Q5036284 Q294510 Q5151544 Q422192 Q2638082 Q6746772 Q21561334 Q3750726 Q788231 Q2126117 Q21571993 Q917258 Q5299150 Q5048427 Q1199957 Q6897186 Q575995 Q18696098 Q686964 Q3068093 Q14425869 Q5029067 Q5517012 Q1025113 Q3490508 Q2940758
(c(Q4830453),P17,Q28) (c(Q4830453),P17,Q29)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q4830453
[ANSWERS] are situated in those administrative territories
[{'concept': 'Q4830453'}, 'P17', 'Q28'] [{'concept': 'Q4830453'}, 'P17', 'Q29']
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Q28 ) ( resource:Q29 ) } . ?n property:P17 ?m . ?n rdf:type ontology:Q4830453 }
Gemenc Volán Onyx Restaurant FM 7 Gundel Nógrád Volán Dél-dunántúli Közlekedési Központ DAKK Dél-alföldi Közlekedési Központ Klubrádió Bács Volán MÁVAG Hungarian State Railways Európa Publishing VIVA Hungary Class FM KMKK Középkelet-magyarországi Közlekedési Központ Bonum TV Agria Volán Volánbusz Hatvani Volán Körös Volán Raaberbahn Szabolcs Volán Első Pesti Egyetemi Rádió Foster's Hollywood The Great Southern of Spain Railway Company Limited Els Quatre Gats Seville Royal Dockyards Via Veneto Paramount Comedy Àbac Hurtan Comisión Nacional de Energía Localia Televisión Zarate Can Fabes Hofmann Coastline FM Eusko Trenbideak – Ferrocarriles Vascos Caelis A9 HD Gas Gas Martin Berasategi Barcelona Royal Shipyard Compañía de los caminos de hierro del Norte Sublimotion Transeuropa Compañía de Aviación ASTANO Kiss FM Zortziko Adaro Danone Compañía de los Ferrocarriles de Madrid a Zaragoza y Alicante CASA Canal Sur Neichel Mandarin Oriental Evo Onda Jaén RTV Maubeuge Construction Automobile Airbus Helicopters Telemadrid Telecinco Mugaritz Viva Air Kokotxa Mirador de Ulía Mango Airbus Defence and Space Nerua LaOtra Alkimia Cinc Sentits Moo Etxanobe Mina Hisop Lasarte Montesa Honda Enoteca Iguana Kits Azurmendi La Bici / Eetcafe 't Fietske Tanatorio M-30 Cuatro AUCORSA Renfe Feve Asador Etxebarri Flunch Tanatorio Sur Diez TV El Molino de Urdániz Europa Saüc Capritx ALSA (bus company) Comerç 24 El Celler de Can Roca Hijos de Rivera Manairó Aizian Televisión del Principado de Asturias 2 Massimo Dutti Radio Exterior de España Zaldiaran elBulli Dos Cielos Cases i associats Derbi Moments Europa FM COM Ràdio Los 40 Rock & Gol Fred. Olsen Express Can Jubany Gaig Cadena SER Viguesa de Transportes Casa Marieta
Danone, Airbus Helicopters and Európa Publishing are situated in those administrative territories
Danone Airbus Helicopters Európa Publishing
action filter_type
action find_reverse
entity prev_answer
relation country
type business enterprise
[{'concept': 'business enterprise'}, 'country', 'Hungary'] [{'concept': 'business enterprise'}, 'country', 'Spain']
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Hungary ) ( resource:Spain ) } . ?n property:country ?m . ?n rdf:type ontology:business_enterprise }
[]