Simple Question (Direct)
Simple Question
Q1721087
P136
Q1792379
USER
What can be considered as category for Kafka ?
(Q1721087,P136,c(Q1792379))
action filter_type
action find
entity Q1721087
relation P136
type Q1792379
['Q1721087', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1792379 . resource:Q1721087 property:P136 ?o }
Kafka
action filter_type
action find
entity Kafka
relation genre
type art genre
['Kafka', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:art_genre . resource:Kafka property:genre ?o }
[]
art genre
Q471839
SYSTEM
science fiction film
Q471839
(Q1721087,P136,c(Q1792379))
action filter_type
action find
entity Q1721087
relation P136
type Q1792379
[ANSWER] can be considered as category for Kafka
['Q1721087', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1792379 . resource:Q1721087 property:P136 ?o }
science fiction film
Science fiction film can be considered as category for Kafka
science fiction film
action filter_type
action find
entity Kafka
relation genre
type art genre
['Kafka', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:art_genre . resource:Kafka property:genre ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1721087
P364
Q34770
USER
Which language was used originally for the creation of Kafka ?
(Q1721087,P364,c(Q34770))
action filter_type
action find
entity Q1721087
relation P364
type Q34770
['Q1721087', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34770 . resource:Q1721087 property:P364 ?z }
Kafka
action filter_type
action find
entity Kafka
relation original language of work
type language
['Kafka', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:language . resource:Kafka property:original_language_of_work ?z }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1721087,P364,c(Q34770))
action filter_type
action find
entity Q1721087
relation P364
type Q34770
[ANSWER] was used originally for the creation of Kafka
['Q1721087', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34770 . resource:Q1721087 property:P364 ?z }
English
English was used originally for the creation of Kafka
English
action filter_type
action find
entity Kafka
relation original language of work
type language
['Kafka', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:language . resource:Kafka property:original_language_of_work ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P123
Q166142
USER
Which applications were issued by that language ?
(c(Q166142),P123,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q1860']
SELECT DISTINCT ?j WHERE { ?j property:P123 resource:Q1860 . ?j rdf:type ontology:Q166142 }
English
action filter_type
action find_reverse
entity English
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'English']
SELECT DISTINCT ?j WHERE { ?j property:publisher resource:English . ?j rdf:type ontology:application }
[]
application
Q7847513 Q308159 Q286737
SYSTEM
True Remembrance, Narcissu: Side 2nd, The Path
Q7847513 Q308159 Q286737
(c(Q166142),P123,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q166142
[ANSWERS] were issued by that language
[{'concept': 'Q166142'}, 'P123', 'Q1860']
SELECT DISTINCT ?j WHERE { ?j property:P123 resource:Q1860 . ?j rdf:type ontology:Q166142 }
True Remembrance Narcissu: Side 2nd The Path
True Remembrance, Narcissu: Side 2nd and The Path were issued by that language
True Remembrance Narcissu: Side 2nd The Path
action filter_type
action find_reverse
entity English
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'English']
SELECT DISTINCT ?j WHERE { ?j property:publisher resource:English . ?j rdf:type ontology:application }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3968415 Q7847513
P400
Q676202
USER
Which system software are the platforms for which True Remembrance or Starship Troopers: Terran Ascendancy were developed ?
OR((Q7847513,P400,c(Q676202)), (Q3968415,P400,c(Q676202)))
action filter_type
action union
action find
entity Q7847513
relation P400
action find
entity Q3968415
relation P400
type Q676202
{'OR': [['Q7847513', 'P400', {'concept': 'Q676202'}], ['Q3968415', 'P400', {'concept': 'Q676202'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q7847513 property:P400 ?i } UNION { resource:Q3968415 property:P400 ?i } } . ?i rdf:type ontology:Q676202 }
Starship Troopers: Terran Ascendancy True Remembrance
action filter_type
action union
action find
entity True Remembrance
relation platform
action find
entity Starship Troopers: Terran Ascendancy
relation platform
type system software
{'OR': [['True Remembrance', 'platform', {'concept': 'system software'}], ['Starship Troopers: Terran Ascendancy', 'platform', {'concept': 'system software'}]]}
SELECT DISTINCT ?i WHERE { { { resource:True_Remembrance property:platform ?i } UNION { resource:Starship_Troopers:_Terran_Ascendancy property:platform ?i } } . ?i rdf:type ontology:system_software }
[]
system software
Q1406
SYSTEM
Microsoft Windows
Q1406
OR((Q7847513,P400,c(Q676202)), (Q3968415,P400,c(Q676202)))
action filter_type
action union
action find
entity Q7847513
relation P400
action find
entity Q3968415
relation P400
type Q676202
[ANSWER] is the platforms for which True Remembrance or Starship Troopers: Terran Ascendancy were developed
{'OR': [['Q7847513', 'P400', {'concept': 'Q676202'}], ['Q3968415', 'P400', {'concept': 'Q676202'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q7847513 property:P400 ?i } UNION { resource:Q3968415 property:P400 ?i } } . ?i rdf:type ontology:Q676202 }
Microsoft Windows
Microsoft Windows is the platforms for which True Remembrance or Starship Troopers: Terran Ascendancy were developed
Microsoft Windows
action filter_type
action union
action find
entity True Remembrance
relation platform
action find
entity Starship Troopers: Terran Ascendancy
relation platform
type system software
{'OR': [['True Remembrance', 'platform', {'concept': 'system software'}], ['Starship Troopers: Terran Ascendancy', 'platform', {'concept': 'system software'}]]}
SELECT DISTINCT ?i WHERE { { { resource:True_Remembrance property:platform ?i } UNION { resource:Starship_Troopers:_Terran_Ascendancy property:platform ?i } } . ?i rdf:type ontology:system_software }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P277
Q629206 Q188267 Q676202
USER
Which system software are programmed using greater number of computer languages or programming paradigms than that system software ?
(c(Q676202),P277,c(Q629206)|c(Q188267))
action greater
action union
action find_tuple_counts
relation P277
type Q676202
type Q629206
action find_tuple_counts
relation P277
type Q676202
type Q188267
action count
action filter_multi_types
action find
entity Q1406
relation P277
type Q629206
type Q188267
[{'concept': 'Q676202'}, 'P277', [{'concept': 'Q629206'}, {'concept': 'Q188267'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { VALUES ( ?d ) { ( ontology:Q629206 ) ( ontology:Q188267 ) } . ?b rdf:type ?d } . resource:Q1406 property:P277 ?b } } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q629206 ) ( ontology:Q188267 ) } } GROUP BY ?u } }
action greater
action union
action find_tuple_counts
relation programming language
type system software
type computer language
action find_tuple_counts
relation programming language
type system software
type programming paradigm
action count
action filter_multi_types
action find
entity Microsoft Windows
relation programming language
type computer language
type programming paradigm
[{'concept': 'system software'}, 'programming language', [{'concept': 'computer language'}, {'concept': 'programming paradigm'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { VALUES ( ?d ) { ( ontology:computer_language ) ( ontology:programming_paradigm ) } . ?b rdf:type ?d } . resource:Microsoft_Windows property:programming_language ?b } } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:computer_language ) ( ontology:programming_paradigm ) } } GROUP BY ?u } }
[]
computer language programming paradigm system software
SYSTEM
10
Q819563 Q164036 Q486487 Q4052546 Q1878937 Q808858 Q11368 Q1406 Q380526 Q1326534
(c(Q676202),P277,c(Q629206)|c(Q188267))
action greater
action union
action find_tuple_counts
relation P277
type Q676202
type Q629206
action find_tuple_counts
relation P277
type Q676202
type Q188267
action count
action filter_multi_types
action find
entity Q1406
relation P277
type Q629206
type Q188267
[ANSWER]
[{'concept': 'Q676202'}, 'P277', [{'concept': 'Q629206'}, {'concept': 'Q188267'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { VALUES ( ?d ) { ( ontology:Q629206 ) ( ontology:Q188267 ) } . ?b rdf:type ?d } . resource:Q1406 property:P277 ?b } } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q629206 ) ( ontology:Q188267 ) } } GROUP BY ?u } }
Compiz Sawfish Windows NT ICL VME LynxOS Barrelfish Unix Microsoft Windows AmigaOS Burroughs MCP
10
action greater
action union
action find_tuple_counts
relation programming language
type system software
type computer language
action find_tuple_counts
relation programming language
type system software
type programming paradigm
action count
action filter_multi_types
action find
entity Microsoft Windows
relation programming language
type computer language
type programming paradigm
[{'concept': 'system software'}, 'programming language', [{'concept': 'computer language'}, {'concept': 'programming paradigm'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { VALUES ( ?d ) { ( ontology:computer_language ) ( ontology:programming_paradigm ) } . ?b rdf:type ?d } . resource:Microsoft_Windows property:programming_language ?b } } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:computer_language ) ( ontology:programming_paradigm ) } } GROUP BY ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P364
Q34770 Q15416 Q201658
USER
How many languages are the original languages of creation of atleast 1458 television programs and film genres ?
(c(Q15416)|c(Q201658),P364,c(Q34770))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
value 1458
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } . ?g rdf:type ?j } GROUP BY ?b } . FILTER ( ?y >= 1458 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
value 1458
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?j ) { ( ontology:television_program ) ( ontology:film_genre ) } . ?g rdf:type ?j } GROUP BY ?b } . FILTER ( ?y >= 1458 ) }
[]
language television program film genre
SYSTEM
2
Q1860 Q1321
(c(Q15416)|c(Q201658),P364,c(Q34770))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
value 1458
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } . ?g rdf:type ?j } GROUP BY ?b } . FILTER ( ?y >= 1458 ) }
English Spanish
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
value 1458
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?j ) { ( ontology:television_program ) ( ontology:film_genre ) } . ?g rdf:type ?j } GROUP BY ?b } . FILTER ( ?y >= 1458 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2153741 Q1721087
P161 P57
Q502895
USER
Which people served as the directed of Kafka or are in The Long Teeth ?
OR((Q1721087,P57,c(Q502895)), (Q2153741,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1721087
relation P57
action find
entity Q2153741
relation P161
type Q502895
{'OR': [['Q1721087', 'P57', {'concept': 'Q502895'}], ['Q2153741', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1721087 property:P57 ?n } UNION { resource:Q2153741 property:P161 ?n } } . ?n rdf:type ontology:Q502895 }
The Long Teeth Kafka
action filter_type
action union
action find
entity Kafka
relation director
action find
entity The Long Teeth
relation cast member
type common name
{'OR': [['Kafka', 'director', {'concept': 'common name'}], ['The Long Teeth', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Kafka property:director ?n } UNION { resource:The_Long_Teeth property:cast_member ?n } } . ?n rdf:type ontology:common_name }
[]
common name
Q3386466 Q3121762 Q3579848 Q1677880 Q3086002 Q3130893 Q1984434 Q3171608 Q3103218 Q2982507
SYSTEM
Some of them are Pierre Olaf, Guy Favières, Édouard Francomme, Jack Ary, François Vibert, Henri Coutet, Bernard Musson, Jean Debucourt, Georges Montant, Colette Mars
Q3086002 Q3372378 Q1984434 Q536543 Q1560313 Q1711059 Q2965007 Q3436183 Q3094176 Q3130893 Q2847576 Q3176070 Q1097198 Q2982507 Q36268 Q3035323 Q636950 Q663553 Q3159079 Q1677880 Q2737 Q3158547 Q290517 Q3171608 Q383420 Q3187483 Q3090249 Q3426368 Q3261376 Q139560 Q3426452 Q3579848 Q3121762 Q2958498 Q2848598 Q103917 Q430212 Q3300355 Q3588532 Q3385937 Q3386466 Q3103218
OR((Q1721087,P57,c(Q502895)), (Q2153741,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1721087
relation P57
action find
entity Q2153741
relation P161
type Q502895
[ANSWERS] served as the directed of Kafka or are in The Long Teeth
{'OR': [['Q1721087', 'P57', {'concept': 'Q502895'}], ['Q2153741', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1721087 property:P57 ?n } UNION { resource:Q2153741 property:P161 ?n } } . ?n rdf:type ontology:Q502895 }
François Vibert Paul Ville Bernard Musson Yvette Etiévant Olivier Hussenot Judith Magre Christian Argentin Robert Rollis Gaby Bruyère Henri Coutet André Dalibert Jeanne Herviale Claude Vernier Colette Mars Brigitte Bardot Dominique Marcas Jean Chevrier Daniel Gélin Jacques Harden Jack Ary Louis de Funès Jacques Ciron Danièle Delorme Jean Debucourt Roger Vadim Joëlle Bernard Frédéric Valmain René Hiéronimus Louis Bugette Bruno Cremer René Lacourt Édouard Francomme Guy Favières Charles Bayard André Saint-Luc Steven Soderbergh Louis Seigner Maurice Barnay Émile Genevois Pierre Leproux Pierre Olaf Georges Montant
Pierre Olaf, Guy Favières, Édouard Francomme, Jack Ary, François Vibert, Henri Coutet, Bernard Musson, Jean Debucourt, Georges Montant and Colette Mars served as the directed of Kafka or are in The Long Teeth
Pierre Olaf Guy Favières Édouard Francomme Jack Ary François Vibert Henri Coutet Bernard Musson Jean Debucourt Georges Montant Colette Mars
action filter_type
action union
action find
entity Kafka
relation director
action find
entity The Long Teeth
relation cast member
type common name
{'OR': [['Kafka', 'director', {'concept': 'common name'}], ['The Long Teeth', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Kafka property:director ?n } UNION { resource:The_Long_Teeth property:cast_member ?n } } . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2153741
P161
Q838948
USER
Do The Long Teeth have those people as actor ?
(Q2153741,P161,Q3386466) (Q2153741,P161,Q3121762) (Q2153741,P161,Q3579848) (Q2153741,P161,Q1677880) (Q2153741,P161,Q3086002) (Q2153741,P161,Q3130893) (Q2153741,P161,Q1984434) (Q2153741,P161,Q3171608) (Q2153741,P161,Q3103218) (Q2153741,P161,Q2982507)
action is_in
entity prev_answer
action find
entity Q2153741
relation P161
['Q2153741', 'P161', 'Q3386466'] ['Q2153741', 'P161', 'Q3121762'] ['Q2153741', 'P161', 'Q3579848'] ['Q2153741', 'P161', 'Q1677880'] ['Q2153741', 'P161', 'Q3086002'] ['Q2153741', 'P161', 'Q3130893'] ['Q2153741', 'P161', 'Q1984434'] ['Q2153741', 'P161', 'Q3171608'] ['Q2153741', 'P161', 'Q3103218'] ['Q2153741', 'P161', 'Q2982507']
ASK WHERE { VALUES ( ?u ) { ( resource:Q3086002 ) ( resource:Q3372378 ) ( resource:Q1984434 ) } . resource:Q2153741 property:P161 ?u }
The Long Teeth
action is_in
entity prev_answer
action find
entity The Long Teeth
relation cast member
['The Long Teeth', 'cast member', 'Pierre Olaf'] ['The Long Teeth', 'cast member', 'Guy Favières'] ['The Long Teeth', 'cast member', 'Édouard Francomme'] ['The Long Teeth', 'cast member', 'Jack Ary'] ['The Long Teeth', 'cast member', 'François Vibert'] ['The Long Teeth', 'cast member', 'Henri Coutet'] ['The Long Teeth', 'cast member', 'Bernard Musson'] ['The Long Teeth', 'cast member', 'Jean Debucourt'] ['The Long Teeth', 'cast member', 'Georges Montant'] ['The Long Teeth', 'cast member', 'Colette Mars']
ASK WHERE { VALUES ( ?u ) { ( resource:François_Vibert ) ( resource:Paul_Ville ) ( resource:Bernard_Musson ) } . resource:The_Long_Teeth property:cast_member ?u }
[]
work of art
SYSTEM
YES
(Q2153741,P161,Q3386466) (Q2153741,P161,Q3121762) (Q2153741,P161,Q3579848) (Q2153741,P161,Q1677880) (Q2153741,P161,Q3086002) (Q2153741,P161,Q3130893) (Q2153741,P161,Q1984434) (Q2153741,P161,Q3171608) (Q2153741,P161,Q3103218) (Q2153741,P161,Q2982507)
action is_in
entity prev_answer
action find
entity Q2153741
relation P161
[ANSWER]
['Q2153741', 'P161', 'Q3386466'] ['Q2153741', 'P161', 'Q3121762'] ['Q2153741', 'P161', 'Q3579848'] ['Q2153741', 'P161', 'Q1677880'] ['Q2153741', 'P161', 'Q3086002'] ['Q2153741', 'P161', 'Q3130893'] ['Q2153741', 'P161', 'Q1984434'] ['Q2153741', 'P161', 'Q3171608'] ['Q2153741', 'P161', 'Q3103218'] ['Q2153741', 'P161', 'Q2982507']
ASK WHERE { VALUES ( ?u ) { ( resource:Q3086002 ) ( resource:Q3372378 ) ( resource:Q1984434 ) } . resource:Q2153741 property:P161 ?u }
Yes
action is_in
entity prev_answer
action find
entity The Long Teeth
relation cast member
['The Long Teeth', 'cast member', 'Pierre Olaf'] ['The Long Teeth', 'cast member', 'Guy Favières'] ['The Long Teeth', 'cast member', 'Édouard Francomme'] ['The Long Teeth', 'cast member', 'Jack Ary'] ['The Long Teeth', 'cast member', 'François Vibert'] ['The Long Teeth', 'cast member', 'Henri Coutet'] ['The Long Teeth', 'cast member', 'Bernard Musson'] ['The Long Teeth', 'cast member', 'Jean Debucourt'] ['The Long Teeth', 'cast member', 'Georges Montant'] ['The Long Teeth', 'cast member', 'Colette Mars']
ASK WHERE { VALUES ( ?u ) { ( resource:François_Vibert ) ( resource:Paul_Ville ) ( resource:Bernard_Musson ) } . resource:The_Long_Teeth property:cast_member ?u }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 516 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 516
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P1303 ?k . ?w rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 } GROUP BY ?k } . FILTER ( ?x >= 516 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 516
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:instrument ?k . ?w rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument } GROUP BY ?k } . FILTER ( ?x >= 516 ) }
[]
musical instrument common name
Q5994 Q46185 Q80019
SYSTEM
piano, bass guitar, double bass
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 516
The [ANSWERS] are played by atleast 516 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P1303 ?k . ?w rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 } GROUP BY ?k } . FILTER ( ?x >= 516 ) }
bass guitar double bass piano trumpet cello violin organ drum kit
The piano, bass guitar and double bass are played by atleast 516 people
piano bass guitar double bass
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 516
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:instrument ?k . ?w rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument } GROUP BY ?k } . FILTER ( ?x >= 516 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q130232 Q3130893
P136 P161
Q838948
USER
Which works of art have Henri Coutet as actor and have drama film as their category ?
AND((c(Q838948),P161,Q3130893), (c(Q838948),P136,Q130232))
action filter_type
action intersection
action find_reverse
entity Q3130893
relation P161
action find_reverse
entity Q130232
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q3130893'], [{'concept': 'Q838948'}, 'P136', 'Q130232']]}
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q3130893 . ?x property:P136 resource:Q130232 . ?x rdf:type ontology:Q838948 }
drama film Henri Coutet
action filter_type
action intersection
action find_reverse
entity Henri Coutet
relation cast member
action find_reverse
entity drama film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Henri Coutet'], [{'concept': 'work of art'}, 'genre', 'drama film']]}
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Henri_Coutet . ?x property:genre resource:drama_film . ?x rdf:type ontology:work_of_art }
[]
work of art
Q2826656 Q3211772 Q3399892 Q314962 Q3587965 Q1211971 Q2153741 Q1359224 Q1595847 Q2394581
SYSTEM
Some of them are Agence matrimoniale, The Drunkard, Lovers of Paris, Mado, Elise, or Real Life, The Things of Life, The Long Teeth, That Most Important Thing: Love, Les amitiés particulières, Les Misérables
Q2826656 Q314962 Q3221159 Q3223803 Q2394581 Q3211772 Q1359224 Q1211971 Q2162066 Q253331 Q3024115 Q1754754 Q3233304 Q3211938 Q3452097 Q2283907 Q2153741 Q3399892 Q3587965 Q2870498 Q1595847
AND((c(Q838948),P161,Q3130893), (c(Q838948),P136,Q130232))
action filter_type
action intersection
action find_reverse
entity Q3130893
relation P161
action find_reverse
entity Q130232
relation P136
type Q838948
[ANSWERS] have Henri Coutet as actor and have drama film as their category
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q3130893'], [{'concept': 'Q838948'}, 'P136', 'Q130232']]}
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q3130893 . ?x property:P136 resource:Q130232 . ?x rdf:type ontology:Q838948 }
Agence matrimoniale Mado Le chemin des écoliers Judgement of God Les Misérables The Drunkard That Most Important Thing: Love The Things of Life Casque d'or Les Intrigantes People of No Importance Air of Paris Les Impures La Princesse de Clèves Rue des prairies Justice Is Done The Long Teeth Lovers of Paris Elise, or Real Life Au royaume des cieux Les amitiés particulières
Agence matrimoniale, The Drunkard, Lovers of Paris, Mado, Elise, or Real Life, The Things of Life, The Long Teeth, That Most Important Thing: Love, Les amitiés particulières and Les Misérables have Henri Coutet as actor and have drama film as their category
Agence matrimoniale The Drunkard Lovers of Paris Mado Elise, or Real Life The Things of Life The Long Teeth That Most Important Thing: Love Les amitiés particulières Les Misérables
action filter_type
action intersection
action find_reverse
entity Henri Coutet
relation cast member
action find_reverse
entity drama film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Henri Coutet'], [{'concept': 'work of art'}, 'genre', 'drama film']]}
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Henri_Coutet . ?x property:genre resource:drama_film . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works represents a fictional universe described in min number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?x ) WHERE { ?r property:P1445 ?n . ?r rdf:type ontology:Q386724 . ?n rdf:type ontology:Q838948 } GROUP BY ?r } } . { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?g ) WHERE { ?h property:P1445 ?w . ?h rdf:type ontology:Q386724 . ?w rdf:type ontology:Q838948 } GROUP BY ?h } . FILTER ( ?g = ?y ) }
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?x ) WHERE { ?r property:fictional_universe_described_in ?n . ?r rdf:type ontology:work . ?n rdf:type ontology:work_of_art } GROUP BY ?r } } . { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?g ) WHERE { ?h property:fictional_universe_described_in ?w . ?h rdf:type ontology:work . ?w rdf:type ontology:work_of_art } GROUP BY ?h } . FILTER ( ?g = ?y ) }
[]
work of art work
Q1203222 Q15731902 Q11927
SYSTEM
Shrek, Aladdin media franchise, Stargate
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q838948))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWERS] represent a fictional universe described in min number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?x ) WHERE { ?r property:P1445 ?n . ?r rdf:type ontology:Q386724 . ?n rdf:type ontology:Q838948 } GROUP BY ?r } } . { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?g ) WHERE { ?h property:P1445 ?w . ?h rdf:type ontology:Q386724 . ?w rdf:type ontology:Q838948 } GROUP BY ?h } . FILTER ( ?g = ?y ) }
Shrek Aladdin media franchise Stargate The Walking Dead
Shrek, Aladdin media franchise and Stargate represent a fictional universe described in min number of works of art
Shrek Aladdin media franchise Stargate
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?x ) WHERE { ?r property:fictional_universe_described_in ?n . ?r rdf:type ontology:work . ?n rdf:type ontology:work_of_art } GROUP BY ?r } } . { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?g ) WHERE { ?h property:fictional_universe_described_in ?w . ?h rdf:type ontology:work . ?w rdf:type ontology:work_of_art } GROUP BY ?h } . FILTER ( ?g = ?y ) }
[]