Simple Question (Direct)
Simple Question
Q878774
P162
Q502895
USER
Who produced Bitch Slap ?
(Q878774,P162,c(Q502895))
action filter_type
action find
entity Q878774
relation P162
type Q502895
['Q878774', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q878774 property:P162 ?e . ?e rdf:type ontology:Q502895 }
Bitch Slap
action filter_type
action find
entity Bitch Slap
relation producer
type common name
['Bitch Slap', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Bitch_Slap property:producer ?e . ?e rdf:type ontology:common_name }
[]
common name
Q7331477
SYSTEM
Rick Jacobson
Q7331477
(Q878774,P162,c(Q502895))
action filter_type
action find
entity Q878774
relation P162
type Q502895
[ANSWER] produced Bitch Slap
['Q878774', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q878774 property:P162 ?e . ?e rdf:type ontology:Q502895 }
Rick Jacobson
Rick Jacobson produced Bitch Slap
Rick Jacobson
action filter_type
action find
entity Bitch Slap
relation producer
type common name
['Bitch Slap', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Bitch_Slap property:producer ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q878774
P57
Q502895
USER
Which person directed that work of art ?
(Q7331477,P57,c(Q502895))
action filter_type
action find
entity Q878774
relation P57
type Q502895
['Q7331477', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q878774 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Bitch Slap
action filter_type
action find
entity Bitch Slap
relation director
type common name
['Rick Jacobson', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bitch_Slap property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q7331477
SYSTEM
Rick Jacobson
Q7331477
(Q7331477,P57,c(Q502895))
action filter_type
action find
entity Q878774
relation P57
type Q502895
[ANSWER] directed that work of art
['Q7331477', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q878774 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Rick Jacobson
Rick Jacobson directed that work of art
Rick Jacobson
action filter_type
action find
entity Bitch Slap
relation director
type common name
['Rick Jacobson', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bitch_Slap property:director ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7331477
P27
Q15617994
USER
How many administrative territories are Rick Jacobson a civilian of ?
(Q7331477,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7331477
relation P27
type Q15617994
['Q7331477', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q7331477 property:P27 ?a }
Rick Jacobson
action count
action filter_type
action find
entity Rick Jacobson
relation country of citizenship
type designation for an administrative territorial entity
['Rick Jacobson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rick_Jacobson property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q7331477,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7331477
relation P27
type Q15617994
[ANSWER]
['Q7331477', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q7331477 property:P27 ?a }
United States of America
1
action count
action filter_type
action find
entity Rick Jacobson
relation country of citizenship
type designation for an administrative territorial entity
['Rick Jacobson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rick_Jacobson property:country_of_citizenship ?a }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5442799
Q15617994
USER
And also tell me about Femi Oke?
(Q5442799,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5442799
relation P27
type Q15617994
['Q5442799', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q5442799 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Femi Oke
action count
action filter_type
action find
entity Femi Oke
relation country of citizenship
type designation for an administrative territorial entity
['Femi Oke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Femi_Oke property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q5442799,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5442799
relation P27
type Q15617994
[ANSWER]
['Q5442799', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q5442799 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Femi Oke
relation country of citizenship
type designation for an administrative territorial entity
['Femi Oke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Femi_Oke property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5442799
P172
Q2472587
USER
Which people does that person have as his/her race ?
action filter_type
action find
entity Q5442799
relation P172
type Q2472587
SELECT DISTINCT ?r WHERE { resource:Q5442799 property:P172 ?r . ?r rdf:type ontology:Q2472587 }
Femi Oke
action filter_type
action find
entity Femi Oke
relation ethnic group
type people
SELECT DISTINCT ?r WHERE { resource:Femi_Oke property:ethnic_group ?r . ?r rdf:type ontology:people }
[]
people
Q190168
SYSTEM
Yoruba people
Q190168
action filter_type
action find
entity Q5442799
relation P172
type Q2472587
As his / her race of [ANSWER] that person has
SELECT DISTINCT ?r WHERE { resource:Q5442799 property:P172 ?r . ?r rdf:type ontology:Q2472587 }
Yoruba people
As his / her race of Yoruba people that person has
Yoruba people
action filter_type
action find
entity Femi Oke
relation ethnic group
type people
SELECT DISTINCT ?r WHERE { resource:Femi_Oke property:ethnic_group ?r . ?r rdf:type ontology:people }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q190168 Q22957268
P172
Q502895
USER
Does Stanislava Yavorskaya have that people as his/her ethnicity ?
(Q22957268,P172,Q190168)
action is_in
entity Q22957268
action find
entity Q190168
relation P172
['Q22957268', 'P172', 'Q190168']
ASK WHERE { resource:Q190168 property:P172 resource:Q22957268 }
Yoruba people Stanislava Yavorskaya
action is_in
entity Stanislava Yavorskaya
action find
entity Yoruba people
relation ethnic group
['Stanislava Yavorskaya', 'ethnic group', 'Yoruba people']
ASK WHERE { resource:Yoruba_people property:ethnic_group resource:Stanislava_Yavorskaya }
[]
common name
SYSTEM
NO
(Q22957268,P172,Q190168)
action is_in
entity Q22957268
action find
entity Q190168
relation P172
[ANSWER]
['Q22957268', 'P172', 'Q190168']
ASK WHERE { resource:Q190168 property:P172 resource:Q22957268 }
No
action is_in
entity Stanislava Yavorskaya
action find
entity Yoruba people
relation ethnic group
['Stanislava Yavorskaya', 'ethnic group', 'Yoruba people']
ASK WHERE { resource:Yoruba_people property:ethnic_group resource:Stanislava_Yavorskaya }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7331477 Q30
P27
Q15617994
USER
Is Rick Jacobson a civilian of United States of America ?
(Q7331477,P27,Q30)
action is_in
entity Q30
action find
entity Q7331477
relation P27
['Q7331477', 'P27', 'Q30']
ASK WHERE { resource:Q7331477 property:P27 resource:Q30 }
Rick Jacobson United States of America
action is_in
entity United States of America
action find
entity Rick Jacobson
relation country of citizenship
['Rick Jacobson', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Rick_Jacobson property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7331477,P27,Q30)
action is_in
entity Q30
action find
entity Q7331477
relation P27
[ANSWER]
['Q7331477', 'P27', 'Q30']
ASK WHERE { resource:Q7331477 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Rick Jacobson
relation country of citizenship
['Rick Jacobson', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Rick_Jacobson property:country_of_citizenship resource:United_States_of_America }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3907512
P361
Q838948 Q6619679 Q15619164
USER
How many works of art are around the same number of fictional humanoids and abstract beings a component of as Porto San Giorgio Polyptych ?
(c(Q6619679)|c(Q15619164),P361,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q3907512
relation P361
type Q6619679
type Q15619164
[[{'concept': 'Q6619679'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:P361 ?e . ?k rdf:type ontology:Q15619164 . ?e rdf:type ontology:Q838948 } UNION { ?k property:P361 ?e . ?e rdf:type ontology:Q838948 . ?k rdf:type ontology:Q6619679 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P361 resource:Q3907512 . { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?q = ?c ) }
Porto San Giorgio Polyptych
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action count
action filter_multi_types
action find_reverse
entity Porto San Giorgio Polyptych
relation part of
type fictional humanoid
type abstract being
[[{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:part_of ?e . ?k rdf:type ontology:abstract_being . ?e rdf:type ontology:work_of_art } UNION { ?k property:part_of ?e . ?e rdf:type ontology:work_of_art . ?k rdf:type ontology:fictional_humanoid } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:part_of resource:Porto_San_Giorgio_Polyptych . { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } } } } . FILTER ( ?q = ?c ) }
[]
work of art fictional humanoid abstract being
SYSTEM
124
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q41567 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q6619679)|c(Q15619164),P361,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q3907512
relation P361
type Q6619679
type Q15619164
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:P361 ?e . ?k rdf:type ontology:Q15619164 . ?e rdf:type ontology:Q838948 } UNION { ?k property:P361 ?e . ?e rdf:type ontology:Q838948 . ?k rdf:type ontology:Q6619679 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P361 resource:Q3907512 . { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?q = ?c ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Seven Wonders of the Ancient World Hamlet baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
124
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action count
action filter_multi_types
action find_reverse
entity Porto San Giorgio Polyptych
relation part of
type fictional humanoid
type abstract being
[[{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:part_of ?e . ?k rdf:type ontology:abstract_being . ?e rdf:type ontology:work_of_art } UNION { ?k property:part_of ?e . ?e rdf:type ontology:work_of_art . ?k rdf:type ontology:fictional_humanoid } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:part_of resource:Porto_San_Giorgio_Polyptych . { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } } } } . FILTER ( ?q = ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3907512
P195
Q33506
USER
Where are Porto San Giorgio Polyptych preserved in ?
(Q3907512,P195,c(Q33506))
action filter_type
action find
entity Q3907512
relation P195
type Q33506
['Q3907512', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?f WHERE { resource:Q3907512 property:P195 ?f . ?f rdf:type ontology:Q33506 }
Porto San Giorgio Polyptych
action filter_type
action find
entity Porto San Giorgio Polyptych
relation collection
type museum
['Porto San Giorgio Polyptych', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?f WHERE { resource:Porto_San_Giorgio_Polyptych property:collection ?f . ?f rdf:type ontology:museum }
[]
museum
Q49135 Q214867 Q2997830
SYSTEM
Isabella Stewart Gardner Museum, National Gallery of Art, Washington, Philbrook Museum of Art
Q49135 Q2997830 Q214867 Q195311 Q1201549
(Q3907512,P195,c(Q33506))
action filter_type
action find
entity Q3907512
relation P195
type Q33506
Porto San Giorgio Polyptych are preserved in the [ANSWERS]
['Q3907512', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?f WHERE { resource:Q3907512 property:P195 ?f . ?f rdf:type ontology:Q33506 }
Isabella Stewart Gardner Museum Philbrook Museum of Art National Gallery of Art, Washington National Museum Detroit Institute of Arts
Porto San Giorgio Polyptych are preserved in the Isabella Stewart Gardner Museum, National Gallery of Art, Washington and Philbrook Museum of Art
Isabella Stewart Gardner Museum National Gallery of Art, Washington Philbrook Museum of Art
action filter_type
action find
entity Porto San Giorgio Polyptych
relation collection
type museum
['Porto San Giorgio Polyptych', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?f WHERE { resource:Porto_San_Giorgio_Polyptych property:collection ?f . ?f rdf:type ontology:museum }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3907512
Q2065736
USER
And which cultural property?
(Q3907512,P195,c(Q2065736))
action filter_type
action find
entity Q3907512
relation P195
type Q2065736
['Q3907512', 'P195', {'concept': 'Q2065736'}]
SELECT DISTINCT ?m WHERE { resource:Q3907512 property:P195 ?m . ?m rdf:type ontology:Q2065736 }
Porto San Giorgio Polyptych
action filter_type
action find
entity Porto San Giorgio Polyptych
relation collection
type cultural property
['Porto San Giorgio Polyptych', 'collection', {'concept': 'cultural property'}]
SELECT DISTINCT ?m WHERE { resource:Porto_San_Giorgio_Polyptych property:collection ?m . ?m rdf:type ontology:cultural_property }
[]
cultural property
Q180788
SYSTEM
National Gallery
Q180788
(Q3907512,P195,c(Q2065736))
action filter_type
action find
entity Q3907512
relation P195
type Q2065736
[ANSWER]
['Q3907512', 'P195', {'concept': 'Q2065736'}]
SELECT DISTINCT ?m WHERE { resource:Q3907512 property:P195 ?m . ?m rdf:type ontology:Q2065736 }
National Gallery
National Gallery
action filter_type
action find
entity Porto San Giorgio Polyptych
relation collection
type cultural property
['Porto San Giorgio Polyptych', 'collection', {'concept': 'cultural property'}]
SELECT DISTINCT ?m WHERE { resource:Porto_San_Giorgio_Polyptych property:collection ?m . ?m rdf:type ontology:cultural_property }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P276
Q386724 Q464980
USER
How many works or exhibitions are located at that cultural property ?
(c(Q386724),P276,Q180788) (c(Q464980),P276,Q180788) (c(Q386724),P276,Q180788) (c(Q464980),P276,Q180788)
action count
action union
action filter_type
action find_reverse
entity Q180788
relation P276
type Q386724
action filter_type
action find_reverse
entity Q180788
relation P276
type Q464980
[{'concept': 'Q386724'}, 'P276', 'Q180788'] [{'concept': 'Q464980'}, 'P276', 'Q180788'] [{'concept': 'Q386724'}, 'P276', 'Q180788'] [{'concept': 'Q464980'}, 'P276', 'Q180788']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { ?n property:P276 resource:Q180788 . ?n rdf:type ontology:Q386724 } UNION { ?n property:P276 resource:Q180788 . ?n rdf:type ontology:Q464980 } }
action count
action union
action filter_type
action find_reverse
entity National Gallery
relation location
type work
action filter_type
action find_reverse
entity National Gallery
relation location
type exhibition
[{'concept': 'work'}, 'location', 'National Gallery'] [{'concept': 'exhibition'}, 'location', 'National Gallery'] [{'concept': 'work'}, 'location', 'National Gallery'] [{'concept': 'exhibition'}, 'location', 'National Gallery']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { ?n property:location resource:National_Gallery . ?n rdf:type ontology:work } UNION { ?n property:location resource:National_Gallery . ?n rdf:type ontology:exhibition } }
[]
work exhibition
SYSTEM
2
Q1213160 Q21711245
(c(Q386724),P276,Q180788) (c(Q464980),P276,Q180788) (c(Q386724),P276,Q180788) (c(Q464980),P276,Q180788)
action count
action union
action filter_type
action find_reverse
entity Q180788
relation P276
type Q386724
action filter_type
action find_reverse
entity Q180788
relation P276
type Q464980
[ANSWER]
[{'concept': 'Q386724'}, 'P276', 'Q180788'] [{'concept': 'Q464980'}, 'P276', 'Q180788'] [{'concept': 'Q386724'}, 'P276', 'Q180788'] [{'concept': 'Q464980'}, 'P276', 'Q180788']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { ?n property:P276 resource:Q180788 . ?n rdf:type ontology:Q386724 } UNION { ?n property:P276 resource:Q180788 . ?n rdf:type ontology:Q464980 } }
The Entombment Rembrandt: The Late Works
2
action count
action union
action filter_type
action find_reverse
entity National Gallery
relation location
type work
action filter_type
action find_reverse
entity National Gallery
relation location
type exhibition
[{'concept': 'work'}, 'location', 'National Gallery'] [{'concept': 'exhibition'}, 'location', 'National Gallery'] [{'concept': 'work'}, 'location', 'National Gallery'] [{'concept': 'exhibition'}, 'location', 'National Gallery']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { ?n property:location resource:National_Gallery . ?n rdf:type ontology:work } UNION { ?n property:location resource:National_Gallery . ?n rdf:type ontology:exhibition } }
[]