Simple Question (Direct)
Simple Question
Q5934994
P39
Q12737077
USER
Which occupation was a position for which Jorge Errázuriz Tagle was appointed ?
(Q5934994,P39,c(Q12737077))
action filter_type
action find
entity Q5934994
relation P39
type Q12737077
['Q5934994', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q5934994 property:P39 ?z }
Jorge Errázuriz Tagle
action filter_type
action find
entity Jorge Errázuriz Tagle
relation position held
type occupation
['Jorge Errázuriz Tagle', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Jorge_Errázuriz_Tagle property:position_held ?z }
[]
occupation
Q18067639
SYSTEM
member of the Chamber of Deputies of Chile
Q18067639
(Q5934994,P39,c(Q12737077))
action filter_type
action find
entity Q5934994
relation P39
type Q12737077
The [ANSWER] was a position for which Jorge Errázuriz Tagle was appointed
['Q5934994', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q5934994 property:P39 ?z }
member of the Chamber of Deputies of Chile
The member of the Chamber of Deputies of Chile was a position for which Jorge Errázuriz Tagle was appointed
member of the Chamber of Deputies of Chile
action filter_type
action find
entity Jorge Errázuriz Tagle
relation position held
type occupation
['Jorge Errázuriz Tagle', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Jorge_Errázuriz_Tagle property:position_held ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5934994
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q18067639,P27,c(Q15617994))
action filter_type
action find
entity Q5934994
relation P27
type Q15617994
['Q18067639', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q5934994 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Jorge Errázuriz Tagle
action filter_type
action find
entity Jorge Errázuriz Tagle
relation country of citizenship
type designation for an administrative territorial entity
['member of the Chamber of Deputies of Chile', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jorge_Errázuriz_Tagle property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
(Q18067639,P27,c(Q15617994))
action filter_type
action find
entity Q5934994
relation P27
type Q15617994
Of [ANSWER] is that person a civilian of
['Q18067639', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q5934994 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Chile
Of Chile is that person a civilian of
Chile
action filter_type
action find
entity Jorge Errázuriz Tagle
relation country of citizenship
type designation for an administrative territorial entity
['member of the Chamber of Deputies of Chile', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jorge_Errázuriz_Tagle property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q298 Q5791616
P27
Q502895
USER
Is Cristián Olguín a civilian of that administrative territory ?
(Q5791616,P27,Q298)
action is_in
entity Q298
action find
entity Q5791616
relation P27
['Q5791616', 'P27', 'Q298']
ASK WHERE { resource:Q5791616 property:P27 resource:Q298 }
Chile Cristián Olguín
action is_in
entity Chile
action find
entity Cristián Olguín
relation country of citizenship
['Cristián Olguín', 'country of citizenship', 'Chile']
ASK WHERE { resource:Cristián_Olguín property:country_of_citizenship resource:Chile }
[]
common name
SYSTEM
YES
(Q5791616,P27,Q298)
action is_in
entity Q298
action find
entity Q5791616
relation P27
[ANSWER]
['Q5791616', 'P27', 'Q298']
ASK WHERE { resource:Q5791616 property:P27 resource:Q298 }
Yes
action is_in
entity Chile
action find
entity Cristián Olguín
relation country of citizenship
['Cristián Olguín', 'country of citizenship', 'Chile']
ASK WHERE { resource:Cristián_Olguín property:country_of_citizenship resource:Chile }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5934994 Q82955
P106
Q12737077
USER
Is politician the profession of Jorge Errázuriz Tagle ?
(Q5934994,P106,Q82955)
action is_in
entity Q82955
action find
entity Q5934994
relation P106
['Q5934994', 'P106', 'Q82955']
ASK WHERE { resource:Q5934994 property:P106 resource:Q82955 }
Jorge Errázuriz Tagle politician
action is_in
entity politician
action find
entity Jorge Errázuriz Tagle
relation occupation
['Jorge Errázuriz Tagle', 'occupation', 'politician']
ASK WHERE { resource:Jorge_Errázuriz_Tagle property:occupation resource:politician }
[]
occupation
SYSTEM
YES
(Q5934994,P106,Q82955)
action is_in
entity Q82955
action find
entity Q5934994
relation P106
[ANSWER]
['Q5934994', 'P106', 'Q82955']
ASK WHERE { resource:Q5934994 property:P106 resource:Q82955 }
Yes
action is_in
entity politician
action find
entity Jorge Errázuriz Tagle
relation occupation
['Jorge Errázuriz Tagle', 'occupation', 'politician']
ASK WHERE { resource:Jorge_Errázuriz_Tagle property:occupation resource:politician }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q298 Q183
P530
Q1048835
USER
Does Germany have diplomatic relationships with Chile ?
(Q298,P530,Q183)
action is_in
entity Q183
action find
entity Q298
relation P530
['Q298', 'P530', 'Q183']
ASK WHERE { resource:Q298 property:P530 resource:Q183 }
Chile Germany
action is_in
entity Germany
action find
entity Chile
relation diplomatic relation
['Chile', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Chile property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q298,P530,Q183)
action is_in
entity Q183
action find
entity Q298
relation P530
[ANSWER]
['Q298', 'P530', 'Q183']
ASK WHERE { resource:Q298 property:P530 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Chile
relation diplomatic relation
['Chile', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Chile property:diplomatic_relation resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q271669 Q2221906 Q15617994
USER
Which administrative territories are the eponym of approximately 1 landforms or geographic locations ?
(c(Q15617994),P138,c(Q271669)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q271669'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?i ) { ( ontology:Q271669 ) ( ontology:Q2221906 ) } . ?w rdf:type ?i } GROUP BY ?e } . FILTER ( ?p = 1 ) }
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'landform'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?i ) { ( ontology:landform ) ( ontology:geographic_location ) } . ?w rdf:type ?i } GROUP BY ?e } . FILTER ( ?p = 1 ) }
[]
landform geographic location designation for an administrative territorial entity
Q30 Q27 Q1029
SYSTEM
United States of America, Ireland, Mozambique
Q701 Q1027 Q1979 Q691890 Q1465069 Q1232680 Q3259 Q30 Q1029 Q3120 Q694 Q770 Q27 Q3105
(c(Q15617994),P138,c(Q271669)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
value 1
[ANSWERS] are the eponym of approximately 1 landforms or geographic locations
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q271669'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?i ) { ( ontology:Q271669 ) ( ontology:Q2221906 ) } . ?w rdf:type ?i } GROUP BY ?e } . FILTER ( ?p = 1 ) }
North Holland Mauritius Prince Edward Island Corcyre Frise Ithaque Cantal United States of America Mozambique Jura South Holland Friesland Ireland Vosges
United States of America, Ireland and Mozambique are the eponym of approximately 1 landforms or geographic locations
United States of America Ireland Mozambique
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'landform'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?i ) { ( ontology:landform ) ( ontology:geographic_location ) } . ?w rdf:type ?i } GROUP BY ?e } . FILTER ( ?p = 1 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q201658
USER
Which administrative territories are the countries of origin of less number of works of art or film genres than that administrative territory ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'work of art'}, {'concept': 'film genre'}], '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:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
designation for an administrative territorial entity work of art film genre
Comparative|More/Less|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Did you mean United States of America ?
United States of America
[[{'concept': 'work of art'}, {'concept': 'film genre'}], '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:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'film genre'}], '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(Q838948)|c(Q201658),P495,c(Q15617994))
[ANSWERS] are the countries of origin of less number of works of art or film genres than that administrative territory
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
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 and Georgia are the countries of origin of less number of works of art or film genres than that administrative territory
Italy Brazil Georgia
[[{'concept': 'work of art'}, {'concept': 'film genre'}], '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:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q1773247
P47
Q13220204
USER
How many administrative country subdivisions are bordered by Brazil or Kjæsvannet ?
(Q155,P47,c(Q13220204)) (Q1773247,P47,c(Q13220204))
action count
action union
action filter_type
action find
entity Q155
relation P47
type Q13220204
action filter_type
action find
entity Q1773247
relation P47
type Q13220204
['Q155', 'P47', {'concept': 'Q13220204'}] ['Q1773247', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { resource:Q1773247 property:P47 ?n . ?n rdf:type ontology:Q13220204 } UNION { resource:Q155 property:P47 ?n . ?n rdf:type ontology:Q13220204 } }
Brazil Kjæsvannet
action count
action union
action filter_type
action find
entity Brazil
relation shares border with
type second-level administrative country subdivision
action filter_type
action find
entity Kjæsvannet
relation shares border with
type second-level administrative country subdivision
['Brazil', 'shares border with', {'concept': 'second-level administrative country subdivision'}] ['Kjæsvannet', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { resource:Kjæsvannet property:shares_border_with ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision } UNION { resource:Brazil property:shares_border_with ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision } }
[]
second-level administrative country subdivision
SYSTEM
2
Q48760 Q483885
(Q155,P47,c(Q13220204)) (Q1773247,P47,c(Q13220204))
action count
action union
action filter_type
action find
entity Q155
relation P47
type Q13220204
action filter_type
action find
entity Q1773247
relation P47
type Q13220204
[ANSWER]
['Q155', 'P47', {'concept': 'Q13220204'}] ['Q1773247', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { resource:Q1773247 property:P47 ?n . ?n rdf:type ontology:Q13220204 } UNION { resource:Q155 property:P47 ?n . ?n rdf:type ontology:Q13220204 } }
Lebesby Porsanger
2
action count
action union
action filter_type
action find
entity Brazil
relation shares border with
type second-level administrative country subdivision
action filter_type
action find
entity Kjæsvannet
relation shares border with
type second-level administrative country subdivision
['Brazil', 'shares border with', {'concept': 'second-level administrative country subdivision'}] ['Kjæsvannet', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { resource:Kjæsvannet property:shares_border_with ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision } UNION { resource:Brazil property:shares_border_with ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision } }
[]