Simple Question (Direct)
Simple Question
Q691124
P166
Q618779
USER
What was awarded to Heilly ?
(Q691124,P166,c(Q618779))
action filter_type
action find
entity Q691124
relation P166
type Q618779
['Q691124', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q691124 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Heilly
action filter_type
action find
entity Heilly
relation award received
type award
['Heilly', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Heilly property:award_received ?m . ?m rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q691124,P166,c(Q618779))
action filter_type
action find
entity Q691124
relation P166
type Q618779
France [ANSWER] was awarded to Heilly
['Q691124', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q691124 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
France Croix de guerre 1914–1918 was awarded to Heilly
Croix de guerre 1914–1918
action filter_type
action find
entity Heilly
relation award received
type award
['Heilly', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Heilly property:award_received ?m . ?m rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q691124
P20
Q502895
USER
Who died in Heilly ?
(c(Q502895),P20,Q691124)
action filter_type
action find_reverse
entity Q691124
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q691124']
SELECT DISTINCT ?j WHERE { ?j property:P20 resource:Q691124 . ?j rdf:type ontology:Q502895 }
Heilly
action filter_type
action find_reverse
entity Heilly
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Heilly']
SELECT DISTINCT ?j WHERE { ?j property:place_of_death resource:Heilly . ?j rdf:type ontology:common_name }
[]
common name
Q257557
SYSTEM
Anne de Pisseleu d'Heilly
Q257557
(c(Q502895),P20,Q691124)
action filter_type
action find_reverse
entity Q691124
relation P20
type Q502895
[ANSWER] died in Heilly
[{'concept': 'Q502895'}, 'P20', 'Q691124']
SELECT DISTINCT ?j WHERE { ?j property:P20 resource:Q691124 . ?j rdf:type ontology:Q502895 }
Anne de Pisseleu d'Heilly
Anne de Pisseleu d'Heilly died in Heilly
Anne de Pisseleu d'Heilly
action filter_type
action find_reverse
entity Heilly
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Heilly']
SELECT DISTINCT ?j WHERE { ?j property:place_of_death resource:Heilly . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q691124
P17
Q15617994
USER
Which administrative territory does Heilly belong to ?
(Q691124,P17,c(Q15617994))
action filter_type
action find
entity Q691124
relation P17
type Q15617994
['Q691124', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q691124 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Heilly
action filter_type
action find
entity Heilly
relation country
type designation for an administrative territorial entity
['Heilly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heilly property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q691124,P17,c(Q15617994))
action filter_type
action find
entity Q691124
relation P17
type Q15617994
Heilly belongs to [ANSWER]
['Q691124', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q691124 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
France
Heilly belongs to France
France
action filter_type
action find
entity Heilly
relation country
type designation for an administrative territorial entity
['Heilly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heilly property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q691124
P47
Q20667921
USER
Which french administrative divisions are bordered by Heilly ?
(Q691124,P47,c(Q20667921))
action filter_type
action find
entity Q691124
relation P47
type Q20667921
['Q691124', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q691124 property:P47 ?s . ?s rdf:type ontology:Q20667921 }
Heilly
action filter_type
action find
entity Heilly
relation shares border with
type type of french administrative division
['Heilly', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Heilly property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q71469 Q45707 Q378641
SYSTEM
Corbie, Baizieux, Méricourt-l'Abbé
Q71469 Q1090402 Q143907 Q45707 Q378641 Q626976
(Q691124,P47,c(Q20667921))
action filter_type
action find
entity Q691124
relation P47
type Q20667921
[ANSWERS] are bordered by Heilly
['Q691124', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q691124 property:P47 ?s . ?s rdf:type ontology:Q20667921 }
Corbie Bonnay Franvillers Baizieux Méricourt-l'Abbé Ribemont-sur-Ancre
Corbie, Baizieux and Méricourt-l'Abbé are bordered by Heilly
Corbie Baizieux Méricourt-l'Abbé
action filter_type
action find
entity Heilly
relation shares border with
type type of french administrative division
['Heilly', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Heilly property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
Which awards were approximately 133 works of art or people a recipient of ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 133
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?e WHERE { { ?g property:P1411 ?e . ?e rdf:type ontology:Q618779 . ?g rdf:type ontology:Q838948 } UNION { ?g property:P1411 ?e . ?g rdf:type ontology:Q502895 . ?e rdf:type ontology:Q618779 } } GROUP BY ?e } . FILTER ( ?s = 133 ) }
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 133
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?e WHERE { { ?g property:nominated_for ?e . ?e rdf:type ontology:award . ?g rdf:type ontology:work_of_art } UNION { ?g property:nominated_for ?e . ?g rdf:type ontology:common_name . ?e rdf:type ontology:award } } GROUP BY ?e } . FILTER ( ?s = 133 ) }
[]
award work of art common name
Q2530270 Q518675 Q1043985
SYSTEM
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series, Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture, Carnegie Medal
Q24241 Q1086189 Q5280675 Q266012 Q7821796 Q640374 Q1723064 Q900369 Q900494 Q645595 Q610903 Q3405409 Q377293 Q943106 Q1043985 Q1537996 Q4790397 Q518675 Q627778 Q13449461 Q185299 Q430035 Q1474410 Q2530270 Q24137 Q936683 Q3993187
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 133
[ANSWERS] were approximately 133 works of art or people a recipient of
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?e WHERE { { ?g property:P1411 ?e . ?e rdf:type ontology:Q618779 . ?g rdf:type ontology:Q838948 } UNION { ?g property:P1411 ?e . ?g rdf:type ontology:Q502895 . ?e rdf:type ontology:Q618779 } } GROUP BY ?e } . FILTER ( ?s = 133 ) }
César Award for Best Actress Nebula Award for Best Novella Directors Guild of America Award for Outstanding Directing – Feature Film Nebula Award for Best Novel Tony Award for Best Lighting Design Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical César Award for Best Writing César Award for Best Actor César Award for Best Film Nebula Award for Best Short Story World Fantasy Award for Best Novella Tony Award for Best Direction of a Musical Best NBA Player ESPY Award Carnegie Medal Tony Award for Best Actress in a Musical Ariel Award for Best Actress Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Tony Award for Best Featured Actress in a Play Tony Award for Best Scenic Design Tony Award for Best Actress in a Play Astrid Lindgren Memorial Award Tony Award for Best Featured Actor in a Play Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series César Award for Best Director Nebula Award for Best Novelette Tony Award for Best Costume Design
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series, Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture and Carnegie Medal were approximately 133 works of art or people a recipient of
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Carnegie Medal
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 133
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?e WHERE { { ?g property:nominated_for ?e . ?e rdf:type ontology:award . ?g rdf:type ontology:work_of_art } UNION { ?g property:nominated_for ?e . ?g rdf:type ontology:common_name . ?e rdf:type ontology:award } } GROUP BY ?e } . FILTER ( ?s = 133 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2530270 Q518675 Q1043985
P166
Q502895
USER
Which people were awarded with Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series, Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture and Carnegie Medal ?
(c(Q502895),P166,Q2530270) (c(Q502895),P166,Q518675) (c(Q502895),P166,Q1043985)
action union
action filter_type
action find_reverse
entity Q2530270
relation P166
type Q502895
action filter_type
action find_reverse
entity Q518675
relation P166
type Q502895
action filter_type
action find_reverse
entity Q1043985
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q2530270'] [{'concept': 'Q502895'}, 'P166', 'Q518675'] [{'concept': 'Q502895'}, 'P166', 'Q1043985']
SELECT DISTINCT ?q WHERE { { ?q property:P166 resource:Q518675 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P166 resource:Q2530270 . ?q rdf:type ontology:Q502895 } }
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Carnegie Medal
action union
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
relation award received
type common name
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture
relation award received
type common name
action filter_type
action find_reverse
entity Carnegie Medal
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series'] [{'concept': 'common name'}, 'award received', 'Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture'] [{'concept': 'common name'}, 'award received', 'Carnegie Medal']
SELECT DISTINCT ?q WHERE { { ?q property:award_received resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_a_Cast_in_a_Motion_Picture . ?q rdf:type ontology:common_name } UNION { ?q property:award_received resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_an_Ensemble_in_a_Drama_Series . ?q rdf:type ontology:common_name } }
[]
common name
Q210059 Q1117390 Q134895
SYSTEM
Neil Gaiman, Stockard Channing, Javier Bardem
Q446717 Q2118568 Q888178 Q235328 Q229319 Q229319 Q311892 Q184572 Q2491464 Q1150569 Q1150569 Q302794 Q302794 Q1190693 Q1086977 Q310551 Q1138674 Q1059226 Q104061 Q442300 Q114447 Q114447 Q115134 Q230109 Q299700 Q352180 Q352180 Q862039 Q862039 Q1117390 Q354181 Q354181 Q40048 Q4752066 Q4752066 Q23844 Q23844 Q23844 Q23844 Q294586 Q117995 Q185554 Q259760 Q230383 Q108283 Q108283 Q134895 Q134895 Q312124 Q23365 Q1077549 Q108935 Q104791 Q110374 Q83338 Q83338 Q1151457 Q208590 Q1190693 Q35332 Q549017 Q219546 Q191104 Q311615 Q311615 Q343616 Q2263 Q1107887 Q211322 Q211322 Q211322 Q211322 Q731187 Q1159071 Q234798 Q1112005 Q4952797 Q4955103 Q262274 Q258669 Q532757 Q275633 Q275633 Q16014832 Q467058 Q6698412 Q210059 Q17106376 Q5359930 Q313289 Q706856 Q265756 Q46248 Q510811 Q508765 Q9204 Q457371 Q139506 Q3244263 Q242571 Q446747 Q1760291 Q359498 Q359498 Q1148078 Q4988543 Q7323782 Q535822 Q1740117 Q1886587 Q2579910 Q190220 Q705074 Q705074 Q1347607 Q951657 Q600261 Q403877 Q981086 Q5341926 Q1233018 Q21175452 Q1190051 Q4958534 Q3270328 Q3270328 Q5079712 Q7492388 Q470302 Q464963 Q3404949 Q276472 Q276472 Q275092 Q919835 Q380983 Q937084 Q5962373 Q16187761 Q3270582 Q2064855 Q384481 Q4937558 Q4983305 Q515845 Q448246 Q448246 Q4945053 Q5238959 Q254215 Q16163345
(c(Q502895),P166,Q2530270) (c(Q502895),P166,Q518675) (c(Q502895),P166,Q1043985)
action union
action filter_type
action find_reverse
entity Q2530270
relation P166
type Q502895
action filter_type
action find_reverse
entity Q518675
relation P166
type Q502895
action filter_type
action find_reverse
entity Q1043985
relation P166
type Q502895
[ANSWERS] were awarded with Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series, Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture and Carnegie Medal
[{'concept': 'Q502895'}, 'P166', 'Q2530270'] [{'concept': 'Q502895'}, 'P166', 'Q518675'] [{'concept': 'Q502895'}, 'P166', 'Q1043985']
SELECT DISTINCT ?q WHERE { { ?q property:P166 resource:Q518675 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P166 resource:Q2530270 . ?q rdf:type ontology:Q502895 } }
Dabney Coleman RJ Mitte Bob Odenkirk Alison Brie Lorraine Bracco Lorraine Bracco William Petersen Martin Sheen David Robb Rich Sommer Rich Sommer Aaron Staton Aaron Staton Jack Huston Christopher Stanley Harold Perrineau Jesse Plemons James McDaniel Steve Buscemi Mark Moses Janel Moloney Janel Moloney Aida Turturro Cynthia Watros Daniel Dae Kim Bradley Whitford Bradley Whitford Robert Iler Robert Iler Stockard Channing Steven Van Zandt Steven Van Zandt Isaiah Washington Anatol Yusef Anatol Yusef George Clooney George Clooney George Clooney George Clooney Adewale Akinnuoye-Agbaje Phyllis Logan Matthew Fox Michelle Dockery Kelly Macdonald Alan Arkin Alan Arkin Javier Bardem Javier Bardem Tom Hollander Jeremy Renner Chris Messina Mary Steenburgen Ed Harris Bill Paxton Robin Williams Robin Williams D. W. Moffett Kristin Scott Thomas Jack Huston Brad Pitt Christopher Denham Albert Finney Sean Bean Thomas Haden Church Thomas Haden Church Paul Dano Tom Hanks Madhur Mittal Tom Wilkinson Tom Wilkinson Tom Wilkinson Tom Wilkinson Simon Callow Dan Futterman Imelda Staunton Queen Latifah Rosemary Harris Mollie Hunter Penelope Lively Eleanor Farjeon Beverley Naidoo Margaret Mahy Margaret Mahy Hester Burton Noel Streatfeild Lucy M. Boston Neil Gaiman Edward Osmond Elfrida Vipont Richard Adams David Almond Mary Norton Terry Pratchett Sharon Creech Philippa Pearce C. S. Lewis Geraldine McCaughrean Pauline Clarke K.M. Peyton Elizabeth Goudge Theresa Breslin Leon Garfield Robert Westall Robert Westall Cynthia Harnett Eve Garnett Richard Armstrong Sally Gardner Kevin Crossley-Holland Mal Peet William Mayne Philip Pullman Peter Dickinson Peter Dickinson Ivan Southall Melvin Burgess Tim Bowler Aidan Chambers Walter de la Mare Edward Blishen Frank Cottrell Boyce Tanya Landman Denys Watkins-Pitchford Gene Kemp Jan Mark Jan Mark Charles Keeping Sheena Porter Meg Rosoff Jennifer Donnelly Ronald Welch Berlie Doherty Berlie Doherty Gillian Cross Eric Linklater Siobhan Dowd Philip Reeve Philip Turner I. W. Cornwall Susan Price Robert Swindells Alan Garner Kitty Barne Mary Treadgold Arthur Ransome Anne Fine Anne Fine Eleanor Doorly David Rees Rosemary Sutcliff Agnes Allen
Neil Gaiman, Stockard Channing and Javier Bardem were awarded with Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series, Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture and Carnegie Medal
Neil Gaiman Stockard Channing Javier Bardem
action union
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
relation award received
type common name
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture
relation award received
type common name
action filter_type
action find_reverse
entity Carnegie Medal
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series'] [{'concept': 'common name'}, 'award received', 'Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture'] [{'concept': 'common name'}, 'award received', 'Carnegie Medal']
SELECT DISTINCT ?q WHERE { { ?q property:award_received resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_a_Cast_in_a_Motion_Picture . ?q rdf:type ontology:common_name } UNION { ?q property:award_received resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_an_Ensemble_in_a_Drama_Series . ?q rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q210059 Q1117390 Q134895
P26
Q502895
USER
Who are the spouse of those ones ?
(c(Q502895),P26,Q210059) (c(Q502895),P26,Q1117390) (c(Q502895),P26,Q134895)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q210059'] [{'concept': 'Q502895'}, 'P26', 'Q1117390'] [{'concept': 'Q502895'}, 'P26', 'Q134895']
SELECT DISTINCT ?x WHERE { ?e property:P26 ?x . VALUES ( ?e ) { ( resource:Q446717 ) ( resource:Q2118568 ) ( resource:Q888178 ) } . ?x rdf:type ontology:Q502895 }
Neil Gaiman Stockard Channing Javier Bardem
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Neil Gaiman'] [{'concept': 'common name'}, 'spouse', 'Stockard Channing'] [{'concept': 'common name'}, 'spouse', 'Javier Bardem']
SELECT DISTINCT ?x WHERE { ?e property:spouse ?x . VALUES ( ?e ) { ( resource:Dabney_Coleman ) ( resource:RJ_Mitte ) ( resource:Bob_Odenkirk ) } . ?x rdf:type ontology:common_name }
[]
common name
Q240377 Q39666 Q7153470
SYSTEM
Amanda Palmer, Penélope Cruz, Paul Schmidt
Q240377 Q7964534 Q7153470 Q5232900 Q39666
(c(Q502895),P26,Q210059) (c(Q502895),P26,Q1117390) (c(Q502895),P26,Q134895)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
The spouse of those ones are [ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q210059'] [{'concept': 'Q502895'}, 'P26', 'Q1117390'] [{'concept': 'Q502895'}, 'P26', 'Q134895']
SELECT DISTINCT ?x WHERE { ?e property:P26 ?x . VALUES ( ?e ) { ( resource:Q446717 ) ( resource:Q2118568 ) ( resource:Q888178 ) } . ?x rdf:type ontology:Q502895 }
Amanda Palmer Walter Channing Paul Schmidt David Debin Penélope Cruz
The spouse of those ones are Amanda Palmer, Penélope Cruz and Paul Schmidt
Amanda Palmer Penélope Cruz Paul Schmidt
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Neil Gaiman'] [{'concept': 'common name'}, 'spouse', 'Stockard Channing'] [{'concept': 'common name'}, 'spouse', 'Javier Bardem']
SELECT DISTINCT ?x WHERE { ?e property:spouse ?x . VALUES ( ?e ) { ( resource:Dabney_Coleman ) ( resource:RJ_Mitte ) ( resource:Bob_Odenkirk ) } . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q240377 Q39666 Q7153470
P21
Q290
USER
Which sexes do those people belong to ?
(Q240377,P21,c(Q290)) (Q39666,P21,c(Q290)) (Q7153470,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q240377', 'P21', {'concept': 'Q290'}] ['Q39666', 'P21', {'concept': 'Q290'}] ['Q7153470', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Q240377 ) ( resource:Q7964534 ) ( resource:Q7153470 ) } . ?k rdf:type ontology:Q290 . ?m property:P21 ?k }
Amanda Palmer Penélope Cruz Paul Schmidt
action filter_type
action find
entity prev_answer
relation gender
type sex
['Amanda Palmer', 'gender', {'concept': 'sex'}] ['Penélope Cruz', 'gender', {'concept': 'sex'}] ['Paul Schmidt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Amanda_Palmer ) ( resource:Walter_Channing ) ( resource:Paul_Schmidt ) } . ?k rdf:type ontology:sex . ?m property:gender ?k }
[]
sex
Q6581072 Q6581072 Q6581097
SYSTEM
male for 3rd, female for 1st, 2nd
Q6581072 Q6581072 Q6581097
(Q240377,P21,c(Q290)) (Q39666,P21,c(Q290)) (Q7153470,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q240377', 'P21', {'concept': 'Q290'}] ['Q39666', 'P21', {'concept': 'Q290'}] ['Q7153470', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Q240377 ) ( resource:Q7964534 ) ( resource:Q7153470 ) } . ?k rdf:type ontology:Q290 . ?m property:P21 ?k }
female female male
Those people belong to female, female and male
female female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Amanda Palmer', 'gender', {'concept': 'sex'}] ['Penélope Cruz', 'gender', {'concept': 'sex'}] ['Paul Schmidt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Amanda_Palmer ) ( resource:Walter_Channing ) ( resource:Paul_Schmidt ) } . ?k rdf:type ontology:sex . ?m property:gender ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39666
P1346
Q618779
USER
Which award was won by Penélope Cruz ?
(c(Q618779),P1346,Q39666)
action filter_type
action find_reverse
entity Q39666
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q39666']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q618779 . ?u property:P1346 resource:Q39666 }
Penélope Cruz
action filter_type
action find_reverse
entity Penélope Cruz
relation winner
type award
[{'concept': 'award'}, 'winner', 'Penélope Cruz']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:award . ?u property:winner resource:Penélope_Cruz }
[]
award
Q840286
SYSTEM
Best Actress Award
Q840286
(c(Q618779),P1346,Q39666)
action filter_type
action find_reverse
entity Q39666
relation P1346
type Q618779
The [ANSWER] was won by Penélope Cruz
[{'concept': 'Q618779'}, 'P1346', 'Q39666']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q618779 . ?u property:P1346 resource:Q39666 }
Best Actress Award
The Best Actress Award was won by Penélope Cruz
Best Actress Award
action filter_type
action find_reverse
entity Penélope Cruz
relation winner
type award
[{'concept': 'award'}, 'winner', 'Penélope Cruz']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:award . ?u property:winner resource:Penélope_Cruz }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39666
P161
Q838948
USER
Which works of art stars Penélope Cruz as actor ?
(c(Q838948),P161,Q39666)
action filter_type
action find_reverse
entity Q39666
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q39666']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q39666 . ?m rdf:type ontology:Q838948 }
Penélope Cruz
action filter_type
action find_reverse
entity Penélope Cruz
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Penélope Cruz']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Penélope_Cruz . ?m rdf:type ontology:work_of_art }
[]
work of art
Q110278 Q1331014 Q183555
SYSTEM
Vanilla Sky, Sahara, Pirates of the Caribbean: On Stranger Tides
Q4020794 Q2559937 Q3823886 Q653336 Q908868 Q1424099 Q2418958 Q183555 Q2656108 Q1544046 Q23925057 Q1087741 Q192022 Q24514498 Q661422 Q1424825 Q739502 Q766770 Q754742 Q209667 Q631515 Q4413598 Q355988 Q1823812 Q4714398 Q1654891 Q1675466 Q4009792 Q1331014 Q29658 Q220655 Q2299188 Q1853472 Q17182419 Q1107144 Q3061599 Q110278 Q969428 Q1136400 Q571480 Q606481 Q212123 Q3899497 Q3311743 Q20899498 Q1326380 Q1277366 Q752989 Q19842552 Q3794381 Q329805
(c(Q838948),P161,Q39666)
action filter_type
action find_reverse
entity Q39666
relation P161
type Q838948
[ANSWERS] star Penélope Cruz as actor
[{'concept': 'Q838948'}, 'P161', 'Q39666']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q39666 . ?m rdf:type ontology:Q838948 }
Woody Allen: A Documentary Love Can Seriously Damage Your Health The Rebel Head in the Clouds Volavérunt Live Flesh Manolete Pirates of the Caribbean: On Stranger Tides I'm So Excited Jamón Jamón La reina de España Chromophobia Broken Embraces Entre rojas Don't Tempt Me Captain Corelli's Mandolin Sex and the City 2 The Girl of Your Dreams Bandidas Volver Blow La Celestina Fanfan la Tulipe The Man with Rain in His Shoes Alegre ma non troppo Waking Up in Reno Belle Époque Venuto al mondo Sahara To Rome with Love The Hi-Lo Country All the Pretty Horses Woman on Top The Brothers Grimsby Don't Move The Counselor Vanilla Sky Masked and Anonymous Open Your Eyes The Good Night Gothika Vicky Cristina Barcelona For Love, Only for Love Todo es mentira Ma Ma Elegy Noel Nine Zoolander 2 The Greek Labyrinth All About My Mother
Vanilla Sky, Sahara and Pirates of the Caribbean: On Stranger Tides star Penélope Cruz as actor
Vanilla Sky Sahara Pirates of the Caribbean: On Stranger Tides
action filter_type
action find_reverse
entity Penélope Cruz
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Penélope Cruz']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Penélope_Cruz . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39666
P9
Q502895
USER
Who are Penélope Cruz a sister of ?
(c(Q502895),P9,Q39666)
action filter_type
action find_reverse
entity Q39666
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q39666']
SELECT DISTINCT ?f WHERE { ?f property:P9 resource:Q39666 . ?f rdf:type ontology:Q502895 }
Penélope Cruz
action filter_type
action find_reverse
entity Penélope Cruz
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Penélope Cruz']
SELECT DISTINCT ?f WHERE { ?f property:sister resource:Penélope_Cruz . ?f rdf:type ontology:common_name }
[]
common name
Q3048320 Q237152
SYSTEM
Eduardo Cruz, Mónica Cruz
Q3048320 Q237152
(c(Q502895),P9,Q39666)
action filter_type
action find_reverse
entity Q39666
relation P9
type Q502895
Penélope Cruz a sister of are Luis [ANSWERS]
[{'concept': 'Q502895'}, 'P9', 'Q39666']
SELECT DISTINCT ?f WHERE { ?f property:P9 resource:Q39666 . ?f rdf:type ontology:Q502895 }
Eduardo Cruz Mónica Cruz
Penélope Cruz a sister of are Luis Eduardo Cruz and Mónica Cruz
Eduardo Cruz Mónica Cruz
action filter_type
action find_reverse
entity Penélope Cruz
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Penélope Cruz']
SELECT DISTINCT ?f WHERE { ?f property:sister resource:Penélope_Cruz . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q237152
P1412
Q34770
USER
Which language can that person understand ?
(Q237152,P1412,c(Q34770))
action filter_type
action find
entity Q237152
relation P1412
type Q34770
['Q237152', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q237152 property:P1412 ?q }
Mónica Cruz
action filter_type
action find
entity Mónica Cruz
relation languages spoken, written or signed
type language
['Mónica Cruz', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Mónica_Cruz property:languages_spoken,_written_or_signed ?q }
[]
language
Clarification for simple ques.
Q237152
SYSTEM
Did you mean Mónica Cruz ?
Q3048320 Q237152
(Q3048320,P1412,c(Q34770)) (Q237152,P1412,c(Q34770))
[ANSWER]
['Q3048320', 'P1412', {'concept': 'Q34770'}] ['Q237152', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q237152 property:P1412 ?q }
Eduardo Cruz Mónica Cruz
Did you mean Mónica Cruz ?
Mónica Cruz
['Eduardo Cruz', 'languages spoken, written or signed', {'concept': 'language'}] ['Mónica Cruz', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Mónica_Cruz property:languages_spoken,_written_or_signed ?q }
[]
Simple Question (Coreferenced)
USER
Yes
(Q237152,P1412,c(Q34770))
['Q237152', 'P1412', {'concept': 'Q34770'}]
['Mónica Cruz', 'languages spoken, written or signed', {'concept': 'language'}]
[]
Q1321
SYSTEM
Spanish
Q1321
(Q237152,P1412,c(Q34770))
action filter_type
action find
entity Q237152
relation P1412
type Q34770
That person can understand in [ANSWER]
['Q237152', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q237152 property:P1412 ?q }
Spanish
That person can understand in Spanish
Spanish
action filter_type
action find
entity Mónica Cruz
relation languages spoken, written or signed
type language
['Mónica Cruz', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Mónica_Cruz property:languages_spoken,_written_or_signed ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P103
Q34770 Q502895
USER
How many languages are the mother tongues of lesser number of people than that language ?
(c(Q502895),P103,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find_reverse
entity Q1321
relation P103
type Q502895
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P103 ?q . ?q rdf:type ontology:Q34770 . ?f rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P103 resource:Q1321 . ?w rdf:type ontology:Q502895 } } . FILTER ( ?n < ?e ) }
action count
action less
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find_reverse
entity Spanish
relation native language
type common name
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:native_language ?q . ?q rdf:type ontology:language . ?f rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:native_language resource:Spanish . ?w rdf:type ontology:common_name } } . FILTER ( ?n < ?e ) }
[]
language common name
SYSTEM
8
Q3200839 Q9056 Q652 Q8752 Q13211 Q397 Q8785 Q25164
(c(Q502895),P103,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find_reverse
entity Q1321
relation P103
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P103 ?q . ?q rdf:type ontology:Q34770 . ?f rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P103 resource:Q1321 . ?w rdf:type ontology:Q502895 } } . FILTER ( ?n < ?e ) }
Kwaza language Czech Italian Basque Ruthenian Latin Armenian Nynorsk
8
action count
action less
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find_reverse
entity Spanish
relation native language
type common name
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:native_language ?q . ?q rdf:type ontology:language . ?f rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:native_language resource:Spanish . ?w rdf:type ontology:common_name } } . FILTER ( ?n < ?e ) }
[]