Simple Question (Direct)
Simple Question
Q3090580
P39
Q12737077
USER
Which occupations were the positions for which Ecaterina Andronescu were appointed ?
(Q3090580,P39,c(Q12737077))
action filter_type
action find
entity Q3090580
relation P39
type Q12737077
['Q3090580', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q3090580 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Ecaterina Andronescu
action filter_type
action find
entity Ecaterina Andronescu
relation position held
type occupation
['Ecaterina Andronescu', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Ecaterina_Andronescu property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q21389881 Q17556530 Q19938957
SYSTEM
Minister of Education, Member of the Chamber of Deputies of Romania, member of the Senate of Romania
Q17556530 Q19938957 Q21389881 Q212071
(Q3090580,P39,c(Q12737077))
action filter_type
action find
entity Q3090580
relation P39
type Q12737077
[ANSWERS] were the positions for which Ecaterina Andronescu were appointed
['Q3090580', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q3090580 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Member of the Chamber of Deputies of Romania member of the Senate of Romania Minister of Education rector
Minister of Education, Member of the Chamber of Deputies of Romania and member of the Senate of Romania were the positions for which Ecaterina Andronescu were appointed
Minister of Education Member of the Chamber of Deputies of Romania member of the Senate of Romania
action filter_type
action find
entity Ecaterina Andronescu
relation position held
type occupation
['Ecaterina Andronescu', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Ecaterina_Andronescu property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19938957
P1001
Q15617994
USER
Which administrative territory applies to jurisdiction of that occupation ?
(Q19938957,P1001,c(Q15617994))
action filter_type
action find
entity Q19938957
relation P1001
type Q15617994
['Q19938957', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q19938957 property:P1001 ?w }
member of the Senate of Romania
action filter_type
action find
entity member of the Senate of Romania
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of Romania', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Senate_of_Romania property:applies_to_jurisdiction ?w }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q19938957
SYSTEM
Did you mean member of the Senate of Romania ?
Q21389881 Q17556530 Q19938957
(Q21389881,P1001,c(Q15617994)) (Q17556530,P1001,c(Q15617994)) (Q19938957,P1001,c(Q15617994))
[ANSWER]
['Q21389881', 'P1001', {'concept': 'Q15617994'}] ['Q17556530', 'P1001', {'concept': 'Q15617994'}] ['Q19938957', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q19938957 property:P1001 ?w }
Minister of Education Member of the Chamber of Deputies of Romania member of the Senate of Romania
Did you mean member of the Senate of Romania ?
member of the Senate of Romania
['Minister of Education', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Member of the Chamber of Deputies of Romania', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['member of the Senate of Romania', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Senate_of_Romania property:applies_to_jurisdiction ?w }
[]
Simple Question (Coreferenced)
USER
Yes
(Q19938957,P1001,c(Q15617994))
['Q19938957', 'P1001', {'concept': 'Q15617994'}]
['member of the Senate of Romania', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
[]
Q218
SYSTEM
Romania
Q218
(Q19938957,P1001,c(Q15617994))
action filter_type
action find
entity Q19938957
relation P1001
type Q15617994
To [ANSWER] applies to jurisdiction of that occupation
['Q19938957', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q19938957 property:P1001 ?w }
Romania
To Romania applies to jurisdiction of that occupation
Romania
action filter_type
action find
entity member of the Senate of Romania
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of Romania', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Senate_of_Romania property:applies_to_jurisdiction ?w }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q736
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with approximately the same number of administrative territories as Ecuador ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q736
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q736 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?z = ?a ) . { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?z ) WHERE { ?h property:P530 ?l . ?h rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?h } }
Ecuador
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ecuador
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Ecuador property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z = ?a ) . { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?z ) WHERE { ?h property:diplomatic_relation ?l . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q736
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q736 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?z = ?a ) . { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?z ) WHERE { ?h property:P530 ?l . ?h rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?h } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ecuador
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Ecuador property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z = ?a ) . { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?z ) WHERE { ?h property:diplomatic_relation ?l . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q19938957
P39 P21
Q502895
USER
Which people held the position of member of the Senate of Romania and have the gender as male ?
AND((c(Q502895),P39,Q19938957), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19938957
relation P39
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q19938957'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P39 resource:Q19938957 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
male member of the Senate of Romania
action filter_type
action intersection
action find_reverse
entity member of the Senate of Romania
relation position held
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'member of the Senate of Romania'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:position_held resource:member_of_the_Senate_of_Romania . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
common name
Q535151 Q1127788 Q12728415 Q1671886 Q357004 Q5186177 Q1158440 Q189575 Q12742452 Q372760
SYSTEM
Some of them are Nicolae Manolescu, Constantin Argetoianu, Florin Constantinescu, Codruţ Şereş, Radu Vasile, Cristian David, Damian Drăghici, Ion Iliescu, Traian Brăileanu, Adrian Cioroianu
Q745963 Q869137 Q347189 Q322442 Q2778326 Q438418 Q532674 Q747255 Q5163709 Q239423 Q4243322 Q20979513 Q12725761 Q240730 Q4682727 Q349018 Q3417157 Q85921 Q7076762 Q897108 Q7933407 Q2778330 Q4199193 Q1127967 Q18539061 Q7312246 Q12734372 Q1766544 Q5186177 Q18542013 Q23827005 Q16977863 Q590420 Q868829 Q7189180 Q2121025 Q1827000 Q1133702 Q5715813 Q2833939 Q12729107 Q1119350 Q7624239 Q347209 Q528874 Q12720821 Q316823 Q342564 Q372760 Q15916774 Q5542064 Q397108 Q313581 Q4135488 Q6873881 Q535151 Q646453 Q435200 Q126671 Q18548196 Q12730581 Q705500 Q23827712 Q1223151 Q2092785 Q1997436 Q7101633 Q440970 Q728720 Q12720286 Q2002136 Q13580347 Q1127788 Q18541919 Q21747039 Q515187 Q4776276 Q12723271 Q6845157 Q12731039 Q12743178 Q1972606 Q2138565 Q6765985 Q16030079 Q5202931 Q12736472 Q58167 Q58285 Q539251 Q7281731 Q7281730 Q12742454 Q554730 Q189575 Q5556326 Q554734 Q12742452 Q12720714 Q6063226 Q111805 Q897432 Q15734691 Q7386864 Q152362 Q1097646 Q956953 Q750878 Q3541437 Q12739566 Q1185531 Q58298 Q7281707 Q4818457 Q937060 Q12287158 Q13580439 Q551425 Q153047 Q4682513 Q1671886 Q15996180 Q1291842 Q19664318 Q539072 Q731851 Q133896 Q3339930 Q665002 Q2033409 Q18538141 Q348999 Q3410707 Q12729236 Q6069988 Q12726420 Q5213739 Q5163720 Q936760 Q711113 Q12728415 Q928939 Q357004 Q3093904 Q347477 Q1158440 Q18540741 Q2662067 Q12729525 Q18438178 Q930013 Q5278752 Q3518228 Q12736624 Q634875 Q1177587 Q5369008 Q6061867 Q16019804 Q538455
AND((c(Q502895),P39,Q19938957), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19938957
relation P39
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] held the position of member of the Senate of Romania and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q19938957'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P39 resource:Q19938957 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
Alexandru G. Golescu Corneliu Coposu Cristian Dumitrescu Augustin Pacha Jacob Itzhak Niemirower Petre P. Carp Varujan Vosganian Attila Cseke Constantin C. Arion Iuliu Hossu Nicolae Xenopol Mihail Mărgăritescu Corneliu Șumuleanu Cristian Diaconescu Mihai Stănișoară Eugen Mihăescu Radu Câmpeanu Salo Weisselberger Octav Cozmâncă Béla Markó Viorel Badea Nicolae Cajal Ilie Ilașcu Constantin Ticu Dumitrescu Constantin Climescu Remus Opreanu Liviu Pop Nicolae Ivan Cristian David Valeriu Moldovan Constantin Gheorghe Nicolae Bălan V. A. Urechia Constantin Angelescu Gheorghe Buzatu Păun Otiman Dimitrie Brătianu Corneliu Vadim Tudor Henric Streitman Alexandru Paleologu Gheorghe Ciuhandu Petre S. Aurelian Stroe Belloescu Vasile Dîncu Alexandru Athanasiu Antonie Solomon Petre Roman Titu Maiorescu Adrian Cioroianu Marcian Bleahu George Maior Ștefan Golescu Nicolae Iorga Ghenadie Petrescu Miron Mitrea Nicolae Manolescu Dan Voiculescu Mircea Geoană Nicolae Văcăroiu Ion Strat Ioan A. Bassarabescu Nicolae Golescu Ion Moraru Octavian Codru Tăslăuanu C. A. Rosetti Pan Halippa Orest Onofrei Crin Antonescu Vasile Blaga Alexandru C. Constantinescu Gheorghe Grigore Cantacuzino Ilie Sârbu Constantin Argetoianu Nicolae Mischie Marian Pavel Constantin Coandă Antonie Iorgovan Caius Iacob Mihail Pherekyde Iosif Jumanca Vasile Duță Zamfir Arbore Nicolae Crețulescu Marius Nicoară Nicolae Matei Cătălin Voicu Nicolae Culianu Titus Corlăţean Alexandru Averescu Lascăr Catargiu Radu Timofte Radu Stroe Traian Bratu Dimitrie Sturdza Ion Iliescu Gheorghe Flutur Dan Șova Traian Brăileanu Angel Tîlvăr Ion Nistor Arthur Văitoianu Géza Szőcs Nicolae Robu Răzvan Theodorescu Mihai Răzvan Ungureanu Ioan Alexandru Manolache Costache Epureanu György Frunda Nicolae Constantin Batzaria Romulus Cândea Demetriu Radu Alexandru Marghiloman Radu Berceanu Attila Verestóy Ion Agârbiceanu Mihail Hărdău Nicolae Penescu Csaba Sógor Ion C. Brătianu Sabin Cutaș Codruţ Şereş Mihail Vântu Mircea Ionescu-Quintus Filaret Scriban Anghel Iordănescu Péter Eckstein-Kovács Dimitrie Ghica Nicolae Ionescu Béla Barabás Gherman Pântea Gheorghe Bogdan-Duică Alexandru Ioan Morțun Puiu Hașotti Gheorghe Teleman Irinel Popescu Darius Bogdan Vâlcov Dan Iosif Constantin Dan Vasiliu George Pruteanu Ion Emanuel Florescu Florin Constantinescu Theodor Rosetti Radu Vasile Gabriel Oprea Károly Ferenc Szabó Damian Drăghici Ion Hîrșu Adrian Păunescu Grigore Cobălcescu Eugen Teodorovici Michael of Romania Dinu Brătianu Teodor Meleșcanu Nicolae Checerul Cuş Sergiu Nicolaescu Mircea Diaconu Emanoil Catelli Ioan Talpeș Ștefan Stoica Gheorghe Manu
Nicolae Manolescu, Constantin Argetoianu, Florin Constantinescu, Codruţ Şereş, Radu Vasile, Cristian David, Damian Drăghici, Ion Iliescu, Traian Brăileanu and Adrian Cioroianu held the position of member of the Senate of Romania and have the gender as male
Nicolae Manolescu Constantin Argetoianu Florin Constantinescu Codruţ Şereş Radu Vasile Cristian David Damian Drăghici Ion Iliescu Traian Brăileanu Adrian Cioroianu
action filter_type
action intersection
action find_reverse
entity member of the Senate of Romania
relation position held
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'member of the Senate of Romania'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:position_held resource:member_of_the_Senate_of_Romania . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q535151 Q1127788 Q12728415 Q1671886 Q357004 Q5186177 Q1158440 Q189575 Q12742452 Q372760
P39
Q12737077
USER
Which occupations were the positions occupied by Nicolae Manolescu, Constantin Argetoianu, Florin Constantinescu, Codruţ Şereş, Radu Vasile, Cristian David, Damian Drăghici, Ion Iliescu, Traian Brăileanu and Adrian Cioroianu ?
(Q535151,P39,c(Q12737077)) (Q1127788,P39,c(Q12737077)) (Q12728415,P39,c(Q12737077)) (Q1671886,P39,c(Q12737077)) (Q357004,P39,c(Q12737077)) (Q5186177,P39,c(Q12737077)) (Q1158440,P39,c(Q12737077)) (Q189575,P39,c(Q12737077)) (Q12742452,P39,c(Q12737077)) (Q372760,P39,c(Q12737077))
action union
action filter_type
action find
entity Q535151
relation P39
type Q12737077
action filter_type
action find
entity Q1127788
relation P39
type Q12737077
action filter_type
action find
entity Q12728415
relation P39
type Q12737077
action filter_type
action find
entity Q1671886
relation P39
type Q12737077
action filter_type
action find
entity Q357004
relation P39
type Q12737077
action filter_type
action find
entity Q5186177
relation P39
type Q12737077
action filter_type
action find
entity Q1158440
relation P39
type Q12737077
action filter_type
action find
entity Q189575
relation P39
type Q12737077
action filter_type
action find
entity Q12742452
relation P39
type Q12737077
action filter_type
action find
entity Q372760
relation P39
type Q12737077
['Q535151', 'P39', {'concept': 'Q12737077'}] ['Q1127788', 'P39', {'concept': 'Q12737077'}] ['Q12728415', 'P39', {'concept': 'Q12737077'}] ['Q1671886', 'P39', {'concept': 'Q12737077'}] ['Q357004', 'P39', {'concept': 'Q12737077'}] ['Q5186177', 'P39', {'concept': 'Q12737077'}] ['Q1158440', 'P39', {'concept': 'Q12737077'}] ['Q189575', 'P39', {'concept': 'Q12737077'}] ['Q12742452', 'P39', {'concept': 'Q12737077'}] ['Q372760', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { resource:Q535151 property:P39 ?f . ?f rdf:type ontology:Q12737077 } UNION { resource:Q1127788 property:P39 ?f . ?f rdf:type ontology:Q12737077 } }
Nicolae Manolescu Constantin Argetoianu Florin Constantinescu Codruţ Şereş Radu Vasile Cristian David Damian Drăghici Ion Iliescu Traian Brăileanu Adrian Cioroianu
action union
action filter_type
action find
entity Nicolae Manolescu
relation position held
type occupation
action filter_type
action find
entity Constantin Argetoianu
relation position held
type occupation
action filter_type
action find
entity Florin Constantinescu
relation position held
type occupation
action filter_type
action find
entity Codruţ Şereş
relation position held
type occupation
action filter_type
action find
entity Radu Vasile
relation position held
type occupation
action filter_type
action find
entity Cristian David
relation position held
type occupation
action filter_type
action find
entity Damian Drăghici
relation position held
type occupation
action filter_type
action find
entity Ion Iliescu
relation position held
type occupation
action filter_type
action find
entity Traian Brăileanu
relation position held
type occupation
action filter_type
action find
entity Adrian Cioroianu
relation position held
type occupation
['Nicolae Manolescu', 'position held', {'concept': 'occupation'}] ['Constantin Argetoianu', 'position held', {'concept': 'occupation'}] ['Florin Constantinescu', 'position held', {'concept': 'occupation'}] ['Codruţ Şereş', 'position held', {'concept': 'occupation'}] ['Radu Vasile', 'position held', {'concept': 'occupation'}] ['Cristian David', 'position held', {'concept': 'occupation'}] ['Damian Drăghici', 'position held', {'concept': 'occupation'}] ['Ion Iliescu', 'position held', {'concept': 'occupation'}] ['Traian Brăileanu', 'position held', {'concept': 'occupation'}] ['Adrian Cioroianu', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { resource:Nicolae_Manolescu property:position_held ?f . ?f rdf:type ontology:occupation } UNION { resource:Constantin_Argetoianu property:position_held ?f . ?f rdf:type ontology:occupation } }
[]
occupation
Q15304810 Q15304810 Q839139
SYSTEM
President of Romania for 3rd, Prime Minister of Romania for 1st, 2nd
Q19938957 Q19938957 Q15304810 Q19938957 Q19938957 Q21504183 Q19938957 Q15304810 Q19938957 Q19938957 Q27169 Q839139 Q19938957 Q19938957 Q19938957 Q27169 Q21503673
(Q535151,P39,c(Q12737077)) (Q1127788,P39,c(Q12737077)) (Q12728415,P39,c(Q12737077)) (Q1671886,P39,c(Q12737077)) (Q357004,P39,c(Q12737077)) (Q5186177,P39,c(Q12737077)) (Q1158440,P39,c(Q12737077)) (Q189575,P39,c(Q12737077)) (Q12742452,P39,c(Q12737077)) (Q372760,P39,c(Q12737077))
action union
action filter_type
action find
entity Q535151
relation P39
type Q12737077
action filter_type
action find
entity Q1127788
relation P39
type Q12737077
action filter_type
action find
entity Q12728415
relation P39
type Q12737077
action filter_type
action find
entity Q1671886
relation P39
type Q12737077
action filter_type
action find
entity Q357004
relation P39
type Q12737077
action filter_type
action find
entity Q5186177
relation P39
type Q12737077
action filter_type
action find
entity Q1158440
relation P39
type Q12737077
action filter_type
action find
entity Q189575
relation P39
type Q12737077
action filter_type
action find
entity Q12742452
relation P39
type Q12737077
action filter_type
action find
entity Q372760
relation P39
type Q12737077
[ANSWERS]
['Q535151', 'P39', {'concept': 'Q12737077'}] ['Q1127788', 'P39', {'concept': 'Q12737077'}] ['Q12728415', 'P39', {'concept': 'Q12737077'}] ['Q1671886', 'P39', {'concept': 'Q12737077'}] ['Q357004', 'P39', {'concept': 'Q12737077'}] ['Q5186177', 'P39', {'concept': 'Q12737077'}] ['Q1158440', 'P39', {'concept': 'Q12737077'}] ['Q189575', 'P39', {'concept': 'Q12737077'}] ['Q12742452', 'P39', {'concept': 'Q12737077'}] ['Q372760', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { resource:Q535151 property:P39 ?f . ?f rdf:type ontology:Q12737077 } UNION { resource:Q1127788 property:P39 ?f . ?f rdf:type ontology:Q12737077 } }
member of the Senate of Romania member of the Senate of Romania Prime Minister of Romania member of the Senate of Romania member of the Senate of Romania Minister of the Economy member of the Senate of Romania Prime Minister of Romania member of the Senate of Romania member of the Senate of Romania member of the European Parliament President of Romania member of the Senate of Romania member of the Senate of Romania member of the Senate of Romania member of the European Parliament Minister of Foreign Affairs of Romania
Prime Minister of Romania, Prime Minister of Romania and President of Romania were the positions occupied by Nicolae Manolescu, Constantin Argetoianu, Florin Constantinescu, Codruţ Şereş, Radu Vasile, Cristian David, Damian Drăghici, Ion Iliescu, Traian Brăileanu and Adrian Cioroianu
Prime Minister of Romania Prime Minister of Romania President of Romania
action union
action filter_type
action find
entity Nicolae Manolescu
relation position held
type occupation
action filter_type
action find
entity Constantin Argetoianu
relation position held
type occupation
action filter_type
action find
entity Florin Constantinescu
relation position held
type occupation
action filter_type
action find
entity Codruţ Şereş
relation position held
type occupation
action filter_type
action find
entity Radu Vasile
relation position held
type occupation
action filter_type
action find
entity Cristian David
relation position held
type occupation
action filter_type
action find
entity Damian Drăghici
relation position held
type occupation
action filter_type
action find
entity Ion Iliescu
relation position held
type occupation
action filter_type
action find
entity Traian Brăileanu
relation position held
type occupation
action filter_type
action find
entity Adrian Cioroianu
relation position held
type occupation
['Nicolae Manolescu', 'position held', {'concept': 'occupation'}] ['Constantin Argetoianu', 'position held', {'concept': 'occupation'}] ['Florin Constantinescu', 'position held', {'concept': 'occupation'}] ['Codruţ Şereş', 'position held', {'concept': 'occupation'}] ['Radu Vasile', 'position held', {'concept': 'occupation'}] ['Cristian David', 'position held', {'concept': 'occupation'}] ['Damian Drăghici', 'position held', {'concept': 'occupation'}] ['Ion Iliescu', 'position held', {'concept': 'occupation'}] ['Traian Brăileanu', 'position held', {'concept': 'occupation'}] ['Adrian Cioroianu', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { resource:Nicolae_Manolescu property:position_held ?f . ?f rdf:type ontology:occupation } UNION { resource:Constantin_Argetoianu property:position_held ?f . ?f rdf:type ontology:occupation } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q839139
P748
Q1656682
USER
Who is responsible for the appointment of that occupation ?
(Q839139,P748,c(Q1656682))
action filter_type
action find
entity Q839139
relation P748
type Q1656682
['Q839139', 'P748', {'concept': 'Q1656682'}]
SELECT DISTINCT ?c WHERE { resource:Q839139 property:P748 ?c . ?c rdf:type ontology:Q1656682 }
President of Romania
action filter_type
action find
entity President of Romania
relation appointed by
type event
['President of Romania', 'appointed by', {'concept': 'event'}]
SELECT DISTINCT ?c WHERE { resource:President_of_Romania property:appointed_by ?c . ?c rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q839139
SYSTEM
Did you mean President of Romania ?
Q15304810 Q15304810 Q839139
(Q15304810,P748,c(Q1656682)) (Q15304810,P748,c(Q1656682)) (Q839139,P748,c(Q1656682))
[ANSWER]
['Q15304810', 'P748', {'concept': 'Q1656682'}] ['Q15304810', 'P748', {'concept': 'Q1656682'}] ['Q839139', 'P748', {'concept': 'Q1656682'}]
SELECT DISTINCT ?c WHERE { resource:Q839139 property:P748 ?c . ?c rdf:type ontology:Q1656682 }
Prime Minister of Romania Prime Minister of Romania President of Romania
Did you mean President of Romania ?
President of Romania
['Prime Minister of Romania', 'appointed by', {'concept': 'event'}] ['Prime Minister of Romania', 'appointed by', {'concept': 'event'}] ['President of Romania', 'appointed by', {'concept': 'event'}]
SELECT DISTINCT ?c WHERE { resource:President_of_Romania property:appointed_by ?c . ?c rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
Yes
(Q839139,P748,c(Q1656682))
['Q839139', 'P748', {'concept': 'Q1656682'}]
['President of Romania', 'appointed by', {'concept': 'event'}]
[]
Q40231
SYSTEM
election
Q40231
(Q839139,P748,c(Q1656682))
action filter_type
action find
entity Q839139
relation P748
type Q1656682
The [ANSWER] is responsible for the appointment of that occupation
['Q839139', 'P748', {'concept': 'Q1656682'}]
SELECT DISTINCT ?c WHERE { resource:Q839139 property:P748 ?c . ?c rdf:type ontology:Q1656682 }
election
The election is responsible for the appointment of that occupation
election
action filter_type
action find
entity President of Romania
relation appointed by
type event
['President of Romania', 'appointed by', {'concept': 'event'}]
SELECT DISTINCT ?c WHERE { resource:President_of_Romania property:appointed_by ?c . ?c rdf:type ontology:event }
[]