Simple Question (Direct)
Simple Question
Q2095805
P21
Q290
USER
What is the sex of Andrew Overtoom ?
(Q2095805,P21,c(Q290))
action filter_type
action find
entity Q2095805
relation P21
type Q290
['Q2095805', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q2095805 property:P21 ?e . ?e rdf:type ontology:Q290 }
Andrew Overtoom
action filter_type
action find
entity Andrew Overtoom
relation gender
type sex
['Andrew Overtoom', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Andrew_Overtoom property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2095805,P21,c(Q290))
action filter_type
action find
entity Q2095805
relation P21
type Q290
The sex of Andrew Overtoom is a [ANSWER]
['Q2095805', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q2095805 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
The sex of Andrew Overtoom is a male
male
action filter_type
action find
entity Andrew Overtoom
relation gender
type sex
['Andrew Overtoom', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Andrew_Overtoom property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2095805
P69
Q163740
USER
Which nonprofit organization is Andrew Overtoom an alumni of ?
(Q2095805,P69,c(Q163740))
action filter_type
action find
entity Q2095805
relation P69
type Q163740
['Q2095805', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q2095805 property:P69 ?y . ?y rdf:type ontology:Q163740 }
Andrew Overtoom
action filter_type
action find
entity Andrew Overtoom
relation educated at
type nonprofit organization
['Andrew Overtoom', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Andrew_Overtoom property:educated_at ?y . ?y rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q130965
SYSTEM
Fordham University
Q130965
(Q2095805,P69,c(Q163740))
action filter_type
action find
entity Q2095805
relation P69
type Q163740
The [ANSWER] is Andrew Overtoom an alumni of
['Q2095805', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q2095805 property:P69 ?y . ?y rdf:type ontology:Q163740 }
Fordham University
The Fordham University is Andrew Overtoom an alumni of
Fordham University
action filter_type
action find
entity Andrew Overtoom
relation educated at
type nonprofit organization
['Andrew Overtoom', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Andrew_Overtoom property:educated_at ?y . ?y rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2095805
P57
Q838948
USER
Which works of art are Andrew Overtoom a director of ?
(c(Q838948),P57,Q2095805)
action filter_type
action find_reverse
entity Q2095805
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q2095805']
SELECT DISTINCT ?l WHERE { ?l property:P57 resource:Q2095805 . ?l rdf:type ontology:Q838948 }
Andrew Overtoom
action filter_type
action find_reverse
entity Andrew Overtoom
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Andrew Overtoom']
SELECT DISTINCT ?l WHERE { ?l property:director resource:Andrew_Overtoom . ?l rdf:type ontology:work_of_art }
[]
work of art
Q4730014 Q12126401
SYSTEM
All in the Bunker, My Life with Morrissey
Q4730014 Q12126401
(c(Q838948),P57,Q2095805)
action filter_type
action find_reverse
entity Q2095805
relation P57
type Q838948
[ANSWERS] are Andrew Overtoom a director of
[{'concept': 'Q838948'}, 'P57', 'Q2095805']
SELECT DISTINCT ?l WHERE { ?l property:P57 resource:Q2095805 . ?l rdf:type ontology:Q838948 }
All in the Bunker My Life with Morrissey
All in the Bunker and My Life with Morrissey are Andrew Overtoom a director of
All in the Bunker My Life with Morrissey
action filter_type
action find_reverse
entity Andrew Overtoom
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Andrew Overtoom']
SELECT DISTINCT ?l WHERE { ?l property:director resource:Andrew_Overtoom . ?l rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4730014
P921
Q7275
USER
What topic was discussed in that work of art ?
(Q4730014,P921,c(Q7275))
action filter_type
action find
entity Q4730014
relation P921
type Q7275
['Q4730014', 'P921', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q4730014 property:P921 ?v . ?v rdf:type ontology:Q7275 }
All in the Bunker
action filter_type
action find
entity All in the Bunker
relation main subject
type state
['All in the Bunker', 'main subject', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:All_in_the_Bunker property:main_subject ?v . ?v rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q12126401
SYSTEM
Did you mean My Life with Morrissey ?
Q4730014 Q12126401
(Q4730014,P921,c(Q7275)) (Q12126401,P921,c(Q7275))
[ANSWER]
['Q4730014', 'P921', {'concept': 'Q7275'}] ['Q12126401', 'P921', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q4730014 property:P921 ?v . ?v rdf:type ontology:Q7275 }
All in the Bunker My Life with Morrissey
Did you mean My Life with Morrissey ?
My Life with Morrissey
['All in the Bunker', 'main subject', {'concept': 'state'}] ['My Life with Morrissey', 'main subject', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:All_in_the_Bunker property:main_subject ?v . ?v rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
No, I meant All in the Bunker. Could you tell me the answer for that?
(Q4730014,P921,c(Q7275))
Q4730014
['Q4730014', 'P921', {'concept': 'Q7275'}]
['All in the Bunker', 'main subject', {'concept': 'state'}]
[]
Q7318
SYSTEM
Nazi Germany
Q7318
(Q4730014,P921,c(Q7275))
action filter_type
action find
entity Q4730014
relation P921
type Q7275
[ANSWER] was discussed in that work of art
['Q4730014', 'P921', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q4730014 property:P921 ?v . ?v rdf:type ontology:Q7275 }
Nazi Germany
Nazi Germany was discussed in that work of art
Nazi Germany
action filter_type
action find
entity All in the Bunker
relation main subject
type state
['All in the Bunker', 'main subject', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:All_in_the_Bunker property:main_subject ?v . ?v rdf:type ontology:state }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q1752346 Q7275
USER
Which assemblies represent min number of states ?
(c(Q7275),P194,Q701632)
action argmin
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
[{'concept': 'Q7275'}, 'P194', 'Q701632']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?l ) WHERE { ?x rdf:type ontology:Q1752346 . ?g rdf:type ontology:Q7275 . ?g property:P194 ?x } GROUP BY ?x } } . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:P194 ?t . ?t rdf:type ontology:Q1752346 . ?w rdf:type ontology:Q7275 } GROUP BY ?t } . FILTER ( ?z = ?e ) }
action argmin
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
[{'concept': 'state'}, 'legislative body', 'municipal council']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?l ) WHERE { ?x rdf:type ontology:assembly . ?g rdf:type ontology:state . ?g property:legislative_body ?x } GROUP BY ?x } } . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:legislative_body ?t . ?t rdf:type ontology:assembly . ?w rdf:type ontology:state } GROUP BY ?t } . FILTER ( ?z = ?e ) }
[]
assembly state
Q154797 Q209151 Q133396
SYSTEM
Bundestag of Germany, Folketing, Knesset
Q16980374 Q3154693 Q1253647 Q109016 Q896075 Q4220207 Q2511660 Q4496302 Q3365524 Q1257966 Q18510957 Q2584535 Q1258164 Q1368318 Q128852 Q1572486 Q5153951 Q206171 Q4808730 Q636377 Q458185 Q510511 Q509668 Q5035091 Q1599346 Q1398920 Q3251036 Q2347172 Q6411382 Q1817866 Q319994 Q1450753 Q2089528 Q7138943 Q21516057 Q884824 Q1577158 Q4816040 Q1585014 Q154797 Q2102558 Q19758733 Q1969591 Q1368588 Q4863502 Q4999218 Q24824 Q5265877 Q1112381 Q9633175 Q7447085 Q7186810 Q1798607 Q7205806 Q640859 Q1091494 Q3333555 Q4852810 Q7603047 Q2185780 Q4184925 Q1117578 Q2016884 Q1139204 Q2358985 Q2963301 Q5347180 Q7442079 Q2041767 Q4345419 Q1968458 Q1415847 Q740564 Q1517231 Q946944 Q3365530 Q1972029 Q12114504 Q1870447 Q378605 Q6867972 Q24861263 Q1292 Q571436 Q521764 Q695252 Q209151 Q1520966 Q1284236 Q4938444 Q884829 Q1357543 Q1288169 Q882738 Q2994129 Q1077701 Q26856919 Q645195 Q1280751 Q1135960 Q7063612 Q817979 Q12357499 Q2994125 Q684719 Q1965042 Q4849285 Q477089 Q1968468 Q260372 Q5211293 Q1501988 Q317147 Q382118 Q5132092 Q449304 Q314690 Q5123141 Q646190 Q4947808 Q475689 Q4985519 Q272930 Q11081523 Q15150880 Q822919 Q455697 Q5916428 Q5339025 Q133396 Q122635 Q3246027 Q2444341 Q160208 Q7089412 Q1515950 Q701632
(c(Q7275),P194,Q701632)
action argmin
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
[ANSWERS] represent min number of states
[{'concept': 'Q7275'}, 'P194', 'Q701632']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?l ) WHERE { ?x rdf:type ontology:Q1752346 . ?g rdf:type ontology:Q7275 . ?g property:P194 ?x } GROUP BY ?x } } . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:P194 ?t . ?t rdf:type ontology:Q1752346 . ?w rdf:type ontology:Q7275 } GROUP BY ?t } . FILTER ( ?z = ?e ) }
Honolulu City Council city council Parliament of Grenada Parliament of Norway Landtag of Thuringia Kiev City Council Congress of Paraguay Kharkiv City Municipality Parliament of Tasmania Parliament of Greenland Supreme Soviet of the Donetsk People's Republic Parliament of Egypt Assembly of the Republic of Macedonia National Assembly Gibraltar Parliament Parliament of The Bahamas Communal Council of Monaco Scottish Parliament Legislative Assembly of São Paulo Hamburg Parliament Landtag of South Tyrol Landtag of Hesse Løgting Cape Town City Council National Assembly General council Legislature of New Brunswick Parliament of the Czech Republic King County Council Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Riga City Council Parliament of Trinidad and Tobago Zurich City Council Landtag of Saxony National Assembly Atlanta City Council National Assembly of Venezuela Bundestag of Germany Parliament of Poland departmental council National Assembly National Assembly of Panama Barrie City Council Burlington City Council General Council of Andorra Detroit City Council House of Representatives Legislative Assembly of Bahia Sejm of Congress Poland Phoenix City Council National Assembly of Belarus Plymouth General Court Abgeordnetenhaus of Berlin Parliament of Åland General Assembly of the Ottoman Empire Baltimore City Council State Assembly of the Mari El Republic Parliament of South Africa Legislative Assembly of Primorsky Krai Italian Parliament Oireachtas of the Irish Free State National Council of Slovakia Congress of People's Deputies of Russia Chicago City Council Eeyou Istchee James Bay Territory Seattle City Council Moscow City Duma Parliament of Lesotho Plurinational Legislative Assembly National Congress of Honduras Assembly of the Republic Parliament of Singapore States of Jersey Parliament of the Province of Canada Parliament of Nauru Kremenchuk City Municipality Los Angeles City Council Islamic Consultative Assembly Minneapolis City Council Kyoto City Assembly Flemish Parliament Landtag of North Rhine-Westphalia Landtag of Brandenburg Parliament of India Folketing New Zealand Parliament Congress of Colombia Boise City Council Landtag of Saxony-Anhalt Congress of the Republic of Peru Slovenian Parliament Landtag of Mecklenburg-Vorpommern Quebec City Council Regional Council in Italy Roccarainola city council New York City Council Parliament of Antigua and Barbuda Parliament of Albania Nottingham City Council Grand and General Council Irkutsk Legislative Assembly Ottawa City Council Federal Assembly National Assembly Bakersfield City Council Hellenic Parliament National Congress of Chile Landtag of Saarland Dallas City Council General Assembly of Uruguay Bürgerschaft of Bremen Parliament of Australia Cleveland City Council Landtag of Schleswig-Holstein Landtag of Rhineland-Palatinate City Council of Tehran Argentine National Congress Boston City Council Parliament of Canada Buenos Aires City Legislature Parliament of Sweden New Taipei City Council Legislature of Quebec Saeima Landtag of Baden-Württemberg Houston City Council Edmonton City Council Knesset Parliament of Jamaica General Assembly of Nova Scotia Toronto City Council Reichstag Omaha City Council Assembly of the Republic municipal council
Bundestag of Germany, Folketing and Knesset represent min number of states
Bundestag of Germany Folketing Knesset
action argmin
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
[{'concept': 'state'}, 'legislative body', 'municipal council']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?l ) WHERE { ?x rdf:type ontology:assembly . ?g rdf:type ontology:state . ?g property:legislative_body ?x } GROUP BY ?x } } . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:legislative_body ?t . ?t rdf:type ontology:assembly . ?w rdf:type ontology:state } GROUP BY ?t } . FILTER ( ?z = ?e ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q133396
P488
Q502895
USER
Who served as the chairperson of that assembly ?
(Q133396,P488,c(Q502895))
action filter_type
action find
entity Q133396
relation P488
type Q502895
['Q133396', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q133396 property:P488 ?g . ?g rdf:type ontology:Q502895 }
Knesset
action filter_type
action find
entity Knesset
relation chairperson
type common name
['Knesset', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Knesset property:chairperson ?g . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q133396
SYSTEM
Did you mean Knesset ?
Q154797 Q209151 Q133396
(Q154797,P488,c(Q502895)) (Q209151,P488,c(Q502895)) (Q133396,P488,c(Q502895))
[ANSWER]
['Q154797', 'P488', {'concept': 'Q502895'}] ['Q209151', 'P488', {'concept': 'Q502895'}] ['Q133396', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q133396 property:P488 ?g . ?g rdf:type ontology:Q502895 }
Bundestag of Germany Folketing Knesset
Did you mean Knesset ?
Knesset
['Bundestag of Germany', 'chairperson', {'concept': 'common name'}] ['Folketing', 'chairperson', {'concept': 'common name'}] ['Knesset', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Knesset property:chairperson ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q133396,P488,c(Q502895))
['Q133396', 'P488', {'concept': 'Q502895'}]
['Knesset', 'chairperson', {'concept': 'common name'}]
[]
Q1711779
SYSTEM
Yuli-Yoel Edelstein
Q1711779
(Q133396,P488,c(Q502895))
action filter_type
action find
entity Q133396
relation P488
type Q502895
[ANSWER] served as the chairperson of that assembly
['Q133396', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q133396 property:P488 ?g . ?g rdf:type ontology:Q502895 }
Yuli-Yoel Edelstein
Yuli-Yoel Edelstein served as the chairperson of that assembly
Yuli-Yoel Edelstein
action filter_type
action find
entity Knesset
relation chairperson
type common name
['Knesset', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Knesset property:chairperson ?g . ?g rdf:type ontology:common_name }
[]