Simple Question (Direct)
Simple Question
Q3799052
P144
Q838948
USER
Which work of art does Dollar extend upon ?
(Q3799052,P144,c(Q838948))
action filter_type
action find
entity Q3799052
relation P144
type Q838948
['Q3799052', 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { resource:Q3799052 property:P144 ?b . ?b rdf:type ontology:Q838948 }
Dollar
action filter_type
action find
entity Dollar
relation based on
type work of art
['Dollar', 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { resource:Dollar property:based_on ?b . ?b rdf:type ontology:work_of_art }
[]
work of art
Q16976180
SYSTEM
Dollar
Q16976180
(Q3799052,P144,c(Q838948))
action filter_type
action find
entity Q3799052
relation P144
type Q838948
[ANSWER] extends the [ANSWER]
['Q3799052', 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { resource:Q3799052 property:P144 ?b . ?b rdf:type ontology:Q838948 }
Dollar
Dollar extends the Dollar
Dollar
action filter_type
action find
entity Dollar
relation based on
type work of art
['Dollar', 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { resource:Dollar property:based_on ?b . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16976180
P50
Q502895
USER
Which person authored that work of art ?
(Q16976180,P50,c(Q502895))
action filter_type
action find
entity Q16976180
relation P50
type Q502895
['Q16976180', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q16976180 property:P50 ?p . ?p rdf:type ontology:Q502895 }
Dollar
action filter_type
action find
entity Dollar
relation author
type common name
['Dollar', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Dollar property:author ?p . ?p rdf:type ontology:common_name }
[]
common name
Q506829
SYSTEM
Hjalmar Bergman
Q506829
(Q16976180,P50,c(Q502895))
action filter_type
action find
entity Q16976180
relation P50
type Q502895
The [ANSWER] authored that work of art
['Q16976180', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q16976180 property:P50 ?p . ?p rdf:type ontology:Q502895 }
Hjalmar Bergman
The Hjalmar Bergman authored that work of art
Hjalmar Bergman
action filter_type
action find
entity Dollar
relation author
type common name
['Dollar', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Dollar property:author ?p . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q506829 Q3499513
P26
Q502895
USER
Is Stina Bergman the spouse of Hjalmar Bergman ?
(Q506829,P26,Q3499513)
action is_in
entity Q3499513
action find
entity Q506829
relation P26
['Q506829', 'P26', 'Q3499513']
ASK WHERE { resource:Q506829 property:P26 resource:Q3499513 }
Hjalmar Bergman Stina Bergman
action is_in
entity Stina Bergman
action find
entity Hjalmar Bergman
relation spouse
['Hjalmar Bergman', 'spouse', 'Stina Bergman']
ASK WHERE { resource:Hjalmar_Bergman property:spouse resource:Stina_Bergman }
[]
common name
SYSTEM
YES
(Q506829,P26,Q3499513)
action is_in
entity Q3499513
action find
entity Q506829
relation P26
[ANSWER]
['Q506829', 'P26', 'Q3499513']
ASK WHERE { resource:Q506829 property:P26 resource:Q3499513 }
Yes
action is_in
entity Stina Bergman
action find
entity Hjalmar Bergman
relation spouse
['Hjalmar Bergman', 'spouse', 'Stina Bergman']
ASK WHERE { resource:Hjalmar_Bergman property:spouse resource:Stina_Bergman }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q2031291 Q482994
USER
How many works of art are around 1 releases and albums a part of ?
(c(Q2031291)|c(Q482994),P361,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
value 1
[[{'concept': 'Q2031291'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?f WHERE { VALUES ( ?m ) { ( ontology:Q2031291 ) ( ontology:Q482994 ) } . ?o rdf:type ?m } GROUP BY ?f } . FILTER ( ?e = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type release
action find_reverse_tuple_counts
relation part of
type work of art
type album
value 1
[[{'concept': 'release'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?f WHERE { VALUES ( ?m ) { ( ontology:release ) ( ontology:album ) } . ?o rdf:type ?m } GROUP BY ?f } . FILTER ( ?e = 1 ) }
[]
work of art release album
SYSTEM
20
Q2312028 Q4143086 Q372959 Q284184 Q222867 Q161687 Q1534737 Q205028 Q1623056 Q332368 Q478748 Q174811 Q103569 Q472359 Q971109 Q60072 Q463313 Q232009 Q7338317 Q7203413
(c(Q2031291)|c(Q482994),P361,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
value 1
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?f WHERE { VALUES ( ?m ) { ( ontology:Q2031291 ) ( ontology:Q482994 ) } . ?o rdf:type ?m } GROUP BY ?f } . FILTER ( ?e = 1 ) }
Star Spangled Rhythm Ride The Towering Inferno Ra.One 2 Fast 2 Furious Harry Potter and the Half-Blood Prince Life Iron Man 2 The Fighting Temptations A View to a Kill The Holiday Up Alien El Cantante Inferno The Sound of Music Romeo + Juliet Harry Potter and the Deathly Hallows – Part 2 Rivers and Tides Playing for Keeps
20
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type release
action find_reverse_tuple_counts
relation part of
type work of art
type album
value 1
[[{'concept': 'release'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?f WHERE { VALUES ( ?m ) { ( ontology:release ) ( ontology:album ) } . ?o rdf:type ?m } GROUP BY ?f } . FILTER ( ?e = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3799052
P86
Q502895
USER
Who was Dollar composed by ?
(Q3799052,P86,c(Q502895))
action filter_type
action find
entity Q3799052
relation P86
type Q502895
['Q3799052', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q3799052 property:P86 ?i . ?i rdf:type ontology:Q502895 }
Dollar
action filter_type
action find
entity Dollar
relation composer
type common name
['Dollar', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Dollar property:composer ?i . ?i rdf:type ontology:common_name }
[]
common name
Q5570013
SYSTEM
Eric Bengtson
Q5570013
(Q3799052,P86,c(Q502895))
action filter_type
action find
entity Q3799052
relation P86
type Q502895
Dollar was composed by [ANSWER] by
['Q3799052', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q3799052 property:P86 ?i . ?i rdf:type ontology:Q502895 }
Eric Bengtson
Dollar was composed by Eric Bengtson by
Eric Bengtson
action filter_type
action find
entity Dollar
relation composer
type common name
['Dollar', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Dollar property:composer ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16739707
Q502895
USER
And how about Prélude no. 11 in B major, op. 28?
(Q16739707,P86,c(Q502895))
action filter_type
action find
entity Q16739707
relation P86
type Q502895
['Q16739707', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q16739707 property:P86 ?h . ?h rdf:type ontology:Q502895 }
Prélude no. 11 in B major, op. 28
action filter_type
action find
entity Prélude no. 11 in B major, op. 28
relation composer
type common name
['Prélude no. 11 in B major, op. 28', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Prélude_no._11_in_B_major,_op._28 property:composer ?h . ?h rdf:type ontology:common_name }
[]
common name
Q1268
SYSTEM
Frédéric Chopin
Q1268
(Q16739707,P86,c(Q502895))
action filter_type
action find
entity Q16739707
relation P86
type Q502895
[ANSWER]
['Q16739707', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q16739707 property:P86 ?h . ?h rdf:type ontology:Q502895 }
Frédéric Chopin
Frédéric Chopin
action filter_type
action find
entity Prélude no. 11 in B major, op. 28
relation composer
type common name
['Prélude no. 11 in B major, op. 28', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Prélude_no._11_in_B_major,_op._28 property:composer ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1268 Q24905822
P86
Q838948
USER
Does Prison Ship have that person as the composer ?
(Q24905822,P86,Q1268)
action is_in
entity Q24905822
action find
entity Q1268
relation P86
['Q24905822', 'P86', 'Q1268']
ASK WHERE { resource:Q1268 property:P86 resource:Q24905822 }
Frédéric Chopin Prison Ship
action is_in
entity Prison Ship
action find
entity Frédéric Chopin
relation composer
['Prison Ship', 'composer', 'Frédéric Chopin']
ASK WHERE { resource:Frédéric_Chopin property:composer resource:Prison_Ship }
[]
work of art
SYSTEM
NO
(Q24905822,P86,Q1268)
action is_in
entity Q24905822
action find
entity Q1268
relation P86
[ANSWER]
['Q24905822', 'P86', 'Q1268']
ASK WHERE { resource:Q1268 property:P86 resource:Q24905822 }
No
action is_in
entity Prison Ship
action find
entity Frédéric Chopin
relation composer
['Prison Ship', 'composer', 'Frédéric Chopin']
ASK WHERE { resource:Frédéric_Chopin property:composer resource:Prison_Ship }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q386724 Q838948
USER
Which works of art are expressed in max number of works and works of art ?
(c(Q386724)|c(Q838948),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:P180 ?d . ?x rdf:type ontology:Q386724 . ?d rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q838948 . ?x rdf:type ontology:Q838948 . ?x property:P180 ?d } } GROUP BY ?d } . FILTER ( ?t = ?p ) . { SELECT DISTINCT ( MAX ( ?q ) AS ?p ) { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:P180 ?a . ?a rdf:type ontology:Q838948 . ?m rdf:type ontology:Q386724 } UNION { ?m property:P180 ?a . ?a rdf:type ontology:Q838948 . ?m rdf:type ontology:Q838948 } } GROUP BY ?a } } }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:depicts ?d . ?x rdf:type ontology:work . ?d rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:work_of_art . ?x rdf:type ontology:work_of_art . ?x property:depicts ?d } } GROUP BY ?d } . FILTER ( ?t = ?p ) . { SELECT DISTINCT ( MAX ( ?q ) AS ?p ) { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:depicts ?a . ?a rdf:type ontology:work_of_art . ?m rdf:type ontology:work } UNION { ?m property:depicts ?a . ?a rdf:type ontology:work_of_art . ?m rdf:type ontology:work_of_art } } GROUP BY ?a } } }
[]
work of art work work of art
Q3575260
SYSTEM
bijou
Q3575260
(c(Q386724)|c(Q838948),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
[ANSWER] is expressed in max number of works and works of art
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:P180 ?d . ?x rdf:type ontology:Q386724 . ?d rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q838948 . ?x rdf:type ontology:Q838948 . ?x property:P180 ?d } } GROUP BY ?d } . FILTER ( ?t = ?p ) . { SELECT DISTINCT ( MAX ( ?q ) AS ?p ) { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:P180 ?a . ?a rdf:type ontology:Q838948 . ?m rdf:type ontology:Q386724 } UNION { ?m property:P180 ?a . ?a rdf:type ontology:Q838948 . ?m rdf:type ontology:Q838948 } } GROUP BY ?a } } }
bijou
Bijou is expressed in max number of works and works of art
bijou
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:depicts ?d . ?x rdf:type ontology:work . ?d rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:work_of_art . ?x rdf:type ontology:work_of_art . ?x property:depicts ?d } } GROUP BY ?d } . FILTER ( ?t = ?p ) . { SELECT DISTINCT ( MAX ( ?q ) AS ?p ) { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:depicts ?a . ?a rdf:type ontology:work_of_art . ?m rdf:type ontology:work } UNION { ?m property:depicts ?a . ?a rdf:type ontology:work_of_art . ?m rdf:type ontology:work_of_art } } GROUP BY ?a } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P180
Q838948 Q386724 Q340169
USER
Which works of art are demonstrated in approximately the same number of works or medias as that work of art ?
(c(Q386724)|c(Q340169),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q3575260
relation P180
type Q386724
type Q340169
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?f WHERE { { ?s property:P180 ?f . ?s rdf:type ontology:Q386724 . ?f rdf:type ontology:Q838948 } UNION { ?s property:P180 ?f . ?s rdf:type ontology:Q340169 . ?f rdf:type ontology:Q838948 } } GROUP BY ?f } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P180 resource:Q3575260 . { { ?x rdf:type ontology:Q386724 } UNION { ?x rdf:type ontology:Q340169 } } } } }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action count
action filter_multi_types
action find_reverse
entity bijou
relation depicts
type work
type media
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?f WHERE { { ?s property:depicts ?f . ?s rdf:type ontology:work . ?f rdf:type ontology:work_of_art } UNION { ?s property:depicts ?f . ?s rdf:type ontology:media . ?f rdf:type ontology:work_of_art } } GROUP BY ?f } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:depicts resource:bijou . { { ?x rdf:type ontology:work } UNION { ?x rdf:type ontology:media } } } } }
[]
work of art work media
Q17305020 Q734834 Q465762
SYSTEM
Tanagra, Ghent Altarpiece, Laocoön and His Sons
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q143912 Q846870 Q178401 Q21375954 Q1519294 Q27478544 Q766487 Q232042 Q27462703 Q215194 Q3545179 Q46847 Q221211 Q2439030 Q23770419 Q170980 Q333009 Q750209 Q1064990 Q19969041 Q734834 Q3015661 Q473237 Q3497617 Q20631770 Q2535008 Q17172602 Q324926 Q93184 Q177600 Q3013723 Q221323 Q17305006 Q2551806 Q2111434 Q1230963 Q185382 Q11060274 Q3424549 Q1779386 Q9764 Q1395302 Q179900 Q826635 Q2070542 Q185392 Q619135 Q294001 Q848790 Q3731233 Q17275826 Q215911 Q476968 Q3305213 Q17305020 Q280336 Q652011 Q3575260 Q16332506 Q2963060 Q907387 Q18177089 Q3143107 Q374591 Q959962 Q6555477 Q125191 Q130958 Q371752 Q203443 Q201022 Q774967 Q945850 Q216185 Q79218 Q1989744 Q465762 Q492461 Q7539835 Q745783 Q1349065 Q397447 Q3918710 Q599302 Q208440 Q1192229 Q21743265
(c(Q386724)|c(Q340169),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q3575260
relation P180
type Q386724
type Q340169
[ANSWERS] are demonstrated in approximately the same number of works or medias as that work of art
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?f WHERE { { ?s property:P180 ?f . ?s rdf:type ontology:Q386724 . ?f rdf:type ontology:Q838948 } UNION { ?s property:P180 ?f . ?s rdf:type ontology:Q340169 . ?f rdf:type ontology:Q838948 } } GROUP BY ?f } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P180 resource:Q3575260 . { { ?x rdf:type ontology:Q386724 } UNION { ?x rdf:type ontology:Q340169 } } } } }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme triumphal arch Prometheus Bound amphora Allegory of the city of Paris lagynos Silenus holding the child Dionysos David The Two Gentlemen of Verona Satyr playing flute gargoyle Rape of the Sabine Women ring Twelfth Night St. Peter's Baldacchino Bear Hunter obelisk can-can Colossi of Memnon Monument aux Girondins Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of Joan of Arc equestrian statue of George Washington Neptune and Triton monumental cross fibula drawing stick figure The Railrodder golden calf Galatea Belvedere Torso pendant Under Western Stars Trevi Fountain print Frederik V on Horseback Menat flamenco One True Thing David Elephant and Obelisk Hermes Borghese Gladiator Apollo Belvedere Oedipus at Colonus Dying Gaul Heracles and Nessus Portrait of Rembrandt with a gorget serenade krater painting Tanagra partner dance Richard III bijou Ploughman Marly horses Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Humains Farnese Hercules diagram Lion of Venice photograph The Great Sphinx calvary headstone folk dance Venus de' Medici Apollo and Daphne Charing Cross triptych Moses Laocoön and His Sons kalathos Sleeping Ariadne hydria Passion play torc Wrestlers Column of Antoninus Pius chess piece The Original Sin Torso in Metal from Rock Drill
Tanagra, Ghent Altarpiece and Laocoön and His Sons are demonstrated in approximately the same number of works or medias as that work of art
Tanagra Ghent Altarpiece Laocoön and His Sons
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action count
action filter_multi_types
action find_reverse
entity bijou
relation depicts
type work
type media
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?f WHERE { { ?s property:depicts ?f . ?s rdf:type ontology:work . ?f rdf:type ontology:work_of_art } UNION { ?s property:depicts ?f . ?s rdf:type ontology:media . ?f rdf:type ontology:work_of_art } } GROUP BY ?f } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:depicts resource:bijou . { { ?x rdf:type ontology:work } UNION { ?x rdf:type ontology:media } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P88
Q11204 Q502895 Q838948
USER
Which works of art were commisioned by min number of legislatures or people ?
(c(Q838948),P88,c(Q11204)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P88
type Q838948
type Q11204
action find_tuple_counts
relation P88
type Q838948
type Q502895
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?l ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?n ) WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q11204 ) } } GROUP BY ?y } } . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?c ) { ( ontology:Q11204 ) ( ontology:Q502895 ) } . ?p rdf:type ?c } GROUP BY ?h } . FILTER ( ?z = ?l ) }
action argmin
action union
action find_tuple_counts
relation commissioned by
type work of art
type legislature
action find_tuple_counts
relation commissioned by
type work of art
type common name
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?l ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?n ) WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:legislature ) } } GROUP BY ?y } } . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?c ) { ( ontology:legislature ) ( ontology:common_name ) } . ?p rdf:type ?c } GROUP BY ?h } . FILTER ( ?z = ?l ) }
[]
legislature common name work of art
Q2418237 Q6572993 Q17442691
SYSTEM
The Kiss, Amphitrite, the wave and the sea birds, Neapolitan fisherboy
Q952817 Q21856944 Q4091869 Q1345100 Q5887388 Q12347248 Q19693349 Q7404187 Q26908500 Q1231464 Q17442691 Q7604500 Q3225815 Q2879984 Q3533222 Q27477357 Q6572993 Q179900 Q5309288 Q19681517 Q5509283 Q2418237 Q27477315 Q27525226 Q5447226 Q2659575 Q3206679 Q19730417
(c(Q838948),P88,c(Q11204)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P88
type Q838948
type Q11204
action find_tuple_counts
relation P88
type Q838948
type Q502895
[ANSWERS] were commisioned by min number of legislatures or people
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?l ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?n ) WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q11204 ) } } GROUP BY ?y } } . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?c ) { ( ontology:Q11204 ) ( ontology:Q502895 ) } . ?p rdf:type ?c } GROUP BY ?h } . FILTER ( ?z = ?l ) }
Gefion Fountain Shuttle The Big Fish Kryptos Homage Esperanto memorial Begegnung Salem Sue Gun Nation Senster Neapolitan fisherboy Statue of Sherlock Holmes Le Porteur de viande Baiser Promenade Tour aux figures The Final Siren Amphitrite, the wave and the sea birds David Drums and Colours Wasserlichtfeldspiegel Funky Bones The Kiss Forward Surge Standing By Tunnerminnerwait​ and Maulboyheenner​ Fields of Sacrifice Broken Chair La Bicyclette ensevelie Spiegelfaltung
The Kiss, Amphitrite, the wave and the sea birds and Neapolitan fisherboy were commisioned by min number of legislatures or people
The Kiss Amphitrite, the wave and the sea birds Neapolitan fisherboy
action argmin
action union
action find_tuple_counts
relation commissioned by
type work of art
type legislature
action find_tuple_counts
relation commissioned by
type work of art
type common name
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?l ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?n ) WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:legislature ) } } GROUP BY ?y } } . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?c ) { ( ontology:legislature ) ( ontology:common_name ) } . ?p rdf:type ?c } GROUP BY ?h } . FILTER ( ?z = ?l ) }
[]