Simple Question (Direct)
Simple Question
Q44437
P19
Q56061
USER
Which administrative territory was John Cena born in ?
(Q44437,P19,c(Q56061))
action filter_type
action find
entity Q44437
relation P19
type Q56061
['Q44437', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q44437 property:P19 ?k . ?k rdf:type ontology:Q56061 }
John Cena
action filter_type
action find
entity John Cena
relation place of birth
type administrative territorial entity
['John Cena', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:John_Cena property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q576891
SYSTEM
West Newbury
Q576891
(Q44437,P19,c(Q56061))
action filter_type
action find
entity Q44437
relation P19
type Q56061
John Cena was born in [ANSWER]
['Q44437', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q44437 property:P19 ?k . ?k rdf:type ontology:Q56061 }
West Newbury
John Cena was born in West Newbury
West Newbury
action filter_type
action find
entity John Cena
relation place of birth
type administrative territorial entity
['John Cena', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:John_Cena property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44437
P161
Q838948
USER
Which works of art have John Cena in their star cast ?
(c(Q838948),P161,Q44437)
action filter_type
action find_reverse
entity Q44437
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q44437']
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q44437 . ?v rdf:type ontology:Q838948 }
John Cena
action filter_type
action find_reverse
entity John Cena
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'John Cena']
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:John_Cena . ?v rdf:type ontology:work_of_art }
[]
work of art
Q17062774 Q1500944 Q245187
SYSTEM
Trainwreck, Ready to Rumble, 12 Rounds
Q245187 Q1130317 Q1500944 Q1812457 Q5494395 Q18393434 Q15813215 Q7760475 Q17062774 Q3278705
(c(Q838948),P161,Q44437)
action filter_type
action find_reverse
entity Q44437
relation P161
type Q838948
[ANSWERS] have John Cena in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q44437']
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q44437 . ?v rdf:type ontology:Q838948 }
12 Rounds The Marine Ready to Rumble Legendary Fred 2: Night of the Living Fred The Marine Scooby-Doo! WrestleMania Mystery The Reunion Trainwreck Fred: The Movie
Trainwreck, Ready to Rumble and 12 Rounds have John Cena in their star cast
Trainwreck Ready to Rumble 12 Rounds
action filter_type
action find_reverse
entity John Cena
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'John Cena']
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:John_Cena . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17062774
P86
Q502895
USER
Who was Trainwreck composed by ?
(Q17062774,P86,c(Q502895))
action filter_type
action find
entity Q17062774
relation P86
type Q502895
['Q17062774', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q17062774 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Trainwreck
action filter_type
action find
entity Trainwreck
relation composer
type common name
['Trainwreck', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Trainwreck property:composer ?x . ?x rdf:type ontology:common_name }
[]
common name
Q540389
SYSTEM
Jon Brion
Q540389
(Q17062774,P86,c(Q502895))
action filter_type
action find
entity Q17062774
relation P86
type Q502895
By Trainwreck was composed by [ANSWER]
['Q17062774', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q17062774 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Jon Brion
By Trainwreck was composed by Jon Brion
Jon Brion
action filter_type
action find
entity Trainwreck
relation composer
type common name
['Trainwreck', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Trainwreck property:composer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17062774
P57
Q502895
USER
Which person served as the directed of Trainwreck ?
(Q17062774,P57,c(Q502895))
action filter_type
action find
entity Q17062774
relation P57
type Q502895
['Q17062774', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q17062774 property:P57 ?u }
Trainwreck
action filter_type
action find
entity Trainwreck
relation director
type common name
['Trainwreck', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Trainwreck property:director ?u }
[]
common name
Q325396
SYSTEM
Judd Apatow
Q325396
(Q17062774,P57,c(Q502895))
action filter_type
action find
entity Q17062774
relation P57
type Q502895
[ANSWER] served as the directed of Trainwreck
['Q17062774', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q17062774 property:P57 ?u }
Judd Apatow
Judd Apatow served as the directed of Trainwreck
Judd Apatow
action filter_type
action find
entity Trainwreck
relation director
type common name
['Trainwreck', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Trainwreck property:director ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17062774
P840
Q56061
USER
Which is the narrative location of that work of art ?
(Q325396,P840,c(Q56061))
action filter_type
action find
entity Q17062774
relation P840
type Q56061
['Q325396', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q17062774 property:P840 ?y . ?y rdf:type ontology:Q56061 }
Trainwreck
action filter_type
action find
entity Trainwreck
relation narrative location
type administrative territorial entity
['Judd Apatow', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Trainwreck property:narrative_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q325396,P840,c(Q56061))
action filter_type
action find
entity Q17062774
relation P840
type Q56061
The narrative location of that work of art is in [ANSWER]
['Q325396', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q17062774 property:P840 ?y . ?y rdf:type ontology:Q56061 }
New York City
The narrative location of that work of art is in New York City
New York City
action filter_type
action find
entity Trainwreck
relation narrative location
type administrative territorial entity
['Judd Apatow', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Trainwreck property:narrative_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17062774
P462
Q1075
USER
Which color is associated with that work of art ?
(Q60,P462,c(Q1075))
action filter_type
action find
entity Q17062774
relation P462
type Q1075
['Q60', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?h WHERE { resource:Q17062774 property:P462 ?h . ?h rdf:type ontology:Q1075 }
Trainwreck
action filter_type
action find
entity Trainwreck
relation color
type color
['New York City', 'color', {'concept': 'color'}]
SELECT DISTINCT ?h WHERE { resource:Trainwreck property:color ?h . ?h rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q60,P462,c(Q1075))
action filter_type
action find
entity Q17062774
relation P462
type Q1075
The [ANSWER] is associated with that work of art
['Q60', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?h WHERE { resource:Q17062774 property:P462 ?h . ?h rdf:type ontology:Q1075 }
color
The color is associated with that work of art
color
action filter_type
action find
entity Trainwreck
relation color
type color
['New York City', 'color', {'concept': 'color'}]
SELECT DISTINCT ?h WHERE { resource:Trainwreck property:color ?h . ?h rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35728
P106
Q12737077
USER
Which occupations are the professions of Ashley Blue ?
(Q35728,P106,c(Q12737077))
action filter_type
action find
entity Q35728
relation P106
type Q12737077
['Q35728', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q35728 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Ashley Blue
action filter_type
action find
entity Ashley Blue
relation occupation
type occupation
['Ashley Blue', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Ashley_Blue property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q4610556 Q488111
SYSTEM
model, pornographic actor
Q4610556 Q488111
(Q35728,P106,c(Q12737077))
action filter_type
action find
entity Q35728
relation P106
type Q12737077
The professions of Ashley Blue are the [ANSWERS]
['Q35728', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q35728 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
model pornographic actor
The professions of Ashley Blue are the model and pornographic actor
model pornographic actor
action filter_type
action find
entity Ashley Blue
relation occupation
type occupation
['Ashley Blue', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Ashley_Blue property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35728
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q4610556) (c(Q502895),P26,Q488111)
action filter_type
action find
entity Q35728
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q4610556'] [{'concept': 'Q502895'}, 'P26', 'Q488111']
SELECT DISTINCT ?q WHERE { resource:Q35728 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Ashley Blue
action filter_type
action find
entity Ashley Blue
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'model'] [{'concept': 'common name'}, 'spouse', 'pornographic actor']
SELECT DISTINCT ?q WHERE { resource:Ashley_Blue property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q5229452
SYSTEM
Dave Naz
Q5229452
(c(Q502895),P26,Q4610556) (c(Q502895),P26,Q488111)
action filter_type
action find
entity Q35728
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q4610556'] [{'concept': 'Q502895'}, 'P26', 'Q488111']
SELECT DISTINCT ?q WHERE { resource:Q35728 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Dave Naz
Dave Naz has that one as spouse
Dave Naz
action filter_type
action find
entity Ashley Blue
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'model'] [{'concept': 'common name'}, 'spouse', 'pornographic actor']
SELECT DISTINCT ?q WHERE { resource:Ashley_Blue property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1893353
P88
Q874405 Q11204 Q838948
USER
How many works of art were commissioned by approximately the same number of social groups or legislatures as Marcellus as Hermes Logios ?
(c(Q838948),P88,c(Q874405)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q874405
action find_tuple_counts
relation P88
type Q838948
type Q11204
action count
action filter_multi_types
action find
entity Q1893353
relation P88
type Q874405
type Q11204
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q874405'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?u WHERE { VALUES ( ?i ) { ( ontology:Q874405 ) ( ontology:Q11204 ) } . ?v rdf:type ?i } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Q1893353 property:P88 ?b . { { ?b rdf:type ontology:Q874405 } UNION { ?b rdf:type ontology:Q11204 } } } } . FILTER ( ?x = ?d ) }
Marcellus as Hermes Logios
action count
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type social group
action find_tuple_counts
relation commissioned by
type work of art
type legislature
action count
action filter_multi_types
action find
entity Marcellus as Hermes Logios
relation commissioned by
type social group
type legislature
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'social group'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?u WHERE { VALUES ( ?i ) { ( ontology:social_group ) ( ontology:legislature ) } . ?v rdf:type ?i } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Marcellus_as_Hermes_Logios property:commissioned_by ?b . { { ?b rdf:type ontology:social_group } UNION { ?b rdf:type ontology:legislature } } } } . FILTER ( ?x = ?d ) }
[]
social group legislature work of art
SYSTEM
77
Q5539462 Q4945054 Q952817 Q21856944 Q2887541 Q945850 Q4091869 Q3344733 Q12432989 Q3647650 Q1094083 Q18156247 Q17530350 Q19801071 Q17451496 Q2859883 Q1345100 Q5887388 Q18201640 Q23693632 Q12347248 Q1760522 Q18156272 Q19693349 Q18156279 Q14626964 Q7404187 Q26908500 Q4866787 Q1026644 Q1231464 Q3068259 Q2627551 Q786001 Q20178465 Q17442691 Q7604500 Q15731486 Q16060284 Q2887491 Q2182509 Q3225815 Q1893353 Q3047015 Q2879984 Q18156280 Q3533222 Q27477357 Q2415504 Q18156273 Q766487 Q6572993 Q22330289 Q179900 Q27032019 Q2928781 Q18156282 Q5309288 Q19681517 Q18385381 Q19753109 Q5509283 Q2418237 Q359256 Q2963060 Q826947 Q1093113 Q27477315 Q5002067 Q27525226 Q19421785 Q1988321 Q2352789 Q3206679 Q16014270 Q19243728 Q19730417
(c(Q838948),P88,c(Q874405)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q874405
action find_tuple_counts
relation P88
type Q838948
type Q11204
action count
action filter_multi_types
action find
entity Q1893353
relation P88
type Q874405
type Q11204
[ANSWER]
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q874405'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?u WHERE { VALUES ( ?i ) { ( ontology:Q874405 ) ( ontology:Q11204 ) } . ?v rdf:type ?i } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Q1893353 property:P88 ?b . { { ?b rdf:type ontology:Q874405 } UNION { ?b rdf:type ontology:Q11204 } } } } . FILTER ( ?x = ?d ) }
George Frederick Handel Sleeping Hermaphrodite Gefion Fountain Shuttle Dragon Fountain Apollo and Daphne The Big Fish Notre-Dame du Try-au-Chêne Oscar Wilde's tomb Bust of Cardinal Richelieu Brunswick Monument Taste Perseus and Andromeda Fountain Napoleon Crossing the Alps Nymph with a Scorpion Arco de la Victoria Kryptos Homage Wikipedia Monument Olney Bridge Esperanto memorial Lansdowne portrait Hearing Begegnung Smell Latona Fountain Salem Sue Gun Nation Bashaw Tomb of Francis II, Duke of Brittany Senster Femme piquée par un serpent Brutus Bernward Column Bust of Pope Paul V Neapolitan fisherboy Statue of Sherlock Holmes Voltaire Naked Bust of Cardinal Roberto Bellarmine Neptune Fountain Cristo della Minerva Le Porteur de viande Marcellus as Hermes Logios Odalisque with Slave Baiser Promenade Touch Tour aux figures The Final Siren David Sight David Amphitrite, the wave and the sea birds Gommateshwara statue David Women’s Table Bust of Louis XIV À mon seul désir Drums and Colours Wasserlichtfeldspiegel Benin Pendant Mask Milo of Croton Funky Bones The Kiss Admiralty Arch Marly horses Bernward Doors Venus Victrix Forward Surge Bust of Francesco I d'Este Standing By Tunnerminnerwait​ and Maulboyheenner​ Lamp with sculpture of St Michael Seven Sorrows Polyptych The Rape of Proserpina La Bicyclette ensevelie fontaines de la place des Vosges Peace Spiegelfaltung
77
action count
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type social group
action find_tuple_counts
relation commissioned by
type work of art
type legislature
action count
action filter_multi_types
action find
entity Marcellus as Hermes Logios
relation commissioned by
type social group
type legislature
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'social group'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?u WHERE { VALUES ( ?i ) { ( ontology:social_group ) ( ontology:legislature ) } . ?v rdf:type ?i } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Marcellus_as_Hermes_Logios property:commissioned_by ?b . { { ?b rdf:type ontology:social_group } UNION { ?b rdf:type ontology:legislature } } } } . FILTER ( ?x = ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q19730417
P88
Q874405 Q11204 Q838948
USER
And also tell me about Spiegelfaltung?
(c(Q838948),P88,c(Q874405)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q874405
action find_tuple_counts
relation P88
type Q838948
type Q11204
action count
action filter_multi_types
action find
entity Q19730417
relation P88
type Q874405
type Q11204
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q874405'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?q ) { ( ontology:Q874405 ) ( ontology:Q11204 ) } . ?y rdf:type ?q } GROUP BY ?i } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q19730417 property:P88 ?j . { { ?j rdf:type ontology:Q11204 } UNION { ?j rdf:type ontology:Q874405 } } } } }
Spiegelfaltung
action count
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type social group
action find_tuple_counts
relation commissioned by
type work of art
type legislature
action count
action filter_multi_types
action find
entity Spiegelfaltung
relation commissioned by
type social group
type legislature
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'social group'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?q ) { ( ontology:social_group ) ( ontology:legislature ) } . ?y rdf:type ?q } GROUP BY ?i } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Spiegelfaltung property:commissioned_by ?j . { { ?j rdf:type ontology:legislature } UNION { ?j rdf:type ontology:social_group } } } } }
[]
social group legislature work of art
SYSTEM
77
Q5539462 Q4945054 Q952817 Q21856944 Q2887541 Q945850 Q4091869 Q3344733 Q12432989 Q3647650 Q1094083 Q18156247 Q17530350 Q19801071 Q17451496 Q2859883 Q1345100 Q5887388 Q18201640 Q23693632 Q12347248 Q1760522 Q18156272 Q19693349 Q18156279 Q14626964 Q7404187 Q26908500 Q4866787 Q1026644 Q1231464 Q3068259 Q2627551 Q786001 Q20178465 Q17442691 Q7604500 Q15731486 Q16060284 Q2887491 Q2182509 Q3225815 Q1893353 Q3047015 Q2879984 Q18156280 Q3533222 Q27477357 Q2415504 Q18156273 Q766487 Q6572993 Q22330289 Q179900 Q27032019 Q2928781 Q18156282 Q5309288 Q19681517 Q18385381 Q19753109 Q5509283 Q2418237 Q359256 Q2963060 Q826947 Q1093113 Q27477315 Q5002067 Q27525226 Q19421785 Q1988321 Q2352789 Q3206679 Q16014270 Q19243728 Q19730417
(c(Q838948),P88,c(Q874405)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q874405
action find_tuple_counts
relation P88
type Q838948
type Q11204
action count
action filter_multi_types
action find
entity Q19730417
relation P88
type Q874405
type Q11204
[ANSWER]
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q874405'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?q ) { ( ontology:Q874405 ) ( ontology:Q11204 ) } . ?y rdf:type ?q } GROUP BY ?i } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q19730417 property:P88 ?j . { { ?j rdf:type ontology:Q11204 } UNION { ?j rdf:type ontology:Q874405 } } } } }
George Frederick Handel Sleeping Hermaphrodite Gefion Fountain Shuttle Dragon Fountain Apollo and Daphne The Big Fish Notre-Dame du Try-au-Chêne Oscar Wilde's tomb Bust of Cardinal Richelieu Brunswick Monument Taste Perseus and Andromeda Fountain Napoleon Crossing the Alps Nymph with a Scorpion Arco de la Victoria Kryptos Homage Wikipedia Monument Olney Bridge Esperanto memorial Lansdowne portrait Hearing Begegnung Smell Latona Fountain Salem Sue Gun Nation Bashaw Tomb of Francis II, Duke of Brittany Senster Femme piquée par un serpent Brutus Bernward Column Bust of Pope Paul V Neapolitan fisherboy Statue of Sherlock Holmes Voltaire Naked Bust of Cardinal Roberto Bellarmine Neptune Fountain Cristo della Minerva Le Porteur de viande Marcellus as Hermes Logios Odalisque with Slave Baiser Promenade Touch Tour aux figures The Final Siren David Sight David Amphitrite, the wave and the sea birds Gommateshwara statue David Women’s Table Bust of Louis XIV À mon seul désir Drums and Colours Wasserlichtfeldspiegel Benin Pendant Mask Milo of Croton Funky Bones The Kiss Admiralty Arch Marly horses Bernward Doors Venus Victrix Forward Surge Bust of Francesco I d'Este Standing By Tunnerminnerwait​ and Maulboyheenner​ Lamp with sculpture of St Michael Seven Sorrows Polyptych The Rape of Proserpina La Bicyclette ensevelie fontaines de la place des Vosges Peace Spiegelfaltung
77
action count
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type social group
action find_tuple_counts
relation commissioned by
type work of art
type legislature
action count
action filter_multi_types
action find
entity Spiegelfaltung
relation commissioned by
type social group
type legislature
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'social group'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?q ) { ( ontology:social_group ) ( ontology:legislature ) } . ?y rdf:type ?q } GROUP BY ?i } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Spiegelfaltung property:commissioned_by ?j . { { ?j rdf:type ontology:legislature } UNION { ?j rdf:type ontology:social_group } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q492903 Q17062774
P161 P57
Q502895
USER
Which people starred in Trainwreck or were the director of Ferry to Hong Kong ?
OR((Q17062774,P161,c(Q502895)), (Q492903,P57,c(Q502895)))
action filter_type
action union
action find
entity Q17062774
relation P161
action find
entity Q492903
relation P57
type Q502895
{'OR': [['Q17062774', 'P161', {'concept': 'Q502895'}], ['Q492903', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q492903 property:P57 ?o } UNION { resource:Q17062774 property:P161 ?o } } . ?o rdf:type ontology:Q502895 }
Ferry to Hong Kong Trainwreck
action filter_type
action union
action find
entity Trainwreck
relation cast member
action find
entity Ferry to Hong Kong
relation director
type common name
{'OR': [['Trainwreck', 'cast member', {'concept': 'common name'}], ['Ferry to Hong Kong', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Ferry_to_Hong_Kong property:director ?o } UNION { resource:Trainwreck property:cast_member ?o } } . ?o rdf:type ontology:common_name }
[]
common name
Q28755 Q191828 Q18686082 Q6451134 Q18097962 Q36159 Q4749380 Q508049 Q723370 Q4699648
SYSTEM
Some of them are Matthew Broderick, Marisa Tomei, Bridget Everett, Kyle Dunnigan, Pete Davidson, LeBron James, Amy Schumer, Ezra Miller, Vanessa Bayer, Ajay Mehta
Q28755 Q5228265 Q38119 Q18097962 Q298694 Q3396369 Q1322660 Q4699648 Q6794529 Q7035226 Q5576465 Q6384955 Q200534 Q6778062 Q1702768 Q7291588 Q14286 Q191828 Q17386480 Q29328 Q44437 Q1999640 Q723370 Q36159 Q4749380 Q6451134 Q508049 Q18686082 Q303891 Q2982646 Q18057069 Q14027 Q6289358 Q6530936 Q16207857 Q14537
OR((Q17062774,P161,c(Q502895)), (Q492903,P57,c(Q502895)))
action filter_type
action union
action find
entity Q17062774
relation P161
action find
entity Q492903
relation P57
type Q502895
[ANSWERS] starred in Trainwreck or were the director of Ferry to Hong Kong
{'OR': [['Q17062774', 'P161', {'concept': 'Q502895'}], ['Q492903', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q492903 property:P57 ?o } UNION { resource:Q17062774 property:P161 ?o } } . ?o rdf:type ontology:Q502895 }
Matthew Broderick Dave Attell Daniel Radcliffe Pete Davidson Method Man Jim Florentine Tim Meadows Ajay Mehta Max Alexander Nikki Glaser Mike Birbiglia Keith Robinson Tilda Swinton Marv Albert Jon Glaser Randall Park Chris Evert Marisa Tomei Claudia O'Doherty Brie Larson John Cena Norman Lloyd Vanessa Bayer LeBron James Amy Schumer Kyle Dunnigan Ezra Miller Bridget Everett Lewis Gilbert Colin Quinn Marina Franklin Tony Romo Josh Segarra Leslie Jones Rachel Feinstein Bill Hader
Matthew Broderick, Marisa Tomei, Bridget Everett, Kyle Dunnigan, Pete Davidson, LeBron James, Amy Schumer, Ezra Miller, Vanessa Bayer and Ajay Mehta starred in Trainwreck or were the director of Ferry to Hong Kong
Matthew Broderick Marisa Tomei Bridget Everett Kyle Dunnigan Pete Davidson LeBron James Amy Schumer Ezra Miller Vanessa Bayer Ajay Mehta
action filter_type
action union
action find
entity Trainwreck
relation cast member
action find
entity Ferry to Hong Kong
relation director
type common name
{'OR': [['Trainwreck', 'cast member', {'concept': 'common name'}], ['Ferry to Hong Kong', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Ferry_to_Hong_Kong property:director ?o } UNION { resource:Trainwreck property:cast_member ?o } } . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17062774
P161
Q838948
USER
Do those people star in Trainwreck ?
(Q17062774,P161,Q28755) (Q17062774,P161,Q191828) (Q17062774,P161,Q18686082) (Q17062774,P161,Q6451134) (Q17062774,P161,Q18097962) (Q17062774,P161,Q36159) (Q17062774,P161,Q4749380) (Q17062774,P161,Q508049) (Q17062774,P161,Q723370) (Q17062774,P161,Q4699648)
action is_in
entity prev_answer
action find
entity Q17062774
relation P161
['Q17062774', 'P161', 'Q28755'] ['Q17062774', 'P161', 'Q191828'] ['Q17062774', 'P161', 'Q18686082'] ['Q17062774', 'P161', 'Q6451134'] ['Q17062774', 'P161', 'Q18097962'] ['Q17062774', 'P161', 'Q36159'] ['Q17062774', 'P161', 'Q4749380'] ['Q17062774', 'P161', 'Q508049'] ['Q17062774', 'P161', 'Q723370'] ['Q17062774', 'P161', 'Q4699648']
ASK WHERE { VALUES ( ?c ) { ( resource:Q28755 ) ( resource:Q5228265 ) ( resource:Q38119 ) } . resource:Q17062774 property:P161 ?c }
Trainwreck
action is_in
entity prev_answer
action find
entity Trainwreck
relation cast member
['Trainwreck', 'cast member', 'Matthew Broderick'] ['Trainwreck', 'cast member', 'Marisa Tomei'] ['Trainwreck', 'cast member', 'Bridget Everett'] ['Trainwreck', 'cast member', 'Kyle Dunnigan'] ['Trainwreck', 'cast member', 'Pete Davidson'] ['Trainwreck', 'cast member', 'LeBron James'] ['Trainwreck', 'cast member', 'Amy Schumer'] ['Trainwreck', 'cast member', 'Ezra Miller'] ['Trainwreck', 'cast member', 'Vanessa Bayer'] ['Trainwreck', 'cast member', 'Ajay Mehta']
ASK WHERE { VALUES ( ?c ) { ( resource:Matthew_Broderick ) ( resource:Dave_Attell ) ( resource:Daniel_Radcliffe ) } . resource:Trainwreck property:cast_member ?c }
[]
work of art
SYSTEM
YES
(Q17062774,P161,Q28755) (Q17062774,P161,Q191828) (Q17062774,P161,Q18686082) (Q17062774,P161,Q6451134) (Q17062774,P161,Q18097962) (Q17062774,P161,Q36159) (Q17062774,P161,Q4749380) (Q17062774,P161,Q508049) (Q17062774,P161,Q723370) (Q17062774,P161,Q4699648)
action is_in
entity prev_answer
action find
entity Q17062774
relation P161
[ANSWER]
['Q17062774', 'P161', 'Q28755'] ['Q17062774', 'P161', 'Q191828'] ['Q17062774', 'P161', 'Q18686082'] ['Q17062774', 'P161', 'Q6451134'] ['Q17062774', 'P161', 'Q18097962'] ['Q17062774', 'P161', 'Q36159'] ['Q17062774', 'P161', 'Q4749380'] ['Q17062774', 'P161', 'Q508049'] ['Q17062774', 'P161', 'Q723370'] ['Q17062774', 'P161', 'Q4699648']
ASK WHERE { VALUES ( ?c ) { ( resource:Q28755 ) ( resource:Q5228265 ) ( resource:Q38119 ) } . resource:Q17062774 property:P161 ?c }
Yes
action is_in
entity prev_answer
action find
entity Trainwreck
relation cast member
['Trainwreck', 'cast member', 'Matthew Broderick'] ['Trainwreck', 'cast member', 'Marisa Tomei'] ['Trainwreck', 'cast member', 'Bridget Everett'] ['Trainwreck', 'cast member', 'Kyle Dunnigan'] ['Trainwreck', 'cast member', 'Pete Davidson'] ['Trainwreck', 'cast member', 'LeBron James'] ['Trainwreck', 'cast member', 'Amy Schumer'] ['Trainwreck', 'cast member', 'Ezra Miller'] ['Trainwreck', 'cast member', 'Vanessa Bayer'] ['Trainwreck', 'cast member', 'Ajay Mehta']
ASK WHERE { VALUES ( ?c ) { ( resource:Matthew_Broderick ) ( resource:Dave_Attell ) ( resource:Daniel_Radcliffe ) } . resource:Trainwreck property:cast_member ?c }
[]