Simple Question (Direct)
Simple Question
Q1193662
P344
Q502895
USER
Who is the cinematographer of The forger of London ?
(Q1193662,P344,c(Q502895))
action filter_type
action find
entity Q1193662
relation P344
type Q502895
['Q1193662', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q1193662 property:P344 ?w }
The forger of London
action filter_type
action find
entity The forger of London
relation director of photography
type common name
['The forger of London', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_forger_of_London property:director_of_photography ?w }
[]
common name
Q1732240
SYSTEM
Karl Löb
Q1732240
(Q1193662,P344,c(Q502895))
action filter_type
action find
entity Q1193662
relation P344
type Q502895
The cinematographer of The forger of London is born [ANSWER]
['Q1193662', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q1193662 property:P344 ?w }
Karl Löb
The cinematographer of The forger of London is born Karl Löb
Karl Löb
action filter_type
action find
entity The forger of London
relation director of photography
type common name
['The forger of London', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_forger_of_London property:director_of_photography ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1193662
P1040
Q502895
USER
Which person edited The forger of London ?
(Q1193662,P1040,c(Q502895))
action filter_type
action find
entity Q1193662
relation P1040
type Q502895
['Q1193662', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1193662 property:P1040 ?f . ?f rdf:type ontology:Q502895 }
The forger of London
action filter_type
action find
entity The forger of London
relation film editor
type common name
['The forger of London', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_forger_of_London property:film_editor ?f . ?f rdf:type ontology:common_name }
[]
common name
Q21856861
SYSTEM
Hermann Ludwig
Q21856861
(Q1193662,P1040,c(Q502895))
action filter_type
action find
entity Q1193662
relation P1040
type Q502895
[ANSWER] edited The forger of London
['Q1193662', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1193662 property:P1040 ?f . ?f rdf:type ontology:Q502895 }
Hermann Ludwig
Hermann Ludwig edited The forger of London
Hermann Ludwig
action filter_type
action find
entity The forger of London
relation film editor
type common name
['The forger of London', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_forger_of_London property:film_editor ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1057774
Q502895
USER
And what about Noriko's Dinner Table?
(Q1057774,P1040,c(Q502895))
action filter_type
action find
entity Q1057774
relation P1040
type Q502895
['Q1057774', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1057774 property:P1040 ?l . ?l rdf:type ontology:Q502895 }
Noriko's Dinner Table
action filter_type
action find
entity Noriko's Dinner Table
relation film editor
type common name
["Noriko's Dinner Table", 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Noriko's_Dinner_Table property:film_editor ?l . ?l rdf:type ontology:common_name }
[]
common name
Q11380278
SYSTEM
Jun'ichi Itō
Q11380278
(Q1057774,P1040,c(Q502895))
action filter_type
action find
entity Q1057774
relation P1040
type Q502895
[ANSWER]
['Q1057774', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1057774 property:P1040 ?l . ?l rdf:type ontology:Q502895 }
Jun'ichi Itō
Jun'ichi Itō
action filter_type
action find
entity Noriko's Dinner Table
relation film editor
type common name
["Noriko's Dinner Table", 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Noriko's_Dinner_Table property:film_editor ?l . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11380278 Q630841
P27
Q15617994
USER
Does Jun'ichi Itō belong to Seibersbach ?
(Q11380278,P27,Q630841)
action is_in
entity Q630841
action find
entity Q11380278
relation P27
['Q11380278', 'P27', 'Q630841']
ASK WHERE { resource:Q11380278 property:P27 resource:Q630841 }
Jun'ichi Itō Seibersbach
action is_in
entity Seibersbach
action find
entity Jun'ichi Itō
relation country of citizenship
["Jun'ichi Itō", 'country of citizenship', 'Seibersbach']
ASK WHERE { resource:Jun'ichi_Itō property:country_of_citizenship resource:Seibersbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q11380278,P27,Q630841)
action is_in
entity Q630841
action find
entity Q11380278
relation P27
[ANSWER]
['Q11380278', 'P27', 'Q630841']
ASK WHERE { resource:Q11380278 property:P27 resource:Q630841 }
No
action is_in
entity Seibersbach
action find
entity Jun'ichi Itō
relation country of citizenship
["Jun'ichi Itō", 'country of citizenship', 'Seibersbach']
ASK WHERE { resource:Jun'ichi_Itō property:country_of_citizenship resource:Seibersbach }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11380278
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q11380278
relation P21
type Q290
SELECT DISTINCT ?w WHERE { resource:Q11380278 property:P21 ?w . ?w rdf:type ontology:Q290 }
Jun'ichi Itō
action filter_type
action find
entity Jun'ichi Itō
relation gender
type sex
SELECT DISTINCT ?w WHERE { resource:Jun'ichi_Itō property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q11380278
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q11380278 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Jun'ichi Itō
relation gender
type sex
SELECT DISTINCT ?w WHERE { resource:Jun'ichi_Itō property:gender ?w . ?w rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q15972210 Q11380278
P21
Q290
USER
Or Hermotimus of Colophon?
OR((Q11380278,P21,c(Q290)), (Q15972210,P21,c(Q290)))
action filter_type
action union
action find
entity Q11380278
relation P21
action find
entity Q15972210
relation P21
type Q290
{'OR': [['Q11380278', 'P21', {'concept': 'Q290'}], ['Q15972210', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q11380278 property:P21 ?w } UNION { resource:Q15972210 property:P21 ?w } } . ?w rdf:type ontology:Q290 }
Hermotimus of Colophon Jun'ichi Itō
action filter_type
action union
action find
entity Jun'ichi Itō
relation gender
action find
entity Hermotimus of Colophon
relation gender
type sex
{'OR': [["Jun'ichi Itō", 'gender', {'concept': 'sex'}], ['Hermotimus of Colophon', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Jun'ichi_Itō property:gender ?w } UNION { resource:Hermotimus_of_Colophon property:gender ?w } } . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q11380278,P21,c(Q290)), (Q15972210,P21,c(Q290)))
action filter_type
action union
action find
entity Q11380278
relation P21
action find
entity Q15972210
relation P21
type Q290
[ANSWER]
{'OR': [['Q11380278', 'P21', {'concept': 'Q290'}], ['Q15972210', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q11380278 property:P21 ?w } UNION { resource:Q15972210 property:P21 ?w } } . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Jun'ichi Itō
relation gender
action find
entity Hermotimus of Colophon
relation gender
type sex
{'OR': [["Jun'ichi Itō", 'gender', {'concept': 'sex'}], ['Hermotimus of Colophon', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Jun'ichi_Itō property:gender ?w } UNION { resource:Hermotimus_of_Colophon property:gender ?w } } . ?w rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 2919 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2919
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?w = 2919 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2919
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?w = 2919 ) }
[]
musical instrument common name
Q8338 Q1444 Q128309
SYSTEM
trumpet, organ, drum kit
Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2919
[ANSWERS] are played by around 2919 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?w = 2919 ) }
trumpet organ drum kit
Trumpet, organ and drum kit are played by around 2919 people
trumpet organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2919
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?w = 2919 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q846870
P180
Q838948 Q15709879 Q340169
USER
How many works of art are expressed in greater number of artwork series and medias than Prometheus Bound ?
(c(Q15709879)|c(Q340169),P180,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q846870
relation P180
type Q15709879
type Q340169
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:Q15709879 } UNION { ?k rdf:type ontology:Q340169 } } . ?k property:P180 resource:Q846870 } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?i ) WHERE { ?c rdf:type ?o . VALUES ( ?o ) { ( ontology:Q15709879 ) ( ontology:Q340169 ) } } GROUP BY ?y } }
Prometheus Bound
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action count
action filter_multi_types
action find_reverse
entity Prometheus Bound
relation depicts
type artwork series
type media
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:artwork_series } UNION { ?k rdf:type ontology:media } } . ?k property:depicts resource:Prometheus_Bound } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?i ) WHERE { ?c rdf:type ?o . VALUES ( ?o ) { ( ontology:artwork_series ) ( ontology:media ) } } GROUP BY ?y } }
[]
work of art artwork series media
SYSTEM
19
Q766487 Q2439030 Q267971 Q17305006 Q185382 Q826635 Q2070542 Q733893 Q185392 Q619135 Q848790 Q907387 Q374591 Q945850 Q1989744 Q465762 Q7539835 Q599302 Q208440
(c(Q15709879)|c(Q340169),P180,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q846870
relation P180
type Q15709879
type Q340169
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:Q15709879 } UNION { ?k rdf:type ontology:Q340169 } } . ?k property:P180 resource:Q846870 } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?i ) WHERE { ?c rdf:type ?o . VALUES ( ?o ) { ( ontology:Q15709879 ) ( ontology:Q340169 ) } } GROUP BY ?y } }
David St. Peter's Baldacchino Triton Fountain Galatea Trevi Fountain Elephant and Obelisk Hermes Chair of Saint Peter Borghese Gladiator Apollo Belvedere Dying Gaul Equestrian Statue of Marcus Aurelius Farnese Hercules Apollo and Daphne Moses Laocoön and His Sons Sleeping Ariadne Column of Antoninus Pius chess piece
19
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action count
action filter_multi_types
action find_reverse
entity Prometheus Bound
relation depicts
type artwork series
type media
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:artwork_series } UNION { ?k rdf:type ontology:media } } . ?k property:depicts resource:Prometheus_Bound } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?i ) WHERE { ?c rdf:type ?o . VALUES ( ?o ) { ( ontology:artwork_series ) ( ontology:media ) } } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21869861
P57
Q502895
USER
Which person directed Superfluous People ?
(Q21869861,P57,c(Q502895))
action filter_type
action find
entity Q21869861
relation P57
type Q502895
['Q21869861', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q21869861 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Superfluous People
action filter_type
action find
entity Superfluous People
relation director
type common name
['Superfluous People', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Superfluous_People property:director ?m . ?m rdf:type ontology:common_name }
[]
common name
Q781305
SYSTEM
Aleksandr Razumny
Q781305
(Q21869861,P57,c(Q502895))
action filter_type
action find
entity Q21869861
relation P57
type Q502895
[ANSWER] directed Superfluous People
['Q21869861', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q21869861 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Aleksandr Razumny
Aleksandr Razumny directed Superfluous People
Aleksandr Razumny
action filter_type
action find
entity Superfluous People
relation director
type common name
['Superfluous People', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Superfluous_People property:director ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21869861
P364
Q11028
USER
Which information is the original language of creation of that work of art ?
(Q781305,P364,c(Q11028))
action filter_type
action find
entity Q21869861
relation P364
type Q11028
['Q781305', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?o WHERE { resource:Q21869861 property:P364 ?o . ?o rdf:type ontology:Q11028 }
Superfluous People
action filter_type
action find
entity Superfluous People
relation original language of work
type information
['Aleksandr Razumny', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?o WHERE { resource:Superfluous_People property:original_language_of_work ?o . ?o rdf:type ontology:information }
[]
information
Q21686005
SYSTEM
n/a (silent film)
Q21686005
(Q781305,P364,c(Q11028))
action filter_type
action find
entity Q21869861
relation P364
type Q11028
[ANSWER] is the original language of creation of that work of art
['Q781305', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?o WHERE { resource:Q21869861 property:P364 ?o . ?o rdf:type ontology:Q11028 }
n/a (silent film)
N/a (silent film) is the original language of creation of that work of art
n/a (silent film)
action filter_type
action find
entity Superfluous People
relation original language of work
type information
['Aleksandr Razumny', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?o WHERE { resource:Superfluous_People property:original_language_of_work ?o . ?o rdf:type ontology:information }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26693046 Q21869861
P170 P161
Q502895
USER
Which people starred in Superfluous People or are credited with the creation of River Scene ?
OR((Q21869861,P161,c(Q502895)), (Q26693046,P170,c(Q502895)))
action filter_type
action union
action find
entity Q21869861
relation P161
action find
entity Q26693046
relation P170
type Q502895
{'OR': [['Q21869861', 'P161', {'concept': 'Q502895'}], ['Q26693046', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q21869861 property:P161 ?c } UNION { resource:Q26693046 property:P170 ?c } } . ?c rdf:type ontology:Q502895 }
River Scene Superfluous People
action filter_type
action union
action find
entity Superfluous People
relation cast member
action find
entity River Scene
relation creator
type common name
{'OR': [['Superfluous People', 'cast member', {'concept': 'common name'}], ['River Scene', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Superfluous_People property:cast_member ?c } UNION { resource:River_Scene property:creator ?c } } . ?c rdf:type ontology:common_name }
[]
common name
Q88894 Q90663 Q111461 Q98363 Q63051 Q88212 Q1029090 Q17321426 Q96580 Q91058
SYSTEM
Some of them are Clementine Plessner, Albert Steinrück, Hedwig Wangel, Fritz Kampers, Werner Krauss, Harry Nestor, Camilla von Hollay, Elza Temáry, Philipp Manning, Fritz Rasp
Q5371351 Q96580 Q704585 Q111461 Q97317 Q86295 Q17321426 Q104667 Q63816 Q1029090 Q1453205 Q88894 Q90663 Q91575 Q91058 Q88212 Q63051 Q98363
OR((Q21869861,P161,c(Q502895)), (Q26693046,P170,c(Q502895)))
action filter_type
action union
action find
entity Q21869861
relation P161
action find
entity Q26693046
relation P170
type Q502895
[ANSWERS] starred in Superfluous People or are credited with the creation of River Scene
{'OR': [['Q21869861', 'P161', {'concept': 'Q502895'}], ['Q26693046', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q21869861 property:P161 ?c } UNION { resource:Q26693046 property:P170 ?c } } . ?c rdf:type ontology:Q502895 }
Emil Lind Philipp Manning Johan Jongkind Hedwig Wangel Wilhelm Diegelmann Jaro Fürth Elza Temáry Eugen Klöpfer Heinrich George Camilla von Hollay Sylvia Torff Clementine Plessner Albert Steinrück Hans Brausewetter Fritz Rasp Harry Nestor Werner Krauss Fritz Kampers
Clementine Plessner, Albert Steinrück, Hedwig Wangel, Fritz Kampers, Werner Krauss, Harry Nestor, Camilla von Hollay, Elza Temáry, Philipp Manning and Fritz Rasp starred in Superfluous People or are credited with the creation of River Scene
Clementine Plessner Albert Steinrück Hedwig Wangel Fritz Kampers Werner Krauss Harry Nestor Camilla von Hollay Elza Temáry Philipp Manning Fritz Rasp
action filter_type
action union
action find
entity Superfluous People
relation cast member
action find
entity River Scene
relation creator
type common name
{'OR': [['Superfluous People', 'cast member', {'concept': 'common name'}], ['River Scene', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Superfluous_People property:cast_member ?c } UNION { resource:River_Scene property:creator ?c } } . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1576141 Q17321426
P161
Q838948
USER
Which works of art do Elza Temáry and Hanni Weisse star in ?
AND((c(Q838948),P161,Q17321426), (c(Q838948),P161,Q1576141))
action filter_type
action intersection
action find_reverse
entity Q17321426
relation P161
action find_reverse
entity Q1576141
relation P161
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q17321426'], [{'concept': 'Q838948'}, 'P161', 'Q1576141']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P161 resource:Q17321426 . ?t property:P161 resource:Q1576141 }
Hanni Weisse Elza Temáry
action filter_type
action intersection
action find_reverse
entity Elza Temáry
relation cast member
action find_reverse
entity Hanni Weisse
relation cast member
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Elza Temáry'], [{'concept': 'work of art'}, 'cast member', 'Hanni Weisse']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:cast_member resource:Elza_Temáry . ?t property:cast_member resource:Hanni_Weisse }
[]
work of art
Q15241065
SYSTEM
The Beggar from Cologne Cathedral
Q15241065
AND((c(Q838948),P161,Q17321426), (c(Q838948),P161,Q1576141))
action filter_type
action intersection
action find_reverse
entity Q17321426
relation P161
action find_reverse
entity Q1576141
relation P161
type Q838948
[ANSWER] Elza Temáry and Hanni Weisse star in
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q17321426'], [{'concept': 'Q838948'}, 'P161', 'Q1576141']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P161 resource:Q17321426 . ?t property:P161 resource:Q1576141 }
The Beggar from Cologne Cathedral
The Beggar from Cologne Cathedral Elza Temáry and Hanni Weisse star in
The Beggar from Cologne Cathedral
action filter_type
action intersection
action find_reverse
entity Elza Temáry
relation cast member
action find_reverse
entity Hanni Weisse
relation cast member
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Elza Temáry'], [{'concept': 'work of art'}, 'cast member', 'Hanni Weisse']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:cast_member resource:Elza_Temáry . ?t property:cast_member resource:Hanni_Weisse }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q364659
P3091
Q502895 Q3745054 Q502895
USER
Which people use less number of people or horse breeds as steed than Cédric Lyard ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q364659
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?k rdf:type ?y } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q364659 property:P3091 ?p . { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } } } . FILTER ( ?l < ?u ) }
Cédric Lyard
action less
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Cédric Lyard
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?k rdf:type ?y } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Cédric_Lyard property:mount ?p . { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:horse_breed ) ( ontology:common_name ) } } } } . FILTER ( ?l < ?u ) }
[]
common name horse breed common name
Q34479 Q312391 Q151754
SYSTEM
Hirohito, Philippe Leclerc de Hauteclocque, Anne, Princess Royal
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q364659
relation P3091
type Q502895
type Q3745054
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?k rdf:type ?y } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q364659 property:P3091 ?p . { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } } } . FILTER ( ?l < ?u ) }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
Hirohito, Philippe Leclerc de Hauteclocque and Anne, Princess Royal use less number of people or horse breeds as steed than Cédric Lyard
Hirohito Philippe Leclerc de Hauteclocque Anne, Princess Royal
action less
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Cédric Lyard
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?k rdf:type ?y } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Cédric_Lyard property:mount ?p . { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:horse_breed ) ( ontology:common_name ) } } } } . FILTER ( ?l < ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q358777
P3091
Q502895 Q3745054 Q502895
USER
And also tell me about Yves Saint-Martin?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q358777
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?c rdf:type ?x } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Q358777 property:P3091 ?r . { { ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q3745054 } } } } . FILTER ( ?f < ?i ) }
Yves Saint-Martin
action less
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Yves Saint-Martin
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?c rdf:type ?x } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Yves_Saint-Martin property:mount ?r . { { ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:horse_breed } } } } . FILTER ( ?f < ?i ) }
[]
common name horse breed common name
Q9682 Q517 Q131691
SYSTEM
Elizabeth II, Napoleon, Arthur Wellesley, 1st Duke of Wellington
Q2831786 Q71451 Q2964761 Q2643622 Q64650 Q1682742 Q451395 Q1311486 Q682476 Q1088130 Q186164 Q7934379 Q262338 Q527657 Q364671 Q2965770 Q3089727 Q1038847 Q20240956 Q364502 Q919677 Q16208274 Q3400624 Q15782408 Q3081121 Q947032 Q3428317 Q131691 Q17350580 Q438197 Q25906162 Q355148 Q3035045 Q2396962 Q19630218 Q3106094 Q3351282 Q958372 Q319522 Q678324 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q151754 Q997380 Q377345 Q5247967 Q84536 Q3056396 Q8409 Q2831635 Q207535 Q2941011 Q3565906 Q1710812 Q467676 Q1545318 Q942215 Q34836 Q238769 Q3385955 Q745510 Q318626 Q608440 Q249233 Q19839389 Q364920 Q2162566 Q3134506 Q926771 Q3309932 Q3573625 Q517 Q1351428 Q62177 Q450267 Q2577320 Q458399 Q4351964 Q317846 Q3501998 Q2903241 Q529497 Q3380679 Q1337633 Q840001 Q953867 Q364659 Q19880092 Q3167944 Q1119157 Q1581746 Q72502 Q6409976 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q3299860 Q5079900 Q19630255 Q1342822 Q444585 Q76246 Q34479 Q1691413 Q270476 Q272533 Q3074167 Q449891 Q1292304 Q312391 Q1343527 Q1061259 Q2041036 Q2966249 Q1739026 Q690536 Q43958 Q1081174 Q3428878 Q16104944 Q5908769 Q886901 Q1261810 Q967780 Q77560 Q3524341 Q3591324 Q488277 Q9682 Q1332346 Q3147326 Q1633084 Q2420937 Q454614
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q358777
relation P3091
type Q502895
type Q3745054
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?c rdf:type ?x } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Q358777 property:P3091 ?r . { { ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q3745054 } } } } . FILTER ( ?f < ?i ) }
Alberto Larraguibel Franke Sloothaak Chris Kappler Alexandra Ledermann Ingrid Klimke Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Maxime Guyon Pippa Funnell Virginia Leng Nicole Uphoff Margit Otto-Crépin Jean Teulère Criquette Head-Maarek Frédéric Cottier Carl Hester Arnaud Serre David O'Connor Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Kieren Fallon Pierre Jonquères d'Oriola Torrance Fleischmann Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Helen Langehanenberg Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Olivier Peslier Piet Raijmakers Ulrich Kirchhoff Jorma Kontio Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Anne, Princess Royal Yutaka Take Lester Piggott Debbie McDonald Hugo Simon Eric Saint-Martin Alexander the Great Albert Voorn Roland Cash Asmussen Walter Swinburn Richard Spooner Reiner Klimke Greg Best Jean-Claude Van Geenberghe Ulysses S. Grant Isabell Werth Pierre Levesque Ludo Philippaerts Lars Nieberg John Whitaker Kristina Sprehe Abdelkebir Ouaddar Bruce Davidson Ryan Moore Hervé Godignon Earl Foster Thomson Michel Hécart Yves Dreux Napoleon Eric Lamaze Hans Günter Winkler Nadine Capellmann Wilhelm Melliger Laura Bechtolsheimer Björn Goop Lü Bu Stéphane Pasquier Bill Hartack Edwina Tops-Alexander Philippe Rozier Scott Brash Christophe Soumillon Conrad Homfeld Cédric Lyard Lendon Gray Jean-Michel Bazire Frankie Dettori Hans Peter Minderhoud Otto Becker Kimberly Severson Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Matthieu Abrivard Charles Kurtsinger Léopold Verroken William Fox-Pitt Ulla Salzgeber Marcus Ehning Hirohito Joseph Fargis Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Beezie Madden Edward Gal Philippe Leclerc de Hauteclocque Karin Rehbein Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Pius Schwizer El Cid Gérald Mossé Reynald Angot Michael Page Örjan Kihlström Blyth Tait Eddie Macken Franck Nivard Michael Jung Thierry Jarnet Éric Raffin Jan Tops Elizabeth II Mark Todd Ian Stark Hubert Bourdy Thierry Pomel Fritz Ligges
Elizabeth II Napoleon Arthur Wellesley, 1st Duke of Wellington
action less
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Yves Saint-Martin
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?c rdf:type ?x } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Yves_Saint-Martin property:mount ?r . { { ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:horse_breed } } } } . FILTER ( ?f < ?i ) }
[]