Simple Question (Direct)
Simple Question
Q636152
P462
Q1075
USER
Which color is Winx Club 3D: Magical Adventure associated with ?
(Q636152,P462,c(Q1075))
action filter_type
action find
entity Q636152
relation P462
type Q1075
['Q636152', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1075 . resource:Q636152 property:P462 ?y }
Winx Club 3D: Magical Adventure
action filter_type
action find
entity Winx Club 3D: Magical Adventure
relation color
type color
['Winx Club 3D: Magical Adventure', 'color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:color . resource:Winx_Club_3D:_Magical_Adventure property:color ?y }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q636152,P462,c(Q1075))
action filter_type
action find
entity Q636152
relation P462
type Q1075
Winx Club 3D : Magical Adventure is associated with [ANSWER]
['Q636152', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1075 . resource:Q636152 property:P462 ?y }
color
Winx Club 3D : Magical Adventure is associated with color
color
action filter_type
action find
entity Winx Club 3D: Magical Adventure
relation color
type color
['Winx Club 3D: Magical Adventure', 'color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:color . resource:Winx_Club_3D:_Magical_Adventure property:color ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q636152
P58
Q502895
USER
Who wrote the screenplay for that work of art ?
(Q22006653,P58,c(Q502895))
action filter_type
action find
entity Q636152
relation P58
type Q502895
['Q22006653', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q636152 property:P58 ?r }
Winx Club 3D: Magical Adventure
action filter_type
action find
entity Winx Club 3D: Magical Adventure
relation screenwriter
type common name
['color', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Winx_Club_3D:_Magical_Adventure property:screenwriter ?r }
[]
common name
Q773680
SYSTEM
Iginio Straffi
Q773680
(Q22006653,P58,c(Q502895))
action filter_type
action find
entity Q636152
relation P58
type Q502895
[ANSWER] wrote the screenplay for that work of art
['Q22006653', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q636152 property:P58 ?r }
Iginio Straffi
Iginio Straffi wrote the screenplay for that work of art
Iginio Straffi
action filter_type
action find
entity Winx Club 3D: Magical Adventure
relation screenwriter
type common name
['color', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Winx_Club_3D:_Magical_Adventure property:screenwriter ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q773680 Q38 Q508611
P27
Q15617994
USER
Is that person a citizen of Italy and Grattersdorf ?
(Q773680,P27,Q38) (Q773680,P27,Q508611)
action is_in
entity Q773680
action intersection
action find_reverse
entity Q38
relation P27
action find_reverse
entity Q508611
relation P27
['Q773680', 'P27', 'Q38'] ['Q773680', 'P27', 'Q508611']
ASK WHERE { resource:Q773680 property:P27 resource:Q38 . resource:Q773680 property:P27 resource:Q508611 }
Iginio Straffi Italy Grattersdorf
action is_in
entity Iginio Straffi
action intersection
action find_reverse
entity Italy
relation country of citizenship
action find_reverse
entity Grattersdorf
relation country of citizenship
['Iginio Straffi', 'country of citizenship', 'Italy'] ['Iginio Straffi', 'country of citizenship', 'Grattersdorf']
ASK WHERE { resource:Iginio_Straffi property:country_of_citizenship resource:Italy . resource:Iginio_Straffi property:country_of_citizenship resource:Grattersdorf }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q773680,P27,Q38) (Q773680,P27,Q508611)
action is_in
entity Q773680
action intersection
action find_reverse
entity Q38
relation P27
action find_reverse
entity Q508611
relation P27
[ANSWER]
['Q773680', 'P27', 'Q38'] ['Q773680', 'P27', 'Q508611']
ASK WHERE { resource:Q773680 property:P27 resource:Q38 . resource:Q773680 property:P27 resource:Q508611 }
YES and NO respectively
action is_in
entity Iginio Straffi
action intersection
action find_reverse
entity Italy
relation country of citizenship
action find_reverse
entity Grattersdorf
relation country of citizenship
['Iginio Straffi', 'country of citizenship', 'Italy'] ['Iginio Straffi', 'country of citizenship', 'Grattersdorf']
ASK WHERE { resource:Iginio_Straffi property:country_of_citizenship resource:Italy . resource:Iginio_Straffi property:country_of_citizenship resource:Grattersdorf }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5194510
P189
Q515 Q8502 Q838948
USER
Which works of art were discovered at lesser number of cities or mountains than Cupid and Psyche (Roman sculpture) ?
(c(Q838948),P189,c(Q515)|c(Q8502))
action less
action union
action find_tuple_counts
relation P189
type Q838948
type Q515
action find_tuple_counts
relation P189
type Q838948
type Q8502
action count
action filter_multi_types
action find
entity Q5194510
relation P189
type Q515
type Q8502
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q515'}, {'concept': 'Q8502'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?b ) { ( ontology:Q515 ) ( ontology:Q8502 ) } . ?h rdf:type ?b } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q5194510 property:P189 ?e . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q515 ) ( ontology:Q8502 ) } } } } . FILTER ( ?g < ?i ) }
Cupid and Psyche (Roman sculpture)
action less
action union
action find_tuple_counts
relation location of discovery
type work of art
type city
action find_tuple_counts
relation location of discovery
type work of art
type mountain
action count
action filter_multi_types
action find
entity Cupid and Psyche (Roman sculpture)
relation location of discovery
type city
type mountain
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'city'}, {'concept': 'mountain'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?b ) { ( ontology:city ) ( ontology:mountain ) } . ?h rdf:type ?b } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Cupid_and_Psyche_(Roman_sculpture) property:location_of_discovery ?e . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:city ) ( ontology:mountain ) } } } } . FILTER ( ?g < ?i ) }
[]
city mountain work of art
Q581804 Q2584518 Q2993019
SYSTEM
Farnese Bull, Diana of Versailles, Venus of Arles
Q15943251 Q3972841 Q15726561 Q18668605 Q216402 Q2858457 Q9428681 Q681067 Q2543426 Q5483226 Q1737844 Q2148525 Q20199985 Q13033442 Q18668045 Q3501413 Q3968670 Q12397781 Q1095794 Q2233466 Q580263 Q3924860 Q1525417 Q1553211 Q1127555 Q377296 Q1137682 Q2635402 Q849063 Q2584518 Q7604487 Q3361505 Q116580 Q20669412 Q5168696 Q15693822 Q24286014 Q131397 Q16331487 Q11863760 Q3516172 Q4891271 Q15284134 Q185392 Q552113 Q3026255 Q4680067 Q848790 Q582172 Q24169384 Q2364240 Q724710 Q19280256 Q3564172 Q1789503 Q5315707 Q667124 Q16332506 Q17449805 Q1606977 Q2520916 Q374591 Q691284 Q131141 Q510876 Q21485077 Q1817134 Q4945054 Q20200021 Q1624331 Q4918377 Q581804 Q18575238 Q16864946 Q7194968 Q810944 Q702658 Q23760769 Q151952 Q2993019 Q3589109 Q1248136 Q1394918 Q5797725 Q18667809 Q2707892 Q3918311
(c(Q838948),P189,c(Q515)|c(Q8502))
action less
action union
action find_tuple_counts
relation P189
type Q838948
type Q515
action find_tuple_counts
relation P189
type Q838948
type Q8502
action count
action filter_multi_types
action find
entity Q5194510
relation P189
type Q515
type Q8502
[ANSWERS] were discovered at lesser number of cities or mountains than Cupid and Psyche (Roman sculpture)
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q515'}, {'concept': 'Q8502'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?b ) { ( ontology:Q515 ) ( ontology:Q8502 ) } . ?h rdf:type ?b } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q5194510 property:P189 ?e . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q515 ) ( ontology:Q8502 ) } } } } . FILTER ( ?g < ?i ) }
Dancing Faun Raimondi Stela Worshipper of Larsa Jupiter of Smyrna Winged Victory of Samothrace Chatsworth Head The Exaltation of the Flower Lady of Elche Dancing Satyr of Mazara del Vallo Fragment from the tomb of Nikarete Phallus of Schelklingen Ribchester Helmet Horse Škloŭ Idol The Old Fisherman Baal with Thunderbolt Pseudoathlete of Delos stele with the code of Hammurabi Idolino Seated Woman of Çatalhöyük Situla of the Pania Pseudo-Seneca Croatian Apoxyomenos Guennol Lioness Westray Wife Venus of Petřkovice Trundholm sun chariot Biche of Balazote Venus of Brassempouy Diana of Versailles Statue of Iddi-Ilum Athena of Velletri Swimming Reindeer Jupiter Heliopolitanus Copper Bull Satala Aphrodite Sit-shamshi Venus of Willendorf Thera Kouros Elk's Head of Huittinen Bull of Osuna Berenice Venus Lion of Knidos Borghese Gladiator Venus of Dolní Věstonice Diana of Gabii Adam of Govrlevo Dying Gaul Nefertiti Bust Vénus impudique Capuan Venus Venus of Savignano Bust of a male, bearded orant, found in the temple of Ishtar at Mari Townley Venus Kritios Boy Dunstable Swan Jewel Augustus of Prima Porta Ploughman Antinous-Osiris The Orator Wounded Gaul Farnese Hercules Venus of Langenzersdorf Younger Memnon Venus of Lespugue Portrait of Alexander the Great Giants of Monte Prama Sleeping Hermaphrodite Mistress of Lions Hera of Samos Bison Licking Insect Bite Farnese Bull Artemis Doryphoros from Pompeii Pincum relief Battersea Shield Lion man of the Hohlenstein Stadel Disk of Enheduanna Venus de Milo Venus of Arles The Youth of Agde Antinous Mondragone Pillar of the Boatmen The Mask of Warka Sauroctonos Borghese Lady of Ibiza Capitoline Antinous
Farnese Bull, Diana of Versailles and Venus of Arles were discovered at lesser number of cities or mountains than Cupid and Psyche (Roman sculpture)
Farnese Bull Diana of Versailles Venus of Arles
action less
action union
action find_tuple_counts
relation location of discovery
type work of art
type city
action find_tuple_counts
relation location of discovery
type work of art
type mountain
action count
action filter_multi_types
action find
entity Cupid and Psyche (Roman sculpture)
relation location of discovery
type city
type mountain
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'city'}, {'concept': 'mountain'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?b ) { ( ontology:city ) ( ontology:mountain ) } . ?h rdf:type ?b } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Cupid_and_Psyche_(Roman_sculpture) property:location_of_discovery ?e . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:city ) ( ontology:mountain ) } } } } . FILTER ( ?g < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2944327
P189
Q515 Q8502 Q838948
USER
And also tell me about Centaur of Vulci?
(c(Q838948),P189,c(Q515)|c(Q8502))
action less
action union
action find_tuple_counts
relation P189
type Q838948
type Q515
action find_tuple_counts
relation P189
type Q838948
type Q8502
action count
action filter_multi_types
action find
entity Q2944327
relation P189
type Q515
type Q8502
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q515'}, {'concept': 'Q8502'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?y ) WHERE { { ?i property:P189 ?j . ?i rdf:type ontology:Q838948 . ?j rdf:type ontology:Q8502 } UNION { ?i property:P189 ?j . ?i rdf:type ontology:Q838948 . ?j rdf:type ontology:Q515 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Q2944327 property:P189 ?p . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:Q515 ) ( ontology:Q8502 ) } } } } . FILTER ( ?y < ?o ) }
Centaur of Vulci
action less
action union
action find_tuple_counts
relation location of discovery
type work of art
type city
action find_tuple_counts
relation location of discovery
type work of art
type mountain
action count
action filter_multi_types
action find
entity Centaur of Vulci
relation location of discovery
type city
type mountain
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'city'}, {'concept': 'mountain'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?y ) WHERE { { ?i property:location_of_discovery ?j . ?i rdf:type ontology:work_of_art . ?j rdf:type ontology:mountain } UNION { ?i property:location_of_discovery ?j . ?i rdf:type ontology:work_of_art . ?j rdf:type ontology:city } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Centaur_of_Vulci property:location_of_discovery ?p . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:city ) ( ontology:mountain ) } } } } . FILTER ( ?y < ?o ) }
[]
city mountain work of art
Q581804 Q2584518 Q2993019
SYSTEM
Farnese Bull, Diana of Versailles, Venus of Arles
Q15943251 Q3972841 Q15726561 Q18668605 Q216402 Q2858457 Q9428681 Q681067 Q2543426 Q5483226 Q1737844 Q2148525 Q20199985 Q13033442 Q18668045 Q3501413 Q3968670 Q12397781 Q1095794 Q2233466 Q580263 Q3924860 Q1525417 Q1553211 Q1127555 Q377296 Q1137682 Q2635402 Q849063 Q2584518 Q7604487 Q3361505 Q116580 Q20669412 Q5168696 Q15693822 Q24286014 Q131397 Q16331487 Q11863760 Q3516172 Q4891271 Q15284134 Q185392 Q552113 Q3026255 Q4680067 Q848790 Q582172 Q24169384 Q2364240 Q724710 Q19280256 Q3564172 Q1789503 Q5315707 Q667124 Q16332506 Q17449805 Q1606977 Q2520916 Q374591 Q691284 Q131141 Q510876 Q21485077 Q1817134 Q4945054 Q20200021 Q1624331 Q4918377 Q581804 Q18575238 Q16864946 Q7194968 Q810944 Q702658 Q23760769 Q151952 Q2993019 Q3589109 Q1248136 Q1394918 Q5797725 Q18667809 Q2707892 Q3918311
(c(Q838948),P189,c(Q515)|c(Q8502))
action less
action union
action find_tuple_counts
relation P189
type Q838948
type Q515
action find_tuple_counts
relation P189
type Q838948
type Q8502
action count
action filter_multi_types
action find
entity Q2944327
relation P189
type Q515
type Q8502
[ANSWERS]
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q515'}, {'concept': 'Q8502'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?y ) WHERE { { ?i property:P189 ?j . ?i rdf:type ontology:Q838948 . ?j rdf:type ontology:Q8502 } UNION { ?i property:P189 ?j . ?i rdf:type ontology:Q838948 . ?j rdf:type ontology:Q515 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Q2944327 property:P189 ?p . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:Q515 ) ( ontology:Q8502 ) } } } } . FILTER ( ?y < ?o ) }
Dancing Faun Raimondi Stela Worshipper of Larsa Jupiter of Smyrna Winged Victory of Samothrace Chatsworth Head The Exaltation of the Flower Lady of Elche Dancing Satyr of Mazara del Vallo Fragment from the tomb of Nikarete Phallus of Schelklingen Ribchester Helmet Horse Škloŭ Idol The Old Fisherman Baal with Thunderbolt Pseudoathlete of Delos stele with the code of Hammurabi Idolino Seated Woman of Çatalhöyük Situla of the Pania Pseudo-Seneca Croatian Apoxyomenos Guennol Lioness Westray Wife Venus of Petřkovice Trundholm sun chariot Biche of Balazote Venus of Brassempouy Diana of Versailles Statue of Iddi-Ilum Athena of Velletri Swimming Reindeer Jupiter Heliopolitanus Copper Bull Satala Aphrodite Sit-shamshi Venus of Willendorf Thera Kouros Elk's Head of Huittinen Bull of Osuna Berenice Venus Lion of Knidos Borghese Gladiator Venus of Dolní Věstonice Diana of Gabii Adam of Govrlevo Dying Gaul Nefertiti Bust Vénus impudique Capuan Venus Venus of Savignano Bust of a male, bearded orant, found in the temple of Ishtar at Mari Townley Venus Kritios Boy Dunstable Swan Jewel Augustus of Prima Porta Ploughman Antinous-Osiris The Orator Wounded Gaul Farnese Hercules Venus of Langenzersdorf Younger Memnon Venus of Lespugue Portrait of Alexander the Great Giants of Monte Prama Sleeping Hermaphrodite Mistress of Lions Hera of Samos Bison Licking Insect Bite Farnese Bull Artemis Doryphoros from Pompeii Pincum relief Battersea Shield Lion man of the Hohlenstein Stadel Disk of Enheduanna Venus de Milo Venus of Arles The Youth of Agde Antinous Mondragone Pillar of the Boatmen The Mask of Warka Sauroctonos Borghese Lady of Ibiza Capitoline Antinous
Farnese Bull Diana of Versailles Venus of Arles
action less
action union
action find_tuple_counts
relation location of discovery
type work of art
type city
action find_tuple_counts
relation location of discovery
type work of art
type mountain
action count
action filter_multi_types
action find
entity Centaur of Vulci
relation location of discovery
type city
type mountain
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'city'}, {'concept': 'mountain'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?y ) WHERE { { ?i property:location_of_discovery ?j . ?i rdf:type ontology:work_of_art . ?j rdf:type ontology:mountain } UNION { ?i property:location_of_discovery ?j . ?i rdf:type ontology:work_of_art . ?j rdf:type ontology:city } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Centaur_of_Vulci property:location_of_discovery ?p . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:city ) ( ontology:mountain ) } } } } . FILTER ( ?y < ?o ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q11060274 Q838948
USER
Which works of art are depicted in max number of prints and works of art ?
(c(Q11060274)|c(Q838948),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?f WHERE { VALUES ( ?p ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?s rdf:type ?p } GROUP BY ?f } } . FILTER ( ?h = ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?l WHERE { { ?n property:P180 ?l . ?l rdf:type ontology:Q838948 . ?n rdf:type ontology:Q11060274 } UNION { ?n property:P180 ?l . ?l rdf:type ontology:Q838948 . ?n rdf:type ontology:Q838948 } } GROUP BY ?l } }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?f WHERE { VALUES ( ?p ) { ( ontology:print ) ( ontology:work_of_art ) } . ?s rdf:type ?p } GROUP BY ?f } } . FILTER ( ?h = ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?l WHERE { { ?n property:depicts ?l . ?l rdf:type ontology:work_of_art . ?n rdf:type ontology:print } UNION { ?n property:depicts ?l . ?l rdf:type ontology:work_of_art . ?n rdf:type ontology:work_of_art } } GROUP BY ?l } }
[]
work of art print work of art
Q3575260
SYSTEM
bijou
Q3575260
(c(Q11060274)|c(Q838948),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
[ANSWER] is depicted in max number of prints and works of art
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?f WHERE { VALUES ( ?p ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?s rdf:type ?p } GROUP BY ?f } } . FILTER ( ?h = ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?l WHERE { { ?n property:P180 ?l . ?l rdf:type ontology:Q838948 . ?n rdf:type ontology:Q11060274 } UNION { ?n property:P180 ?l . ?l rdf:type ontology:Q838948 . ?n rdf:type ontology:Q838948 } } GROUP BY ?l } }
bijou
Bijou is depicted in max number of prints and works of art
bijou
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?f WHERE { VALUES ( ?p ) { ( ontology:print ) ( ontology:work_of_art ) } . ?s rdf:type ?p } GROUP BY ?f } } . FILTER ( ?h = ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?l WHERE { { ?n property:depicts ?l . ?l rdf:type ontology:work_of_art . ?n rdf:type ontology:print } UNION { ?n property:depicts ?l . ?l rdf:type ontology:work_of_art . ?n rdf:type ontology:work_of_art } } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2993019
P276
Q1299240
USER
Where is Venus of Arles situated ?
(Q2993019,P276,c(Q1299240))
action filter_type
action find
entity Q2993019
relation P276
type Q1299240
['Q2993019', 'P276', {'concept': 'Q1299240'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1299240 . resource:Q2993019 property:P276 ?m }
Venus of Arles
action filter_type
action find
entity Venus of Arles
relation location
type interior space
['Venus of Arles', 'location', {'concept': 'interior space'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:interior_space . resource:Venus_of_Arles property:location ?m }
[]
interior space
Q19828909
SYSTEM
Greek antiquities, room 15
Q19828909
(Q2993019,P276,c(Q1299240))
action filter_type
action find
entity Q2993019
relation P276
type Q1299240
Venus of Arles is situated in [ANSWER]
['Q2993019', 'P276', {'concept': 'Q1299240'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1299240 . resource:Q2993019 property:P276 ?m }
Greek antiquities, room 15
Venus of Arles is situated in Greek antiquities, room 15
Greek antiquities, room 15
action filter_type
action find
entity Venus of Arles
relation location
type interior space
['Venus of Arles', 'location', {'concept': 'interior space'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:interior_space . resource:Venus_of_Arles property:location ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18572485
Q1299240
USER
And also tell me about Medallions of Puget and Mansart?
(Q18572485,P276,c(Q1299240))
action filter_type
action find
entity Q18572485
relation P276
type Q1299240
['Q18572485', 'P276', {'concept': 'Q1299240'}]
SELECT DISTINCT ?w WHERE { resource:Q18572485 property:P276 ?w . ?w rdf:type ontology:Q1299240 }
Medallions of Puget and Mansart
action filter_type
action find
entity Medallions of Puget and Mansart
relation location
type interior space
['Medallions of Puget and Mansart', 'location', {'concept': 'interior space'}]
SELECT DISTINCT ?w WHERE { resource:Medallions_of_Puget_and_Mansart property:location ?w . ?w rdf:type ontology:interior_space }
[]
interior space
Q18572465
SYSTEM
Italian paintings, room 1
Q18572465
(Q18572485,P276,c(Q1299240))
action filter_type
action find
entity Q18572485
relation P276
type Q1299240
[ANSWER]
['Q18572485', 'P276', {'concept': 'Q1299240'}]
SELECT DISTINCT ?w WHERE { resource:Q18572485 property:P276 ?w . ?w rdf:type ontology:Q1299240 }
Italian paintings, room 1
Italian paintings, room 1
action filter_type
action find
entity Medallions of Puget and Mansart
relation location
type interior space
['Medallions of Puget and Mansart', 'location', {'concept': 'interior space'}]
SELECT DISTINCT ?w WHERE { resource:Medallions_of_Puget_and_Mansart property:location ?w . ?w rdf:type ontology:interior_space }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that interior space located in ?
(Q18572465,P17,c(Q15617994))
action count
action filter_type
action find
entity Q18572465
relation P17
type Q15617994
['Q18572465', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Q18572465 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Italian paintings, room 1
relation country
type designation for an administrative territorial entity
['Italian paintings, room 1', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Italian_paintings,_room_1 property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q18572465,P17,c(Q15617994))
action count
action filter_type
action find
entity Q18572465
relation P17
type Q15617994
[ANSWER]
['Q18572465', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Q18572465 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Italian paintings, room 1
relation country
type designation for an administrative territorial entity
['Italian paintings, room 1', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Italian_paintings,_room_1 property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q271928
P361
Q2668072 Q1299240
USER
How many collections are lesser number of interior spaces a part of than Palazzo Vecchio ?
(c(Q1299240),P361,c(Q2668072))
action count
action less
action find_reverse_tuple_counts
relation P361
type Q2668072
type Q1299240
action count
action filter_type
action find_reverse
entity Q271928
relation P361
type Q1299240
[{'concept': 'Q1299240'}, 'P361', {'concept': 'Q2668072'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P361 ?u . ?u rdf:type ontology:Q2668072 . ?b rdf:type ontology:Q1299240 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P361 resource:Q271928 . ?r rdf:type ontology:Q1299240 } } . FILTER ( ?t < ?f ) }
Palazzo Vecchio
action count
action less
action find_reverse_tuple_counts
relation part of
type collection
type interior space
action count
action filter_type
action find_reverse
entity Palazzo Vecchio
relation part of
type interior space
[{'concept': 'interior space'}, 'part of', {'concept': 'collection'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:part_of ?u . ?u rdf:type ontology:collection . ?b rdf:type ontology:interior_space } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:part_of resource:Palazzo_Vecchio . ?r rdf:type ontology:interior_space } } . FILTER ( ?t < ?f ) }
[]
collection interior space
SYSTEM
105
Q21542493 Q3867519 Q1150616 Q3361333 Q537515 Q21731178 Q10686523 Q1820897 Q2583293 Q4263244 Q1072263 Q776086 Q549585 Q1249435 Q1537684 Q1520230 Q679527 Q18751939 Q670595 Q2985848 Q1190282 Q7967310 Q1459037 Q945059 Q2349011 Q10727870 Q2326916 Q2046319 Q157298 Q706692 Q16490618 Q3664369 Q839047 Q18346706 Q6979818 Q1140429 Q2001855 Q386286 Q193563 Q170152 Q6813710 Q638395 Q3943405 Q12039030 Q690853 Q148554 Q1771020 Q18674699 Q190804 Q17081316 Q470623 Q2478628 Q304037 Q95569 Q21651637 Q856590 Q2324644 Q3044747 Q2263119 Q1609326 Q2031357 Q6373 Q151545 Q1250541 Q22911790 Q3678767 Q5428276 Q11403934 Q156722 Q1128578 Q136946 Q1419555 Q1265070 Q14545643 Q188112 Q17319132 Q636400 Q3329748 Q4315039 Q8513 Q874724 Q812285 Q74940 Q2277827 Q1277393 Q324658 Q15071767 Q667615 Q574723 Q653002 Q1499958 Q3329065 Q4306387 Q700216 Q1667156 Q914141 Q587240 Q28471 Q186309 Q259225 Q2349177 Q1798467 Q254156 Q2599177 Q157316
(c(Q1299240),P361,c(Q2668072))
action count
action less
action find_reverse_tuple_counts
relation P361
type Q2668072
type Q1299240
action count
action filter_type
action find_reverse
entity Q271928
relation P361
type Q1299240
[ANSWER]
[{'concept': 'Q1299240'}, 'P361', {'concept': 'Q2668072'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P361 ?u . ?u rdf:type ontology:Q2668072 . ?b rdf:type ontology:Q1299240 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P361 resource:Q271928 . ?r rdf:type ontology:Q1299240 } } . FILTER ( ?t < ?f ) }
Welsh Landscape Collection Civic Museums of Padua Frilandsmuseet Palazzo Spinola di Pellicceria cité de l'architecture et du patrimoine John Ingleby Watercolours Swedish Music Hall of Fame Amsterdam Museum Yale University Library Beit Ariela Museo di Storia Naturale di Firenze Budapest History Museum Schottenstift, Vienna Oxyrhynchus Papyri Queensland Museum Gevangenpoort Museum Boijmans Van Beuningen Civic Museums of Brescia Swiss Transport Museum Cressing Temple Independence National Historical Park Wandsworth Museum Royal Collection Royal Museums of Art and History Stiftung Historische Museen Hamburg Östergötlands länsmuseum Schaffhausen City Library Amgueddfa Cymru – National Museum Wales Pergamon Museum National Taiwan Museum Bicentennial Cultural  Center Cenacolo di Santo Spirito Derby Industrial Museum Vapriikki Museum Centre Nationality Rooms State Historical Museum Harvard Museum of Natural History Basel Historical Museum Bibliothèque nationale de France Neue Pinakothek Melstedgård Leiden University Library SALe Legnano Olomouc Museum of Art Arnamagnæan Manuscript Collection National Museum of Natural History Artscape Nordland St. Anne's Museum Quarter Rijksmuseum Nakpil–Bautista House Amherst Papyri De Hallen Haarlem Austrian National Library Kunsthistorisches Museum Photographs by John Thomas Library of Pergamum Staats- und Universitätsbibliothek Hamburg Department of Greek, Etruscan, and Roman Antiquities of the Louvre Carnegie Museums of Pittsburgh Smithsonian Institution Libraries Helsinki City Museum British Museum Wartburg Monnaie de Paris Photographs by Philip Jones Griffiths Civic Museums and Gallery of History and Art Fabyan Villa KITAMI Reagion Museum of Science History and Art Altes Museum McCord Museum City Museum of Wrocław National Gallery in Prague Musée Grévin Europäisches Hansemuseum National Museum Pan Poeticon Batavum Ashmolean Museum Museum and convent Santa Maria Novella National Sports Museum database Kurpfälzisches Museum Bavarian State Painting Collections National Museum of Nature and Science Shelburne Museum National Museum of Serbia Kunsthalle Düsseldorf Amherstburg Freedom Museum Admont Abbey Mannheim Palace Staatliche Kunstsammlungen Dresden Gemeentemuseum Den Haag Helsinki University Museum Museum of folk architecture and way of life of Middle Naddnipryanschina Berlin State Museums National Museum of the Philippines Hungarian National Museum Aztec codices El Escorial Madame Tussauds Kunstareal Stiftung Stadtmuseum Berlin LWL-Industriemuseum Egyptian Museum of Berlin Maison de Victor Hugo Neues Museum
105
action count
action less
action find_reverse_tuple_counts
relation part of
type collection
type interior space
action count
action filter_type
action find_reverse
entity Palazzo Vecchio
relation part of
type interior space
[{'concept': 'interior space'}, 'part of', {'concept': 'collection'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:part_of ?u . ?u rdf:type ontology:collection . ?b rdf:type ontology:interior_space } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:part_of resource:Palazzo_Vecchio . ?r rdf:type ontology:interior_space } } . FILTER ( ?t < ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q811979 Q1299240
USER
How many architectural structures are atleast 1 interior space a part of ?
(c(Q1299240),P361,c(Q811979))
action count
action atleast
action find_reverse_tuple_counts
relation P361
type Q811979
type Q1299240
value 1
[{'concept': 'Q1299240'}, 'P361', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?s >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?s ) WHERE { ?r rdf:type ontology:Q811979 . ?j rdf:type ontology:Q1299240 . ?j property:P361 ?r } GROUP BY ?r } }
action count
action atleast
action find_reverse_tuple_counts
relation part of
type architectural structure
type interior space
value 1
[{'concept': 'interior space'}, 'part of', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?s >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?s ) WHERE { ?r rdf:type ontology:architectural_structure . ?j rdf:type ontology:interior_space . ?j property:part_of ?r } GROUP BY ?r } }
[]
architectural structure interior space
SYSTEM
3
Q23041442 Q91165 Q1021645
(c(Q1299240),P361,c(Q811979))
action count
action atleast
action find_reverse_tuple_counts
relation P361
type Q811979
type Q1299240
value 1
[ANSWER]
[{'concept': 'Q1299240'}, 'P361', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?s >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?s ) WHERE { ?r rdf:type ontology:Q811979 . ?j rdf:type ontology:Q1299240 . ?j property:P361 ?r } GROUP BY ?r } }
West Colonnade keep office building
3
action count
action atleast
action find_reverse_tuple_counts
relation part of
type architectural structure
type interior space
value 1
[{'concept': 'interior space'}, 'part of', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?s >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?s ) WHERE { ?r rdf:type ontology:architectural_structure . ?j rdf:type ontology:interior_space . ?j property:part_of ?r } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18572465
P47
Q1299240
USER
Which interior space is next to the border of Italian paintings, room 1 ?
(c(Q1299240),P47,Q18572465)
action filter_type
action find
entity Q18572465
relation P47
type Q1299240
[{'concept': 'Q1299240'}, 'P47', 'Q18572465']
SELECT DISTINCT ?t WHERE { resource:Q18572465 property:P47 ?t . ?t rdf:type ontology:Q1299240 }
Italian paintings, room 1
action filter_type
action find
entity Italian paintings, room 1
relation shares border with
type interior space
[{'concept': 'interior space'}, 'shares border with', 'Italian paintings, room 1']
SELECT DISTINCT ?t WHERE { resource:Italian_paintings,_room_1 property:shares_border_with ?t . ?t rdf:type ontology:interior_space }
[]
interior space
Q18572487
SYSTEM
Italian paintings, room 2
Q18572487
(c(Q1299240),P47,Q18572465)
action filter_type
action find
entity Q18572465
relation P47
type Q1299240
[ANSWER] is next to the border of Italian paintings, room 1
[{'concept': 'Q1299240'}, 'P47', 'Q18572465']
SELECT DISTINCT ?t WHERE { resource:Q18572465 property:P47 ?t . ?t rdf:type ontology:Q1299240 }
Italian paintings, room 2
Italian paintings, room 2 is next to the border of Italian paintings, room 1
Italian paintings, room 2
action filter_type
action find
entity Italian paintings, room 1
relation shares border with
type interior space
[{'concept': 'interior space'}, 'shares border with', 'Italian paintings, room 1']
SELECT DISTINCT ?t WHERE { resource:Italian_paintings,_room_1 property:shares_border_with ?t . ?t rdf:type ontology:interior_space }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18572487
P466
Q2668072
USER
Who was the tenant of that interior space ?
(Q18572487,P466,c(Q2668072))
action filter_type
action find
entity Q18572487
relation P466
type Q2668072
['Q18572487', 'P466', {'concept': 'Q2668072'}]
SELECT DISTINCT ?a WHERE { resource:Q18572487 property:P466 ?a . ?a rdf:type ontology:Q2668072 }
Italian paintings, room 2
action filter_type
action find
entity Italian paintings, room 2
relation occupant
type collection
['Italian paintings, room 2', 'occupant', {'concept': 'collection'}]
SELECT DISTINCT ?a WHERE { resource:Italian_paintings,_room_2 property:occupant ?a . ?a rdf:type ontology:collection }
[]
collection
Q3044768
SYSTEM
Department of Paintings of the Louvre
Q3044768
(Q18572487,P466,c(Q2668072))
action filter_type
action find
entity Q18572487
relation P466
type Q2668072
The tenant of that interior space was the [ANSWER]
['Q18572487', 'P466', {'concept': 'Q2668072'}]
SELECT DISTINCT ?a WHERE { resource:Q18572487 property:P466 ?a . ?a rdf:type ontology:Q2668072 }
Department of Paintings of the Louvre
The tenant of that interior space was the Department of Paintings of the Louvre
Department of Paintings of the Louvre
action filter_type
action find
entity Italian paintings, room 2
relation occupant
type collection
['Italian paintings, room 2', 'occupant', {'concept': 'collection'}]
SELECT DISTINCT ?a WHERE { resource:Italian_paintings,_room_2 property:occupant ?a . ?a rdf:type ontology:collection }
[]