Simple Question (Direct)
Simple Question
Q1537477
P641
Q349
USER
Which sport did Fernando Canestrelli participate in ?
(Q1537477,P641,c(Q349))
action filter_type
action find
entity Q1537477
relation P641
type Q349
['Q1537477', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q1537477 property:P641 ?n . ?n rdf:type ontology:Q349 }
Fernando Canestrelli
action filter_type
action find
entity Fernando Canestrelli
relation sport
type sport
['Fernando Canestrelli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Fernando_Canestrelli property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1537477,P641,c(Q349))
action filter_type
action find
entity Q1537477
relation P641
type Q349
Fernando Canestrelli participated in [ANSWER]
['Q1537477', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q1537477 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
Fernando Canestrelli participated in association football
association football
action filter_type
action find
entity Fernando Canestrelli
relation sport
type sport
['Fernando Canestrelli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Fernando_Canestrelli property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1537477
P19
Q56061
USER
Which administrative territory is the birthplace of Fernando Canestrelli ?
(Q1537477,P19,c(Q56061))
action filter_type
action find
entity Q1537477
relation P19
type Q56061
['Q1537477', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1537477 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Fernando Canestrelli
action filter_type
action find
entity Fernando Canestrelli
relation place of birth
type administrative territorial entity
['Fernando Canestrelli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Fernando_Canestrelli property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q1537477,P19,c(Q56061))
action filter_type
action find
entity Q1537477
relation P19
type Q56061
[ANSWER] is the birthplace of Fernando Canestrelli
['Q1537477', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1537477 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Rome
Rome is the birthplace of Fernando Canestrelli
Rome
action filter_type
action find
entity Fernando Canestrelli
relation place of birth
type administrative territorial entity
['Fernando Canestrelli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Fernando_Canestrelli property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q220 Q27530032
P20
Q502895
USER
Does Dmitry Ponomarev have that administrative territory as place of death ?
(Q27530032,P20,Q220)
action is_in
entity Q27530032
action find
entity Q220
relation P20
['Q27530032', 'P20', 'Q220']
ASK WHERE { resource:Q220 property:P20 resource:Q27530032 }
Rome Dmitry Ponomarev
action is_in
entity Dmitry Ponomarev
action find
entity Rome
relation place of death
['Dmitry Ponomarev', 'place of death', 'Rome']
ASK WHERE { resource:Rome property:place_of_death resource:Dmitry_Ponomarev }
[]
common name
SYSTEM
NO
(Q27530032,P20,Q220)
action is_in
entity Q27530032
action find
entity Q220
relation P20
[ANSWER]
['Q27530032', 'P20', 'Q220']
ASK WHERE { resource:Q220 property:P20 resource:Q27530032 }
No
action is_in
entity Dmitry Ponomarev
action find
entity Rome
relation place of death
['Dmitry Ponomarev', 'place of death', 'Rome']
ASK WHERE { resource:Rome property:place_of_death resource:Dmitry_Ponomarev }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027533
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their base harbour than Mela ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027533
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:P532 ?b . ?b rdf:type ontology:Q56061 . ?j rdf:type ontology:Q2235308 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q24027533 property:P532 ?p . ?p rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?h ) }
Mela
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Mela
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:port_of_registry ?b . ?b rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:ship_type } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Mela property:port_of_registry ?p . ?p rdf:type ontology:ship_type } } . FILTER ( ?n > ?h ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027533
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:P532 ?b . ?b rdf:type ontology:Q56061 . ?j rdf:type ontology:Q2235308 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q24027533 property:P532 ?p . ?p rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?h ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Mela
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:port_of_registry ?b . ?b rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:ship_type } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Mela property:port_of_registry ?p . ?p rdf:type ontology:ship_type } } . FILTER ( ?n > ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027500
P532
Q56061 Q2235308
USER
And how about Etonian?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027500
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { ?s rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 . ?s property:P532 ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Q24027500 property:P532 ?h . ?h rdf:type ontology:Q2235308 } } . FILTER ( ?d > ?a ) }
Etonian
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Etonian
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { ?s rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity . ?s property:port_of_registry ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Etonian property:port_of_registry ?h . ?h rdf:type ontology:ship_type } } . FILTER ( ?d > ?a ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027500
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { ?s rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 . ?s property:P532 ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Q24027500 property:P532 ?h . ?h rdf:type ontology:Q2235308 } } . FILTER ( ?d > ?a ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Etonian
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { ?s rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity . ?s property:port_of_registry ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Etonian property:port_of_registry ?h . ?h rdf:type ontology:ship_type } } . FILTER ( ?d > ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q220
P20
Q16979650 Q216353
USER
How many sibling groups or titles have Rome as the location of death ?
(c(Q16979650),P20,Q220) (c(Q216353),P20,Q220)
action count
action union
action filter_type
action find_reverse
entity Q220
relation P20
type Q16979650
action filter_type
action find_reverse
entity Q220
relation P20
type Q216353
[{'concept': 'Q16979650'}, 'P20', 'Q220'] [{'concept': 'Q216353'}, 'P20', 'Q220']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?d ) { ( ontology:Q16979650 ) ( ontology:Q216353 ) } . ?h rdf:type ?d }
Rome
action count
action union
action filter_type
action find_reverse
entity Rome
relation place of death
type sibling group
action filter_type
action find_reverse
entity Rome
relation place of death
type title
[{'concept': 'sibling group'}, 'place of death', 'Rome'] [{'concept': 'title'}, 'place of death', 'Rome']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?d ) { ( ontology:sibling_group ) ( ontology:title ) } . ?h rdf:type ?d }
[]
sibling group title
SYSTEM
6
Q4212312 Q4341410 Q3089484 Q6120317 Q19843245 Q19999854
(c(Q16979650),P20,Q220) (c(Q216353),P20,Q220)
action count
action union
action filter_type
action find_reverse
entity Q220
relation P20
type Q16979650
action filter_type
action find_reverse
entity Q220
relation P20
type Q216353
[ANSWER]
[{'concept': 'Q16979650'}, 'P20', 'Q220'] [{'concept': 'Q216353'}, 'P20', 'Q220']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?d ) { ( ontology:Q16979650 ) ( ontology:Q216353 ) } . ?h rdf:type ?d }
Saint Candida Saint Paulina Fratelli D'Alessandri Santa Constanza Antonino Natoli Fèlix "in Pincis"
6
action count
action union
action filter_type
action find_reverse
entity Rome
relation place of death
type sibling group
action filter_type
action find_reverse
entity Rome
relation place of death
type title
[{'concept': 'sibling group'}, 'place of death', 'Rome'] [{'concept': 'title'}, 'place of death', 'Rome']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?d ) { ( ontology:sibling_group ) ( ontology:title ) } . ?h rdf:type ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P272
Q838948
USER
Which works of art were produced by that administrative territory ?
action filter_type
action find_reverse
entity Q220
relation P272
type Q838948
SELECT DISTINCT ?z WHERE { ?z property:P272 resource:Q220 . ?z rdf:type ontology:Q838948 }
Rome
action filter_type
action find_reverse
entity Rome
relation production company
type work of art
SELECT DISTINCT ?z WHERE { ?z property:production_company resource:Rome . ?z rdf:type ontology:work_of_art }
[]
work of art
Q2571534 Q3422402 Q1136505
SYSTEM
The Master and Margaret, L'amante di Gramigna, Madman at War
Q1402866 Q2571534 Q2943588 Q3998898 Q3422402 Q3639436 Q1136505 Q3221640
action filter_type
action find_reverse
entity Q220
relation P272
type Q838948
[ANSWERS] were produced by that administrative territory
SELECT DISTINCT ?z WHERE { ?z property:P272 resource:Q220 . ?z rdf:type ontology:Q838948 }
The Camp Followers The Master and Margaret Un bellissimo novembre Sons of Trinity L'amante di Gramigna White Apache Madman at War Maigret a Pigalle
The Master and Margaret, L'amante di Gramigna and Madman at War were produced by that administrative territory
The Master and Margaret L'amante di Gramigna Madman at War
action filter_type
action find_reverse
entity Rome
relation production company
type work of art
SELECT DISTINCT ?z WHERE { ?z property:production_company resource:Rome . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q3305213 Q340169
USER
Which works of art are expressed in min number of paintings and medias ?
(c(Q3305213)|c(Q340169),P180,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?i ) { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:P180 ?g . ?g rdf:type ontology:Q838948 . ?y rdf:type ontology:Q3305213 } UNION { ?y property:P180 ?g . ?g rdf:type ontology:Q838948 . ?y rdf:type ontology:Q340169 } } GROUP BY ?g } } . FILTER ( ?r = ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } } GROUP BY ?s } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?i ) { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:depicts ?g . ?g rdf:type ontology:work_of_art . ?y rdf:type ontology:painting } UNION { ?y property:depicts ?g . ?g rdf:type ontology:work_of_art . ?y rdf:type ontology:media } } GROUP BY ?g } } . FILTER ( ?r = ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:painting ) ( ontology:media ) } } GROUP BY ?s } }
[]
work of art painting media
Q17305020 Q734834 Q465762
SYSTEM
Tanagra, Ghent Altarpiece, Laocoön and His Sons
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q143912 Q846870 Q21375954 Q1519294 Q27478544 Q766487 Q232042 Q27462703 Q215194 Q3545179 Q46847 Q221211 Q2439030 Q23770419 Q170980 Q333009 Q750209 Q1064990 Q19969041 Q734834 Q3015661 Q473237 Q3497617 Q20631770 Q831869 Q2535008 Q17172602 Q324926 Q93184 Q177600 Q3013723 Q221323 Q2551806 Q2111434 Q1230963 Q185382 Q11060274 Q3424549 Q9764 Q1395302 Q179900 Q826635 Q2070542 Q185392 Q619135 Q294001 Q848790 Q3731233 Q17275826 Q476968 Q1350279 Q17305020 Q280336 Q652011 Q16332506 Q2963060 Q907387 Q18177089 Q3143107 Q374591 Q959962 Q6555477 Q125191 Q130958 Q203443 Q201022 Q774967 Q945850 Q216185 Q79218 Q1989744 Q465762 Q492461 Q7539835 Q745783 Q1349065 Q397447 Q3918710 Q599302 Q208440 Q1192229 Q21743265
(c(Q3305213)|c(Q340169),P180,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
[ANSWERS] are expressed in min number of paintings and medias
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?i ) { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:P180 ?g . ?g rdf:type ontology:Q838948 . ?y rdf:type ontology:Q3305213 } UNION { ?y property:P180 ?g . ?g rdf:type ontology:Q838948 . ?y rdf:type ontology:Q340169 } } GROUP BY ?g } } . FILTER ( ?r = ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } } GROUP BY ?s } }
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 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 oenochoe Neptune and Triton monumental cross fibula drawing stick figure The Railrodder golden calf Belvedere Torso pendant Under Western Stars Trevi Fountain print Frederik V on Horseback 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 krater pyxis Tanagra partner dance Richard III Ploughman Marly horses Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Humains Farnese Hercules diagram Lion of Venice photograph The Great Sphinx 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 expressed in min number of paintings and medias
Tanagra Ghent Altarpiece Laocoön and His Sons
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?i ) { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:depicts ?g . ?g rdf:type ontology:work_of_art . ?y rdf:type ontology:painting } UNION { ?y property:depicts ?g . ?g rdf:type ontology:work_of_art . ?y rdf:type ontology:media } } GROUP BY ?g } } . FILTER ( ?r = ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:painting ) ( ontology:media ) } } GROUP BY ?s } }
[]