Simple Question (Direct)
Simple Question
Q425730
P462
Q1075
USER
Which color is The Dreyfus Affair associated with ?
(Q425730,P462,c(Q1075))
action filter_type
action find
entity Q425730
relation P462
type Q1075
['Q425730', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?x WHERE { resource:Q425730 property:P462 ?x . ?x rdf:type ontology:Q1075 }
The Dreyfus Affair
action filter_type
action find
entity The Dreyfus Affair
relation color
type color
['The Dreyfus Affair', 'color', {'concept': 'color'}]
SELECT DISTINCT ?x WHERE { resource:The_Dreyfus_Affair property:color ?x . ?x rdf:type ontology:color }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q425730,P462,c(Q1075))
action filter_type
action find
entity Q425730
relation P462
type Q1075
The Dreyfus Affair is associated with [ANSWER]
['Q425730', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?x WHERE { resource:Q425730 property:P462 ?x . ?x rdf:type ontology:Q1075 }
black-and-white film
The Dreyfus Affair is associated with black-and-white film
black-and-white film
action filter_type
action find
entity The Dreyfus Affair
relation color
type color
['The Dreyfus Affair', 'color', {'concept': 'color'}]
SELECT DISTINCT ?x WHERE { resource:The_Dreyfus_Affair property:color ?x . ?x rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q425730
P364
Q11028
USER
Which information was used originally for the creation of The Dreyfus Affair ?
(Q425730,P364,c(Q11028))
action filter_type
action find
entity Q425730
relation P364
type Q11028
['Q425730', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?t WHERE { resource:Q425730 property:P364 ?t . ?t rdf:type ontology:Q11028 }
The Dreyfus Affair
action filter_type
action find
entity The Dreyfus Affair
relation original language of work
type information
['The Dreyfus Affair', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?t WHERE { resource:The_Dreyfus_Affair property:original_language_of_work ?t . ?t rdf:type ontology:information }
[]
information
Q21686005
SYSTEM
n/a (silent film)
Q21686005
(Q425730,P364,c(Q11028))
action filter_type
action find
entity Q425730
relation P364
type Q11028
[ANSWER] was used originally for the creation of The Dreyfus Affair
['Q425730', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?t WHERE { resource:Q425730 property:P364 ?t . ?t rdf:type ontology:Q11028 }
n/a (silent film)
N/a (silent film) was used originally for the creation of The Dreyfus Affair
n/a (silent film)
action filter_type
action find
entity The Dreyfus Affair
relation original language of work
type information
['The Dreyfus Affair', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?t WHERE { resource:The_Dreyfus_Affair property:original_language_of_work ?t . ?t rdf:type ontology:information }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q425730
P57
Q502895
USER
Who directed The Dreyfus Affair ?
(Q425730,P57,c(Q502895))
action filter_type
action find
entity Q425730
relation P57
type Q502895
['Q425730', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q425730 property:P57 ?c . ?c rdf:type ontology:Q502895 }
The Dreyfus Affair
action filter_type
action find
entity The Dreyfus Affair
relation director
type common name
['The Dreyfus Affair', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Dreyfus_Affair property:director ?c . ?c rdf:type ontology:common_name }
[]
common name
Q152272
SYSTEM
Georges Méliès
Q152272
(Q425730,P57,c(Q502895))
action filter_type
action find
entity Q425730
relation P57
type Q502895
[ANSWER] directed The Dreyfus Affair
['Q425730', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q425730 property:P57 ?c . ?c rdf:type ontology:Q502895 }
Georges Méliès
Georges Méliès directed The Dreyfus Affair
Georges Méliès
action filter_type
action find
entity The Dreyfus Affair
relation director
type common name
['The Dreyfus Affair', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Dreyfus_Affair property:director ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q152272
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q152272,P106,c(Q12737077))
action filter_type
action find
entity Q152272
relation P106
type Q12737077
['Q152272', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q152272 property:P106 ?h }
Georges Méliès
action filter_type
action find
entity Georges Méliès
relation occupation
type occupation
['Georges Méliès', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Georges_Méliès property:occupation ?h }
[]
occupation
Q266569 Q33999 Q15855449
SYSTEM
animator, actor, stage magician
Q266569 Q33999 Q15855449
(Q152272,P106,c(Q12737077))
action filter_type
action find
entity Q152272
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q152272', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q152272 property:P106 ?h }
animator actor stage magician
The professions of that person are animator, actor and stage magician
animator actor stage magician
action filter_type
action find
entity Georges Méliès
relation occupation
type occupation
['Georges Méliès', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Georges_Méliès property:occupation ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q152272
P57
Q838948
USER
How many works of art are Georges Méliès a director of ?
(c(Q838948),P57,Q152272)
action count
action filter_type
action find_reverse
entity Q152272
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q152272']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P57 resource:Q152272 . ?t rdf:type ontology:Q838948 }
Georges Méliès
action count
action filter_type
action find_reverse
entity Georges Méliès
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Georges Méliès']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:director resource:Georges_Méliès . ?t rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
141
Q1570714 Q3226945 Q425730 Q3210831 Q3226354 Q16028451 Q4515148 Q3126475 Q3118991 Q3231990 Q3136616 Q1851504 Q153603 Q7757123 Q3213885 Q1747075 Q1747078 Q16028888 Q2563734 Q26720564 Q3207362 Q16028332 Q731963 Q17011207 Q3067450 Q16028565 Q959124 Q3563744 Q18709134 Q742305 Q16028373 Q3224944 Q16636733 Q2993187 Q16028911 Q3231463 Q1995323 Q3054180 Q1236304 Q166385 Q2071862 Q1319849 Q3220881 Q15973404 Q1810328 Q15990901 Q3201985 Q3203710 Q2993119 Q3044566 Q3044565 Q3224302 Q2941693 Q3390359 Q3220293 Q4300507 Q16028645 Q16028654 Q2069080 Q3230636 Q3221300 Q4206676 Q16028679 Q152865 Q3222497 Q2368334 Q153591 Q3548830 Q1557696 Q16028634 Q3435798 Q3049034 Q18708941 Q21286770 Q2832142 Q1518017 Q4205069 Q24905871 Q3549395 Q2908983 Q3664380 Q7468028 Q3024628 Q3024629 Q3024626 Q3204631 Q3024632 Q3225823 Q1557630 Q1557635 Q2998138 Q2998134 Q3202145 Q3207110 Q2891120 Q1570698 Q1570692 Q3222583 Q1748635 Q3819172 Q3006411 Q3157361 Q3231057 Q3225189 Q3591487 Q3221858 Q17013517 Q3032558 Q3226806 Q516991 Q3225159 Q16028486 Q3226813 Q3226817 Q3230864 Q16950425 Q3061793 Q3226228 Q2370688 Q3548791 Q16028801 Q3230819 Q617230 Q3520391 Q2935496 Q19893617 Q1571076 Q1571073 Q16028830 Q1570737 Q16028468 Q808748 Q1518248 Q16029061 Q1605201 Q16954185 Q1455089 Q3233342 Q1571058 Q16028817 Q1270472
(c(Q838948),P57,Q152272)
action count
action filter_type
action find_reverse
entity Q152272
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q152272']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P57 resource:Q152272 . ?t rdf:type ontology:Q838948 }
La Prise de Tournavos The Doctor and the Monkey The Dreyfus Affair Shakespeare Writing "Julius Caesar" A Fantastic Meal Seein' Things The 400 Tricks of the Devil Hamlet La Guerre de Cuba et l'Explosion du Maine à La Havane The Two Blind Men A Desperate Crime The Man with the Rubber Head The Haunted Castle The Pillar of Fire Voiture du potier Adventures of William Tell Panorama From Top of a Moving Train A Love Tragedy in Spain The Impossible Voyage The Sacred Fountain The Brahmin and the Butterfly The Knight of the Snows The Temptation of Saint Anthony Miss de Vère The Damnation of Faust Whimsical Illusions Conquest of the Pole Thanking the Audience The Treasures of Satan The Magician Faust and Marguerite The Melomaniac Fortune Favors the Brave Tunnelling the English Channel Satan in Prison Les chevaux de bois Fairyland: A Kingdom of Fairies Enfants jouant sur la plage Jeanne d'Arc A Terrible Night Barbe-bleue The Infernal Boiling Pot Le cauchemar The Miser The Devil in a Convent Don Quichotte The Christmas Angel L'Homme mouche China Versus Allied Powers Départ des officiers Départ des automobiles How Bridget's Lover Escaped The Catastrophe of the Balloon "Le Pax" Place de la Concorde The Barber of Seville The Lightning Change Artist The Diabolic Tenant Love and Molasses Le Voyage de Gulliver à Lilliput et chez les géants A Burlesque Highway Robbery in Gay Paree Le chiffonnier The Cabinet of Mephistopheles Fun With the Bridal Party Cléopâtre Déchargement de bateaux On the Roof Escamotage d'une dame au théâtre Robert Houdin Un miracle sous l'inquisition Bébé et fillettes The Voyage of the Bourrichon Family Robert Macaire and Bertrand Effets de mer sur les rochers The Enchanted Well The Rescue on the River The Mysterious Retort L'Arroseur Humanity Through the Ages Christ Walking on the Water A Mix-up in the Gallery Bois de Boulogne Cinderella or the Glass Slipper Why That Actor Was Late Dessinateur: Reine Victoria Dessinateur: Von Bismark Dessinateur: Chamberlain The Oracle of Delphi Dessinateur express A Mysterious Portrait Batteuse à vapeur Boulevard des Italiens Cortège de tzar au Bois de Boulogne Cortège de tzar allant à Versailles The Magician's Cavern The Cave of the Demons Bateau-mouche sur la Seine The Famous Box Trick Entre Calais et Douvres Going to Bed Under Difficulties L'homme orchestre An Up-to-Date Conjuror L'Auberge du Bon Repos The Chimney Sweep Les Blanchisseuses The Spider and the Butterfly The Eruption of Mount Pelee Couronnement de la rosière Paris Exposition, 1900 Dix chapeaux en 60 secondes The Christmas Dream Danse serpentine The Palace of the Arabian Nights The Ghost of Sulphur Mountain Le Rêve du maître de ballet Le rêve du radjah ou La forêt enchantée Les Aventures de baron de Munchhausen Comedian Paulus Singing Excelsior! An Adventurous Automobile Trip Addition and Subtraction Un malheur n'arrive jamais seul Long Distance Wireless Photography Robinson Crusoe The Monster The Cook's Revenge The Bohemian Encampment The Laboratory of Mephistopheles Après le bal The Four Troublesome Heads The Prisoner's Story The Last Cartridges French Cops Learning English Barque sortant du port de Trouville Arrivée d'un train gare de Vincennes The Woes of Roller Skaters The Astronomer's Dream The Clown and Automobile L'auberge ensorcelée The Misfortunes of an Explorer Sea Fighting in Greece Buncoed Stage Johnnie Post No Bills
141
action count
action filter_type
action find_reverse
entity Georges Méliès
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Georges Méliès']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:director resource:Georges_Méliès . ?t rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1374828
P57
Q838948
USER
And how about Roger Kumble?
(c(Q838948),P57,Q1374828)
action count
action filter_type
action find_reverse
entity Q1374828
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q1374828']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P57 resource:Q1374828 . ?a rdf:type ontology:Q838948 }
Roger Kumble
action count
action filter_type
action find_reverse
entity Roger Kumble
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Roger Kumble']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:director resource:Roger_Kumble . ?a rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
6
Q1109085 Q64146 Q64151 Q910191 Q1292187 Q1134271
(c(Q838948),P57,Q1374828)
action count
action filter_type
action find_reverse
entity Q1374828
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q1374828']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P57 resource:Q1374828 . ?a rdf:type ontology:Q838948 }
College Road Trip Cruel Intentions 2 Cruel Intentions Furry Vengeance Just Friends The Sweetest Thing
6
action count
action filter_type
action find_reverse
entity Roger Kumble
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Roger Kumble']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:director resource:Roger_Kumble . ?a rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152272
P2554
Q838948
USER
Which works of art have Georges Méliès as the creator of production designs ?
(c(Q838948),P2554,Q152272)
action filter_type
action find_reverse
entity Q152272
relation P2554
type Q838948
[{'concept': 'Q838948'}, 'P2554', 'Q152272']
SELECT DISTINCT ?b WHERE { ?b property:P2554 resource:Q152272 . ?b rdf:type ontology:Q838948 }
Georges Méliès
action filter_type
action find_reverse
entity Georges Méliès
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'Georges Méliès']
SELECT DISTINCT ?b WHERE { ?b property:production_designer resource:Georges_Méliès . ?b rdf:type ontology:work_of_art }
[]
work of art
Q166385 Q1455089 Q153591
SYSTEM
A Terrible Night, L'auberge ensorcelée, Escamotage d'une dame au théâtre Robert Houdin
Q166385 Q1455089 Q153591
(c(Q838948),P2554,Q152272)
action filter_type
action find_reverse
entity Q152272
relation P2554
type Q838948
[ANSWERS] have Georges Méliès as the creator of production designs
[{'concept': 'Q838948'}, 'P2554', 'Q152272']
SELECT DISTINCT ?b WHERE { ?b property:P2554 resource:Q152272 . ?b rdf:type ontology:Q838948 }
A Terrible Night L'auberge ensorcelée Escamotage d'une dame au théâtre Robert Houdin
A Terrible Night, L'auberge ensorcelée and Escamotage d'une dame au théâtre Robert Houdin have Georges Méliès as the creator of production designs
A Terrible Night L'auberge ensorcelée Escamotage d'une dame au théâtre Robert Houdin
action filter_type
action find_reverse
entity Georges Méliès
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'Georges Méliès']
SELECT DISTINCT ?b WHERE { ?b property:production_designer resource:Georges_Méliès . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q166385 Q1455089 Q153591
P58
Q502895
USER
Who wrote the screenplay for A Terrible Night, L'auberge ensorcelée and Escamotage d'une dame au théâtre Robert Houdin ?
(Q166385,P58,c(Q502895)) (Q1455089,P58,c(Q502895)) (Q153591,P58,c(Q502895))
action union
action filter_type
action find
entity Q166385
relation P58
type Q502895
action filter_type
action find
entity Q1455089
relation P58
type Q502895
action filter_type
action find
entity Q153591
relation P58
type Q502895
['Q166385', 'P58', {'concept': 'Q502895'}] ['Q1455089', 'P58', {'concept': 'Q502895'}] ['Q153591', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q502895 . resource:Q1455089 property:P58 ?g } UNION { resource:Q166385 property:P58 ?g . ?g rdf:type ontology:Q502895 } }
A Terrible Night L'auberge ensorcelée Escamotage d'une dame au théâtre Robert Houdin
action union
action filter_type
action find
entity A Terrible Night
relation screenwriter
type common name
action filter_type
action find
entity L'auberge ensorcelée
relation screenwriter
type common name
action filter_type
action find
entity Escamotage d'une dame au théâtre Robert Houdin
relation screenwriter
type common name
['A Terrible Night', 'screenwriter', {'concept': 'common name'}] ["L'auberge ensorcelée", 'screenwriter', {'concept': 'common name'}] ["Escamotage d'une dame au théâtre Robert Houdin", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:common_name . resource:L'auberge_ensorcelée property:screenwriter ?g } UNION { resource:A_Terrible_Night property:screenwriter ?g . ?g rdf:type ontology:common_name } }
[]
common name
Q152272 Q152272 Q152272
SYSTEM
Georges Méliès
Q152272 Q152272 Q152272
(Q166385,P58,c(Q502895)) (Q1455089,P58,c(Q502895)) (Q153591,P58,c(Q502895))
action union
action filter_type
action find
entity Q166385
relation P58
type Q502895
action filter_type
action find
entity Q1455089
relation P58
type Q502895
action filter_type
action find
entity Q153591
relation P58
type Q502895
[ANSWER], [ANSWER] and [ANSWER] wrote the screenplay for A Terrible Night, L'auberge ensorcelée and Escamotage d'une dame au théâtre Robert Houdin
['Q166385', 'P58', {'concept': 'Q502895'}] ['Q1455089', 'P58', {'concept': 'Q502895'}] ['Q153591', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q502895 . resource:Q1455089 property:P58 ?g } UNION { resource:Q166385 property:P58 ?g . ?g rdf:type ontology:Q502895 } }
Georges Méliès Georges Méliès Georges Méliès
Georges Méliès, Georges Méliès and Georges Méliès wrote the screenplay for A Terrible Night, L'auberge ensorcelée and Escamotage d'une dame au théâtre Robert Houdin
Georges Méliès Georges Méliès Georges Méliès
action union
action filter_type
action find
entity A Terrible Night
relation screenwriter
type common name
action filter_type
action find
entity L'auberge ensorcelée
relation screenwriter
type common name
action filter_type
action find
entity Escamotage d'une dame au théâtre Robert Houdin
relation screenwriter
type common name
['A Terrible Night', 'screenwriter', {'concept': 'common name'}] ["L'auberge ensorcelée", 'screenwriter', {'concept': 'common name'}] ["Escamotage d'une dame au théâtre Robert Houdin", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:common_name . resource:L'auberge_ensorcelée property:screenwriter ?g } UNION { resource:A_Terrible_Night property:screenwriter ?g . ?g rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q152272
P272
Q838948
USER
Which work of art had that person as its motion picture studio ?
(c(Q838948),P272,Q152272) (c(Q838948),P272,Q152272) (c(Q838948),P272,Q152272)
action filter_type
action find_reverse
entity Q152272
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q152272'] [{'concept': 'Q838948'}, 'P272', 'Q152272'] [{'concept': 'Q838948'}, 'P272', 'Q152272']
SELECT DISTINCT ?s WHERE { ?s property:P272 resource:Q152272 . ?s rdf:type ontology:Q838948 }
Georges Méliès
action filter_type
action find_reverse
entity Georges Méliès
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Georges Méliès'] [{'concept': 'work of art'}, 'production company', 'Georges Méliès'] [{'concept': 'work of art'}, 'production company', 'Georges Méliès']
SELECT DISTINCT ?s WHERE { ?s property:production_company resource:Georges_Méliès . ?s rdf:type ontology:work_of_art }
[]
work of art
Q2482699
SYSTEM
The Immortal Alamo
Q2482699
(c(Q838948),P272,Q152272) (c(Q838948),P272,Q152272) (c(Q838948),P272,Q152272)
action filter_type
action find_reverse
entity Q152272
relation P272
type Q838948
[ANSWER] had that person as its motion picture studio
[{'concept': 'Q838948'}, 'P272', 'Q152272'] [{'concept': 'Q838948'}, 'P272', 'Q152272'] [{'concept': 'Q838948'}, 'P272', 'Q152272']
SELECT DISTINCT ?s WHERE { ?s property:P272 resource:Q152272 . ?s rdf:type ontology:Q838948 }
The Immortal Alamo
The Immortal Alamo had that person as its motion picture studio
The Immortal Alamo
action filter_type
action find_reverse
entity Georges Méliès
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Georges Méliès'] [{'concept': 'work of art'}, 'production company', 'Georges Méliès'] [{'concept': 'work of art'}, 'production company', 'Georges Méliès']
SELECT DISTINCT ?s WHERE { ?s property:production_company resource:Georges_Méliès . ?s rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1071
Q20667921 Q15617994 Q838948
USER
Which works of art have approximately 1 french administrative divisions or administrative territories as their finally place of assembly ?
(c(Q838948),P1071,c(Q20667921)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P1071
type Q838948
type Q20667921
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
value 1
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q20667921'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?e ) WHERE { { ?y property:P1071 ?u . ?y rdf:type ontology:Q838948 . ?u rdf:type ontology:Q20667921 } UNION { ?y property:P1071 ?u . ?u rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q838948 } } GROUP BY ?y } }
action approx
action union
action find_tuple_counts
relation location of final assembly
type work of art
type type of french administrative division
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
value 1
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'type of french administrative division'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?e ) WHERE { { ?y property:location_of_final_assembly ?u . ?y rdf:type ontology:work_of_art . ?u rdf:type ontology:type_of_french_administrative_division } UNION { ?y property:location_of_final_assembly ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:work_of_art } } GROUP BY ?y } }
[]
type of french administrative division designation for an administrative territorial entity work of art
Q15123181 Q11826275 Q17023940
SYSTEM
Proserpina sarcophagus, The siesta (after Millet), Portrait of Dr. Gachet
Q17023940 Q18609768 Q18609790 Q18609791 Q18609855 Q20199990 Q11826275 Q18609795 Q15123181 Q18609848 Q18609842 Q15297468 Q18609786 Q18609745 Q13105422 Q19017414 Q19776419 Q18609838 Q11816717
(c(Q838948),P1071,c(Q20667921)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P1071
type Q838948
type Q20667921
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
value 1
[ANSWERS] have approximately 1 french administrative divisions or administrative territories as their finally place of assembly
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q20667921'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?e ) WHERE { { ?y property:P1071 ?u . ?y rdf:type ontology:Q838948 . ?u rdf:type ontology:Q20667921 } UNION { ?y property:P1071 ?u . ?u rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q838948 } } GROUP BY ?y } }
Portrait of Dr. Gachet cinerary urn lid cinerary urn sarcophagus sarcophagus lid Female head wearing the polos The siesta (after Millet) cinerary group Proserpina sarcophagus sarcophagus lid sarcophagus lid Statue of Tara cinerary urn lid cinerary urn lid When the Music's Over effigy of Blanche de Champagne My Stuff sarcophagus lid First Steps, after Millet
Proserpina sarcophagus, The siesta (after Millet) and Portrait of Dr. Gachet have approximately 1 french administrative divisions or administrative territories as their finally place of assembly
Proserpina sarcophagus The siesta (after Millet) Portrait of Dr. Gachet
action approx
action union
action find_tuple_counts
relation location of final assembly
type work of art
type type of french administrative division
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
value 1
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'type of french administrative division'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?e ) WHERE { { ?y property:location_of_final_assembly ?u . ?y rdf:type ontology:work_of_art . ?u rdf:type ontology:type_of_french_administrative_division } UNION { ?y property:location_of_final_assembly ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:work_of_art } } GROUP BY ?y } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17023940
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q17023940,P136,c(Q1792379))
action filter_type
action find
entity Q17023940
relation P136
type Q1792379
['Q17023940', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1792379 . resource:Q17023940 property:P136 ?j }
Portrait of Dr. Gachet
action filter_type
action find
entity Portrait of Dr. Gachet
relation genre
type art genre
['Portrait of Dr. Gachet', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:art_genre . resource:Portrait_of_Dr._Gachet property:genre ?j }
[]
art genre
Clarification for simple ques.
Q17023940
SYSTEM
Did you mean Portrait of Dr. Gachet ?
Q15123181 Q11826275 Q17023940
(Q15123181,P136,c(Q1792379)) (Q11826275,P136,c(Q1792379)) (Q17023940,P136,c(Q1792379))
[ANSWER]
['Q15123181', 'P136', {'concept': 'Q1792379'}] ['Q11826275', 'P136', {'concept': 'Q1792379'}] ['Q17023940', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1792379 . resource:Q17023940 property:P136 ?j }
Proserpina sarcophagus The siesta (after Millet) Portrait of Dr. Gachet
Did you mean Portrait of Dr. Gachet ?
Portrait of Dr. Gachet
['Proserpina sarcophagus', 'genre', {'concept': 'art genre'}] ['The siesta (after Millet)', 'genre', {'concept': 'art genre'}] ['Portrait of Dr. Gachet', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:art_genre . resource:Portrait_of_Dr._Gachet property:genre ?j }
[]
Simple Question (Coreferenced)
USER
Yes
(Q17023940,P136,c(Q1792379))
['Q17023940', 'P136', {'concept': 'Q1792379'}]
['Portrait of Dr. Gachet', 'genre', {'concept': 'art genre'}]
[]
Q1400853
SYSTEM
portrait painting
Q1400853
(Q17023940,P136,c(Q1792379))
action filter_type
action find
entity Q17023940
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q17023940', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1792379 . resource:Q17023940 property:P136 ?j }
portrait painting
Portrait painting can be considered as category for that work of art
portrait painting
action filter_type
action find
entity Portrait of Dr. Gachet
relation genre
type art genre
['Portrait of Dr. Gachet', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:art_genre . resource:Portrait_of_Dr._Gachet property:genre ?j }
[]