Simple Question (Direct)
Simple Question
Q3371060
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Paul Destieux-Junca ?
(Q3371060,P27,c(Q15617994))
action filter_type
action find
entity Q3371060
relation P27
type Q15617994
['Q3371060', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3371060 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Paul Destieux-Junca
action filter_type
action find
entity Paul Destieux-Junca
relation country of citizenship
type designation for an administrative territorial entity
['Paul Destieux-Junca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Destieux-Junca property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3371060,P27,c(Q15617994))
action filter_type
action find
entity Q3371060
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Paul Destieux-Junca
['Q3371060', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3371060 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
France
France is the country of citizenship of Paul Destieux-Junca
France
action filter_type
action find
entity Paul Destieux-Junca
relation country of citizenship
type designation for an administrative territorial entity
['Paul Destieux-Junca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Destieux-Junca property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3371060
P106
Q12737077
USER
What is the profession of Paul Destieux-Junca ?
(Q3371060,P106,c(Q12737077))
action filter_type
action find
entity Q3371060
relation P106
type Q12737077
['Q3371060', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q3371060 property:P106 ?s }
Paul Destieux-Junca
action filter_type
action find
entity Paul Destieux-Junca
relation occupation
type occupation
['Paul Destieux-Junca', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Paul_Destieux-Junca property:occupation ?s }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3371060,P106,c(Q12737077))
action filter_type
action find
entity Q3371060
relation P106
type Q12737077
The profession of Paul Destieux-Junca is a [ANSWER]
['Q3371060', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q3371060 property:P106 ?s }
politician
The profession of Paul Destieux-Junca is a politician
politician
action filter_type
action find
entity Paul Destieux-Junca
relation occupation
type occupation
['Paul Destieux-Junca', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Paul_Destieux-Junca property:occupation ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3371060
P20
Q20667921
USER
Where did that person expire ?
(Q82955,P20,c(Q20667921))
action filter_type
action find
entity Q3371060
relation P20
type Q20667921
['Q82955', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q3371060 property:P20 ?s . ?s rdf:type ontology:Q20667921 }
Paul Destieux-Junca
action filter_type
action find
entity Paul Destieux-Junca
relation place of death
type type of french administrative division
['politician', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Paul_Destieux-Junca property:place_of_death ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1143476
SYSTEM
Sorbets
Q1143476
(Q82955,P20,c(Q20667921))
action filter_type
action find
entity Q3371060
relation P20
type Q20667921
That person expired in [ANSWER]
['Q82955', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q3371060 property:P20 ?s . ?s rdf:type ontology:Q20667921 }
Sorbets
That person expired in Sorbets
Sorbets
action filter_type
action find
entity Paul Destieux-Junca
relation place of death
type type of french administrative division
['politician', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Paul_Destieux-Junca property:place_of_death ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P108
Q502895
USER
Which person is working for France ?
(c(Q502895),P108,Q142)
action filter_type
action find_reverse
entity Q142
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q142']
SELECT DISTINCT ?g WHERE { ?g property:P108 resource:Q142 . ?g rdf:type ontology:Q502895 }
France
action filter_type
action find_reverse
entity France
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'France']
SELECT DISTINCT ?g WHERE { ?g property:employer resource:France . ?g rdf:type ontology:common_name }
[]
common name
Q1352388
SYSTEM
François Thureau-Dangin
Q1352388
(c(Q502895),P108,Q142)
action filter_type
action find_reverse
entity Q142
relation P108
type Q502895
[ANSWER] is working for France
[{'concept': 'Q502895'}, 'P108', 'Q142']
SELECT DISTINCT ?g WHERE { ?g property:P108 resource:Q142 . ?g rdf:type ontology:Q502895 }
François Thureau-Dangin
François Thureau-Dangin is working for France
François Thureau-Dangin
action filter_type
action find_reverse
entity France
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'France']
SELECT DISTINCT ?g WHERE { ?g property:employer resource:France . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P915
Q838948
USER
What were filmed at France ?
(c(Q838948),P915,Q142)
action filter_type
action find_reverse
entity Q142
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q142']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q838948 . ?b property:P915 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'France']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:work_of_art . ?b property:filming_location resource:France }
[]
work of art
Q19089 Q1383269 Q165847
SYSTEM
GoldenEye, Ex, 102 Dalmatians
Q19089 Q165847 Q1031257 Q1383269
(c(Q838948),P915,Q142)
action filter_type
action find_reverse
entity Q142
relation P915
type Q838948
[ANSWERS] were filmed at France
[{'concept': 'Q838948'}, 'P915', 'Q142']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q838948 . ?b property:P915 resource:Q142 }
GoldenEye 102 Dalmatians Empire of the Wolves Ex
GoldenEye, Ex and 102 Dalmatians were filmed at France
GoldenEye Ex 102 Dalmatians
action filter_type
action find_reverse
entity France
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'France']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:work_of_art . ?b property:filming_location resource:France }
[]
Clarification
Simple Question|Single Entity|Indirect
Q165847
P1411
Q4220917
USER
Which film award was that work of art a recipient of ?
(Q165847,P1411,c(Q4220917))
action filter_type
action find
entity Q165847
relation P1411
type Q4220917
['Q165847', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?p WHERE { resource:Q165847 property:P1411 ?p . ?p rdf:type ontology:Q4220917 }
102 Dalmatians
action filter_type
action find
entity 102 Dalmatians
relation nominated for
type film award
['102 Dalmatians', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?p WHERE { resource:102_Dalmatians property:nominated_for ?p . ?p rdf:type ontology:film_award }
[]
film award
Clarification for simple ques.
Q19089
SYSTEM
Did you mean GoldenEye ?
Q19089 Q1383269 Q165847
(Q19089,P1411,c(Q4220917)) (Q1383269,P1411,c(Q4220917)) (Q165847,P1411,c(Q4220917))
[ANSWER]
['Q19089', 'P1411', {'concept': 'Q4220917'}] ['Q1383269', 'P1411', {'concept': 'Q4220917'}] ['Q165847', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?p WHERE { resource:Q165847 property:P1411 ?p . ?p rdf:type ontology:Q4220917 }
GoldenEye Ex 102 Dalmatians
Did you mean GoldenEye ?
GoldenEye
['GoldenEye', 'nominated for', {'concept': 'film award'}] ['Ex', 'nominated for', {'concept': 'film award'}] ['102 Dalmatians', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?p WHERE { resource:102_Dalmatians property:nominated_for ?p . ?p rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
USER
No, I meant 102 Dalmatians. Could you tell me the answer for that?
(Q165847,P1411,c(Q4220917))
Q165847
['Q165847', 'P1411', {'concept': 'Q4220917'}]
['102 Dalmatians', 'nominated for', {'concept': 'film award'}]
[]
Q277536
SYSTEM
Academy Award for Best Costume Design
Q277536
(Q165847,P1411,c(Q4220917))
action filter_type
action find
entity Q165847
relation P1411
type Q4220917
The [ANSWER] was that work of art a recipient of
['Q165847', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?p WHERE { resource:Q165847 property:P1411 ?p . ?p rdf:type ontology:Q4220917 }
Academy Award for Best Costume Design
The Academy Award for Best Costume Design was that work of art a recipient of
Academy Award for Best Costume Design
action filter_type
action find
entity 102 Dalmatians
relation nominated for
type film award
['102 Dalmatians', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?p WHERE { resource:102_Dalmatians property:nominated_for ?p . ?p rdf:type ontology:film_award }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1922956 Q165847
P1884 P1441
Q95074
USER
Which fictional characters are from the works of 102 Dalmatians and have black hair as hair color ?
AND((c(Q95074),P1441,Q165847), (c(Q95074),P1884,Q1922956))
action filter_type
action intersection
action find_reverse
entity Q165847
relation P1441
action find_reverse
entity Q1922956
relation P1884
type Q95074
{'AND': [[{'concept': 'Q95074'}, 'P1441', 'Q165847'], [{'concept': 'Q95074'}, 'P1884', 'Q1922956']]}
SELECT DISTINCT ?j WHERE { ?j property:P1441 resource:Q165847 . ?j property:P1884 resource:Q1922956 . ?j rdf:type ontology:Q95074 }
black hair 102 Dalmatians
action filter_type
action intersection
action find_reverse
entity 102 Dalmatians
relation present in work
action find_reverse
entity black hair
relation hair color
type fictional character
{'AND': [[{'concept': 'fictional character'}, 'present in work', '102 Dalmatians'], [{'concept': 'fictional character'}, 'hair color', 'black hair']]}
SELECT DISTINCT ?j WHERE { ?j property:present_in_work resource:102_Dalmatians . ?j property:hair_color resource:black_hair . ?j rdf:type ontology:fictional_character }
[]
fictional character
Q388605
SYSTEM
Cruella de Vil
Q388605
AND((c(Q95074),P1441,Q165847), (c(Q95074),P1884,Q1922956))
action filter_type
action intersection
action find_reverse
entity Q165847
relation P1441
action find_reverse
entity Q1922956
relation P1884
type Q95074
[ANSWER] is from the works of 102 Dalmatians and have black hair as hair color
{'AND': [[{'concept': 'Q95074'}, 'P1441', 'Q165847'], [{'concept': 'Q95074'}, 'P1884', 'Q1922956']]}
SELECT DISTINCT ?j WHERE { ?j property:P1441 resource:Q165847 . ?j property:P1884 resource:Q1922956 . ?j rdf:type ontology:Q95074 }
Cruella de Vil
Cruella de Vil is from the works of 102 Dalmatians and have black hair as hair color
Cruella de Vil
action filter_type
action intersection
action find_reverse
entity 102 Dalmatians
relation present in work
action find_reverse
entity black hair
relation hair color
type fictional character
{'AND': [[{'concept': 'fictional character'}, 'present in work', '102 Dalmatians'], [{'concept': 'fictional character'}, 'hair color', 'black hair']]}
SELECT DISTINCT ?j WHERE { ?j property:present_in_work resource:102_Dalmatians . ?j property:hair_color resource:black_hair . ?j rdf:type ontology:fictional_character }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q14514600 Q5962346 Q95074
USER
Which fictional characters are a part of atmost 1 groups of fictional characters or classification schemes ?
(c(Q95074),P361,c(Q14514600)|c(Q5962346))
action atmost
action union
action find_tuple_counts
relation P361
type Q95074
type Q14514600
action find_tuple_counts
relation P361
type Q95074
type Q5962346
value 1
[{'concept': 'Q95074'}, 'P361', [{'concept': 'Q14514600'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:Q5962346 ) ( ontology:Q14514600 ) } . ?g rdf:type ?z } GROUP BY ?y } . FILTER ( ?k <= 1 ) }
action atmost
action union
action find_tuple_counts
relation part of
type fictional character
type group of fictional characters
action find_tuple_counts
relation part of
type fictional character
type classification scheme
value 1
[{'concept': 'fictional character'}, 'part of', [{'concept': 'group of fictional characters'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:classification_scheme ) ( ontology:group_of_fictional_characters ) } . ?g rdf:type ?z } GROUP BY ?y } . FILTER ( ?k <= 1 ) }
[]
group of fictional characters classification scheme fictional character
Q252044 Q2502489 Q2739228
SYSTEM
Queen Grimhilde, Belle, Snow White
Q1977325 Q27230139 Q3007087 Q1615575 Q27230034 Q26690165 Q15720641 Q27148737 Q16160516 Q27148704 Q18679242 Q27148632 Q3746645 Q27429724 Q21772097 Q27148563 Q2535532 Q2344068 Q8139731 Q27700877 Q3161902 Q27147896 Q27666216 Q1126848 Q772202 Q83090 Q1586526 Q4716498 Q810687 Q858754 Q2502489 Q12720057 Q2389033 Q27145553 Q16426763 Q1402198 Q27132419 Q27430179 Q21772103 Q27477399 Q892442 Q51344 Q2577796 Q190511 Q27733865 Q958289 Q27702142 Q519034 Q843206 Q3268516 Q23899625 Q1973150 Q146007 Q2175450 Q27663814 Q1541235 Q4894859 Q870165 Q4380738 Q27437639 Q26690196 Q17304 Q51354 Q1963059 Q27230151 Q169040 Q1138561 Q27230159 Q27553882 Q27148610 Q1254764 Q2739228 Q648537 Q305570 Q918104 Q1255927 Q27493493 Q1928490 Q2625996 Q616178 Q1141828 Q25883159 Q27230222 Q146313 Q191815 Q27147973 Q26690189 Q27055812 Q27230898 Q1660555 Q2331685 Q27230892 Q27430200 Q27067917 Q2559332 Q59178 Q2097638 Q4318321 Q32143 Q2642147 Q27145534 Q660623 Q207636 Q3219705 Q4270105 Q323920 Q207435 Q1784364 Q27148680 Q27607146 Q2625989 Q847958 Q2716380 Q2469812 Q753286 Q79876 Q27463632 Q850506 Q3269767 Q4290469 Q219936 Q2691406 Q19921698 Q2142809 Q1655701 Q129106 Q27147821 Q170471 Q3625035 Q27055779 Q27146120 Q130227 Q27607466 Q27607308 Q750023 Q1157625 Q27230086 Q420261 Q2370441 Q6819227 Q240679 Q1353960 Q27230166 Q3741989 Q7885773 Q27230108 Q22988604 Q1024984 Q21548590 Q1823275 Q2468534 Q6175066 Q21772098 Q853611 Q21188814 Q7489356 Q1242632 Q1115859 Q4990628 Q27148660 Q27132369 Q2588460 Q27146334 Q27493503 Q1456741 Q6949149 Q27149600 Q27463054 Q887384 Q209398 Q27437747 Q4902053 Q29409 Q381914 Q4663289 Q13984558 Q12665675 Q27147797 Q2456444 Q27429777 Q183097 Q11705451 Q3311077 Q305603 Q2302818 Q604633 Q15160 Q16697870 Q478490 Q246838 Q27146027 Q4331105 Q846288 Q165496 Q3521321 Q922680 Q2535518 Q27145977 Q226831 Q1141265 Q27430190 Q2996497 Q27477415 Q2992419 Q4264244 Q889656 Q2186 Q580723 Q27463364 Q1137364 Q27430214 Q192998 Q252044 Q191527 Q1421762 Q388605 Q215940 Q406021
(c(Q95074),P361,c(Q14514600)|c(Q5962346))
action atmost
action union
action find_tuple_counts
relation P361
type Q95074
type Q14514600
action find_tuple_counts
relation P361
type Q95074
type Q5962346
value 1
[ANSWERS] are a part of atmost 1 groups of fictional characters or classification schemes
[{'concept': 'Q95074'}, 'P361', [{'concept': 'Q14514600'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:Q5962346 ) ( ontology:Q14514600 ) } . ?g rdf:type ?z } GROUP BY ?y } . FILTER ( ?k <= 1 ) }
Scar Buzzie Culann Hesat Colonel Hathi Anogon Smurf Sneezy Acron Happy Kalervo Grumpy Fauna Bernard Shenzi Dopey Carlisle Cullen Madam Mim G-Man Claude Frollo Jane Volturi Countess Tinker Bell Huh Anti avatar Naunet Aletes Bat Anhur Belle Aër Tayet Horace Troll cat Hersilia Merryweather Deadeye Ed Tweedledum Ariel Rose Nadler Lamia Apep Brutish Guard Tiana Esmeralda Aurora Satet Lycus eahpáraš Renpet Wadjet Torngarsuk Captain Hook Kullervo Kapo Prince Csaba Yang Dinky Anxur Cassandre Bernard Nadler Ileana Cosânzeana Flaps Nephthys Lemures Ziggy Jake Doc Shai Snow White Caeculus Abaris Pakhet draugr Roscoe Qetesh Taraka Väinämöinen Medb Thompson Flunkey Sobek Neith Princess Antinoe Synagoga Gus Maleficent Emmett Cullen Jaq Digger Stromboli Cinderella Mahabali Math fab Mathonwy supernatural beings in Slavic folklore Hapi Danica Jasper Numitor Serket Lausus Lucifer (Roman mythology) Michelangelo Taweret Hu Sleepy Claudette Pocahontas Mehet-Weret Rosalie Hale Pumbaa Meskhenet Isis Orgoch Brynhildr Hófvarpnir Menesk Rhea Silvia Timon Amyntor Sia Iarbas Bastet Duchess Ma'at Aventinus Ecclesia Rolly Aten Paulette Laurette Bender Daemon Winifred Akmon (Son of Klytios) Moroi Merida Hercules Kebechet Dizzy Fedlimid mac Daill Kāne Milohai Junior mythological Greek character Caca Anaxis Likho Jasper Hale Ursula Banzai Ancient Egyptian concept of the soul Venus Dee Milo Leucippides Remus Horatius Cocles Hugo Simpson Bashful Flora Nala Penny Desoto Joukahainen mythic humanoid Jim Crow Orddu Procas Silvius Boomer Rapunzel Mut Aeternitas Abaia Nibbler Mitinis Kalvis Queenie Renesmee Cullen Bianca Khnum Yun Kaleva Abas (Etruscan) Anput Heqet Ijon Tichy Dione Seshat Mulan Patch Fiery serpents Meretseger Nut Damayanti Renenutet Esme Cullen Lucky Zorya Lady Tremaine Gramps Vahagn Tweedledee Nav' Likhoradka Amulius Romulus Terminus Orwen Lavinia Deacon Owl Servius Tullius Queen Grimhilde Edward Cullen Iusaaset Cruella de Vil Khepri Aino
Queen Grimhilde, Belle and Snow White are a part of atmost 1 groups of fictional characters or classification schemes
Queen Grimhilde Belle Snow White
action atmost
action union
action find_tuple_counts
relation part of
type fictional character
type group of fictional characters
action find_tuple_counts
relation part of
type fictional character
type classification scheme
value 1
[{'concept': 'fictional character'}, 'part of', [{'concept': 'group of fictional characters'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:classification_scheme ) ( ontology:group_of_fictional_characters ) } . ?g rdf:type ?z } GROUP BY ?y } . FILTER ( ?k <= 1 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P941
Q15619164 Q502895
USER
How many abstract beings or people were the sources of inspiration for that fictional character ?
(Q252044,P941,c(Q15619164)) (Q252044,P941,c(Q502895)) (Q252044,P941,c(Q15619164)) (Q252044,P941,c(Q502895)) (Q2502489,P941,c(Q15619164)) (Q2502489,P941,c(Q502895)) (Q2739228,P941,c(Q15619164)) (Q2739228,P941,c(Q502895))
['Q252044', 'P941', {'concept': 'Q15619164'}] ['Q252044', 'P941', {'concept': 'Q502895'}] ['Q252044', 'P941', {'concept': 'Q15619164'}] ['Q252044', 'P941', {'concept': 'Q502895'}] ['Q2502489', 'P941', {'concept': 'Q15619164'}] ['Q2502489', 'P941', {'concept': 'Q502895'}] ['Q2739228', 'P941', {'concept': 'Q15619164'}] ['Q2739228', 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q252044 property:P941 ?z } UNION { resource:Q252044 property:P941 ?y } UNION { resource:Q252044 property:P941 ?z } UNION { resource:Q252044 property:P941 ?y } UNION { resource:Q2746807 property:P941 ?z } UNION { resource:Q2746807 property:P941 ?y } UNION { resource:Q17510536 property:P941 ?z } UNION { resource:Q17510536 property:P941 ?y } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q502895 }
['Queen Grimhilde', 'inspired by', {'concept': 'abstract being'}] ['Queen Grimhilde', 'inspired by', {'concept': 'common name'}] ['Queen Grimhilde', 'inspired by', {'concept': 'abstract being'}] ['Queen Grimhilde', 'inspired by', {'concept': 'common name'}] ['Belle', 'inspired by', {'concept': 'abstract being'}] ['Belle', 'inspired by', {'concept': 'common name'}] ['Snow White', 'inspired by', {'concept': 'abstract being'}] ['Snow White', 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Queen_Grimhilde property:inspired_by ?z } UNION { resource:Queen_Grimhilde property:inspired_by ?y } UNION { resource:Queen_Grimhilde property:inspired_by ?z } UNION { resource:Queen_Grimhilde property:inspired_by ?y } UNION { resource:Belle property:inspired_by ?z } UNION { resource:Belle property:inspired_by ?y } UNION { resource:Snow_White property:inspired_by ?z } UNION { resource:Snow_White property:inspired_by ?y } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:common_name }
[]
abstract being common name
Quantitative|Count|Mult. entity type|Clarification
Q2739228
SYSTEM
Did you mean Snow White ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q252044 property:P941 ?z } UNION { resource:Q252044 property:P941 ?y } UNION { resource:Q252044 property:P941 ?z } UNION { resource:Q252044 property:P941 ?y } UNION { resource:Q2746807 property:P941 ?z } UNION { resource:Q2746807 property:P941 ?y } UNION { resource:Q17510536 property:P941 ?z } UNION { resource:Q17510536 property:P941 ?y } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q502895 }
Did you mean Snow White ?
Snow White
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Queen_Grimhilde property:inspired_by ?z } UNION { resource:Queen_Grimhilde property:inspired_by ?y } UNION { resource:Queen_Grimhilde property:inspired_by ?z } UNION { resource:Queen_Grimhilde property:inspired_by ?y } UNION { resource:Belle property:inspired_by ?z } UNION { resource:Belle property:inspired_by ?y } UNION { resource:Snow_White property:inspired_by ?z } UNION { resource:Snow_White property:inspired_by ?y } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Queen Grimhilde. Could you tell me the answer for that?
(Q252044,P941,c(Q15619164)) (Q252044,P941,c(Q502895)) (Q252044,P941,c(Q15619164)) (Q252044,P941,c(Q502895)) (Q2502489,P941,c(Q15619164)) (Q2502489,P941,c(Q502895)) (Q2739228,P941,c(Q15619164)) (Q2739228,P941,c(Q502895))
Q252044
['Q252044', 'P941', {'concept': 'Q15619164'}] ['Q252044', 'P941', {'concept': 'Q502895'}] ['Q252044', 'P941', {'concept': 'Q15619164'}] ['Q252044', 'P941', {'concept': 'Q502895'}] ['Q2502489', 'P941', {'concept': 'Q15619164'}] ['Q2502489', 'P941', {'concept': 'Q502895'}] ['Q2739228', 'P941', {'concept': 'Q15619164'}] ['Q2739228', 'P941', {'concept': 'Q502895'}]
['Queen Grimhilde', 'inspired by', {'concept': 'abstract being'}] ['Queen Grimhilde', 'inspired by', {'concept': 'common name'}] ['Queen Grimhilde', 'inspired by', {'concept': 'abstract being'}] ['Queen Grimhilde', 'inspired by', {'concept': 'common name'}] ['Belle', 'inspired by', {'concept': 'abstract being'}] ['Belle', 'inspired by', {'concept': 'common name'}] ['Snow White', 'inspired by', {'concept': 'abstract being'}] ['Snow White', 'inspired by', {'concept': 'common name'}]
[]
SYSTEM
4
Q1257834 Q233845 Q116462 Q40475
(Q252044,P941,c(Q15619164)) (Q252044,P941,c(Q502895)) (Q252044,P941,c(Q15619164)) (Q252044,P941,c(Q502895)) (Q2502489,P941,c(Q15619164)) (Q2502489,P941,c(Q502895)) (Q2739228,P941,c(Q15619164)) (Q2739228,P941,c(Q502895))
[ANSWER]
['Q252044', 'P941', {'concept': 'Q15619164'}] ['Q252044', 'P941', {'concept': 'Q502895'}] ['Q252044', 'P941', {'concept': 'Q15619164'}] ['Q252044', 'P941', {'concept': 'Q502895'}] ['Q2502489', 'P941', {'concept': 'Q15619164'}] ['Q2502489', 'P941', {'concept': 'Q502895'}] ['Q2739228', 'P941', {'concept': 'Q15619164'}] ['Q2739228', 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q252044 property:P941 ?z } UNION { resource:Q252044 property:P941 ?y } UNION { resource:Q252044 property:P941 ?z } UNION { resource:Q252044 property:P941 ?y } UNION { resource:Q2746807 property:P941 ?z } UNION { resource:Q2746807 property:P941 ?y } UNION { resource:Q17510536 property:P941 ?z } UNION { resource:Q17510536 property:P941 ?y } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q502895 }
Gudrun Gale Sondergaard Helen Gahagan Douglas Joan Crawford
4
['Queen Grimhilde', 'inspired by', {'concept': 'abstract being'}] ['Queen Grimhilde', 'inspired by', {'concept': 'common name'}] ['Queen Grimhilde', 'inspired by', {'concept': 'abstract being'}] ['Queen Grimhilde', 'inspired by', {'concept': 'common name'}] ['Belle', 'inspired by', {'concept': 'abstract being'}] ['Belle', 'inspired by', {'concept': 'common name'}] ['Snow White', 'inspired by', {'concept': 'abstract being'}] ['Snow White', 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Queen_Grimhilde property:inspired_by ?z } UNION { resource:Queen_Grimhilde property:inspired_by ?y } UNION { resource:Queen_Grimhilde property:inspired_by ?z } UNION { resource:Queen_Grimhilde property:inspired_by ?y } UNION { resource:Belle property:inspired_by ?z } UNION { resource:Belle property:inspired_by ?y } UNION { resource:Snow_White property:inspired_by ?z } UNION { resource:Snow_White property:inspired_by ?y } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2502489
P25
Q6619679
USER
Who is the offspring of Belle ?
(c(Q6619679),P25,Q2502489)
action filter_type
action find_reverse
entity Q2502489
relation P25
type Q6619679
[{'concept': 'Q6619679'}, 'P25', 'Q2502489']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q6619679 . ?i property:P25 resource:Q2502489 }
Belle
action filter_type
action find_reverse
entity Belle
relation mother
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'mother', 'Belle']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:fictional_humanoid . ?i property:mother resource:Belle }
[]
fictional humanoid
Q24517056
SYSTEM
Ben
Q24517056
(c(Q6619679),P25,Q2502489)
action filter_type
action find_reverse
entity Q2502489
relation P25
type Q6619679
The offspring of Belle is called [ANSWER]
[{'concept': 'Q6619679'}, 'P25', 'Q2502489']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q6619679 . ?i property:P25 resource:Q2502489 }
Ben
The offspring of Belle is called Ben
Ben
action filter_type
action find_reverse
entity Belle
relation mother
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'mother', 'Belle']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:fictional_humanoid . ?i property:mother resource:Belle }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24517056
P22
Q2239243
USER
Who was the dad of that fictional humanoid ?
(Q24517056,P22,c(Q2239243))
action filter_type
action find
entity Q24517056
relation P22
type Q2239243
['Q24517056', 'P22', {'concept': 'Q2239243'}]
SELECT DISTINCT ?o WHERE { resource:Q24517056 property:P22 ?o . ?o rdf:type ontology:Q2239243 }
Ben
action filter_type
action find
entity Ben
relation father
type mythical creature
['Ben', 'father', {'concept': 'mythical creature'}]
SELECT DISTINCT ?o WHERE { resource:Ben property:father ?o . ?o rdf:type ontology:mythical_creature }
[]
mythical creature
Q2559802
SYSTEM
Beast
Q2559802
(Q24517056,P22,c(Q2239243))
action filter_type
action find
entity Q24517056
relation P22
type Q2239243
The dad of that fictional humanoid was the [ANSWER]
['Q24517056', 'P22', {'concept': 'Q2239243'}]
SELECT DISTINCT ?o WHERE { resource:Q24517056 property:P22 ?o . ?o rdf:type ontology:Q2239243 }
Beast
The dad of that fictional humanoid was the Beast
Beast
action filter_type
action find
entity Ben
relation father
type mythical creature
['Ben', 'father', {'concept': 'mythical creature'}]
SELECT DISTINCT ?o WHERE { resource:Ben property:father ?o . ?o rdf:type ontology:mythical_creature }
[]