Simple Question (Direct)
Simple Question
Q340911
P57
Q502895
USER
Which person directed Rollercoaster ?
(Q340911,P57,c(Q502895))
action filter_type
action find
entity Q340911
relation P57
type Q502895
['Q340911', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q340911 property:P57 ?k . ?k rdf:type ontology:Q502895 }
Rollercoaster
action filter_type
action find
entity Rollercoaster
relation director
type common name
['Rollercoaster', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Rollercoaster property:director ?k . ?k rdf:type ontology:common_name }
[]
common name
Q323263
SYSTEM
James Goldstone
Q323263
(Q340911,P57,c(Q502895))
action filter_type
action find
entity Q340911
relation P57
type Q502895
The [ANSWER] directed Rollercoaster
['Q340911', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q340911 property:P57 ?k . ?k rdf:type ontology:Q502895 }
James Goldstone
The James Goldstone directed Rollercoaster
James Goldstone
action filter_type
action find
entity Rollercoaster
relation director
type common name
['Rollercoaster', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Rollercoaster property:director ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q340911
P86
Q502895
USER
Who composed that work of art ?
(Q323263,P86,c(Q502895))
action filter_type
action find
entity Q340911
relation P86
type Q502895
['Q323263', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q340911 property:P86 ?o . ?o rdf:type ontology:Q502895 }
Rollercoaster
action filter_type
action find
entity Rollercoaster
relation composer
type common name
['James Goldstone', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Rollercoaster property:composer ?o . ?o rdf:type ontology:common_name }
[]
common name
Q247293
SYSTEM
Lalo Schifrin
Q247293
(Q323263,P86,c(Q502895))
action filter_type
action find
entity Q340911
relation P86
type Q502895
[ANSWER] composed that work of art
['Q323263', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q340911 property:P86 ?o . ?o rdf:type ontology:Q502895 }
Lalo Schifrin
Lalo Schifrin composed that work of art
Lalo Schifrin
action filter_type
action find
entity Rollercoaster
relation composer
type common name
['James Goldstone', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Rollercoaster property:composer ?o . ?o rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2019706 Q323263
P27
Q15617994
USER
Which administrative territories are James Goldstone or Olga Ramos a civilian of ?
OR((Q323263,P27,c(Q15617994)), (Q2019706,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q323263
relation P27
action find
entity Q2019706
relation P27
type Q15617994
{'OR': [['Q323263', 'P27', {'concept': 'Q15617994'}], ['Q2019706', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?q ) { ( resource:Q323263 ) ( resource:Q2019706 ) } . ?q property:P27 ?f } . ?f rdf:type ontology:Q15617994 }
Olga Ramos James Goldstone
action filter_type
action union
action find
entity James Goldstone
relation country of citizenship
action find
entity Olga Ramos
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['James Goldstone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Olga Ramos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?q ) { ( resource:James_Goldstone ) ( resource:Olga_Ramos ) } . ?q property:country_of_citizenship ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q30
SYSTEM
Spain, United States of America
Q29 Q30
OR((Q323263,P27,c(Q15617994)), (Q2019706,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q323263
relation P27
action find
entity Q2019706
relation P27
type Q15617994
[ANSWERS] are James Goldstone or Olga Ramos a civilian of
{'OR': [['Q323263', 'P27', {'concept': 'Q15617994'}], ['Q2019706', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?q ) { ( resource:Q323263 ) ( resource:Q2019706 ) } . ?q property:P27 ?f } . ?f rdf:type ontology:Q15617994 }
Spain United States of America
Spain and United States of America are James Goldstone or Olga Ramos a civilian of
Spain United States of America
action filter_type
action union
action find
entity James Goldstone
relation country of citizenship
action find
entity Olga Ramos
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['James Goldstone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Olga Ramos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?q ) { ( resource:James_Goldstone ) ( resource:Olga_Ramos ) } . ?q property:country_of_citizenship ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1432001
P941
Q838948 Q838948 Q15709879
USER
How many works of art inspired lesser number of works of art or artwork series than Torquato Tasso ?
(c(Q838948)|c(Q15709879),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q1432001
relation P941
type Q838948
type Q15709879
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?g WHERE { VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } . ?v rdf:type ?t } GROUP BY ?g } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q15709879 } } . ?e property:P941 resource:Q1432001 } } }
Torquato Tasso
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action count
action filter_multi_types
action find_reverse
entity Torquato Tasso
relation inspired by
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?g WHERE { VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } . ?v rdf:type ?t } GROUP BY ?g } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:artwork_series } } . ?e property:inspired_by resource:Torquato_Tasso } } }
[]
work of art work of art artwork series
SYSTEM
19
Q125191 Q1198611 Q1217787 Q1856846 Q7758112 Q46239 Q19560629 Q1345920 Q201293 Q41567 Q1144983 Q18668045 Q3223805 Q5968141 Q379873 Q1170100 Q493755 Q214619 Q169082
(c(Q838948)|c(Q15709879),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q1432001
relation P941
type Q838948
type Q15709879
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?g WHERE { VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } . ?v rdf:type ?t } GROUP BY ?g } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q15709879 } } . ?e property:P941 resource:Q1432001 } } }
photograph The Absent-Minded Professor The Time Machine The Ballad of Cable Hogue The Pretty Sister of Jose Statue of Zeus at Olympia 9/11 entschlüsselt Song of the South Roman Holiday Hamlet Animal Kingdom The Old Fisherman The Judgement of Paris La sirena varada Who Framed Roger Rabbit The Philadelphia Experiment Coming to America The Little Mermaid 10 Things I Hate About You
19
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action count
action filter_multi_types
action find_reverse
entity Torquato Tasso
relation inspired by
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?g WHERE { VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } . ?v rdf:type ?t } GROUP BY ?g } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:artwork_series } } . ?e property:inspired_by resource:Torquato_Tasso } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q83186
P941
Q838948 Q838948 Q15709879
USER
And how about Romeo and Juliet?
(c(Q838948)|c(Q15709879),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q83186
relation P941
type Q838948
type Q15709879
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { { ?y property:P941 ?d . ?d rdf:type ontology:Q838948 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P941 ?d . ?d rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15709879 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P941 resource:Q83186 . { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q15709879 } } } } . FILTER ( ?s < ?m ) }
Romeo and Juliet
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action count
action filter_multi_types
action find_reverse
entity Romeo and Juliet
relation inspired by
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { { ?y property:inspired_by ?d . ?d rdf:type ontology:work_of_art . ?y rdf:type ontology:work_of_art } UNION { ?y property:inspired_by ?d . ?d rdf:type ontology:work_of_art . ?y rdf:type ontology:artwork_series } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:inspired_by resource:Romeo_and_Juliet . { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:artwork_series } } } } . FILTER ( ?s < ?m ) }
[]
work of art work of art artwork series
SYSTEM
19
Q125191 Q1198611 Q1217787 Q1856846 Q7758112 Q46239 Q19560629 Q1345920 Q201293 Q41567 Q1144983 Q18668045 Q3223805 Q5968141 Q379873 Q1170100 Q493755 Q214619 Q169082
(c(Q838948)|c(Q15709879),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q83186
relation P941
type Q838948
type Q15709879
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { { ?y property:P941 ?d . ?d rdf:type ontology:Q838948 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P941 ?d . ?d rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15709879 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P941 resource:Q83186 . { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q15709879 } } } } . FILTER ( ?s < ?m ) }
photograph The Absent-Minded Professor The Time Machine The Ballad of Cable Hogue The Pretty Sister of Jose Statue of Zeus at Olympia 9/11 entschlüsselt Song of the South Roman Holiday Hamlet Animal Kingdom The Old Fisherman The Judgement of Paris La sirena varada Who Framed Roger Rabbit The Philadelphia Experiment Coming to America The Little Mermaid 10 Things I Hate About You
19
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action count
action filter_multi_types
action find_reverse
entity Romeo and Juliet
relation inspired by
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { { ?y property:inspired_by ?d . ?d rdf:type ontology:work_of_art . ?y rdf:type ontology:work_of_art } UNION { ?y property:inspired_by ?d . ?d rdf:type ontology:work_of_art . ?y rdf:type ontology:artwork_series } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:inspired_by resource:Romeo_and_Juliet . { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:artwork_series } } } } . FILTER ( ?s < ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with atmost 39 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 39
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?k <= 39 ) . { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?k ) WHERE { ?m property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 39
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?k <= 39 ) . { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?k ) WHERE { ?m property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 39
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?k <= 39 ) . { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?k ) WHERE { ?m property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan 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 Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 39
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?k <= 39 ) . { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?k ) WHERE { ?m property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q95323 Q323263
P57
Q838948
USER
Which works of art are James Goldstone or Victor Janson a director of ?
OR((c(Q838948),P57,Q323263), (c(Q838948),P57,Q95323))
action filter_type
action union
action find_reverse
entity Q323263
relation P57
action find_reverse
entity Q95323
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q323263'], [{'concept': 'Q838948'}, 'P57', 'Q95323']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . { { ?r property:P57 resource:Q323263 } UNION { ?r property:P57 resource:Q95323 } } }
Victor Janson James Goldstone
action filter_type
action union
action find_reverse
entity James Goldstone
relation director
action find_reverse
entity Victor Janson
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'James Goldstone'], [{'concept': 'work of art'}, 'director', 'Victor Janson']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . { { ?r property:director resource:James_Goldstone } UNION { ?r property:director resource:Victor_Janson } } }
[]
work of art
Q21869847 Q21869507 Q16933459 Q340911 Q21870005 Q6192374 Q24041257 Q18612216 Q21869036 Q3016691
SYSTEM
Some of them are The Stowaway, The Lady in Black, The Sun Also Rises, Rollercoaster, The Woman They Talk About, Jigsaw, The Queen of the Baths, The Gang That Couldn't Shoot Straight, Babette Bomberling, The Blue of Heaven
Q4658057 Q21869847 Q7305052 Q3549666 Q21869182 Q21869036 Q21869303 Q21869366 Q2255120 Q1546983 Q21869507 Q6192374 Q21869954 Q7783747 Q21869549 Q3225632 Q1197274 Q16933459 Q3795547 Q3016691 Q21870005 Q2926264 Q340911 Q21869251 Q24041257 Q17061905 Q21869676 Q2638647 Q21869967 Q21869245 Q18612216
OR((c(Q838948),P57,Q323263), (c(Q838948),P57,Q95323))
action filter_type
action union
action find_reverse
entity Q323263
relation P57
action find_reverse
entity Q95323
relation P57
type Q838948
[ANSWERS] are James Goldstone or Victor Janson a director of
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q323263'], [{'concept': 'Q838948'}, 'P57', 'Q95323']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . { { ?r property:P57 resource:Q323263 } UNION { ?r property:P57 resource:Q95323 } } }
A Man Called Gannon The Stowaway Red Sky at Morning Once There Was a Waltz The Black Domino Babette Bomberling Distorting at the Resort The Game of Love Winning The Gang That Couldn't Shoot Straight The Lady in Black Jigsaw Vacation from Marriage They Only Kill Their Masters The Love Commandment Swashbuckler When Time Ran Out The Sun Also Rises The Dealer from Amsterdam The Blue of Heaven The Woman They Talk About Brother John Rollercoaster Colibri The Queen of the Baths The Page from the Dalmasse Hotel Niniche Fietje Peters, Poste Restante Vienna, City of My Dreams The Circus Princess The Gang That Couldn't Shoot Straight
The Stowaway, The Lady in Black, The Sun Also Rises, Rollercoaster, The Woman They Talk About, Jigsaw, The Queen of the Baths, The Gang That Couldn't Shoot Straight, Babette Bomberling and The Blue of Heaven are James Goldstone or Victor Janson a director of
The Stowaway The Lady in Black The Sun Also Rises Rollercoaster The Woman They Talk About Jigsaw The Queen of the Baths The Gang That Couldn't Shoot Straight Babette Bomberling The Blue of Heaven
action filter_type
action union
action find_reverse
entity James Goldstone
relation director
action find_reverse
entity Victor Janson
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'James Goldstone'], [{'concept': 'work of art'}, 'director', 'Victor Janson']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . { { ?r property:director resource:James_Goldstone } UNION { ?r property:director resource:Victor_Janson } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q29
P35
Q502895
USER
How many people are elected as the head of state of Spain ?
(Q29,P35,c(Q502895))
action count
action filter_type
action find
entity Q29
relation P35
type Q502895
['Q29', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q29 property:P35 ?j . ?j rdf:type ontology:Q502895 }
Spain
action count
action filter_type
action find
entity Spain
relation head of state
type common name
['Spain', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Spain property:head_of_state ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q191045 Q19943
(Q29,P35,c(Q502895))
action count
action filter_type
action find
entity Q29
relation P35
type Q502895
[ANSWER]
['Q29', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q29 property:P35 ?j . ?j rdf:type ontology:Q502895 }
Felipe VI Juan Carlos I
2
action count
action filter_type
action find
entity Spain
relation head of state
type common name
['Spain', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Spain property:head_of_state ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q12490507
P35
Q502895
USER
And what about Rashidun Caliphate?
(Q12490507,P35,c(Q502895))
action count
action filter_type
action find
entity Q12490507
relation P35
type Q502895
['Q12490507', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Q12490507 property:P35 ?j . ?j rdf:type ontology:Q502895 }
Rashidun Caliphate
action count
action filter_type
action find
entity Rashidun Caliphate
relation head of state
type common name
['Rashidun Caliphate', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Rashidun_Caliphate property:head_of_state ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q37731 Q8467 Q334923 Q39619
(Q12490507,P35,c(Q502895))
action count
action filter_type
action find
entity Q12490507
relation P35
type Q502895
[ANSWER]
['Q12490507', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Q12490507 property:P35 ?j . ?j rdf:type ontology:Q502895 }
Uthman ibn Affan Umar ibn Al-Khattāb Abu Bakr Alī ibn Abī Ṭālib
4
action count
action filter_type
action find
entity Rashidun Caliphate
relation head of state
type common name
['Rashidun Caliphate', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Rashidun_Caliphate property:head_of_state ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q41
Q502895
USER
And what about Greece?
(Q41,P35,c(Q502895))
action count
action filter_type
action find
entity Q41
relation P35
type Q502895
['Q41', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:Q502895 . resource:Q41 property:P35 ?v }
Greece
action count
action filter_type
action find
entity Greece
relation head of state
type common name
['Greece', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:common_name . resource:Greece property:head_of_state ?v }
[]
common name
SYSTEM
9
(Q41,P35,c(Q502895))
action count
action filter_type
action find
entity Q41
relation P35
type Q502895
[ANSWER]
['Q41', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:Q502895 . resource:Q41 property:P35 ?v }
9
action count
action filter_type
action find
entity Greece
relation head of state
type common name
['Greece', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:common_name . resource:Greece property:head_of_state ?v }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used to assemble around 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P2079 ?r . ?a rdf:type ontology:Q838948 . ?r rdf:type ontology:Q2695280 } GROUP BY ?r } . FILTER ( ?w = 1 ) }
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:fabrication_method ?r . ?a rdf:type ontology:work_of_art . ?r rdf:type ontology:technics } GROUP BY ?r } . FILTER ( ?w = 1 ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWERS] are used to assemble around 1 work of art
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P2079 ?r . ?a rdf:type ontology:Q838948 . ?r rdf:type ontology:Q2695280 } GROUP BY ?r } . FILTER ( ?w = 1 ) }
gilding collage
Gilding and collage are used to assemble around 1 work of art
gilding collage
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:fabrication_method ?r . ?a rdf:type ontology:work_of_art . ?r rdf:type ontology:technics } GROUP BY ?r } . FILTER ( ?w = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170593
P101
Q502895
USER
Which people have specialisation in collage ?
(c(Q502895),P101,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q170593']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P101 resource:Q170593 }
collage
action filter_type
action find_reverse
entity collage
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'collage']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:field_of_work resource:collage }
[]
common name
Q3159195 Q3476652
SYSTEM
Jacques Jouet, Sea Diallo
Q3159195 Q3476652
(c(Q502895),P101,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P101
type Q502895
[ANSWERS] have specialisation in collage
[{'concept': 'Q502895'}, 'P101', 'Q170593']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P101 resource:Q170593 }
Jacques Jouet Sea Diallo
Jacques Jouet and Sea Diallo have specialisation in collage
Jacques Jouet Sea Diallo
action filter_type
action find_reverse
entity collage
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'collage']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:field_of_work resource:collage }
[]