Simple Question (Direct)
Simple Question
Q11692697
P937
Q56061
USER
What is the location where Miguel Villalta Gisbert worked ?
(Q11692697,P937,c(Q56061))
action filter_type
action find
entity Q11692697
relation P937
type Q56061
['Q11692697', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q11692697 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Miguel Villalta Gisbert
action filter_type
action find
entity Miguel Villalta Gisbert
relation work location
type administrative territorial entity
['Miguel Villalta Gisbert', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Miguel_Villalta_Gisbert property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q11692697,P937,c(Q56061))
action filter_type
action find
entity Q11692697
relation P937
type Q56061
The location Miguel Villalta Gisbert worked is in [ANSWER]
['Q11692697', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q11692697 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Madrid
The location Miguel Villalta Gisbert worked is in Madrid
Madrid
action filter_type
action find
entity Miguel Villalta Gisbert
relation work location
type administrative territorial entity
['Miguel Villalta Gisbert', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Miguel_Villalta_Gisbert property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P915
Q838948
USER
What were filmed at that administrative territory ?
(c(Q838948),P915,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q2807']
SELECT DISTINCT ?v WHERE { ?v property:P915 resource:Q2807 . ?v rdf:type ontology:Q838948 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Madrid']
SELECT DISTINCT ?v WHERE { ?v property:filming_location resource:Madrid . ?v rdf:type ontology:work_of_art }
[]
work of art
Q108297 Q107226 Q696057
SYSTEM
Spartacus, The Bourne Ultimatum, Around the World in 80 Days
Q3965943 Q258800 Q2301945 Q5234857 Q595882 Q193573 Q4752697 Q2235229 Q192160 Q1549966 Q3824279 Q2395159 Q1760278 Q2740346 Q1138798 Q677636 Q386611 Q216006 Q2520370 Q2995985 Q309863 Q1747275 Q2364668 Q2715312 Q1169605 Q1636502 Q844819 Q1421902 Q3311412 Q471500 Q1321880 Q747441 Q7838742 Q1971276 Q150881 Q129869 Q3212621 Q3281101 Q917910 Q1545331 Q2573457 Q106571 Q3136876 Q2586645 Q2290517 Q2566971 Q2559937 Q696057 Q705247 Q1215878 Q2418958 Q2656108 Q76479 Q276693 Q617203 Q693660 Q1709746 Q470584 Q5400566 Q931753 Q563745 Q1312929 Q3222588 Q3614568 Q610191 Q376291 Q1775628 Q1537542 Q7754150 Q2066531 Q16259187 Q1316253 Q443635 Q1305262 Q303235 Q1757581 Q522015 Q833292 Q1136400 Q7689596 Q1198387 Q478076 Q945883 Q600176 Q181540 Q3824056 Q1339013 Q621656 Q6130409 Q2712855 Q511404 Q463946 Q16303150 Q4686970 Q3878550 Q744562 Q276734 Q7361466 Q624776 Q1059164 Q375454 Q2529482 Q1882729 Q3202905 Q618479 Q649850 Q1333403 Q619228 Q2719268 Q1217883 Q1257088 Q3226852 Q241811 Q3766322 Q1129761 Q5850047 Q611966 Q107226 Q323827 Q5738530 Q3182263 Q232003 Q3135321 Q41483 Q224985 Q3212104 Q1213162 Q650043 Q9019307 Q1633225 Q722353 Q448211 Q4401602 Q367748 Q329805 Q3228011 Q2581918 Q976934 Q244115 Q46044 Q1877554 Q7372082 Q108297 Q4008436 Q192022 Q762927 Q3861013 Q1100832 Q1678494 Q209667 Q3791058 Q1961583 Q1702708 Q1350521 Q476941 Q1169369 Q9086110 Q3353192 Q3572392 Q593615 Q1424099 Q478780 Q635369 Q392834 Q2060452 Q1582752 Q1050105 Q909334 Q5966848 Q1472478 Q643283 Q53669 Q1180275 Q1754820 Q1113039 Q1678427 Q310427 Q1130310 Q3223168 Q5997140 Q852841 Q1092932 Q332515 Q2706071 Q700682 Q2409001 Q153677 Q7770736 Q1765922
(c(Q838948),P915,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P915
type Q838948
[ANSWERS] were filmed at that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q2807']
SELECT DISTINCT ?v WHERE { ?v property:P915 resource:Q2807 . ?v rdf:type ontology:Q838948 }
¡Dispara! Cachorro La comunidad Km. 0 My Mother Likes Women Moulin Rouge! Ninette Megiddo: The Omega Code 2 The Limits of Control Armour of God II: Operation Condor The Thin Red Line The Weakness of the Bolshevik The Hit The Kovak Box That Obscure Object of Desire Lisa and the Devil Intacto Pan's Labyrinth The Other Side of the Bed Tip on a Dead Jockey Dot.Com Not on Your Life The Scarlet Letter The Monk Let Sleeping Corpses Lie Tesis Bad Education Alatriste El diputado The Secret Life of Words Tristana Take My Eyes Tres de la Cruz Roja A Funny Thing Happened on the Way to the Forum Raise Ravens Torrente 4: Lethal Crisis The Revolt of the Slaves Soldiers of Salamina The Blind Sunflowers The 7th Voyage of Sinbad Open Graves From Russia with Love Madame Camino The Spirit of the Beehive Crimen Ferpecto Love Can Seriously Damage Your Health Around the World in 80 Days Delusions of Grandeur Return of the Seven Manolete I'm So Excited A Fistful of Dollars Dias contados The Method Torrente 3: El protector José and Pilar The Four Musketeers La ciudad no es para mí The Flower of My Secret Ana and the Wolves The Day of the Beast Le Désir et l'Amour Amore e chiacchiere Imagining Argentina Guerreros Villa Rides The Golden Voyage of Sinbad The Night of the Witches Lost Command El Hijo de Hernández Solomon and Sheba La Noche de Walpurgis Custer of the West The Three Musketeers Lost in La Mancha Deception Night of the Seagulls Open Your Eyes Taxi The Last Circus Law of Desire El Cid Tie Me Up! Tie Me Down! Quantum of Solace Twisted Obsession The Cold Light of Day La Conjura de El Escorial Slugs No Rest for the Wicked Beneath Still Waters The Blood of Fu Manchu The Sailor with Golden Fists Adão e Eva Los tramposos El Bola Matador Roma They're Watching Us Goal II: Living the Dream Agent 3S3, Massacre in the Sun Chimes at Midnight Golden Balls El Retorno de Walpurgis Agustina of Aragon Horror Express Elsa & Fred Alexander the Great ¡Ay Carmela! The Pod People The Pleasure Seekers Pieces Django Mad Love Goya's Ghosts Madrid, 1987 The Pride and the Passion The Bourne Ultimatum Doctor Zhivago Cabriola John Paul Jones Compañeros Hierro The Good, the Bad and the Ugly Lovers of the Arctic Circle The Case of the Scorpion's Tail The Hellbenders High Heels Family United Sex and Lucia Verbo Solarbabies Love and Pain and the Whole Damn Thing The Fall of the Roman Empire All About My Mother The Vampire of Düsseldorf Tirant lo Blanc The Red Squirrel 55 Days at Peking Labyrinth of Passion Mr. Arkadin Rowing with the Wind Spartacus Diary of a Nymphomaniac Broken Embraces King of Kings Monster Dog Mortadelo & Filemon: The Big Adventure The Grandfather Volver The Delinquents Lovers A Gunfight The Devil's Backbone La Tulipe noire Dark Habits Theresa: The Body of Christ Open Windows Atraco a las tres The Sea Inside Live Flesh Talk to Her Queens Secret Agents What Have I Done to Deserve This? Torrente 2: Misión en Marbella Torrente, el brazo tonto de la ley The Dark Hour The Rift Kika Women on the Verge of a Nervous Breakdown Pepi, Luci, Bom Princesas Nightmare City The Dancer Upstairs Secrets of the Heart Azuloscurocasinegro The Skin I Live In Count Dracula's Great Love My Love Is Called Margarita Viridiana Circus World The Others Martín (Hache) Battle of the Bulge The Apartment For a Few Dollars More The Turkish Passion The Anarchist's Wife
Spartacus, The Bourne Ultimatum and Around the World in 80 Days were filmed at that administrative territory
Spartacus The Bourne Ultimatum Around the World in 80 Days
action filter_type
action find_reverse
entity Madrid
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Madrid']
SELECT DISTINCT ?v WHERE { ?v property:filming_location resource:Madrid . ?v rdf:type ontology:work_of_art }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1441
Q15619164
USER
How many abstract beings are seen in that work of art ?
(c(Q15619164),P1441,Q107226)
[{'concept': 'Q15619164'}, 'P1441', 'Q107226']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q107226 . ?z rdf:type ontology:Q15619164 }
[{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:The_Bourne_Ultimatum . ?z rdf:type ontology:abstract_being }
[]
abstract being
Quantitative|Count|Single entity type|Clarification
Q108297
SYSTEM
Did you mean Spartacus ?
(c(Q15619164),P1441,Q108297) (c(Q15619164),P1441,Q107226) (c(Q15619164),P1441,Q696057)
[ANSWER]
[{'concept': 'Q15619164'}, 'P1441', 'Q108297'] [{'concept': 'Q15619164'}, 'P1441', 'Q107226'] [{'concept': 'Q15619164'}, 'P1441', 'Q696057']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q107226 . ?z rdf:type ontology:Q15619164 }
Did you mean Spartacus ?
Spartacus
[{'concept': 'abstract being'}, 'present in work', 'Spartacus'] [{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum'] [{'concept': 'abstract being'}, 'present in work', 'Around the World in 80 Days']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:The_Bourne_Ultimatum . ?z rdf:type ontology:abstract_being }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant The Bourne Ultimatum. Could you tell me the answer for that?
(c(Q15619164),P1441,Q107226)
Q107226
[{'concept': 'Q15619164'}, 'P1441', 'Q107226']
[{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum']
[]
SYSTEM
2
Q1059919 Q7129195
(c(Q15619164),P1441,Q107226)
[ANSWER]
[{'concept': 'Q15619164'}, 'P1441', 'Q107226']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q107226 . ?z rdf:type ontology:Q15619164 }
Jason Bourne Pamela Landy
2
[{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:The_Bourne_Ultimatum . ?z rdf:type ontology:abstract_being }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q18156272
P88
Q43229 Q874405 Q838948
USER
Which works of art have around the same number of organizations or social groups as their commisioner as Hearing ?
(c(Q838948),P88,c(Q43229)|c(Q874405))
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q43229
action find_tuple_counts
relation P88
type Q838948
type Q874405
action count
action filter_multi_types
action find
entity Q18156272
relation P88
type Q43229
type Q874405
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q43229'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?z WHERE { { ?z property:P88 ?c . ?z rdf:type ontology:Q838948 . ?c rdf:type ontology:Q43229 } UNION { ?z property:P88 ?c . ?c rdf:type ontology:Q874405 . ?z rdf:type ontology:Q838948 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q18156272 property:P88 ?w . { { ?w rdf:type ontology:Q43229 } UNION { ?w rdf:type ontology:Q874405 } } } } . FILTER ( ?r = ?t ) }
Hearing
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type organization
action find_tuple_counts
relation commissioned by
type work of art
type social group
action count
action filter_multi_types
action find
entity Hearing
relation commissioned by
type organization
type social group
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'organization'}, {'concept': 'social group'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?z WHERE { { ?z property:commissioned_by ?c . ?z rdf:type ontology:work_of_art . ?c rdf:type ontology:organization } UNION { ?z property:commissioned_by ?c . ?c rdf:type ontology:social_group . ?z rdf:type ontology:work_of_art } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Hearing property:commissioned_by ?w . { { ?w rdf:type ontology:organization } UNION { ?w rdf:type ontology:social_group } } } } . FILTER ( ?r = ?t ) }
[]
organization social group work of art
Q3047015 Q17451496 Q3068259
SYSTEM
Odalisque with Slave, Nymph with a Scorpion, Femme piquée par un serpent
Q5539462 Q4945054 Q952817 Q21856944 Q2887541 Q945850 Q3344733 Q12432989 Q3647650 Q1094083 Q18156247 Q17530350 Q19801071 Q17451496 Q2859883 Q1345100 Q5887388 Q18201640 Q23693632 Q12347248 Q1760522 Q18156272 Q19693349 Q18156279 Q14626964 Q7404187 Q26908500 Q4866787 Q1026644 Q3068259 Q2627551 Q786001 Q20178465 Q17442691 Q7604500 Q15731486 Q16060284 Q2887491 Q2182509 Q3225815 Q1893353 Q3047015 Q2879984 Q18156280 Q3533222 Q27477357 Q2415504 Q18156273 Q766487 Q6572993 Q22330289 Q179900 Q27032019 Q2928781 Q18156282 Q5309288 Q19681517 Q18385381 Q19753109 Q5509283 Q2418237 Q359256 Q2963060 Q826947 Q1093113 Q27477315 Q5002067 Q27525226 Q15716339 Q19421785 Q1988321 Q2352789 Q3206679 Q16014270 Q19243728 Q19730417
(c(Q838948),P88,c(Q43229)|c(Q874405))
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q43229
action find_tuple_counts
relation P88
type Q838948
type Q874405
action count
action filter_multi_types
action find
entity Q18156272
relation P88
type Q43229
type Q874405
[ANSWERS] have around the same number of organizations or social groups as their commisioner as Hearing
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q43229'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?z WHERE { { ?z property:P88 ?c . ?z rdf:type ontology:Q838948 . ?c rdf:type ontology:Q43229 } UNION { ?z property:P88 ?c . ?c rdf:type ontology:Q874405 . ?z rdf:type ontology:Q838948 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q18156272 property:P88 ?w . { { ?w rdf:type ontology:Q43229 } UNION { ?w rdf:type ontology:Q874405 } } } } . FILTER ( ?r = ?t ) }
George Frederick Handel Sleeping Hermaphrodite Gefion Fountain Shuttle Dragon Fountain Apollo and Daphne Notre-Dame du Try-au-Chêne Oscar Wilde's tomb Bust of Cardinal Richelieu Brunswick Monument Taste Perseus and Andromeda Fountain Napoleon Crossing the Alps Nymph with a Scorpion Arco de la Victoria Kryptos Homage Wikipedia Monument Olney Bridge Esperanto memorial Lansdowne portrait Hearing Begegnung Smell Latona Fountain Salem Sue Gun Nation Bashaw Tomb of Francis II, Duke of Brittany Femme piquée par un serpent Brutus Bernward Column Bust of Pope Paul V Neapolitan fisherboy Statue of Sherlock Holmes Voltaire Naked Bust of Cardinal Roberto Bellarmine Neptune Fountain Cristo della Minerva Le Porteur de viande Marcellus as Hermes Logios Odalisque with Slave Baiser Promenade Touch Tour aux figures The Final Siren David Sight David Amphitrite, the wave and the sea birds Gommateshwara statue David Women’s Table Bust of Louis XIV À mon seul désir Drums and Colours Wasserlichtfeldspiegel Benin Pendant Mask Milo of Croton Funky Bones The Kiss Admiralty Arch Marly horses Bernward Doors Venus Victrix Forward Surge Bust of Francesco I d'Este Standing By Tunnerminnerwait​ and Maulboyheenner​ Chaufferie avec cheminée Lamp with sculpture of St Michael Seven Sorrows Polyptych The Rape of Proserpina La Bicyclette ensevelie fontaines de la place des Vosges Peace Spiegelfaltung
Odalisque with Slave, Nymph with a Scorpion and Femme piquée par un serpent have around the same number of organizations or social groups as their commisioner as Hearing
Odalisque with Slave Nymph with a Scorpion Femme piquée par un serpent
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type organization
action find_tuple_counts
relation commissioned by
type work of art
type social group
action count
action filter_multi_types
action find
entity Hearing
relation commissioned by
type organization
type social group
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'organization'}, {'concept': 'social group'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?z WHERE { { ?z property:commissioned_by ?c . ?z rdf:type ontology:work_of_art . ?c rdf:type ontology:organization } UNION { ?z property:commissioned_by ?c . ?c rdf:type ontology:social_group . ?z rdf:type ontology:work_of_art } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Hearing property:commissioned_by ?w . { { ?w rdf:type ontology:organization } UNION { ?w rdf:type ontology:social_group } } } } . FILTER ( ?r = ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q27525226
P88
Q43229 Q874405 Q838948
USER
And how about Standing By Tunnerminnerwait​ and Maulboyheenner​?
(c(Q838948),P88,c(Q43229)|c(Q874405))
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q43229
action find_tuple_counts
relation P88
type Q838948
type Q874405
action count
action filter_multi_types
action find
entity Q27525226
relation P88
type Q43229
type Q874405
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q43229'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:Q838948 . ?p rdf:type ontology:Q43229 . ?m property:P88 ?p } UNION { ?m property:P88 ?p . ?m rdf:type ontology:Q838948 . ?p rdf:type ontology:Q874405 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Q27525226 property:P88 ?i . { { ?i rdf:type ontology:Q43229 } UNION { ?i rdf:type ontology:Q874405 } } } } . FILTER ( ?z = ?t ) }
Standing By Tunnerminnerwait​ and Maulboyheenner​
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type organization
action find_tuple_counts
relation commissioned by
type work of art
type social group
action count
action filter_multi_types
action find
entity Standing By Tunnerminnerwait​ and Maulboyheenner​
relation commissioned by
type organization
type social group
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'organization'}, {'concept': 'social group'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:work_of_art . ?p rdf:type ontology:organization . ?m property:commissioned_by ?p } UNION { ?m property:commissioned_by ?p . ?m rdf:type ontology:work_of_art . ?p rdf:type ontology:social_group } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Standing_By_Tunnerminnerwait​_and_Maulboyheenner​ property:commissioned_by ?i . { { ?i rdf:type ontology:organization } UNION { ?i rdf:type ontology:social_group } } } } . FILTER ( ?z = ?t ) }
[]
organization social group work of art
Q3047015 Q17451496 Q3068259
SYSTEM
Odalisque with Slave, Nymph with a Scorpion, Femme piquée par un serpent
Q5539462 Q4945054 Q952817 Q21856944 Q2887541 Q945850 Q3344733 Q12432989 Q3647650 Q1094083 Q18156247 Q17530350 Q19801071 Q17451496 Q2859883 Q1345100 Q5887388 Q18201640 Q23693632 Q12347248 Q1760522 Q18156272 Q19693349 Q18156279 Q14626964 Q7404187 Q26908500 Q4866787 Q1026644 Q3068259 Q2627551 Q786001 Q20178465 Q17442691 Q7604500 Q15731486 Q16060284 Q2887491 Q2182509 Q3225815 Q1893353 Q3047015 Q2879984 Q18156280 Q3533222 Q27477357 Q2415504 Q18156273 Q766487 Q6572993 Q22330289 Q179900 Q27032019 Q2928781 Q18156282 Q5309288 Q19681517 Q18385381 Q19753109 Q5509283 Q2418237 Q359256 Q2963060 Q826947 Q1093113 Q27477315 Q5002067 Q27525226 Q15716339 Q19421785 Q1988321 Q2352789 Q3206679 Q16014270 Q19243728 Q19730417
(c(Q838948),P88,c(Q43229)|c(Q874405))
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q43229
action find_tuple_counts
relation P88
type Q838948
type Q874405
action count
action filter_multi_types
action find
entity Q27525226
relation P88
type Q43229
type Q874405
[ANSWERS]
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q43229'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:Q838948 . ?p rdf:type ontology:Q43229 . ?m property:P88 ?p } UNION { ?m property:P88 ?p . ?m rdf:type ontology:Q838948 . ?p rdf:type ontology:Q874405 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Q27525226 property:P88 ?i . { { ?i rdf:type ontology:Q43229 } UNION { ?i rdf:type ontology:Q874405 } } } } . FILTER ( ?z = ?t ) }
George Frederick Handel Sleeping Hermaphrodite Gefion Fountain Shuttle Dragon Fountain Apollo and Daphne Notre-Dame du Try-au-Chêne Oscar Wilde's tomb Bust of Cardinal Richelieu Brunswick Monument Taste Perseus and Andromeda Fountain Napoleon Crossing the Alps Nymph with a Scorpion Arco de la Victoria Kryptos Homage Wikipedia Monument Olney Bridge Esperanto memorial Lansdowne portrait Hearing Begegnung Smell Latona Fountain Salem Sue Gun Nation Bashaw Tomb of Francis II, Duke of Brittany Femme piquée par un serpent Brutus Bernward Column Bust of Pope Paul V Neapolitan fisherboy Statue of Sherlock Holmes Voltaire Naked Bust of Cardinal Roberto Bellarmine Neptune Fountain Cristo della Minerva Le Porteur de viande Marcellus as Hermes Logios Odalisque with Slave Baiser Promenade Touch Tour aux figures The Final Siren David Sight David Amphitrite, the wave and the sea birds Gommateshwara statue David Women’s Table Bust of Louis XIV À mon seul désir Drums and Colours Wasserlichtfeldspiegel Benin Pendant Mask Milo of Croton Funky Bones The Kiss Admiralty Arch Marly horses Bernward Doors Venus Victrix Forward Surge Bust of Francesco I d'Este Standing By Tunnerminnerwait​ and Maulboyheenner​ Chaufferie avec cheminée Lamp with sculpture of St Michael Seven Sorrows Polyptych The Rape of Proserpina La Bicyclette ensevelie fontaines de la place des Vosges Peace Spiegelfaltung
Odalisque with Slave Nymph with a Scorpion Femme piquée par un serpent
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type organization
action find_tuple_counts
relation commissioned by
type work of art
type social group
action count
action filter_multi_types
action find
entity Standing By Tunnerminnerwait​ and Maulboyheenner​
relation commissioned by
type organization
type social group
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'organization'}, {'concept': 'social group'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:work_of_art . ?p rdf:type ontology:organization . ?m property:commissioned_by ?p } UNION { ?m property:commissioned_by ?p . ?m rdf:type ontology:work_of_art . ?p rdf:type ontology:social_group } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Standing_By_Tunnerminnerwait​_and_Maulboyheenner​ property:commissioned_by ?i . { { ?i rdf:type ontology:organization } UNION { ?i rdf:type ontology:social_group } } } } . FILTER ( ?z = ?t ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P180
Q151885
USER
How many concepts are expressed in that work of art ?
(Q3068259,P180,c(Q151885))
['Q3068259', 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3068259 property:P180 ?z . ?z rdf:type ontology:Q151885 }
['Femme piquée par un serpent', 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Femme_piquée_par_un_serpent property:depicts ?z . ?z rdf:type ontology:concept }
[]
concept
Quantitative|Count|Single entity type|Clarification
Q3068259
SYSTEM
Did you mean Femme piquée par un serpent ?
(Q3047015,P180,c(Q151885)) (Q17451496,P180,c(Q151885)) (Q3068259,P180,c(Q151885))
[ANSWER]
['Q3047015', 'P180', {'concept': 'Q151885'}] ['Q17451496', 'P180', {'concept': 'Q151885'}] ['Q3068259', 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3068259 property:P180 ?z . ?z rdf:type ontology:Q151885 }
Did you mean Femme piquée par un serpent ?
Femme piquée par un serpent
['Odalisque with Slave', 'depicts', {'concept': 'concept'}] ['Nymph with a Scorpion', 'depicts', {'concept': 'concept'}] ['Femme piquée par un serpent', 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Femme_piquée_par_un_serpent property:depicts ?z . ?z rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q3068259,P180,c(Q151885))
['Q3068259', 'P180', {'concept': 'Q151885'}]
['Femme piquée par un serpent', 'depicts', {'concept': 'concept'}]
[]
SYSTEM
1
Q467
(Q3068259,P180,c(Q151885))
[ANSWER]
['Q3068259', 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3068259 property:P180 ?z . ?z rdf:type ontology:Q151885 }
woman
1
['Femme piquée par un serpent', 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Femme_piquée_par_un_serpent property:depicts ?z . ?z rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q939424 Q107226
P1411
Q4220917
USER
Which film awards were The Bourne Ultimatum or Sergeant York a recipient of ?
OR((Q107226,P1411,c(Q4220917)), (Q939424,P1411,c(Q4220917)))
action filter_type
action union
action find
entity Q107226
relation P1411
action find
entity Q939424
relation P1411
type Q4220917
{'OR': [['Q107226', 'P1411', {'concept': 'Q4220917'}], ['Q939424', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q107226 property:P1411 ?d } UNION { resource:Q939424 property:P1411 ?d } } . ?d rdf:type ontology:Q4220917 }
Sergeant York The Bourne Ultimatum
action filter_type
action union
action find
entity The Bourne Ultimatum
relation nominated for
action find
entity Sergeant York
relation nominated for
type film award
{'OR': [['The Bourne Ultimatum', 'nominated for', {'concept': 'film award'}], ['Sergeant York', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?d WHERE { { { resource:The_Bourne_Ultimatum property:nominated_for ?d } UNION { resource:Sergeant_York property:nominated_for ?d } } . ?d rdf:type ontology:film_award }
[]
film award
Q106291 Q787131 Q830079 Q734036 Q4220901 Q281939 Q739633 Q22235329 Q3473903 Q787127
SYSTEM
Some of them are Academy Award for Best Supporting Actor, BAFTA Award for Best Direction, Academy Award for Best Sound Mixing, MTV Movie Award for Best Fight, MTV Movie Award for Best Male Performance, Academy Award for Best Film Editing, BAFTA Award for Best Sound, Academy Award for Best Original Dramatic Score, Satellite Award for Best Editing, BAFTA Award for Best Special Visual Effects
Q22253133 Q102427 Q3473910 Q787127 Q41417 Q787145 Q1749539 Q281939 Q103916 Q2663714 Q3473903 Q488645 Q830079 Q103360 Q106291 Q787131 Q106301 Q22235329 Q739633 Q734036 Q4220901 Q21995139
OR((Q107226,P1411,c(Q4220917)), (Q939424,P1411,c(Q4220917)))
action filter_type
action union
action find
entity Q107226
relation P1411
action find
entity Q939424
relation P1411
type Q4220917
The [ANSWERS] were The Bourne Ultimatum or Sergeant York a recipient of
{'OR': [['Q107226', 'P1411', {'concept': 'Q4220917'}], ['Q939424', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q107226 property:P1411 ?d } UNION { resource:Q939424 property:P1411 ?d } } . ?d rdf:type ontology:Q4220917 }
Academy Award for Best Art Direction, Black and White Academy Award for Best Picture Satellite Award for Best Sound BAFTA Award for Best Special Visual Effects Academy Award for Best Writing, Original Screenplay BAFTA Award for Best Editing Satellite Award for Best Visual Effects Academy Award for Best Film Editing Academy Award for Best Actor British Academy Film Award for Best British Film Satellite Award for Best Editing Academy Award for Best Sound Editing Academy Award for Best Sound Mixing Academy Award for Best Director Academy Award for Best Supporting Actor BAFTA Award for Best Direction Academy Award for Best Supporting Actress Academy Award for Best Original Dramatic Score BAFTA Award for Best Sound MTV Movie Award for Best Fight MTV Movie Award for Best Male Performance Academy Award for Best Cinematography, Black-and-White
The Academy Award for Best Supporting Actor, BAFTA Award for Best Direction, Academy Award for Best Sound Mixing, MTV Movie Award for Best Fight, MTV Movie Award for Best Male Performance, Academy Award for Best Film Editing, BAFTA Award for Best Sound, Academy Award for Best Original Dramatic Score, Satellite Award for Best Editing and BAFTA Award for Best Special Visual Effects were The Bourne Ultimatum or Sergeant York a recipient of
Academy Award for Best Supporting Actor BAFTA Award for Best Direction Academy Award for Best Sound Mixing MTV Movie Award for Best Fight MTV Movie Award for Best Male Performance Academy Award for Best Film Editing BAFTA Award for Best Sound Academy Award for Best Original Dramatic Score Satellite Award for Best Editing BAFTA Award for Best Special Visual Effects
action filter_type
action union
action find
entity The Bourne Ultimatum
relation nominated for
action find
entity Sergeant York
relation nominated for
type film award
{'OR': [['The Bourne Ultimatum', 'nominated for', {'concept': 'film award'}], ['Sergeant York', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?d WHERE { { { resource:The_Bourne_Ultimatum property:nominated_for ?d } UNION { resource:Sergeant_York property:nominated_for ?d } } . ?d rdf:type ontology:film_award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4220901
P166
Q838948
USER
Which works of art won that film award ?
(c(Q838948),P166,Q4220901)
action filter_type
action find_reverse
entity Q4220901
relation P166
type Q838948
[{'concept': 'Q838948'}, 'P166', 'Q4220901']
SELECT DISTINCT ?y WHERE { ?y property:P166 resource:Q4220901 . ?y rdf:type ontology:Q838948 }
MTV Movie Award for Best Male Performance
action filter_type
action find_reverse
entity MTV Movie Award for Best Male Performance
relation award received
type work of art
[{'concept': 'work of art'}, 'award received', 'MTV Movie Award for Best Male Performance']
SELECT DISTINCT ?y WHERE { ?y property:award_received resource:MTV_Movie_Award_for_Best_Male_Performance . ?y rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q787127
SYSTEM
Did you mean BAFTA Award for Best Special Visual Effects ?
Q106291 Q787131 Q830079 Q734036 Q4220901 Q281939 Q739633 Q22235329 Q3473903 Q787127
(c(Q838948),P166,Q106291) (c(Q838948),P166,Q787131) (c(Q838948),P166,Q830079) (c(Q838948),P166,Q734036) (c(Q838948),P166,Q4220901) (c(Q838948),P166,Q281939) (c(Q838948),P166,Q739633) (c(Q838948),P166,Q22235329) (c(Q838948),P166,Q3473903) (c(Q838948),P166,Q787127)
[ANSWER]
[{'concept': 'Q838948'}, 'P166', 'Q106291'] [{'concept': 'Q838948'}, 'P166', 'Q787131'] [{'concept': 'Q838948'}, 'P166', 'Q830079'] [{'concept': 'Q838948'}, 'P166', 'Q734036'] [{'concept': 'Q838948'}, 'P166', 'Q4220901'] [{'concept': 'Q838948'}, 'P166', 'Q281939'] [{'concept': 'Q838948'}, 'P166', 'Q739633'] [{'concept': 'Q838948'}, 'P166', 'Q22235329'] [{'concept': 'Q838948'}, 'P166', 'Q3473903'] [{'concept': 'Q838948'}, 'P166', 'Q787127']
SELECT DISTINCT ?y WHERE { ?y property:P166 resource:Q4220901 . ?y rdf:type ontology:Q838948 }
Academy Award for Best Supporting Actor BAFTA Award for Best Direction Academy Award for Best Sound Mixing MTV Movie Award for Best Fight MTV Movie Award for Best Male Performance Academy Award for Best Film Editing BAFTA Award for Best Sound Academy Award for Best Original Dramatic Score Satellite Award for Best Editing BAFTA Award for Best Special Visual Effects
Did you mean BAFTA Award for Best Special Visual Effects ?
BAFTA Award for Best Special Visual Effects
[{'concept': 'work of art'}, 'award received', 'Academy Award for Best Supporting Actor'] [{'concept': 'work of art'}, 'award received', 'BAFTA Award for Best Direction'] [{'concept': 'work of art'}, 'award received', 'Academy Award for Best Sound Mixing'] [{'concept': 'work of art'}, 'award received', 'MTV Movie Award for Best Fight'] [{'concept': 'work of art'}, 'award received', 'MTV Movie Award for Best Male Performance'] [{'concept': 'work of art'}, 'award received', 'Academy Award for Best Film Editing'] [{'concept': 'work of art'}, 'award received', 'BAFTA Award for Best Sound'] [{'concept': 'work of art'}, 'award received', 'Academy Award for Best Original Dramatic Score'] [{'concept': 'work of art'}, 'award received', 'Satellite Award for Best Editing'] [{'concept': 'work of art'}, 'award received', 'BAFTA Award for Best Special Visual Effects']
SELECT DISTINCT ?y WHERE { ?y property:award_received resource:MTV_Movie_Award_for_Best_Male_Performance . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant MTV Movie Award for Best Male Performance. Could you tell me the answer for that?
(c(Q838948),P166,Q4220901)
Q4220901
[{'concept': 'Q838948'}, 'P166', 'Q4220901']
[{'concept': 'work of art'}, 'award received', 'MTV Movie Award for Best Male Performance']
[]
Q44578 Q116928 Q116845
SYSTEM
Titanic, The Twilight Saga: New Moon, Silver Linings Playbook
Q116928 Q116845 Q44578
(c(Q838948),P166,Q4220901)
action filter_type
action find_reverse
entity Q4220901
relation P166
type Q838948
[ANSWERS] won that film award
[{'concept': 'Q838948'}, 'P166', 'Q4220901']
SELECT DISTINCT ?y WHERE { ?y property:P166 resource:Q4220901 . ?y rdf:type ontology:Q838948 }
The Twilight Saga: New Moon Silver Linings Playbook Titanic
Titanic, The Twilight Saga: New Moon and Silver Linings Playbook won that film award
Titanic The Twilight Saga: New Moon Silver Linings Playbook
action filter_type
action find_reverse
entity MTV Movie Award for Best Male Performance
relation award received
type work of art
[{'concept': 'work of art'}, 'award received', 'MTV Movie Award for Best Male Performance']
SELECT DISTINCT ?y WHERE { ?y property:award_received resource:MTV_Movie_Award_for_Best_Male_Performance . ?y rdf:type ontology:work_of_art }
[]