Simple Question (Direct)
Simple Question
Q19059268
P136
Q1792379
USER
What can be considered as category for On the High Seas ?
(Q19059268,P136,c(Q1792379))
action filter_type
action find
entity Q19059268
relation P136
type Q1792379
['Q19059268', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { resource:Q19059268 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
On the High Seas
action filter_type
action find
entity On the High Seas
relation genre
type art genre
['On the High Seas', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { resource:On_the_High_Seas property:genre ?l . ?l rdf:type ontology:art_genre }
[]
art genre
Q319221
SYSTEM
adventure film
Q319221
(Q19059268,P136,c(Q1792379))
action filter_type
action find
entity Q19059268
relation P136
type Q1792379
[ANSWER]
['Q19059268', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { resource:Q19059268 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
adventure film
adventure film
action filter_type
action find
entity On the High Seas
relation genre
type art genre
['On the High Seas', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { resource:On_the_High_Seas property:genre ?l . ?l rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19059268
P344
Q502895
USER
Who is the director of photography for that work of art ?
(Q319221,P344,c(Q502895))
action filter_type
action find
entity Q19059268
relation P344
type Q502895
['Q319221', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q19059268 property:P344 ?q . ?q rdf:type ontology:Q502895 }
On the High Seas
action filter_type
action find
entity On the High Seas
relation director of photography
type common name
['adventure film', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:On_the_High_Seas property:director_of_photography ?q . ?q rdf:type ontology:common_name }
[]
common name
Q2482439
SYSTEM
Charles Schoenbaum
Q2482439
(Q319221,P344,c(Q502895))
action filter_type
action find
entity Q19059268
relation P344
type Q502895
[ANSWER]
['Q319221', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q19059268 property:P344 ?q . ?q rdf:type ontology:Q502895 }
Charles Schoenbaum
Charles Schoenbaum
action filter_type
action find
entity On the High Seas
relation director of photography
type common name
['adventure film', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:On_the_High_Seas property:director_of_photography ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2482439
P106
Q28640
USER
What does that person do for a living ?
(Q2482439,P106,c(Q28640))
action filter_type
action find
entity Q2482439
relation P106
type Q28640
['Q2482439', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { resource:Q2482439 property:P106 ?z . ?z rdf:type ontology:Q28640 }
Charles Schoenbaum
action filter_type
action find
entity Charles Schoenbaum
relation occupation
type profession
['Charles Schoenbaum', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Schoenbaum property:occupation ?z . ?z rdf:type ontology:profession }
[]
profession
Q222344
SYSTEM
cinematographer
Q222344
(Q2482439,P106,c(Q28640))
action filter_type
action find
entity Q2482439
relation P106
type Q28640
[ANSWER]
['Q2482439', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { resource:Q2482439 property:P106 ?z . ?z rdf:type ontology:Q28640 }
cinematographer
cinematographer
action filter_type
action find
entity Charles Schoenbaum
relation occupation
type profession
['Charles Schoenbaum', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Schoenbaum property:occupation ?z . ?z rdf:type ontology:profession }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5382097 Q19059268
P495 P17
Q15617994
USER
Which administrative territories are the countries of origin of On the High Seas or are Epena located in ?
OR((Q19059268,P495,c(Q15617994)), (Q5382097,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19059268
relation P495
action find
entity Q5382097
relation P17
type Q15617994
{'OR': [['Q19059268', 'P495', {'concept': 'Q15617994'}], ['Q5382097', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q19059268 property:P495 ?g } UNION { resource:Q5382097 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Epena On the High Seas
action filter_type
action union
action find
entity On the High Seas
relation country of origin
action find
entity Epena
relation country
type designation for an administrative territorial entity
{'OR': [['On the High Seas', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Epena', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:On_the_High_Seas property:country_of_origin ?g } UNION { resource:Epena property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q971
SYSTEM
United States of America, Republic of the Congo
Q30 Q971
OR((Q19059268,P495,c(Q15617994)), (Q5382097,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19059268
relation P495
action find
entity Q5382097
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q19059268', 'P495', {'concept': 'Q15617994'}], ['Q5382097', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q19059268 property:P495 ?g } UNION { resource:Q5382097 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
United States of America Republic of the Congo
United States of America Republic of the Congo
action filter_type
action union
action find
entity On the High Seas
relation country of origin
action find
entity Epena
relation country
type designation for an administrative territorial entity
{'OR': [['On the High Seas', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Epena', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:On_the_High_Seas property:country_of_origin ?g } UNION { resource:Epena property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q2088357
USER
Which administrative territories are the origins of approximately the same number of film genres and musical ensembles as that administrative territory ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?k ) { ( ?z ) ( ?x ) } . ?k property:P495 ?y } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?k ) { ( ?z ) ( ?x ) } . ?k property:country_of_origin ?y } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
designation for an administrative territorial entity film genre musical ensemble
Comparative|More/Less|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?k ) { ( ?z ) ( ?x ) } . ?k property:P495 ?y } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Did you mean United States of America ?
United States of America
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?k ) { ( ?z ) ( ?x ) } . ?k property:country_of_origin ?y } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (All)
USER
No, I meant Republic of the Congo. Could you tell me the answer for that?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
Q971
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[ANSWERS]
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy Brazil Georgia
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q230
P30
Q2221906
USER
Where are those administrative territories located ?
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q230,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { ?d property:P30 ?t . ?t rdf:type ontology:Q2221906 . VALUES ( ?d ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } }
Italy Brazil Georgia
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { ?d property:continent ?t . ?t rdf:type ontology:geographic_location . VALUES ( ?d ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } }
[]
geographic location
Q46 Q46 Q18
SYSTEM
Europe for 1st, 2nd, South America for 3rd
Q46 Q18 Q46 Q5401
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q230,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
[ANSWERS]
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { ?d property:P30 ?t . ?t rdf:type ontology:Q2221906 . VALUES ( ?d ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } }
Europe South America Europe Eurasia
Europe Europe South America
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { ?d property:continent ?t . ?t rdf:type ontology:geographic_location . VALUES ( ?d ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18
P840
Q838948
USER
Which works of art have their narrative set in that geographic location ?
(c(Q838948),P840,Q18)
action filter_type
action find_reverse
entity Q18
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q18']
SELECT DISTINCT ?x WHERE { ?x property:P840 resource:Q18 . ?x rdf:type ontology:Q838948 }
South America
action filter_type
action find_reverse
entity South America
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'South America']
SELECT DISTINCT ?x WHERE { ?x property:narrative_location resource:South_America . ?x rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q46
SYSTEM
Did you mean Europe ?
Q46 Q46 Q18
(c(Q838948),P840,Q46) (c(Q838948),P840,Q46) (c(Q838948),P840,Q18)
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q46'] [{'concept': 'Q838948'}, 'P840', 'Q46'] [{'concept': 'Q838948'}, 'P840', 'Q18']
SELECT DISTINCT ?x WHERE { ?x property:P840 resource:Q18 . ?x rdf:type ontology:Q838948 }
Europe Europe South America
Did you mean Europe ?
Europe
[{'concept': 'work of art'}, 'narrative location', 'Europe'] [{'concept': 'work of art'}, 'narrative location', 'Europe'] [{'concept': 'work of art'}, 'narrative location', 'South America']
SELECT DISTINCT ?x WHERE { ?x property:narrative_location resource:South_America . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant South America. Could you tell me the answer for that?
(c(Q838948),P840,Q18)
Q18
[{'concept': 'Q838948'}, 'P840', 'Q18']
[{'concept': 'work of art'}, 'narrative location', 'South America']
[]
Q232000 Q860425 Q174284
SYSTEM
Butch Cassidy and the Sundance Kid, Che Part 1: The Argentine, Raiders of the Lost Ark
Q1549966 Q7521424 Q3795934 Q6651056 Q7521422 Q623252 Q832093 Q3283323 Q2936425 Q302490 Q17426199 Q777632 Q860425 Q3231739 Q3129651 Q16953131 Q7539012 Q7769259 Q464042 Q174284 Q632699 Q2152077 Q1197362 Q806092 Q3879149 Q1046576 Q7631575 Q4746240 Q232000 Q168849 Q124612 Q245271 Q3897227 Q5361071 Q465773 Q6312916 Q408102 Q174811 Q895856 Q223163
(c(Q838948),P840,Q18)
action filter_type
action find_reverse
entity Q18
relation P840
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P840', 'Q18']
SELECT DISTINCT ?x WHERE { ?x property:P840 resource:Q18 . ?x rdf:type ontology:Q838948 }
Armour of God II: Operation Condor Simón Bolívar Mystery Submarine Little Mother Simón Bolívar El Dorado Cannibal Holocaust Guns of Darkness Natura contro The Mission Strange Cargo Jungle 2 Jungle Che Part 1: The Argentine Tales of the Night In Search of the Castaways Cuba Cabana Slaughter The Tiger Woman Anaconda Raiders of the Lost Ark Tom and Jerry: The Fast and the Furry High Risk The Devil Came from Akasava Bananas Blood Wedding Casa de los Babys Submarine Base Amigomío Butch Cassidy and the Sundance Kid Proof of Life Creature from the Black Lagoon Evita Red Passport Eliminators The Wages of Fear Jungle Warriors Fire Birds Up Toy Soldiers The Emperor's New Groove
Butch Cassidy and the Sundance Kid Che Part 1: The Argentine Raiders of the Lost Ark
action filter_type
action find_reverse
entity South America
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'South America']
SELECT DISTINCT ?x WHERE { ?x property:narrative_location resource:South_America . ?x rdf:type ontology:work_of_art }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P144
Q838948 Q5398426
USER
How many works of art are less number of television series a fork of than that work of art ?
(c(Q5398426),P144,c(Q838948))
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
work of art television series
Comparative|Count over More/Less|Single entity type|Clarification
Q174284
SYSTEM
Did you mean Raiders of the Lost Ark ?
(c(Q5398426),P144,c(Q838948))
[ANSWER]
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
Did you mean Raiders of the Lost Ark ?
Raiders of the Lost Ark
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q5398426),P144,c(Q838948))
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
[]
SYSTEM
0
(c(Q5398426),P144,c(Q838948))
[ANSWER]
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
0
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]