Simple Question (Direct)
Simple Question
Q21643360
P161
Q502895
USER
Who starred in The Spiderwebhouse ?
(Q21643360,P161,c(Q502895))
action filter_type
action find
entity Q21643360
relation P161
type Q502895
['Q21643360', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q21643360 property:P161 ?z . ?z rdf:type ontology:Q502895 }
The Spiderwebhouse
action filter_type
action find
entity The Spiderwebhouse
relation cast member
type common name
['The Spiderwebhouse', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Spiderwebhouse property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
Q242526 Q1875111 Q87002
SYSTEM
Sylvie Testud, Ludwig Trepte, Matthias Koeberlin
Q19017434 Q1661225 Q1875111 Q87002 Q242526
(Q21643360,P161,c(Q502895))
action filter_type
action find
entity Q21643360
relation P161
type Q502895
[ANSWERS] starred in The Spiderwebhouse
['Q21643360', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q21643360 property:P161 ?z . ?z rdf:type ontology:Q502895 }
Helena Pieske Alexandra Finder Ludwig Trepte Matthias Koeberlin Sylvie Testud
Sylvie Testud, Ludwig Trepte and Matthias Koeberlin starred in The Spiderwebhouse
Sylvie Testud Ludwig Trepte Matthias Koeberlin
action filter_type
action find
entity The Spiderwebhouse
relation cast member
type common name
['The Spiderwebhouse', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Spiderwebhouse property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q242526 Q1875111 Q87002
P106
Q12737077
USER
What do Sylvie Testud, Ludwig Trepte and Matthias Koeberlin do for a living ?
(Q242526,P106,c(Q12737077)) (Q1875111,P106,c(Q12737077)) (Q87002,P106,c(Q12737077))
action union
action filter_type
action find
entity Q242526
relation P106
type Q12737077
action filter_type
action find
entity Q1875111
relation P106
type Q12737077
action filter_type
action find
entity Q87002
relation P106
type Q12737077
['Q242526', 'P106', {'concept': 'Q12737077'}] ['Q1875111', 'P106', {'concept': 'Q12737077'}] ['Q87002', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?y property:P106 ?t . VALUES ( ?y ) { ( resource:Q242526 ) ( resource:Q1875111 ) } }
Sylvie Testud Ludwig Trepte Matthias Koeberlin
action union
action filter_type
action find
entity Sylvie Testud
relation occupation
type occupation
action filter_type
action find
entity Ludwig Trepte
relation occupation
type occupation
action filter_type
action find
entity Matthias Koeberlin
relation occupation
type occupation
['Sylvie Testud', 'occupation', {'concept': 'occupation'}] ['Ludwig Trepte', 'occupation', {'concept': 'occupation'}] ['Matthias Koeberlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?y property:occupation ?t . VALUES ( ?y ) { ( resource:Sylvie_Testud ) ( resource:Ludwig_Trepte ) } }
[]
occupation
Q6625963 Q20856740 Q33999
SYSTEM
novelist, audio book narrator, actor
Q6625963 Q20856740 Q33999 Q36180 Q33999 Q33999 Q2259451
(Q242526,P106,c(Q12737077)) (Q1875111,P106,c(Q12737077)) (Q87002,P106,c(Q12737077))
action union
action filter_type
action find
entity Q242526
relation P106
type Q12737077
action filter_type
action find
entity Q1875111
relation P106
type Q12737077
action filter_type
action find
entity Q87002
relation P106
type Q12737077
Sylvie Testud , Ludwig Trepte and Matthias Koeberlin do for a living as [ANSWERS]
['Q242526', 'P106', {'concept': 'Q12737077'}] ['Q1875111', 'P106', {'concept': 'Q12737077'}] ['Q87002', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?y property:P106 ?t . VALUES ( ?y ) { ( resource:Q242526 ) ( resource:Q1875111 ) } }
novelist audio book narrator actor writer actor actor stage actor
Sylvie Testud , Ludwig Trepte and Matthias Koeberlin do for a living as novelist, audio book narrator and actor
novelist audio book narrator actor
action union
action filter_type
action find
entity Sylvie Testud
relation occupation
type occupation
action filter_type
action find
entity Ludwig Trepte
relation occupation
type occupation
action filter_type
action find
entity Matthias Koeberlin
relation occupation
type occupation
['Sylvie Testud', 'occupation', {'concept': 'occupation'}] ['Ludwig Trepte', 'occupation', {'concept': 'occupation'}] ['Matthias Koeberlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?y property:occupation ?t . VALUES ( ?y ) { ( resource:Sylvie_Testud ) ( resource:Ludwig_Trepte ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q242526
P1346
Q618779
USER
Which awards were Sylvie Testud decalred as a champion of ?
(c(Q618779),P1346,Q6625963) (c(Q618779),P1346,Q20856740) (c(Q618779),P1346,Q33999)
action filter_type
action find_reverse
entity Q242526
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q6625963'] [{'concept': 'Q618779'}, 'P1346', 'Q20856740'] [{'concept': 'Q618779'}, 'P1346', 'Q33999']
SELECT DISTINCT ?b WHERE { ?b property:P1346 resource:Q242526 . ?b rdf:type ontology:Q618779 }
Sylvie Testud
action filter_type
action find_reverse
entity Sylvie Testud
relation winner
type award
[{'concept': 'award'}, 'winner', 'novelist'] [{'concept': 'award'}, 'winner', 'audio book narrator'] [{'concept': 'award'}, 'winner', 'actor']
SELECT DISTINCT ?b WHERE { ?b property:winner resource:Sylvie_Testud . ?b rdf:type ontology:award }
[]
award
Q29597 Q24241
SYSTEM
César Award for Most Promising Actress, César Award for Best Actress
Q29597 Q24241
(c(Q618779),P1346,Q6625963) (c(Q618779),P1346,Q20856740) (c(Q618779),P1346,Q33999)
action filter_type
action find_reverse
entity Q242526
relation P1346
type Q618779
Sylvie Testud were decalred as a champion of the [ANSWERS]
[{'concept': 'Q618779'}, 'P1346', 'Q6625963'] [{'concept': 'Q618779'}, 'P1346', 'Q20856740'] [{'concept': 'Q618779'}, 'P1346', 'Q33999']
SELECT DISTINCT ?b WHERE { ?b property:P1346 resource:Q242526 . ?b rdf:type ontology:Q618779 }
César Award for Most Promising Actress César Award for Best Actress
Sylvie Testud were decalred as a champion of the César Award for Most Promising Actress and César Award for Best Actress
César Award for Most Promising Actress César Award for Best Actress
action filter_type
action find_reverse
entity Sylvie Testud
relation winner
type award
[{'concept': 'award'}, 'winner', 'novelist'] [{'concept': 'award'}, 'winner', 'audio book narrator'] [{'concept': 'award'}, 'winner', 'actor']
SELECT DISTINCT ?b WHERE { ?b property:winner resource:Sylvie_Testud . ?b rdf:type ontology:award }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1346
Q502895
USER
How many people emerged victorious in that award ?
(Q29597,P1346,c(Q502895))
['Q29597', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q29597 property:Q18560095 ?z . ?z rdf:type ontology:Q502895 }
['César Award for Most Promising Actress', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:César_Award_for_Most_Promising_Actress property:winner ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q29597
SYSTEM
Did you mean César Award for Most Promising Actress ?
(Q29597,P1346,c(Q502895)) (Q24241,P1346,c(Q502895))
[ANSWER]
['Q29597', 'P1346', {'concept': 'Q502895'}] ['Q24241', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q29597 property:Q18560095 ?z . ?z rdf:type ontology:Q502895 }
Did you mean César Award for Most Promising Actress ?
César Award for Most Promising Actress
['César Award for Most Promising Actress', 'winner', {'concept': 'common name'}] ['César Award for Best Actress', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:César_Award_for_Most_Promising_Actress property:winner ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q29597,P1346,c(Q502895))
['Q29597', 'P1346', {'concept': 'Q502895'}]
['César Award for Most Promising Actress', 'winner', {'concept': 'common name'}]
[]
SYSTEM
34
Q292677 Q451813 Q1761684 Q2825427 Q239498 Q18684181 Q2671216 Q441684 Q162753 Q3335177 Q541721 Q3156516 Q446883 Q232937 Q259193 Q275664 Q236157 Q3187997 Q236138 Q180491 Q242526 Q262822 Q304123 Q511833 Q51023 Q292756 Q1807890 Q276005 Q240157 Q234581 Q232470 Q275346 Q469967 Q60304
(Q29597,P1346,c(Q502895))
[ANSWER]
['Q29597', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q29597 property:Q18560095 ?z . ?z rdf:type ontology:Q502895 }
Sara Forestier Romane Bohringer Laurence Côte Adèle Exarchopoulos Déborah François Louane Emera Leïla Bekhti Catherine Mouchet Sophie Marceau Naidra Ayadi Hafsia Herzi Izïa Natacha Régnier Sandrine Bonnaire Mathilda May Clotilde Hesme Cécile de France Judith Henry Élodie Bouchez Mélanie Thierry Sylvie Testud Sandrine Kiberlain Audrey Tautou Catherine Jacob Vanessa Paradis Linh Dan Pham Laure Marsac Charlotte Gainsbourg Julie Depardieu Mélanie Laurent Valeria Bruni Tedeschi Rachida Brakni Géraldine Pailhas Emma de Caunes
34
['César Award for Most Promising Actress', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:César_Award_for_Most_Promising_Actress property:winner ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
Which awards were atleast 92 works of art and people nominated for ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action atleast
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 92
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:P1411 ?y . ?y rdf:type ontology:Q618779 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P1411 ?y . ?y rdf:type ontology:Q618779 . ?s rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?k >= 92 ) }
action atleast
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 92
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:nominated_for ?y . ?y rdf:type ontology:award . ?s rdf:type ontology:work_of_art } UNION { ?s property:nominated_for ?y . ?y rdf:type ontology:award . ?s rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?k >= 92 ) }
[]
award work of art common name
Q1043985 Q645595 Q24137
SYSTEM
Carnegie Medal, César Award for Best Film, César Award for Best Director
Q24241 Q7821796 Q640374 Q1723064 Q1445521 Q645595 Q377293 Q1043985 Q1537996 Q37922 Q627778 Q13449461 Q185299 Q1474410 Q24137 Q3993187
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action atleast
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 92
[ANSWERS] were atleast 92 works of art and people nominated for
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:P1411 ?y . ?y rdf:type ontology:Q618779 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P1411 ?y . ?y rdf:type ontology:Q618779 . ?s rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?k >= 92 ) }
César Award for Best Actress Tony Award for Best Lighting Design Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical Tony Award for Best Actor in a Play César Award for Best Film Tony Award for Best Direction of a Musical Carnegie Medal Tony Award for Best Actress in a Musical Nobel Prize in Literature Tony Award for Best Featured Actress in a Play Tony Award for Best Scenic Design Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play César Award for Best Director Tony Award for Best Costume Design
Carnegie Medal, César Award for Best Film and César Award for Best Director were atleast 92 works of art and people nominated for
Carnegie Medal César Award for Best Film César Award for Best Director
action atleast
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 92
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:nominated_for ?y . ?y rdf:type ontology:award . ?s rdf:type ontology:work_of_art } UNION { ?s property:nominated_for ?y . ?y rdf:type ontology:award . ?s rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?k >= 92 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
Which awards were min number of people and works of art nominated for ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action argmin
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?g WHERE { VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?h rdf:type ?s } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?v WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } } GROUP BY ?v } . FILTER ( ?p = ?b ) }
action argmin
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?g WHERE { VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?h rdf:type ?s } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?v WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:common_name ) ( ontology:work_of_art ) } } GROUP BY ?v } . FILTER ( ?p = ?b ) }
[]
award common name work of art
Q1441676 Q847054 Q543729
SYSTEM
American Music Award for Favorite Pop/Rock Band/Duo/Group, MTV Video Music Award for Best Dance Video, MTV Video Music Award for Best Group Video
Q3841608 Q3841602 Q17135175 Q7243504 Q7243505 Q7243503 Q543729 Q850243 Q16994369 Q6496367 Q38461 Q38465 Q5280676 Q5280672 Q15046323 Q16911512 Q1619268 Q847054 Q5593841 Q1542147 Q7243501 Q7243495 Q7243496 Q7243497 Q7243498 Q6496382 Q2603180 Q5593894 Q5593895 Q848322 Q7243510 Q7243513 Q1285780 Q17048589 Q16987659 Q5243445 Q38473 Q38470 Q4649803 Q4354969 Q1357770 Q3841598 Q3841592 Q17092538 Q1542151 Q3841620 Q17010286 Q1441552 Q2085662 Q1441676 Q38138 Q1268066 Q4744486 Q5593902 Q16146879 Q1275727 Q1659576 Q8038463 Q1527242 Q6496345 Q2558222 Q7102152 Q2730331 Q6394341 Q245643 Q3841616 Q3841613 Q3841611 Q3841594 Q3841619 Q7929109 Q16943561 Q17010296 Q1659581 Q1369077 Q38457 Q821166 Q2781969 Q7113054 Q4649829 Q821010 Q1071326 Q1505018 Q2549777 Q221178 Q5593859 Q5593757 Q4649798 Q6496400 Q1271740 Q6496399 Q3131545
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action argmin
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
Min number of people and works of art were nominated for the [ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?g WHERE { VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?h rdf:type ?s } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?v WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } } GROUP BY ?v } . FILTER ( ?p = ?b ) }
MTV Europe Music Award for Best Nordic Act MTV Europe Music Award for Best Danish Act Latin Grammy Award for Best Urban Performance Primetime Emmy Award for Outstanding Costumes for a Series Primetime Emmy Award for Outstanding Main Title Design Primetime Emmy Award for Outstanding Costumes for a Miniseries, Movie or a Special MTV Video Music Award for Best Group Video Grammy Award for Best Hard Rock/Metal Performance Grammy Award for Best Latin Urban Album Latin Grammy Award for Best Norteño Album MTV Europe Music Award for Best Alternative MTV Europe Music Award for Best Dance Directors Guild of America Award for Outstanding Directing – Reality Programs Directors Guild of America Award for Outstanding Directing – Daytime Serials Daytime Emmy Award for Outstanding Drama Series Directing Team American Music Award for Favorite Rap/Hip-Hop Band/Duo/Group Grammy Award for Best Classical Contemporary Composition MTV Video Music Award for Best Dance Video Grammy Award for Best New Age Album Grammy Award for Best Dance/Electronic Album Primetime Emmy Award for Outstanding Cinematography for a Multi-Camera Series Primetime Emmy Award for Outstanding Casting for a Comedy Series Primetime Emmy Award for Outstanding Casting for a Miniseries, Movie, or a Special Primetime Emmy Award for Outstanding Casting for a Drama Series Primetime Emmy Award for Outstanding Choreography Latin Grammy Award for Best Rock Vocal Album, Duo or Group MTV Europe Music Award for Best Ukrainian Act Grammy Award for Best Traditional Folk Album Grammy Award for Best Traditional Gospel Album MTV Video Music Award for Best Video Game Soundtrack Primetime Emmy Award for Outstanding Single-Camera Picture Editing for a Comedy Series Primetime Emmy Award for Outstanding Special Visual Effects Saturn Award for Best Syndicated/Cable Television Series Primetime Emmy Award for Outstanding Narrator Primetime Emmy Award for Short-format Animation Daytime Emmy Award for Outstanding Drama Series Writing Team MTV Europe Music Award for Best Pop MTV Europe Music Award for Best Live Act AACTA Award for Best Direction in Television Primetime Emmy Award for Outstanding Host for a Reality or Reality-Competition Program Saturn Award for Best Guest Starring Role on Television MTV Europe Music Award for Best Asian Act MTV Europe Music Award for Best Album Primetime Emmy Award for Outstanding Stunt Coordination Grammy Award for Best Jazz Fusion Performance MTV Europe Music Award for Best Group Primetime Emmy Award for Outstanding Art Direction for a Multi-Camera Series American Music Award for Favorite Country Band/Duo/Group MTV Europe Music Award for Best Latin American Act American Music Award for Favorite Pop/Rock Band/Duo/Group MTV Europe Music Award for Best Rock Saturn Award for Best Supporting Actor on Television American Music Award for Favorite Contemporary Inspirational Artist Grammy Award for Best Vocal Arrangement for Two or More Voices International Emmy Award for best drama series Saturn Award for Best Actor on Television NAACP Image Award for Outstanding Comedy Series Writers Guild of America Award for Television: Animation American Music Award for Favorite Alternative Artist Latin Grammy Award for Best Engineered Album Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Television Series Orgullosamente Latino Award NAACP Image Award for Outstanding Actor in a Daytime Drama Series Kerrang! Award for Best Single The Best of the Booker MTV Europe Music Award for Best German Act MTV Europe Music Award for Best Portuguese Act MTV Europe Music Award for Best Polish Act MTV Europe Music Award for Best Dutch & Belgian Act MTV Europe Music Award for Best Hungarian Act Vijay Award for Best Story, Screenplay Writer American Music Award for Single of the Year Primetime Emmy Award for Outstanding Character Voice-Over Performance NAACP Image Award for Outstanding Drama Series British Academy Television Awards MTV Europe Music Award for Best World Stage Performance MTV Video Music Award for Best Artist Website Premios Iris Outstanding Team ESPY Award AACTA Award for Best Television Drama Series MTV Video Music Award for Best Alternative Video Un Certain Regard National Book Critics Circle Award Golden Reel Award Bram Stoker Award for Novel Grammy Award for Best Pop/Contemporary Gospel Album Grammy Award for Best Chamber Music Performance AACTA Award for Best Children’s Television Series Latin Grammy Award for Best Urban Song Saturn Award for Best Retro Television Series on DVD Latin Grammy Award for Best Urban Music Album Primetime Emmy Award for Outstanding Voice-Over Performance
Min number of people and works of art were nominated for the American Music Award for Favorite Pop/Rock Band/Duo/Group, MTV Video Music Award for Best Dance Video and MTV Video Music Award for Best Group Video
American Music Award for Favorite Pop/Rock Band/Duo/Group MTV Video Music Award for Best Dance Video MTV Video Music Award for Best Group Video
action argmin
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?g WHERE { VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?h rdf:type ?s } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?v WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:common_name ) ( ontology:work_of_art ) } } GROUP BY ?v } . FILTER ( ?p = ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
Which awards were exactly 20 works of art or people nominated for ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action equal
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 20
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?f rdf:type ?k } GROUP BY ?h } . FILTER ( ?d = 20 ) }
action equal
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 20
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?f rdf:type ?k } GROUP BY ?h } . FILTER ( ?d = 20 ) }
[]
award work of art common name
Q1285970 Q29597 Q545970
SYSTEM
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series, César Award for Most Promising Actress, César Award for Best Original Screenplay
Q26084288 Q1260789 Q29597 Q1285970 Q545970
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action equal
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 20
The Primetime Emmy Award for Outstanding supporting Actor in a Comedy Series, César Award for Most Promising Actress and César Award for Best Original Screenplay were exactly 20 works of art or people nominated for
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?f rdf:type ?k } GROUP BY ?h } . FILTER ( ?d = 20 ) }
Tony Award for Best Sound Design of a Musical Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Supporting Role César Award for Most Promising Actress Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series César Award for Best Original Screenplay
The Primetime Emmy Award for Outstanding supporting Actor in a Comedy Series, César Award for Most Promising Actress and César Award for Best Original Screenplay were exactly 20 works of art or people nominated for
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series César Award for Most Promising Actress César Award for Best Original Screenplay
action equal
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 20
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?f rdf:type ?k } GROUP BY ?h } . FILTER ( ?d = 20 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1346
Q502895 Q618779
USER
How many awards were won by more number of people than that award ?
(c(Q618779),P1346,c(Q502895))
[{'concept': 'Q618779'}, 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q18560095 ?y . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q502895 }
[{'concept': 'award'}, 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:winner ?y . ?z rdf:type ontology:award . ?y rdf:type ontology:common_name }
[]
common name award
Comparative|Count over More/Less|Single entity type|Clarification
Q1285970
SYSTEM
Did you mean Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series ?
(c(Q618779),P1346,c(Q502895))
[ANSWER]
[{'concept': 'Q618779'}, 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q18560095 ?y . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q502895 }
Did you mean Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series ?
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series
[{'concept': 'award'}, 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:winner ?y . ?z rdf:type ontology:award . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q618779),P1346,c(Q502895))
[{'concept': 'Q618779'}, 'P1346', {'concept': 'Q502895'}]
[{'concept': 'award'}, 'winner', {'concept': 'common name'}]
[]
SYSTEM
131
Q971008 Q1780634 Q840286 Q2529789 Q973645 Q905656 Q900494 Q1068479 Q5280675 Q5280674 Q5280670 Q7243507 Q160082 Q19858080 Q615682 Q847054 Q655056 Q839677 Q24241 Q2295011 Q501273 Q989442 Q2925701 Q28003 Q1030402 Q4835652 Q5593890 Q7826362 Q731542 Q734335 Q5305711 Q5305712 Q5305716 Q5305719 Q1328249 Q23091 Q3827469 Q900414 Q6496355 Q503034 Q1967719 Q1142034 Q548129 Q901462 Q922263 Q945887 Q999734 Q922396 Q900385 Q2544859 Q4649800 Q900369 Q1653137 Q645595 Q505449 Q746633 Q3405406 Q3405405 Q3405409 Q5375541 Q900424 Q1659592 Q19858107 Q922348 Q225085 Q5305703 Q5305701 Q5305705 Q136696 Q5530642 Q989453 Q29597 Q1064978 Q2296147 Q4377021 Q898527 Q2295041 Q1026417 Q5569374 Q975308 Q4896614 Q4896598 Q1043985 Q2720648 Q8038464 Q971363 Q51067 Q4790397 Q900352 Q3362499 Q5894564 Q922273 Q530923 Q1341487 Q1247848 Q518675 Q674165 Q944048 Q1575780 Q2981152 Q1265702 Q2216005 Q463606 Q16191288 Q4896782 Q729513 Q48705 Q1285970 Q1441669 Q8035702 Q8035703 Q1065651 Q506565 Q545970 Q2665874 Q1711496 Q17712 Q2530270 Q28835 Q958630 Q24137 Q900447 Q6496321 Q1122821 Q3352524 Q27170 Q1170500 Q1287930 Q159909 Q84000 Q8035707
(c(Q618779),P1346,c(Q502895))
[ANSWER]
[{'concept': 'Q618779'}, 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q18560095 ?y . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q502895 }
Saturn Award for Best Costume Golden Raspberry Award for Worst Picture Best Actress Award Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series Pacem in Terris Award NAS Award in Chemical Sciences César Award for Best Actor Chauvenet Prize Directors Guild of America Award for Outstanding Directing – Feature Film Directors Guild of America Award for Outstanding Directing – Drama Series Directors Guild of America Award for Outstanding Directing – Comedy Series Primetime Emmy Award for Outstanding Main Title Theme Music Man Booker Prize Favorite Pop/Rock Album MTV Video Music Award for Best Cinematography MTV Video Music Award for Best Dance Video César Award for Best First Feature Film John Bates Clark Medal César Award for Best Actress Independent Spirit Award for Best Foreign Film Los Angeles Film Critics Association Award for Best Actress Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series British Academy Television Award for Best Actor Copley Medal John W. Campbell Memorial Award for Best Science Fiction Novel BIFA Award for Best Foreign Independent Film Grammy Award for Best Spoken Word Album Toronto Film Critics Association Award for Best Director Strega Prize Louis Delluc Prize Drama Desk Award for Outstanding Featured Actor in a Musical Drama Desk Award for Outstanding Featured Actor in a Play Drama Desk Award for Outstanding Lyrics Drama Desk Award for Outstanding Musical National Board of Review Award for Best Foreign Language Film César Award for Best Music Written for a Film Latin Grammy Award for Record of the Year César Award for Best Foreign Film Latin Grammy Award for Best Instrumental Album Los Angeles Film Critics Association Award for Best Actor National Society of Film Critics Award for Best Supporting Actress Cartier Diamond Dagger Johann-Peter-Hebel-Preis Damon Knight Memorial Grand Master Award Broadcast Film Critics Association Award for Best Director Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie Albert Lasker Award for Basic Medical Research Broadcast Film Critics Association Award for Best Cast César Award for Best Costume Design Independent Spirit Award for Best Male Lead AACTA Award for Best Actress in a Leading Role César Award for Best Writing NAACP Image Award for Outstanding Actor in a Motion Picture César Award for Best Film Los Angeles Film Critics Association Award for Best Director Henry Draper Medal World Fantasy Award for Best Short Fiction World Fantasy Award for Best Collection World Fantasy Award for Best Novella Encore Award César Award for Best Supporting Actor NAACP Image Award for Outstanding New Artist Favorite Soul/R&B Album Broadcast Film Critics Association Award for Best Supporting Actor César Award for Best Cinematography Drama Desk Award for Outstanding Actress in a Musical Drama Desk Award for Outstanding Actor in a Play Drama Desk Award for Outstanding Book of a Musical Lasker-DeBakey Clinical Medical Research Award Gemini Award for Best Performance by an Actress in a Continuing Leading Dramatic Role Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie César Award for Most Promising Actress MTV Video Music Award for Best Male Video Drama Desk Award for Outstanding One-Person Show Primetime Emmy Award for Individual Performance in a Variety or Music Program World Fantasy Award for Best Novel Independent Spirit Award for Best Director Caldecott Medal Producers Guild of America Award for Best Theatrical Motion Picture NAS Award in Molecular Biology Best Comeback Athlete ESPY Award Best Breakthrough Athlete ESPY Award Carnegie Medal James E. Sullivan Award Writers Guild of America Award for Television: Comedy Series Guardian Children's Fiction Prize Lenin Prize Ariel Award for Best Actress César Award for Best Production Design Canadian Music Hall of Fame Hong Kong Film Award for Best New Performer Broadcast Film Critics Association Award for Best Supporting Actress Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series Philip K. Dick Award Ruth Music Award Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Tony Award for Best Featured Actor in a Musical NIN Prize Hannah Arendt Prize Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series Saturn Award for Best Director Salzburg Bull Award American Book Awards Gold Logie Award for Most Popular Personality on Australian Television Best Play ESPY Award Pichichi Trophy César Award for Most Promising Actor Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series Favorite Pop/Rock Male Artist World Fantasy Award—Artist World Fantasy Award for Best Anthology MTV Video Music Award for Video of the Year Los Angeles Film Critics Association Award for Best Supporting Actor César Award for Best Original Screenplay Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Motion Picture Grand Prize of the Danish Academy Albert Einstein Medal Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Fields Medal John W. Campbell Award for Best New Writer César Award for Best Director César Award for Best Editing Latin Grammy Award for Album of the Year Comstock Prize in Physics Eckersberg Medal Glass Key award Independent Spirit Award for Best First Feature Albert Einstein World Award of Science Goethe Prize César Award for Best Supporting Actress World Fantasy Special Award: Professional
131
[{'concept': 'award'}, 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:winner ?y . ?z rdf:type ontology:award . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q24137
P1411
Q838948 Q502895
USER
How many works of art or people were a nomination for César Award for Best Director ?
(c(Q838948),P1411,Q24137) (c(Q502895),P1411,Q24137)
action count
action union
action filter_type
action find_reverse
entity Q24137
relation P1411
type Q838948
action filter_type
action find_reverse
entity Q24137
relation P1411
type Q502895
[{'concept': 'Q838948'}, 'P1411', 'Q24137'] [{'concept': 'Q502895'}, 'P1411', 'Q24137']
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:P1411 resource:Q24137 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P1411 resource:Q24137 . ?y rdf:type ontology:Q502895 } }
César Award for Best Director
action count
action union
action filter_type
action find_reverse
entity César Award for Best Director
relation nominated for
type work of art
action filter_type
action find_reverse
entity César Award for Best Director
relation nominated for
type common name
[{'concept': 'work of art'}, 'nominated for', 'César Award for Best Director'] [{'concept': 'common name'}, 'nominated for', 'César Award for Best Director']
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:nominated_for resource:César_Award_for_Best_Director . ?y rdf:type ontology:work_of_art } UNION { ?y property:nominated_for resource:César_Award_for_Best_Director . ?y rdf:type ontology:common_name } }
[]
work of art common name
SYSTEM
61
Q691335 Q3367671 Q55375 Q218022 Q718596 Q503898 Q1138798 Q53001 Q53002 Q106506 Q1140257 Q523144 Q1130644 Q11390744 Q1169568 Q1049604 Q1165071 Q117071 Q818119 Q355835 Q440609 Q115484 Q1168288 Q709973 Q550717 Q1061541 Q1873071 Q106685 Q451637 Q1139259 Q106709 Q276186 Q1169399 Q599556 Q1056781 Q11648811 Q307996 Q312258 Q229990 Q533866 Q337226 Q366057 Q106669 Q737693 Q453371 Q53050 Q382389 Q919635 Q312280 Q2935123 Q1130313 Q710650 Q1056376 Q167475 Q50764 Q1053096 Q55392 Q296698 Q1171154 Q3340680 Q1683035
(c(Q838948),P1411,Q24137) (c(Q502895),P1411,Q24137)
action count
action union
action filter_type
action find_reverse
entity Q24137
relation P1411
type Q838948
action filter_type
action find_reverse
entity Q24137
relation P1411
type Q502895
[ANSWER]
[{'concept': 'Q838948'}, 'P1411', 'Q24137'] [{'concept': 'Q502895'}, 'P1411', 'Q24137']
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:P1411 resource:Q24137 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P1411 resource:Q24137 . ?y rdf:type ontology:Q502895 } }
Arnaud Desplechin Pascale Ferran Claude Chabrol Alain Resnais Robert Guédiguian Maurice Pialat That Obscure Object of Desire Jean-Luc Godard François Truffaut The Fifth Element The Messenger: The Story of Joan of Arc André Téchiné Indochine Venus in Fur Kings and Queen The Last Metro Danton Laurent Cantet Benoît Jacquot Mathieu Amalric Noémie Lvovsky Garde à Vue L'argent des autres Jean-Paul Rappeneau Olivier Assayas A Prophet Lucas Belvaux Andrzej Wajda Christine Pascal The Class Patrice Leconte Aki Kaurismäki Le Concert Michel Deville Don Giovanni La Vie d'Adèle Abdellatif Kechiche Jacques Demy Agnès Varda Pierre Granier-Deferre Bertrand Tavernier Patrice Chéreau Claude Sautet Leos Carax Claude Miller Francesco Rosi Jacques Audiard Capitaine Conan Alain Corneau Camille redouble Of Gods and Men Jacques Doillon Carmen Jacques Rivette Éric Rohmer Christian de Chalonge Louis Malle Costa-Gavras An Impudent Girl Nicolas Philibert Alain Cavalier
61
action count
action union
action filter_type
action find_reverse
entity César Award for Best Director
relation nominated for
type work of art
action filter_type
action find_reverse
entity César Award for Best Director
relation nominated for
type common name
[{'concept': 'work of art'}, 'nominated for', 'César Award for Best Director'] [{'concept': 'common name'}, 'nominated for', 'César Award for Best Director']
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:nominated_for resource:César_Award_for_Best_Director . ?y rdf:type ontology:work_of_art } UNION { ?y property:nominated_for resource:César_Award_for_Best_Director . ?y rdf:type ontology:common_name } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q170790
P180
Q12737077 Q15709879 Q838948
USER
How many occupations are depicted in around the same number of artwork series and works of art as mathematician ?
(c(Q15709879)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q170790
relation P180
type Q15709879
type Q838948
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?g WHERE { { ?r property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q15709879 } UNION { ?r property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q838948 } } GROUP BY ?g } . FILTER ( ?p = ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P180 resource:Q170790 . { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } . ?y rdf:type ?e } } } }
mathematician
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity mathematician
relation depicts
type artwork series
type work of art
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?g WHERE { { ?r property:depicts ?g . ?g rdf:type ontology:occupation . ?r rdf:type ontology:artwork_series } UNION { ?r property:depicts ?g . ?g rdf:type ontology:occupation . ?r rdf:type ontology:work_of_art } } GROUP BY ?g } . FILTER ( ?p = ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:depicts resource:mathematician . { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } . ?y rdf:type ?e } } } }
[]
occupation artwork series work of art
SYSTEM
206
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q15709879)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q170790
relation P180
type Q15709879
type Q838948
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?g WHERE { { ?r property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q15709879 } UNION { ?r property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q838948 } } GROUP BY ?g } . FILTER ( ?p = ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P180 resource:Q170790 . { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } . ?y rdf:type ?e } } } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer priestess gravedigger erudite comics artist boxer chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
206
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity mathematician
relation depicts
type artwork series
type work of art
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?g WHERE { { ?r property:depicts ?g . ?g rdf:type ontology:occupation . ?r rdf:type ontology:artwork_series } UNION { ?r property:depicts ?g . ?g rdf:type ontology:occupation . ?r rdf:type ontology:work_of_art } } GROUP BY ?g } . FILTER ( ?p = ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:depicts resource:mathematician . { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } . ?y rdf:type ?e } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q15284879
P180
Q12737077 Q15709879 Q838948
USER
And how about plasterer?
(c(Q15709879)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15284879
relation P180
type Q15709879
type Q838948
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q15709879 } UNION { ?f property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q838948 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P180 resource:Q15284879 . { ?c rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15709879 ) ( ontology:Q838948 ) } } } } . FILTER ( ?h = ?e ) }
plasterer
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity plasterer
relation depicts
type artwork series
type work of art
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:depicts ?x . ?x rdf:type ontology:occupation . ?f rdf:type ontology:artwork_series } UNION { ?f property:depicts ?x . ?x rdf:type ontology:occupation . ?f rdf:type ontology:work_of_art } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:depicts resource:plasterer . { ?c rdf:type ?d . VALUES ( ?d ) { ( ontology:artwork_series ) ( ontology:work_of_art ) } } } } . FILTER ( ?h = ?e ) }
[]
occupation artwork series work of art
SYSTEM
206
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q15709879)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15284879
relation P180
type Q15709879
type Q838948
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q15709879 } UNION { ?f property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q838948 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P180 resource:Q15284879 . { ?c rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15709879 ) ( ontology:Q838948 ) } } } } . FILTER ( ?h = ?e ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer priestess gravedigger erudite comics artist boxer chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
206
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity plasterer
relation depicts
type artwork series
type work of art
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:depicts ?x . ?x rdf:type ontology:occupation . ?f rdf:type ontology:artwork_series } UNION { ?f property:depicts ?x . ?x rdf:type ontology:occupation . ?f rdf:type ontology:work_of_art } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:depicts resource:plasterer . { ?c rdf:type ?d . VALUES ( ?d ) { ( ontology:artwork_series ) ( ontology:work_of_art ) } } } } . FILTER ( ?h = ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1043985
P166
Q502895
USER
Which people won Carnegie Medal ?
(c(Q502895),P166,Q1043985)
action filter_type
action find_reverse
entity Q1043985
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q1043985']
SELECT DISTINCT ?p WHERE { ?p property:P166 resource:Q1043985 . ?p rdf:type ontology:Q502895 }
Carnegie Medal
action filter_type
action find_reverse
entity Carnegie Medal
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Carnegie Medal']
SELECT DISTINCT ?p WHERE { ?p property:award_received resource:Carnegie_Medal . ?p rdf:type ontology:common_name }
[]
common name
Q210059 Q9204 Q46248
SYSTEM
Neil Gaiman, C. S. Lewis, Terry Pratchett
Q242571 Q275633 Q16163345 Q510811 Q21175452 Q190220 Q17106376 Q4983305 Q313289 Q4958534 Q1190051 Q532757 Q470302 Q4937558 Q467058 Q508765 Q1347607 Q5079712 Q1760291 Q16014832 Q3404949 Q5341926 Q9204 Q3270582 Q919835 Q981086 Q276472 Q446747 Q1740117 Q254215 Q705074 Q1886587 Q6698412 Q1148078 Q1233018 Q464963 Q535822 Q5962373 Q7323782 Q7492388 Q457371 Q262274 Q4955103 Q46248 Q16187761 Q3244263 Q2064855 Q706856 Q384481 Q139506 Q5238959 Q515845 Q265756 Q258669 Q951657 Q448246 Q210059 Q2579910 Q403877 Q600261 Q4988543 Q4952797 Q3270328 Q380983 Q5359930 Q937084 Q4945053 Q275092 Q359498
(c(Q502895),P166,Q1043985)
action filter_type
action find_reverse
entity Q1043985
relation P166
type Q502895
[ANSWERS] won Carnegie Medal
[{'concept': 'Q502895'}, 'P166', 'Q1043985']
SELECT DISTINCT ?p WHERE { ?p property:P166 resource:Q1043985 . ?p rdf:type ontology:Q502895 }
Elizabeth Goudge Margaret Mahy Agnes Allen Sharon Creech Tanya Landman Philip Pullman Edward Osmond Mary Treadgold Richard Adams Gene Kemp Denys Watkins-Pitchford Beverley Naidoo Meg Rosoff Kitty Barne Noel Streatfeild Philippa Pearce Ivan Southall Charles Keeping Leon Garfield Hester Burton Ronald Welch Edward Blishen C. S. Lewis Susan Price Eric Linklater Walter de la Mare Berlie Doherty Theresa Breslin Kevin Crossley-Holland Rosemary Sutcliff Peter Dickinson Mal Peet Lucy M. Boston Cynthia Harnett Frank Cottrell Boyce Jennifer Donnelly Sally Gardner Philip Turner Richard Armstrong Sheena Porter Geraldine McCaughrean Penelope Lively Mollie Hunter Terry Pratchett I. W. Cornwall K.M. Peyton Robert Swindells David Almond Alan Garner Pauline Clarke David Rees Arthur Ransome Mary Norton Eleanor Farjeon Melvin Burgess Anne Fine Neil Gaiman William Mayne Aidan Chambers Tim Bowler Eve Garnett Rosemary Harris Jan Mark Siobhan Dowd Elfrida Vipont Philip Reeve Eleanor Doorly Gillian Cross Robert Westall
Neil Gaiman, C. S. Lewis and Terry Pratchett won Carnegie Medal
Neil Gaiman C. S. Lewis Terry Pratchett
action filter_type
action find_reverse
entity Carnegie Medal
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Carnegie Medal']
SELECT DISTINCT ?p WHERE { ?p property:award_received resource:Carnegie_Medal . ?p rdf:type ontology:common_name }
[]