Simple Question (Direct)
Simple Question
Q255022
P102
Q7210356
USER
Which party is Mugur Isărescu affiliated with ?
(Q255022,P102,c(Q7210356))
action filter_type
action find
entity Q255022
relation P102
type Q7210356
['Q255022', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q255022 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Mugur Isărescu
action filter_type
action find
entity Mugur Isărescu
relation member of political party
type political organization
['Mugur Isărescu', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Mugur_Isărescu property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q852402
SYSTEM
Democratic Liberal Party
Q852402
(Q255022,P102,c(Q7210356))
action filter_type
action find
entity Q255022
relation P102
type Q7210356
Mugur Isărescu is affiliated with [ANSWER]
['Q255022', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q255022 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Democratic Liberal Party
Mugur Isărescu is affiliated with Democratic Liberal Party
Democratic Liberal Party
action filter_type
action find
entity Mugur Isărescu
relation member of political party
type political organization
['Mugur Isărescu', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Mugur_Isărescu property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q255022
P39
Q12737077
USER
What were the positions for which Mugur Isărescu were appointed ?
(Q255022,P39,c(Q12737077))
action filter_type
action find
entity Q255022
relation P39
type Q12737077
['Q255022', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q255022 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Mugur Isărescu
action filter_type
action find
entity Mugur Isărescu
relation position held
type occupation
['Mugur Isărescu', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Mugur_Isărescu property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q15304810 Q5589746
SYSTEM
Prime Minister of Romania, Governor of the National Bank of Romania
Q15304810 Q5589746
(Q255022,P39,c(Q12737077))
action filter_type
action find
entity Q255022
relation P39
type Q12737077
The [ANSWERS]
['Q255022', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q255022 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Prime Minister of Romania Governor of the National Bank of Romania
The Prime Minister of Romania and Governor of the National Bank of Romania
Prime Minister of Romania Governor of the National Bank of Romania
action filter_type
action find
entity Mugur Isărescu
relation position held
type occupation
['Mugur Isărescu', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Mugur_Isărescu property:position_held ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15304810 Q5589746
P39
Q502895
USER
Who were responsible for occupying the position of Prime Minister of Romania and Governor of the National Bank of Romania ?
(c(Q502895),P39,Q15304810) (c(Q502895),P39,Q5589746)
action union
action filter_type
action find_reverse
entity Q15304810
relation P39
type Q502895
action filter_type
action find_reverse
entity Q5589746
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q15304810'] [{'concept': 'Q502895'}, 'P39', 'Q5589746']
SELECT DISTINCT ?e WHERE { { ?e property:P39 resource:Q15304810 . ?e rdf:type ontology:Q502895 } UNION { ?e property:P39 resource:Q5589746 . ?e rdf:type ontology:Q502895 } }
Prime Minister of Romania Governor of the National Bank of Romania
action union
action filter_type
action find_reverse
entity Prime Minister of Romania
relation position held
type common name
action filter_type
action find_reverse
entity Governor of the National Bank of Romania
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Romania'] [{'concept': 'common name'}, 'position held', 'Governor of the National Bank of Romania']
SELECT DISTINCT ?e WHERE { { ?e property:position_held resource:Prime_Minister_of_Romania . ?e rdf:type ontology:common_name } UNION { ?e property:position_held resource:Governor_of_the_National_Bank_of_Romania . ?e rdf:type ontology:common_name } }
[]
common name
Q313581 Q111805 Q357004
SYSTEM
Nicolae Iorga, Arthur Văitoianu, Radu Vasile
Q357004 Q1119350 Q444472 Q444472 Q444472 Q515187 Q223414 Q317313 Q438418 Q322985 Q153047 Q111805 Q613397 Q539251 Q711113 Q152030 Q370856 Q1957518 Q554730 Q554730 Q554730 Q554730 Q2299760 Q319759 Q2268352 Q554358 Q279653 Q868829 Q927758 Q927758 Q313581 Q462164 Q462164 Q462164 Q462164 Q1151156 Q462175 Q929248 Q133896 Q1243658 Q152362 Q622305 Q622305 Q622305 Q513406 Q316823 Q309993 Q1957475 Q294072 Q342564 Q362380 Q267857 Q397108 Q380909 Q705500 Q1827008 Q1827000 Q928939 Q745963 Q1127788 Q58285 Q58285 Q58285 Q58298 Q528874 Q126660 Q126671 Q271966 Q1127800 Q368100 Q956953 Q538455 Q921959 Q255022 Q1842040 Q1377596 Q207473 Q2138565 Q2002136 Q2002136 Q439903 Q57692 Q3687615 Q255022
(c(Q502895),P39,Q15304810) (c(Q502895),P39,Q5589746)
action union
action filter_type
action find_reverse
entity Q15304810
relation P39
type Q502895
action filter_type
action find_reverse
entity Q5589746
relation P39
type Q502895
Romania [ANSWERS] were responsible for occupying the position of Prime Minister of Romania and Governor of the National Bank of Romania
[{'concept': 'Q502895'}, 'P39', 'Q15304810'] [{'concept': 'Q502895'}, 'P39', 'Q5589746']
SELECT DISTINCT ?e WHERE { { ?e property:P39 resource:Q15304810 . ?e rdf:type ontology:Q502895 } UNION { ?e property:P39 resource:Q5589746 . ?e rdf:type ontology:Q502895 } }
Radu Vasile Petre S. Aurelian Ion Ghica Ion Ghica Ion Ghica Constantin Coandă Octavian Goga Petru Groza Petre P. Carp Ilie Verdeț Ion C. Brătianu Arthur Văitoianu Barbu Ştirbey Lascăr Catargiu Ion Emanuel Florescu Ion Antonescu Victor Ciorbea Eugen Bejinariu Dimitrie Sturdza Dimitrie Sturdza Dimitrie Sturdza Dimitrie Sturdza Gheorghe Argeşanu Mihail Kogălniceanu Miron Cristea Barbu Catargiu Nicolae Rădescu Constantin Angelescu Gheorghe Mironescu Gheorghe Mironescu Nicolae Iorga Iuliu Maniu Iuliu Maniu Iuliu Maniu Iuliu Maniu Cătălin Predoiu Ion I. C. Brătianu Dacian Cioloş Dimitrie Ghica Take Ionescu Mihai Răzvan Ungureanu Alexandru Vaida-Voevod Alexandru Vaida-Voevod Alexandru Vaida-Voevod Constantin Dăscălescu Petre Roman Chivu Stoica Gavril Dejeu Gheorghe Gheorghiu-Dej Titu Maiorescu Ion Gheorghe Maurer Emil Boc Ștefan Golescu Manea Mănescu Nicolae Golescu Vintilă Brătianu Dimitrie Brătianu Theodor Rosetti Alexandru G. Golescu Constantin Argetoianu Alexandru Averescu Alexandru Averescu Alexandru Averescu Alexandru Marghiloman Alexandru Athanasiu Theodor Stolojan Nicolae Văcăroiu Adrian Năstase Constantin Bosianu Constantin Sănătescu Manolache Costache Epureanu Gheorghe Manu Ion Gigurtu Mugur Isărescu Gheorghe Tătărescu Ion G. Duca Călin Popescu-Tăriceanu Nicolae Crețulescu Gheorghe Grigore Cantacuzino Gheorghe Grigore Cantacuzino Armand Călinescu Victor Ponta Constantin A. Creţulescu Mugur Isărescu
Romania Nicolae Iorga, Arthur Văitoianu and Radu Vasile were responsible for occupying the position of Prime Minister of Romania and Governor of the National Bank of Romania
Nicolae Iorga Arthur Văitoianu Radu Vasile
action union
action filter_type
action find_reverse
entity Prime Minister of Romania
relation position held
type common name
action filter_type
action find_reverse
entity Governor of the National Bank of Romania
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Romania'] [{'concept': 'common name'}, 'position held', 'Governor of the National Bank of Romania']
SELECT DISTINCT ?e WHERE { { ?e property:position_held resource:Prime_Minister_of_Romania . ?e rdf:type ontology:common_name } UNION { ?e property:position_held resource:Governor_of_the_National_Bank_of_Romania . ?e rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15304810
P466
Q811979
USER
What was inhabited by that occupation ?
(c(Q811979),P466,Q15304810)
action filter_type
action find_reverse
entity Q15304810
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q15304810']
SELECT DISTINCT ?g WHERE { ?g property:P466 resource:Q15304810 . ?g rdf:type ontology:Q811979 }
Prime Minister of Romania
action filter_type
action find_reverse
entity Prime Minister of Romania
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Prime Minister of Romania']
SELECT DISTINCT ?g WHERE { ?g property:occupant resource:Prime_Minister_of_Romania . ?g rdf:type ontology:architectural_structure }
[]
architectural structure
Clarification for simple ques.
Q15304810
SYSTEM
Did you mean Prime Minister of Romania ?
Q313581 Q111805 Q357004
(c(Q811979),P466,Q313581) (c(Q811979),P466,Q111805) (c(Q811979),P466,Q357004)
[ANSWER]
[{'concept': 'Q811979'}, 'P466', 'Q313581'] [{'concept': 'Q811979'}, 'P466', 'Q111805'] [{'concept': 'Q811979'}, 'P466', 'Q357004']
SELECT DISTINCT ?g WHERE { ?g property:P466 resource:Q15304810 . ?g rdf:type ontology:Q811979 }
Nicolae Iorga Arthur Văitoianu Radu Vasile
Did you mean Prime Minister of Romania ?
Prime Minister of Romania
[{'concept': 'architectural structure'}, 'occupant', 'Nicolae Iorga'] [{'concept': 'architectural structure'}, 'occupant', 'Arthur Văitoianu'] [{'concept': 'architectural structure'}, 'occupant', 'Radu Vasile']
SELECT DISTINCT ?g WHERE { ?g property:occupant resource:Prime_Minister_of_Romania . ?g rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q811979),P466,Q15304810)
[{'concept': 'Q811979'}, 'P466', 'Q15304810']
[{'concept': 'architectural structure'}, 'occupant', 'Prime Minister of Romania']
[]
Q1677897
SYSTEM
Victoria Palace
Q1677897
(c(Q811979),P466,Q15304810)
action filter_type
action find_reverse
entity Q15304810
relation P466
type Q811979
Occupation [ANSWER] was inhabited by that occupation
[{'concept': 'Q811979'}, 'P466', 'Q15304810']
SELECT DISTINCT ?g WHERE { ?g property:P466 resource:Q15304810 . ?g rdf:type ontology:Q811979 }
Victoria Palace
Occupation Victoria Palace was inhabited by that occupation
Victoria Palace
action filter_type
action find_reverse
entity Prime Minister of Romania
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Prime Minister of Romania']
SELECT DISTINCT ?g WHERE { ?g property:occupant resource:Prime_Minister_of_Romania . ?g rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1677897
P84
Q502895
USER
Who is the designer of that architectural structure ?
(Q1677897,P84,c(Q502895))
action filter_type
action find
entity Q1677897
relation P84
type Q502895
['Q1677897', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1677897 property:P84 ?h . ?h rdf:type ontology:Q502895 }
Victoria Palace
action filter_type
action find
entity Victoria Palace
relation architect
type common name
['Victoria Palace', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Victoria_Palace property:architect ?h . ?h rdf:type ontology:common_name }
[]
common name
Q3780294
SYSTEM
Duiliu Marcu
Q3780294
(Q1677897,P84,c(Q502895))
action filter_type
action find
entity Q1677897
relation P84
type Q502895
The designer of that architectural structure is the [ANSWER]
['Q1677897', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1677897 property:P84 ?h . ?h rdf:type ontology:Q502895 }
Duiliu Marcu
The designer of that architectural structure is the Duiliu Marcu
Duiliu Marcu
action filter_type
action find
entity Victoria Palace
relation architect
type common name
['Victoria Palace', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Victoria_Palace property:architect ?h . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q24036178 Q1677897
P84
Q502895
USER
Or Bund Center?
OR((Q1677897,P84,c(Q502895)), (Q24036178,P84,c(Q502895)))
action filter_type
action union
action find
entity Q1677897
relation P84
action find
entity Q24036178
relation P84
type Q502895
{'OR': [['Q1677897', 'P84', {'concept': 'Q502895'}], ['Q24036178', 'P84', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1677897 property:P84 ?q } UNION { resource:Q24036178 property:P84 ?q } } . ?q rdf:type ontology:Q502895 }
Bund Center Victoria Palace
action filter_type
action union
action find
entity Victoria Palace
relation architect
action find
entity Bund Center
relation architect
type common name
{'OR': [['Victoria Palace', 'architect', {'concept': 'common name'}], ['Bund Center', 'architect', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Victoria_Palace property:architect ?q } UNION { resource:Bund_Center property:architect ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q3780294 Q764692
SYSTEM
Duiliu Marcu, John C. Portman
Q3780294 Q764692
OR((Q1677897,P84,c(Q502895)), (Q24036178,P84,c(Q502895)))
action filter_type
action union
action find
entity Q1677897
relation P84
action find
entity Q24036178
relation P84
type Q502895
[ANSWERS]
{'OR': [['Q1677897', 'P84', {'concept': 'Q502895'}], ['Q24036178', 'P84', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1677897 property:P84 ?q } UNION { resource:Q24036178 property:P84 ?q } } . ?q rdf:type ontology:Q502895 }
Duiliu Marcu John C. Portman
Duiliu Marcu John C. Portman
action filter_type
action union
action find
entity Victoria Palace
relation architect
action find
entity Bund Center
relation architect
type common name
{'OR': [['Victoria Palace', 'architect', {'concept': 'common name'}], ['Bund Center', 'architect', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Victoria_Palace property:architect ?q } UNION { resource:Bund_Center property:architect ?q } } . ?q rdf:type ontology:common_name }
[]