Simple Question (Direct)
Simple Question
Q3986216
P364
Q11028
USER
What is considered to be the original language of creation of The Case of Becky ?
(Q3986216,P364,c(Q11028))
action filter_type
action find
entity Q3986216
relation P364
type Q11028
['Q3986216', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?p WHERE { resource:Q3986216 property:P364 ?p . ?p rdf:type ontology:Q11028 }
The Case of Becky
action filter_type
action find
entity The Case of Becky
relation original language of work
type information
['The Case of Becky', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?p WHERE { resource:The_Case_of_Becky property:original_language_of_work ?p . ?p rdf:type ontology:information }
[]
information
Q21686005
SYSTEM
n/a (silent film)
Q21686005
(Q3986216,P364,c(Q11028))
action filter_type
action find
entity Q3986216
relation P364
type Q11028
[ANSWER] is considered to be the original language of creation of The Case of Becky
['Q3986216', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?p WHERE { resource:Q3986216 property:P364 ?p . ?p rdf:type ontology:Q11028 }
n/a (silent film)
N/a (silent film) is considered to be the original language of creation of The Case of Becky
n/a (silent film)
action filter_type
action find
entity The Case of Becky
relation original language of work
type information
['The Case of Becky', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?p WHERE { resource:The_Case_of_Becky property:original_language_of_work ?p . ?p rdf:type ontology:information }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3986216
P495
Q15617994
USER
Which administrative territory is the country of origin of that film genre ?
(Q21686005,P495,c(Q15617994))
action filter_type
action find
entity Q3986216
relation P495
type Q15617994
['Q21686005', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3986216 property:P495 ?w . ?w rdf:type ontology:Q15617994 }
The Case of Becky
action filter_type
action find
entity The Case of Becky
relation country of origin
type designation for an administrative territorial entity
['n/a (silent film)', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:The_Case_of_Becky property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q21686005,P495,c(Q15617994))
action filter_type
action find
entity Q3986216
relation P495
type Q15617994
[ANSWER] is the country of origin of that film genre
['Q21686005', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3986216 property:P495 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of origin of that film genre
United States of America
action filter_type
action find
entity The Case of Becky
relation country of origin
type designation for an administrative territorial entity
['n/a (silent film)', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:The_Case_of_Becky property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q5962346 Q34770 Q15617994
USER
How many administrative territories are atmost 1 classification schemes or languages associated to as the official language ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action atmost
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
value 1
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?h <= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { VALUES ( ?b ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } . ?c rdf:type ?b } GROUP BY ?j } }
action count
action atmost
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?h <= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { VALUES ( ?b ) { ( ontology:language ) ( ontology:classification_scheme ) } . ?c rdf:type ?b } GROUP BY ?j } }
[]
classification scheme language designation for an administrative territorial entity
SYSTEM
214
Q805 Q804 Q399 Q801 Q800 Q473259 Q709 Q398 Q668 Q414 Q142 Q1039 Q21671144 Q1948 Q32 Q12536 Q262 Q148 Q783 Q784 Q265 Q30 Q37 Q493428 Q16006 Q712 Q711 Q710 Q717 Q837 Q2003 Q252 Q2068764 Q21850324 Q403 Q657 Q258 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q673813 Q790 Q4628 Q796 Q794 Q954 Q953 Q669945 Q884 Q958 Q881 Q503181 Q986 Q219 Q826 Q247613 Q241 Q242 Q244 Q1974 Q811 Q603392 Q53381 Q33 Q921 Q31 Q101526 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q165934 Q423 Q889 Q851 Q733 Q29999 Q854 Q734 Q819 Q253445 Q424 Q55 Q730 Q1013 Q236 Q795587 Q230 Q232 Q693658 Q145 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q21853467 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q1904 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q686312 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q59118 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q243220 Q683 Q34020 Q686 Q836 Q760 Q574 Q637451 Q874 Q3365904 Q79 Q77 Q858 Q199688 Q878 Q774 Q948 Q817 Q810 Q770 Q813 Q1014 Q1016 Q1011 Q945 Q678 Q8575586 Q21848848 Q233 Q672 Q176 Q61698 Q822 Q1952 Q863 Q2023 Q869 Q1230929
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action atmost
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?h <= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { VALUES ( ?b ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } . ?c rdf:type ?b } GROUP BY ?j } }
Yemen Panama Armenia Israel Costa Rica Ammerthal Marshall Islands Bahrain India Argentina France Sao Tomé and Príncipe Mezhetchina Manitoba Luxembourg Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan United States of America Lithuania Mistretta Goch Fiji Mongolia Kiribati Venezuela Nepal Newfoundland and Labrador Indonesia Archa Darugha Gireyevo Serbia Chad South Africa Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Euratsfeld Haiti Faroe Islands Iraq Iran Zimbabwe Zambia Vorau South Korea South Sudan Vietnam Herzberg am Harz Eritrea Bulgaria Maldives Bernese Jura Cuba Belize Barbados British Columbia Nicaragua Schönwalde Tolmezzo Finland Brunei Belgium Rovetta Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Colombia Bokensdorf North Korea Afghanistan Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Kolbermoor Cambodia Netherlands Suriname Lesotho Montenegro Escuintla Georgia Kazakhstan Izabal Department United Kingdom San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Romanovo Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Ontario Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Duchy of Amalfi Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Aappilattoq Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Rocca di Cave Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Uruguay Syria Almohad United Arab Emirates Guatemala Tunisia Kuwait Jordan Friesland Kyrgyzstan Liberia Libya Cape Verde Togo Tonga Umayyad Caliphate Lyskovo Malta Tuvalu Quebec Büsingen Lebanon Nova Scotia Tajikistan Nunavut Thailand Kesklinn
214
action count
action atmost
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?h <= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { VALUES ( ?b ) { ( ontology:language ) ( ontology:classification_scheme ) } . ?c rdf:type ?b } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3986216
P344
Q502895
USER
Which person serves as the director of photography for The Case of Becky ?
(Q3986216,P344,c(Q502895))
action filter_type
action find
entity Q3986216
relation P344
type Q502895
['Q3986216', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3986216 property:P344 ?a . ?a rdf:type ontology:Q502895 }
The Case of Becky
action filter_type
action find
entity The Case of Becky
relation director of photography
type common name
['The Case of Becky', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Case_of_Becky property:director_of_photography ?a . ?a rdf:type ontology:common_name }
[]
common name
Q329176
SYSTEM
George J. Folsey
Q329176
(Q3986216,P344,c(Q502895))
action filter_type
action find
entity Q3986216
relation P344
type Q502895
As [ANSWER] serves as the director of photography for The Case of Becky
['Q3986216', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3986216 property:P344 ?a . ?a rdf:type ontology:Q502895 }
George J. Folsey
As George J. Folsey serves as the director of photography for The Case of Becky
George J. Folsey
action filter_type
action find
entity The Case of Becky
relation director of photography
type common name
['The Case of Becky', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Case_of_Becky property:director_of_photography ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7575854
Q502895
USER
And how about Spellbound?
(Q7575854,P344,c(Q502895))
action filter_type
action find
entity Q7575854
relation P344
type Q502895
['Q7575854', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q7575854 property:P344 ?t . ?t rdf:type ontology:Q502895 }
Spellbound
action filter_type
action find
entity Spellbound
relation director of photography
type common name
['Spellbound', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Spellbound property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
common name
Q707321
SYSTEM
Guy Green
Q707321
(Q7575854,P344,c(Q502895))
action filter_type
action find
entity Q7575854
relation P344
type Q502895
[ANSWER]
['Q7575854', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q7575854 property:P344 ?t . ?t rdf:type ontology:Q502895 }
Guy Green
Guy Green
action filter_type
action find
entity Spellbound
relation director of photography
type common name
['Spellbound', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Spellbound property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q19361299
P110
Q502895 Q571 Q26971562
USER
How many people illustrated more number of books and comic formats than Christiaan Andreas Sepp ?
(c(Q571)|c(Q26971562),P110,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action count
action filter_multi_types
action find_reverse
entity Q19361299
relation P110
type Q571
type Q26971562
[[{'concept': 'Q571'}, {'concept': 'Q26971562'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P110 resource:Q19361299 . { VALUES ( ?r ) { ( ontology:Q26971562 ) ( ontology:Q571 ) } . ?b rdf:type ?r } } } . FILTER ( ?q > ?f ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?d . VALUES ( ?d ) { ( ontology:Q571 ) ( ontology:Q26971562 ) } } GROUP BY ?n } }
Christiaan Andreas Sepp
action count
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action count
action filter_multi_types
action find_reverse
entity Christiaan Andreas Sepp
relation illustrator
type book
type comic format
[[{'concept': 'book'}, {'concept': 'comic format'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:illustrator resource:Christiaan_Andreas_Sepp . { VALUES ( ?r ) { ( ontology:comic_format ) ( ontology:book ) } . ?b rdf:type ?r } } } . FILTER ( ?q > ?f ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?d . VALUES ( ?d ) { ( ontology:book ) ( ontology:comic_format ) } } GROUP BY ?n } }
[]
common name book comic format
SYSTEM
103
Q457881 Q1654509 Q24259036 Q24259034 Q982401 Q11264875 Q6682 Q5488651 Q24259199 Q22322914 Q5082131 Q7026779 Q27042725 Q361970 Q7340147 Q772558 Q941468 Q378710 Q17114155 Q16737250 Q12026771 Q128027 Q282121 Q6396491 Q1591928 Q7029528 Q27624911 Q374823 Q525713 Q544975 Q96116 Q313945 Q102108 Q7182001 Q309945 Q650946 Q5721334 Q2535205 Q1507860 Q16065421 Q3272581 Q3260577 Q1866386 Q214565 Q6221056 Q2957653 Q18534452 Q301112 Q19364029 Q272324 Q384225 Q15053140 Q2932464 Q13769198 Q16198124 Q102139 Q729902 Q41513 Q15987638 Q24259053 Q531358 Q15912340 Q22138337 Q17284472 Q15725991 Q6224222 Q206685 Q6787709 Q5363905 Q144520 Q27067551 Q551359 Q999229 Q3528336 Q610576 Q660917 Q27031075 Q3188310 Q167768 Q3018977 Q3433199 Q211619 Q966547 Q3268108 Q1375265 Q313703 Q24259135 Q24259046 Q16030513 Q11644966 Q1018606 Q20155972 Q24259104 Q983349 Q23771657 Q19359177 Q15970956 Q1374807 Q24547769 Q7149500 Q1582739 Q7426424 Q7366035
(c(Q571)|c(Q26971562),P110,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action count
action filter_multi_types
action find_reverse
entity Q19361299
relation P110
type Q571
type Q26971562
[ANSWER]
[[{'concept': 'Q571'}, {'concept': 'Q26971562'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P110 resource:Q19361299 . { VALUES ( ?r ) { ( ontology:Q26971562 ) ( ontology:Q571 ) } . ?b rdf:type ?r } } } . FILTER ( ?q > ?f ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?d . VALUES ( ?d ) { ( ontology:Q571 ) ( ontology:Q26971562 ) } } GROUP BY ?n } }
John Tenniel Jean-Richard Geurts Cory Loftis David Goetz Edward Gorey Akira Kiduki Gustave Doré Frank Newfeld Bill Schwab Kwoon Moon-hee Charles Robinson Nick Bertozzi Richard Forgues Louis Le Breton Rob G. Carlo Chiostri Michał Elwiro Andriolli Katsuhiro Otomo Aliy Zirkle George Tate Josef Wenig Giorgio Vasari Yoshiyuki Sadamoto Kevin Henkes John Gilbert Nicolas Bentley Jan Kostěnec Kōshi Rikudō Howard Pyle Mike Mignola Axel Scheffler Gosho Aoyama Alan Lee Phil Hester Peyo Věnceslav Černý Henry Flint Enrico Mazzanti George Marston Watts Phillips Takao Aoki Louis-Henri Brévière Louis Rhead Beatrix Potter John Batchelor Charb Vladimír Rocman Erhard Altdorfer Anne Leduc-Dardill Masami Tsuda Eduardo Risso Ray Hutchins Cabu Alexandre Moisy Philip Dadd Margrethe II of Denmark David Lloyd William Blake H. R. Hammond Mac George Louisa Anne Meredith Nathaniel Orr Richard George Suter Patric Reynolds Joseph Schindelman John Byrne Albert Uderzo Mato Yoshiaki Sukeno Kurt Wiese Bill Maus Go Nagai Sakura Asagi Tignous Yūji Iwahara Walter Crane Agustin Alessio Jul William Makepeace Thackeray David Wenzel Laurent Sourisseau Dale Baer Léon Benett Luz Georges Wolinski Takeshi Obata Nick Orsi Marty Baumann Tommy McRae Takeshi Nogami Byron Howard Sydney Seymour Lucas Borja Montoro Newell Convers Wyeth Shiyoon Kim Kakuzō Fujiyama Philippe Honoré John Leech A. Barton Kent Paul Bransom Hans Tegner Satoshi Yamamoto Ronnie del Carmen
103
action count
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action count
action filter_multi_types
action find_reverse
entity Christiaan Andreas Sepp
relation illustrator
type book
type comic format
[[{'concept': 'book'}, {'concept': 'comic format'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:illustrator resource:Christiaan_Andreas_Sepp . { VALUES ( ?r ) { ( ontology:comic_format ) ( ontology:book ) } . ?b rdf:type ?r } } } . FILTER ( ?q > ?f ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?d . VALUES ( ?d ) { ( ontology:book ) ( ontology:comic_format ) } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2848482
P110
Q502895 Q571 Q26971562
USER
And also tell me about André Pécoud?
(c(Q571)|c(Q26971562),P110,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action count
action filter_multi_types
action find_reverse
entity Q2848482
relation P110
type Q571
type Q26971562
[[{'concept': 'Q571'}, {'concept': 'Q26971562'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?w WHERE { { ?c property:P110 ?w . ?w rdf:type ontology:Q502895 . ?c rdf:type ontology:Q571 } UNION { ?w rdf:type ontology:Q502895 . ?c rdf:type ontology:Q26971562 . ?c property:P110 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:P110 resource:Q2848482 . { { ?b rdf:type ontology:Q571 } UNION { ?b rdf:type ontology:Q26971562 } } } } . FILTER ( ?h > ?o ) }
André Pécoud
action count
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action count
action filter_multi_types
action find_reverse
entity André Pécoud
relation illustrator
type book
type comic format
[[{'concept': 'book'}, {'concept': 'comic format'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?w WHERE { { ?c property:illustrator ?w . ?w rdf:type ontology:common_name . ?c rdf:type ontology:book } UNION { ?w rdf:type ontology:common_name . ?c rdf:type ontology:comic_format . ?c property:illustrator ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:illustrator resource:André_Pécoud . { { ?b rdf:type ontology:book } UNION { ?b rdf:type ontology:comic_format } } } } . FILTER ( ?h > ?o ) }
[]
common name book comic format
SYSTEM
103
Q457881 Q1654509 Q24259036 Q24259034 Q982401 Q11264875 Q6682 Q5488651 Q24259199 Q22322914 Q5082131 Q7026779 Q27042725 Q361970 Q7340147 Q772558 Q941468 Q378710 Q17114155 Q16737250 Q12026771 Q128027 Q282121 Q6396491 Q1591928 Q7029528 Q27624911 Q374823 Q525713 Q544975 Q96116 Q313945 Q102108 Q7182001 Q309945 Q650946 Q5721334 Q2535205 Q1507860 Q16065421 Q3272581 Q3260577 Q1866386 Q214565 Q6221056 Q2957653 Q18534452 Q301112 Q19364029 Q272324 Q384225 Q15053140 Q2932464 Q13769198 Q16198124 Q102139 Q729902 Q41513 Q15987638 Q24259053 Q531358 Q15912340 Q22138337 Q17284472 Q15725991 Q6224222 Q206685 Q6787709 Q5363905 Q144520 Q27067551 Q551359 Q999229 Q3528336 Q610576 Q660917 Q27031075 Q3188310 Q167768 Q3018977 Q3433199 Q211619 Q966547 Q3268108 Q1375265 Q313703 Q24259135 Q24259046 Q16030513 Q11644966 Q1018606 Q20155972 Q24259104 Q983349 Q23771657 Q19359177 Q15970956 Q1374807 Q24547769 Q7149500 Q1582739 Q7426424 Q7366035
(c(Q571)|c(Q26971562),P110,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action count
action filter_multi_types
action find_reverse
entity Q2848482
relation P110
type Q571
type Q26971562
[ANSWER]
[[{'concept': 'Q571'}, {'concept': 'Q26971562'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?w WHERE { { ?c property:P110 ?w . ?w rdf:type ontology:Q502895 . ?c rdf:type ontology:Q571 } UNION { ?w rdf:type ontology:Q502895 . ?c rdf:type ontology:Q26971562 . ?c property:P110 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:P110 resource:Q2848482 . { { ?b rdf:type ontology:Q571 } UNION { ?b rdf:type ontology:Q26971562 } } } } . FILTER ( ?h > ?o ) }
John Tenniel Jean-Richard Geurts Cory Loftis David Goetz Edward Gorey Akira Kiduki Gustave Doré Frank Newfeld Bill Schwab Kwoon Moon-hee Charles Robinson Nick Bertozzi Richard Forgues Louis Le Breton Rob G. Carlo Chiostri Michał Elwiro Andriolli Katsuhiro Otomo Aliy Zirkle George Tate Josef Wenig Giorgio Vasari Yoshiyuki Sadamoto Kevin Henkes John Gilbert Nicolas Bentley Jan Kostěnec Kōshi Rikudō Howard Pyle Mike Mignola Axel Scheffler Gosho Aoyama Alan Lee Phil Hester Peyo Věnceslav Černý Henry Flint Enrico Mazzanti George Marston Watts Phillips Takao Aoki Louis-Henri Brévière Louis Rhead Beatrix Potter John Batchelor Charb Vladimír Rocman Erhard Altdorfer Anne Leduc-Dardill Masami Tsuda Eduardo Risso Ray Hutchins Cabu Alexandre Moisy Philip Dadd Margrethe II of Denmark David Lloyd William Blake H. R. Hammond Mac George Louisa Anne Meredith Nathaniel Orr Richard George Suter Patric Reynolds Joseph Schindelman John Byrne Albert Uderzo Mato Yoshiaki Sukeno Kurt Wiese Bill Maus Go Nagai Sakura Asagi Tignous Yūji Iwahara Walter Crane Agustin Alessio Jul William Makepeace Thackeray David Wenzel Laurent Sourisseau Dale Baer Léon Benett Luz Georges Wolinski Takeshi Obata Nick Orsi Marty Baumann Tommy McRae Takeshi Nogami Byron Howard Sydney Seymour Lucas Borja Montoro Newell Convers Wyeth Shiyoon Kim Kakuzō Fujiyama Philippe Honoré John Leech A. Barton Kent Paul Bransom Hans Tegner Satoshi Yamamoto Ronnie del Carmen
103
action count
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action count
action filter_multi_types
action find_reverse
entity André Pécoud
relation illustrator
type book
type comic format
[[{'concept': 'book'}, {'concept': 'comic format'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?w WHERE { { ?c property:illustrator ?w . ?w rdf:type ontology:common_name . ?c rdf:type ontology:book } UNION { ?w rdf:type ontology:common_name . ?c rdf:type ontology:comic_format . ?c property:illustrator ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:illustrator resource:André_Pécoud . { { ?b rdf:type ontology:book } UNION { ?b rdf:type ontology:comic_format } } } } . FILTER ( ?h > ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q707321
P21
Q290
USER
What is the sex of Guy Green ?
(Q707321,P21,c(Q290))
action filter_type
action find
entity Q707321
relation P21
type Q290
['Q707321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q707321 property:P21 ?y . ?y rdf:type ontology:Q290 }
Guy Green
action filter_type
action find
entity Guy Green
relation gender
type sex
['Guy Green', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Guy_Green property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q707321,P21,c(Q290))
action filter_type
action find
entity Q707321
relation P21
type Q290
The sex of Guy Green is a [ANSWER]
['Q707321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q707321 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of Guy Green is a male
male
action filter_type
action find
entity Guy Green
relation gender
type sex
['Guy Green', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Guy_Green property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q707321
P57
Q838948
USER
Which works of art did that person direct ?
(c(Q838948),P57,Q6581097)
action filter_type
action find_reverse
entity Q707321
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q6581097']
SELECT DISTINCT ?c WHERE { ?c property:P57 resource:Q707321 . ?c rdf:type ontology:Q838948 }
Guy Green
action filter_type
action find_reverse
entity Guy Green
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'male']
SELECT DISTINCT ?c WHERE { ?c property:director resource:Guy_Green . ?c rdf:type ontology:work_of_art }
[]
work of art
Q223043 Q7713821 Q1056328
SYSTEM
A Patch of Blue, The Angry Silence, The Magus
Q7392119 Q1877824 Q24000028 Q1289297 Q1219349 Q7713821 Q1213657 Q3041629 Q4171708 Q1138626 Q7242271 Q1056328 Q1161625 Q2276866 Q223043 Q7729890 Q7232249 Q4660529 Q6683800
(c(Q838948),P57,Q6581097)
action filter_type
action find_reverse
entity Q707321
relation P57
type Q838948
That person directed for [ANSWERS]
[{'concept': 'Q838948'}, 'P57', 'Q6581097']
SELECT DISTINCT ?c WHERE { ?c property:P57 resource:Q707321 . ?c rdf:type ontology:Q838948 }
SOS Pacific Luther Isabel's Choice House of Secrets Sea of Sand The Angry Silence River Beat Light in the Piazza The Snorkel Diamond Head Pretty Polly The Magus The Mark Once Is Not Enough A Patch of Blue The Devil's Advocate Portrait of Alison A Walk in the Spring Rain Lost
That person directed for A Patch of Blue, The Angry Silence and The Magus
A Patch of Blue The Angry Silence The Magus
action filter_type
action find_reverse
entity Guy Green
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'male']
SELECT DISTINCT ?c WHERE { ?c property:director resource:Guy_Green . ?c rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20684656 Q707321
P344
Q838948
USER
Which works of art have Guy Green or John MacBurnie as cinematographer ?
OR((c(Q838948),P344,Q707321), (c(Q838948),P344,Q20684656))
action filter_type
action union
action find_reverse
entity Q707321
relation P344
action find_reverse
entity Q20684656
relation P344
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P344', 'Q707321'], [{'concept': 'Q838948'}, 'P344', 'Q20684656']]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?j ) { ( resource:Q707321 ) ( resource:Q20684656 ) } . ?x property:P344 ?j } . ?x rdf:type ontology:Q838948 }
John MacBurnie Guy Green
action filter_type
action union
action find_reverse
entity Guy Green
relation director of photography
action find_reverse
entity John MacBurnie
relation director of photography
type work of art
{'OR': [[{'concept': 'work of art'}, 'director of photography', 'Guy Green'], [{'concept': 'work of art'}, 'director of photography', 'John MacBurnie']]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?j ) { ( resource:Guy_Green ) ( resource:John_MacBurnie ) } . ?x property:director_of_photography ?j } . ?x rdf:type ontology:work_of_art }
[]
work of art
Q3423674 Q4884160 Q15623348 Q21647051 Q961039 Q3202330 Q21528190 Q2656457 Q16599169 Q2021034
SYSTEM
Some of them are I Am a Camera, Bells of Coronado, Arizona Manhunt, Streets of San Francisco, The Story of Robin Hood and His Merrie Men, The Dark Avenger, The Tulsa Kid, Madeleine, Rustlers on Horseback, Ghost of Zorro
Q21528055 Q5044075 Q15623024 Q2338069 Q15623061 Q16599169 Q15632508 Q2604989 Q3423674 Q21647051 Q2656457 Q15614835 Q21647312 Q6312800 Q3203945 Q14949834 Q23797145 Q10523903 Q15525115 Q349118 Q982596 Q3190248 Q2021034 Q3202330 Q21528190 Q5466679 Q7677753 Q7575854 Q15631830 Q645752 Q15629367 Q4884160 Q21646488 Q15520281 Q15623348 Q961039 Q1282209 Q15629024 Q21528100 Q201209 Q3230478 Q3204574
OR((c(Q838948),P344,Q707321), (c(Q838948),P344,Q20684656))
action filter_type
action union
action find_reverse
entity Q707321
relation P344
action find_reverse
entity Q20684656
relation P344
type Q838948
[ANSWERS] have Guy Green or John MacBurnie as cinematographer
{'OR': [[{'concept': 'Q838948'}, 'P344', 'Q707321'], [{'concept': 'Q838948'}, 'P344', 'Q20684656']]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?j ) { ( resource:Q707321 ) ( resource:Q20684656 ) } . ?x property:P344 ?j } . ?x rdf:type ontology:Q838948 }
Slippy McGee Carnival Wells Fargo Gunmaster Decameron Nights The Dakota Kid Rustlers on Horseback Down Laredo Way Adam and Evelyne I Am a Camera Streets of San Francisco Madeleine California Passage Woman in the Dark Jungle Drums of Africa The Way Ahead Night Without Stars Flame of Youth Twilight in the Sierras Thundering Caravans Rob Roy, the Highland Rogue Buckaroo Sheriff of Texas Blanche Fury Ghost of Zorro The Dark Avenger The Tulsa Kid For Better, for Worse Take My Life Spellbound Marshal of Cedar Rock Oliver Twist Desperadoes' Outpost Bells of Coronado Hideout Desert of Lost Men Arizona Manhunt The Story of Robin Hood and His Merrie Men Great Expectations Captive of Billy the Kid Texas Terrors Captain Horatio Hornblower R.N. The Passionate Friends The Beggar's Opera
I Am a Camera, Bells of Coronado, Arizona Manhunt, Streets of San Francisco, The Story of Robin Hood and His Merrie Men, The Dark Avenger, The Tulsa Kid, Madeleine, Rustlers on Horseback and Ghost of Zorro have Guy Green or John MacBurnie as cinematographer
I Am a Camera Bells of Coronado Arizona Manhunt Streets of San Francisco The Story of Robin Hood and His Merrie Men The Dark Avenger The Tulsa Kid Madeleine Rustlers on Horseback Ghost of Zorro
action filter_type
action union
action find_reverse
entity Guy Green
relation director of photography
action find_reverse
entity John MacBurnie
relation director of photography
type work of art
{'OR': [[{'concept': 'work of art'}, 'director of photography', 'Guy Green'], [{'concept': 'work of art'}, 'director of photography', 'John MacBurnie']]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?j ) { ( resource:Guy_Green ) ( resource:John_MacBurnie ) } . ?x property:director_of_photography ?j } . ?x rdf:type ontology:work_of_art }
[]