Simple Question (Direct)
Simple Question
Q3308009
P463
Q2088357
USER
Which organization was Michael Bacon a member of ?
(Q3308009,P463,c(Q2088357))
action filter_type
action find
entity Q3308009
relation P463
type Q2088357
['Q3308009', 'P463', {'concept': 'Q2088357'}]
SELECT DISTINCT ?y WHERE { resource:Q3308009 property:P463 ?y . ?y rdf:type ontology:Q2088357 }
Michael Bacon
action filter_type
action find
entity Michael Bacon
relation member of
type musical ensemble
['Michael Bacon', 'member of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?y WHERE { resource:Michael_Bacon property:member_of ?y . ?y rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q3519857
SYSTEM
The Bacon Brothers
Q3519857
(Q3308009,P463,c(Q2088357))
action filter_type
action find
entity Q3308009
relation P463
type Q2088357
The [ANSWER] was Michael Bacon a member of
['Q3308009', 'P463', {'concept': 'Q2088357'}]
SELECT DISTINCT ?y WHERE { resource:Q3308009 property:P463 ?y . ?y rdf:type ontology:Q2088357 }
The Bacon Brothers
The The Bacon Brothers was Michael Bacon a member of
The Bacon Brothers
action filter_type
action find
entity Michael Bacon
relation member of
type musical ensemble
['Michael Bacon', 'member of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?y WHERE { resource:Michael_Bacon property:member_of ?y . ?y rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3308009
P7
Q502895
USER
Who is Michael Bacon a brother of ?
(c(Q502895),P7,Q3308009)
action filter_type
action find
entity Q3308009
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q3308009']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q3308009 property:P7 ?b }
Michael Bacon
action filter_type
action find
entity Michael Bacon
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Michael Bacon']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Michael_Bacon property:brother ?b }
[]
common name
Q3454165
SYSTEM
Kevin Bacon
Q3454165
(c(Q502895),P7,Q3308009)
action filter_type
action find
entity Q3308009
relation P7
type Q502895
Michael Bacon a brother of is [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q3308009']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q3308009 property:P7 ?b }
Kevin Bacon
Michael Bacon a brother of is Kevin Bacon
Kevin Bacon
action filter_type
action find
entity Michael Bacon
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Michael Bacon']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Michael_Bacon property:brother ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3454165
P57
Q838948
USER
What is that person a director of ?
(c(Q838948),P57,Q3454165)
action filter_type
action find_reverse
entity Q3454165
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q3454165']
SELECT DISTINCT ?a WHERE { ?a property:P57 resource:Q3454165 . ?a rdf:type ontology:Q838948 }
Kevin Bacon
action filter_type
action find_reverse
entity Kevin Bacon
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Kevin Bacon']
SELECT DISTINCT ?a WHERE { ?a property:director resource:Kevin_Bacon . ?a rdf:type ontology:work_of_art }
[]
work of art
Q636062
SYSTEM
Loverboy
Q636062
(c(Q838948),P57,Q3454165)
action filter_type
action find_reverse
entity Q3454165
relation P57
type Q838948
That person a director of is [ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q3454165']
SELECT DISTINCT ?a WHERE { ?a property:P57 resource:Q3454165 . ?a rdf:type ontology:Q838948 }
Loverboy
That person a director of is Loverboy
Loverboy
action filter_type
action find_reverse
entity Kevin Bacon
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Kevin Bacon']
SELECT DISTINCT ?a WHERE { ?a property:director resource:Kevin_Bacon . ?a rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q636062 Q60
P915
Q56061
USER
Was New York City Loverboy filmed ?
(Q636062,P915,Q60)
action is_in
entity Q60
action find
entity Q636062
relation P915
['Q636062', 'P915', 'Q60']
ASK WHERE { resource:Q636062 property:P915 resource:Q60 }
Loverboy New York City
action is_in
entity New York City
action find
entity Loverboy
relation filming location
['Loverboy', 'filming location', 'New York City']
ASK WHERE { resource:Loverboy property:filming_location resource:New_York_City }
[]
administrative territorial entity
SYSTEM
YES
(Q636062,P915,Q60)
action is_in
entity Q60
action find
entity Q636062
relation P915
[ANSWER]
['Q636062', 'P915', 'Q60']
ASK WHERE { resource:Q636062 property:P915 resource:Q60 }
Yes
action is_in
entity New York City
action find
entity Loverboy
relation filming location
['Loverboy', 'filming location', 'New York City']
ASK WHERE { resource:Loverboy property:filming_location resource:New_York_City }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q636062
P161
Q502895
USER
Which people starred in Loverboy ?
(Q636062,P161,c(Q502895))
action filter_type
action find
entity Q636062
relation P161
type Q502895
['Q636062', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q636062 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Loverboy
action filter_type
action find
entity Loverboy
relation cast member
type common name
['Loverboy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Loverboy property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
common name
Q191828 Q40791 Q3454165
SYSTEM
Marisa Tomei, Sandra Bullock, Kevin Bacon
Q40791 Q193070 Q242709 Q191828 Q2165590 Q2281610 Q3491343 Q229572 Q3454165 Q343510 Q528527
(Q636062,P161,c(Q502895))
action filter_type
action find
entity Q636062
relation P161
type Q502895
[ANSWERS] starred in Loverboy
['Q636062', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q636062 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Sandra Bullock Matt Dillon Blair Brown Marisa Tomei Spencer Treat Clark Dominic Scott Kay Sosie Bacon Kyra Sedgwick Kevin Bacon Oliver Platt Campbell Scott
Marisa Tomei, Sandra Bullock and Kevin Bacon starred in Loverboy
Marisa Tomei Sandra Bullock Kevin Bacon
action filter_type
action find
entity Loverboy
relation cast member
type common name
['Loverboy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Loverboy property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40791
P1411
Q4220917
USER
Which film award does Sandra Bullock have ?
(Q40791,P1411,c(Q4220917))
action filter_type
action find
entity Q40791
relation P1411
type Q4220917
['Q40791', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?s WHERE { resource:Q40791 property:P1411 ?s . ?s rdf:type ontology:Q4220917 }
Sandra Bullock
action filter_type
action find
entity Sandra Bullock
relation nominated for
type film award
['Sandra Bullock', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?s WHERE { resource:Sandra_Bullock property:nominated_for ?s . ?s rdf:type ontology:film_award }
[]
film award
Q103618
SYSTEM
Academy Award for Best Actress
Q103618
(Q40791,P1411,c(Q4220917))
action filter_type
action find
entity Q40791
relation P1411
type Q4220917
Sandra Bullock has won [ANSWER]
['Q40791', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?s WHERE { resource:Q40791 property:P1411 ?s . ?s rdf:type ontology:Q4220917 }
Academy Award for Best Actress
Sandra Bullock has won Academy Award for Best Actress
Academy Award for Best Actress
action filter_type
action find
entity Sandra Bullock
relation nominated for
type film award
['Sandra Bullock', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?s WHERE { resource:Sandra_Bullock property:nominated_for ?s . ?s rdf:type ontology:film_award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q32433
Q4220917
USER
And how about Lincoln?
(Q32433,P1411,c(Q4220917))
action filter_type
action find
entity Q32433
relation P1411
type Q4220917
['Q32433', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?c WHERE { resource:Q32433 property:P1411 ?c . ?c rdf:type ontology:Q4220917 }
Lincoln
action filter_type
action find
entity Lincoln
relation nominated for
type film award
['Lincoln', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?c WHERE { resource:Lincoln property:nominated_for ?c . ?c rdf:type ontology:film_award }
[]
film award
Q106301 Q106291 Q277536
SYSTEM
Academy Award for Best Supporting Actress, Academy Award for Best Supporting Actor, Academy Award for Best Costume Design
Q106301 Q107258 Q102427 Q830079 Q106291 Q277751 Q103360 Q281939 Q131520 Q103916 Q488651 Q277536
(Q32433,P1411,c(Q4220917))
action filter_type
action find
entity Q32433
relation P1411
type Q4220917
[ANSWERS]
['Q32433', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?c WHERE { resource:Q32433 property:P1411 ?c . ?c rdf:type ontology:Q4220917 }
Academy Award for Best Supporting Actress Academy Award for Best Writing, Adapted Screenplay Academy Award for Best Picture Academy Award for Best Sound Mixing Academy Award for Best Supporting Actor Academy Award for Best Production Design Academy Award for Best Director Academy Award for Best Film Editing Academy Award for Best Cinematography Academy Award for Best Actor Academy Award for Best Original Score Academy Award for Best Costume Design
Academy Award for Best Supporting Actress Academy Award for Best Supporting Actor Academy Award for Best Costume Design
action filter_type
action find
entity Lincoln
relation nominated for
type film award
['Lincoln', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?c WHERE { resource:Lincoln property:nominated_for ?c . ?c rdf:type ontology:film_award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q59073
P1411
Q838948
USER
Were Places in the Heart nominated for those film awards ?
(Q59073,P1411,Q106301) (Q59073,P1411,Q106291) (Q59073,P1411,Q277536)
action is_in
entity prev_answer
action find
entity Q59073
relation P1411
['Q59073', 'P1411', 'Q106301'] ['Q59073', 'P1411', 'Q106291'] ['Q59073', 'P1411', 'Q277536']
ASK WHERE { resource:Q59073 property:P1411 ?i . VALUES ( ?i ) { ( resource:Q106301 ) ( resource:Q107258 ) ( resource:Q102427 ) } }
Places in the Heart
action is_in
entity prev_answer
action find
entity Places in the Heart
relation nominated for
['Places in the Heart', 'nominated for', 'Academy Award for Best Supporting Actress'] ['Places in the Heart', 'nominated for', 'Academy Award for Best Supporting Actor'] ['Places in the Heart', 'nominated for', 'Academy Award for Best Costume Design']
ASK WHERE { resource:Places_in_the_Heart property:nominated_for ?i . VALUES ( ?i ) { ( resource:Academy_Award_for_Best_Supporting_Actress ) ( resource:Academy_Award_for_Best_Writing,_Adapted_Screenplay ) ( resource:Academy_Award_for_Best_Picture ) } }
[]
work of art
SYSTEM
YES
(Q59073,P1411,Q106301) (Q59073,P1411,Q106291) (Q59073,P1411,Q277536)
action is_in
entity prev_answer
action find
entity Q59073
relation P1411
[ANSWER]
['Q59073', 'P1411', 'Q106301'] ['Q59073', 'P1411', 'Q106291'] ['Q59073', 'P1411', 'Q277536']
ASK WHERE { resource:Q59073 property:P1411 ?i . VALUES ( ?i ) { ( resource:Q106301 ) ( resource:Q107258 ) ( resource:Q102427 ) } }
Yes
action is_in
entity prev_answer
action find
entity Places in the Heart
relation nominated for
['Places in the Heart', 'nominated for', 'Academy Award for Best Supporting Actress'] ['Places in the Heart', 'nominated for', 'Academy Award for Best Supporting Actor'] ['Places in the Heart', 'nominated for', 'Academy Award for Best Costume Design']
ASK WHERE { resource:Places_in_the_Heart property:nominated_for ?i . VALUES ( ?i ) { ( resource:Academy_Award_for_Best_Supporting_Actress ) ( resource:Academy_Award_for_Best_Writing,_Adapted_Screenplay ) ( resource:Academy_Award_for_Best_Picture ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1027
Q43229 Q4220917
USER
Which organizations bestow atmost 1 film award ?
(c(Q4220917),P1027,c(Q43229))
action atmost
action find_reverse_tuple_counts
relation P1027
type Q43229
type Q4220917
value 1
[{'concept': 'Q4220917'}, 'P1027', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:P1027 ?t . ?t rdf:type ontology:Q43229 . ?d rdf:type ontology:Q4220917 } GROUP BY ?t } . FILTER ( ?f <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation conferred by
type organization
type film award
value 1
[{'concept': 'film award'}, 'conferred by', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:conferred_by ?t . ?t rdf:type ontology:organization . ?d rdf:type ontology:film_award } GROUP BY ?t } . FILTER ( ?f <= 1 ) }
[]
organization film award
Q49260 Q7809 Q1771108
SYSTEM
Norwegian Association for Women's Rights, United Nations Educational, Scientific and Cultural Organization, Omroepvereniging VARA
Q319347 Q253439 Q879171 Q1056306 Q694238 Q2843739 Q182016 Q19689569 Q195794 Q466587 Q2696011 Q206811 Q1146587 Q7181538 Q1550246 Q688816 Q12338517 Q672230 Q455573 Q150138 Q1966540 Q1776022 Q1543058 Q23955624 Q156077 Q226003 Q8022 Q40970 Q174240 Q812138 Q7095994 Q795936 Q127992 Q1666849 Q1794281 Q6947390 Q4668703 Q17366047 Q2498443 Q2415264 Q40358 Q465726 Q6323440 Q5381138 Q5098022 Q7257349 Q466853 Q132551 Q542511 Q189021 Q8059648 Q2095453 Q468581 Q147906 Q1200258 Q10684791 Q21710833 Q3026166 Q892825 Q927391 Q187052 Q184997 Q465197 Q1478095 Q1771108 Q3356176 Q7178 Q463416 Q967681 Q1067943 Q1891246 Q1796604 Q5172098 Q845632 Q18759515 Q324232 Q1781959 Q6971093 Q703955 Q7282742 Q1292443 Q129724 Q7447950 Q3102177 Q466183 Q2050362 Q23451369 Q49260 Q125758 Q3359374 Q5511303 Q1422577 Q1544294 Q7101941 Q42970 Q5440753 Q2822371 Q4591909 Q154330 Q1764307 Q18690925 Q1825344 Q5450772 Q16941514 Q2661062 Q19640606 Q1938003 Q3441043 Q1410527 Q1632766 Q291171 Q554198 Q464069 Q7809 Q20552339 Q466950 Q15051986 Q1065933 Q6393398 Q252420 Q131566 Q8030215 Q7732201 Q1437150 Q590267 Q2253166 Q3044807 Q507237 Q129842 Q1170531 Q21855029 Q3143126 Q466880 Q1115813 Q263016 Q2341438
(c(Q4220917),P1027,c(Q43229))
action atmost
action find_reverse_tuple_counts
relation P1027
type Q43229
type Q4220917
value 1
[ANSWERS] bestow atmost 1 film award
[{'concept': 'Q4220917'}, 'P1027', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:P1027 ?t . ?t rdf:type ontology:Q43229 . ?d rdf:type ontology:Q4220917 } GROUP BY ?t } . FILTER ( ?f <= 1 ) }
Robert Bosch Stiftung Royal Netherlands Academy of Arts and Sciences Deutsche Filmakademie Institute of Internal Auditors Free German Trade Union Federation Amnesty International USA United Nations Environment Programme Kosta & Eleni Ouranis Foundation Casa de las Américas American Psychological Association InBev-Baillet Latour Foundation International PEN Swedish Film Institute Phi Kappa Phi Peter and Patricia Gruber Foundation Verbund Søren Gyldendal Foundation Nykredit Amateur Athletic Union Boston Society of Film Critics Konex Foundation Statoil Sveriges Radio Pax Christi USA L'Oréal New York Film Critics Circle Awards Generalitat of Catalonia International Olympic Committee Transparency International Bayer Science & Education Foundation Open Data Institute BHF Bank Association for Computing Machinery International Rescue Committee Kurt Wolff Foundation Myer Foundation Abraaj Capital Praemium Erasmianum Foundation Freudenberg SE The Wilderness Society American Association for the Advancement of Science American Meteorological Society K. K. Birla Foundation Environmental Media Association Children's Book Council of Australia Public Counsel Law Center American Society of Cinematographers United Nations High Commissioner for Refugees Hoechst AG TED conferences Yrjö Jahnsson Foundation International Women's Media Foundation American Society of International Law Toronto Film Critics Association Alfred P. Sloan Foundation Swedish Library Association Prince Pierre Foundation John Templeton Foundation Bonnier Group Norwegian Red Cross Human Rights Watch ZEIT-Stiftung American Institute of Architects Royal Academy of Engineering Omroepvereniging VARA Organization of American Historians International Red Cross and Red Crescent Movementsac American Association of University Women Italy–USA Foundation Royal Institute of British Architects Marine Stewardship Council Körber Foundation Coromandel International Telenor Strømmestiftelsen Giordano Bruno Foundation Nobel Foundation National Book Foundation Deutsches Theater Rafto Foundation for Human Rights Royal Philharmonic Society Netherlands Organisation for Scientific Research Selexyz Gyldendal Norsk Forlag Reebok Carnegie Foundation Grete Lundbeck European Brain Research Foundation Norwegian Association for Women's Rights Alfred Toepfer Stiftung F.V.S. Fritt Ord Fyssen Foundation National Endowment for Democracy Great Lakes Aircraft Company Organization for Human Brain Mapping Amnesty International Federation of American Societies for Experimental Biology Academy of Cinema Arts and Techniques Norwegian Cancer Society Reporters Without Borders Sundance Institute Finnish Book Foundation Prins Bernhard Cultuurfonds Finnish Film Foundation Inamori Foundation Knjaževsko-srpski teatar Tagea Brandts Rejselegat Phi Beta Kappa Society The Kavli Foundation War Resisters League Japan Art Academy Aegon N.V. Bauer Media Group American Educational Research Association United Nations Educational, Scientific and Cultural Organization Macedonian Award Foundation American Society of Mechanical Engineers Institution of Mechanical Engineers Charles Rodolphe Brupbacher Foundation Kerala Sahitya Akademi International Peace Bureau Institute of Electrical and Electronics Engineers Wolfson Foundation The Energy and Resources Institute Norden Association Alexander von Humboldt Foundation Collectieve Propaganda van het Nederlandse Boek Wolf Foundation John Simon Guggenheim Memorial Foundation World Association of Newspapers and News Publishers International Press Institute Sonning Foundation Human Rights First American Society of Civil Engineers Committee to Protect Journalists Chatham House Jan Campert foundation
Norwegian Association for Women's Rights, United Nations Educational, Scientific and Cultural Organization and Omroepvereniging VARA bestow atmost 1 film award
Norwegian Association for Women's Rights United Nations Educational, Scientific and Cultural Organization Omroepvereniging VARA
action atmost
action find_reverse_tuple_counts
relation conferred by
type organization
type film award
value 1
[{'concept': 'film award'}, 'conferred by', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:conferred_by ?t . ?t rdf:type ontology:organization . ?d rdf:type ontology:film_award } GROUP BY ?t } . FILTER ( ?f <= 1 ) }
[]