Simple Question (Direct)
Simple Question
Q302490
P915
Q15617994
USER
Where was The Mission filmed ?
(Q302490,P915,c(Q15617994))
action filter_type
action find
entity Q302490
relation P915
type Q15617994
['Q302490', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q302490 property:P915 ?u . ?u rdf:type ontology:Q15617994 }
The Mission
action filter_type
action find
entity The Mission
relation filming location
type designation for an administrative territorial entity
['The Mission', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:The_Mission property:filming_location ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q302490,P915,c(Q15617994))
action filter_type
action find
entity Q302490
relation P915
type Q15617994
The Mission was filmed in [ANSWER]
['Q302490', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q302490 property:P915 ?u . ?u rdf:type ontology:Q15617994 }
Brazil
The Mission was filmed in Brazil
Brazil
action filter_type
action find
entity The Mission
relation filming location
type designation for an administrative territorial entity
['The Mission', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:The_Mission property:filming_location ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q302490
P1441
Q6619679
USER
Which fictional humanoid is featured in that work of art ?
(c(Q6619679),P1441,Q155)
action filter_type
action find_reverse
entity Q302490
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q155']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q6619679 . ?g property:P1441 resource:Q302490 }
The Mission
action filter_type
action find_reverse
entity The Mission
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Brazil']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:fictional_humanoid . ?g property:present_in_work resource:The_Mission }
[]
fictional humanoid
Q27518228
SYSTEM
Father John Fielding
Q27518228
(c(Q6619679),P1441,Q155)
action filter_type
action find_reverse
entity Q302490
relation P1441
type Q6619679
[ANSWER] is featured in that work of art
[{'concept': 'Q6619679'}, 'P1441', 'Q155']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q6619679 . ?g property:P1441 resource:Q302490 }
Father John Fielding
Father John Fielding is featured in that work of art
Father John Fielding
action filter_type
action find_reverse
entity The Mission
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Brazil']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:fictional_humanoid . ?g property:present_in_work resource:The_Mission }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27518228
P175
Q502895
USER
What did that fictional humanoid perform ?
(Q27518228,P175,c(Q502895))
action filter_type
action find
entity Q27518228
relation P175
type Q502895
['Q27518228', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q27518228 property:P175 ?o }
Father John Fielding
action filter_type
action find
entity Father John Fielding
relation performer
type common name
['Father John Fielding', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Father_John_Fielding property:performer ?o }
[]
common name
Q58444
SYSTEM
Liam Neeson
Q58444
(Q27518228,P175,c(Q502895))
action filter_type
action find
entity Q27518228
relation P175
type Q502895
That fictional humanoid performed by [ANSWER]
['Q27518228', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q27518228 property:P175 ?o }
Liam Neeson
That fictional humanoid performed by Liam Neeson
Liam Neeson
action filter_type
action find
entity Father John Fielding
relation performer
type common name
['Father John Fielding', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Father_John_Fielding property:performer ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q58444
P53
Q874405
USER
Which social group did that person belong to ?
(Q58444,P53,c(Q874405))
action filter_type
action find
entity Q58444
relation P53
type Q874405
['Q58444', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { resource:Q58444 property:P53 ?x . ?x rdf:type ontology:Q874405 }
Liam Neeson
action filter_type
action find
entity Liam Neeson
relation noble family
type social group
['Liam Neeson', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { resource:Liam_Neeson property:noble_family ?x . ?x rdf:type ontology:social_group }
[]
social group
Q2500275
SYSTEM
Redgrave family
Q2500275
(Q58444,P53,c(Q874405))
action filter_type
action find
entity Q58444
relation P53
type Q874405
That person belonged to [ANSWER]
['Q58444', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { resource:Q58444 property:P53 ?x . ?x rdf:type ontology:Q874405 }
Redgrave family
That person belonged to Redgrave family
Redgrave family
action filter_type
action find
entity Liam Neeson
relation noble family
type social group
['Liam Neeson', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { resource:Liam_Neeson property:noble_family ?x . ?x rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q58444
P166
Q2003221
USER
Which chivalric order was received by Liam Neeson ?
(Q58444,P166,c(Q2003221))
action filter_type
action find
entity Q58444
relation P166
type Q2003221
['Q58444', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?b WHERE { resource:Q58444 property:P166 ?b . ?b rdf:type ontology:Q2003221 }
Liam Neeson
action filter_type
action find
entity Liam Neeson
relation award received
type chivalric order
['Liam Neeson', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?b WHERE { resource:Liam_Neeson property:award_received ?b . ?b rdf:type ontology:chivalric_order }
[]
chivalric order
Q10762848
SYSTEM
Officer of the Order of the British Empire
Q10762848
(Q58444,P166,c(Q2003221))
action filter_type
action find
entity Q58444
relation P166
type Q2003221
BAFTA [ANSWER] was received by Liam Neeson
['Q58444', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?b WHERE { resource:Q58444 property:P166 ?b . ?b rdf:type ontology:Q2003221 }
Officer of the Order of the British Empire
BAFTA Officer of the Order of the British Empire was received by Liam Neeson
Officer of the Order of the British Empire
action filter_type
action find
entity Liam Neeson
relation award received
type chivalric order
['Liam Neeson', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?b WHERE { resource:Liam_Neeson property:award_received ?b . ?b rdf:type ontology:chivalric_order }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q30
P530
Q1048835
USER
How many political territories have ambassadorial relations with Brazil and United States of America ?
(c(Q1048835),P530,Q155) (c(Q1048835),P530,Q30)
action count
action intersection
action filter_type
action find_reverse
entity Q155
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q30
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q155'] [{'concept': 'Q1048835'}, 'P530', 'Q30']
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P530 resource:Q155 . ?h rdf:type ontology:Q1048835 . ?h property:P530 resource:Q30 . ?h rdf:type ontology:Q1048835 }
Brazil United States of America
action count
action intersection
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:diplomatic_relation resource:Brazil . ?h rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation resource:United_States_of_America . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q16 Q408 Q183
(c(Q1048835),P530,Q155) (c(Q1048835),P530,Q30)
action count
action intersection
action filter_type
action find_reverse
entity Q155
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q30
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q155'] [{'concept': 'Q1048835'}, 'P530', 'Q30']
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P530 resource:Q155 . ?h rdf:type ontology:Q1048835 . ?h property:P530 resource:Q30 . ?h rdf:type ontology:Q1048835 }
Canada Australia Germany
3
action count
action intersection
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:diplomatic_relation resource:Brazil . ?h rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation resource:United_States_of_America . ?h rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q3305213 Q11060274
USER
Which administrative territories are expressed in atmost 3 paintings and prints ?
(c(Q3305213)|c(Q11060274),P180,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
value 3
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?p <= 3 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?a WHERE { { ?e property:P180 ?a . ?a rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q3305213 } UNION { ?e property:P180 ?a . ?a rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q11060274 } } GROUP BY ?a } }
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
value 3
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?p <= 3 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?a WHERE { { ?e property:depicts ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:painting } UNION { ?e property:depicts ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:print } } GROUP BY ?a } }
[]
designation for an administrative territorial entity painting print
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q47505 Q148 Q128081 Q131596 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q3305213)|c(Q11060274),P180,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
value 3
[ANSWERS] are expressed in atmost 3 paintings and prints
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?p <= 3 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?a WHERE { { ?e property:P180 ?a . ?a rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q3305213 } UNION { ?e property:P180 ?a . ?a rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q11060274 } } GROUP BY ?a } }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom Dolo People's Republic of China Cori, Lazio farm Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe horn Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy, Brazil and Russia are expressed in atmost 3 paintings and prints
Italy Brazil Russia
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
value 3
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?p <= 3 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?a WHERE { { ?e property:depicts ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:painting } UNION { ?e property:depicts ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:print } } GROUP BY ?a } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q2088357
USER
Which administrative territories did around the same number of television programs and musical ensembles originate as that administrative territory ?
(c(Q15416)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q15416'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'television program'}, {'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:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
designation for an administrative territorial entity television program musical ensemble
Comparative|More/Less|Mult. entity type|Clarification
Q159
SYSTEM
Did you mean Russia ?
(c(Q15416)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Did you mean Russia ?
Russia
[[{'concept': 'television program'}, {'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:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (All)
USER
No, I meant Italy. Could you tell me the answer for that?
(c(Q15416)|c(Q2088357),P495,c(Q15617994))
Q38
[[{'concept': 'Q15416'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'television program'}, {'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 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(Q15416)|c(Q2088357),P495,c(Q15617994))
[ANSWERS] around the same number of television programs and musical ensembles originated as that administrative territory
[[{'concept': 'Q15416'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands 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 and Georgia around the same number of television programs and musical ensembles originated as that administrative territory
Italy Brazil Georgia
[[{'concept': 'television program'}, {'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:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]