Simple Question (Direct)
Simple Question
Q5675031
P27
Q15617994
USER
Which administrative territory is Anderson Plata a civilian of ?
(Q5675031,P27,c(Q15617994))
action filter_type
action find
entity Q5675031
relation P27
type Q15617994
['Q5675031', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q5675031 property:P27 ?b }
Anderson Plata
action filter_type
action find
entity Anderson Plata
relation country of citizenship
type designation for an administrative territorial entity
['Anderson Plata', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Anderson_Plata property:country_of_citizenship ?b }
[]
designation for an administrative territorial entity
Q739
SYSTEM
Colombia
Q739
(Q5675031,P27,c(Q15617994))
action filter_type
action find
entity Q5675031
relation P27
type Q15617994
[ANSWER] is Anderson Plata a civilian of
['Q5675031', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q5675031 property:P27 ?b }
Colombia
Colombia is Anderson Plata a civilian of
Colombia
action filter_type
action find
entity Anderson Plata
relation country of citizenship
type designation for an administrative territorial entity
['Anderson Plata', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Anderson_Plata property:country_of_citizenship ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q739
P35
Q502895
USER
Who is the chief of state of that administrative territory ?
(Q739,P35,c(Q502895))
action filter_type
action find
entity Q739
relation P35
type Q502895
['Q739', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q739 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Colombia
action filter_type
action find
entity Colombia
relation head of state
type common name
['Colombia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Colombia property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
common name
Q57311
SYSTEM
Juan Manuel Santos
Q57311
(Q739,P35,c(Q502895))
action filter_type
action find
entity Q739
relation P35
type Q502895
The chief of state of that administrative territory is President [ANSWER]
['Q739', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q739 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Juan Manuel Santos
The chief of state of that administrative territory is President Juan Manuel Santos
Juan Manuel Santos
action filter_type
action find
entity Colombia
relation head of state
type common name
['Colombia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Colombia property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q739
P276
Q15416
USER
Which television program is situated at Colombia ?
(c(Q15416),P276,Q739)
action filter_type
action find_reverse
entity Q739
relation P276
type Q15416
[{'concept': 'Q15416'}, 'P276', 'Q739']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q739 . ?v rdf:type ontology:Q15416 }
Colombia
action filter_type
action find_reverse
entity Colombia
relation location
type television program
[{'concept': 'television program'}, 'location', 'Colombia']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Colombia . ?v rdf:type ontology:television_program }
[]
television program
Q1190808
SYSTEM
Mental
Q1190808
(c(Q15416),P276,Q739)
action filter_type
action find_reverse
entity Q739
relation P276
type Q15416
[ANSWER] is situated at Colombia
[{'concept': 'Q15416'}, 'P276', 'Q739']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q739 . ?v rdf:type ontology:Q15416 }
Mental
Mental is situated at Colombia
Mental
action filter_type
action find_reverse
entity Colombia
relation location
type television program
[{'concept': 'television program'}, 'location', 'Colombia']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Colombia . ?v rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q739
P361
Q2221906
USER
What is Colombia a component of ?
(Q739,P361,c(Q2221906))
action filter_type
action find
entity Q739
relation P361
type Q2221906
['Q739', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { resource:Q739 property:P361 ?h . ?h rdf:type ontology:Q2221906 }
Colombia
action filter_type
action find
entity Colombia
relation part of
type geographic location
['Colombia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { resource:Colombia property:part_of ?h . ?h rdf:type ontology:geographic_location }
[]
geographic location
Q12585
SYSTEM
Latin America
Q12585
(Q739,P361,c(Q2221906))
action filter_type
action find
entity Q739
relation P361
type Q2221906
Of Colombia a component is from [ANSWER]
['Q739', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { resource:Q739 property:P361 ?h . ?h rdf:type ontology:Q2221906 }
Latin America
Of Colombia a component is from Latin America
Latin America
action filter_type
action find
entity Colombia
relation part of
type geographic location
['Colombia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { resource:Colombia property:part_of ?h . ?h rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12585
P30
Q2221906
USER
Where is that one situated ?
(Q12585,P30,c(Q2221906))
action filter_type
action find
entity Q12585
relation P30
type Q2221906
['Q12585', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q12585 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Latin America
action filter_type
action find
entity Latin America
relation continent
type geographic location
['Latin America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Latin_America property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
geographic location
Q828
SYSTEM
Americas
Q828
(Q12585,P30,c(Q2221906))
action filter_type
action find
entity Q12585
relation P30
type Q2221906
That one is situated in [ANSWER]
['Q12585', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q12585 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Americas
That one is situated in Americas
Americas
action filter_type
action find
entity Latin America
relation continent
type geographic location
['Latin America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Latin_America property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q5962346 Q15617994
USER
How many administrative territories are atmost 2 languages and classification schemes associated to as the official language ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action atmost
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 2
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?i WHERE { { ?i property:P37 ?d . ?i rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q34770 } UNION { ?i property:P37 ?d . ?i rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q5962346 } } GROUP BY ?i } . FILTER ( ?e <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?i WHERE { { ?i property:official_language ?d . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:language } UNION { ?i property:official_language ?d . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:classification_scheme } } GROUP BY ?i } . FILTER ( ?e <= 2 ) }
[]
language classification scheme designation for an administrative territorial entity
SYSTEM
216
Q805 Q804 Q399 Q801 Q800 Q473259 Q709 Q398 Q668 Q414 Q142 Q1039 Q21671144 Q1948 Q32 Q12536 Q262 Q148 Q783 Q784 Q265 Q30 Q37 Q493428 Q16006 Q712 Q711 Q710 Q717 Q837 Q2003 Q252 Q2068764 Q21850324 Q403 Q657 Q258 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q673813 Q790 Q4628 Q796 Q794 Q954 Q953 Q669945 Q884 Q958 Q881 Q503181 Q986 Q219 Q826 Q247613 Q241 Q242 Q244 Q1974 Q811 Q603392 Q53381 Q33 Q921 Q31 Q101526 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q165934 Q423 Q889 Q851 Q733 Q29999 Q854 Q734 Q819 Q253445 Q424 Q55 Q730 Q1013 Q236 Q795587 Q230 Q232 Q693658 Q145 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q29 Q21853467 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q1904 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q686312 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q59118 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q243220 Q683 Q34020 Q686 Q836 Q760 Q574 Q637451 Q874 Q3365904 Q79 Q77 Q858 Q199688 Q878 Q774 Q948 Q817 Q810 Q770 Q813 Q1014 Q1016 Q1011 Q945 Q678 Q8575586 Q21848848 Q233 Q672 Q176 Q61698 Q822 Q1952 Q863 Q2023 Q869 Q1230929
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action atmost
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?i WHERE { { ?i property:P37 ?d . ?i rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q34770 } UNION { ?i property:P37 ?d . ?i rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q5962346 } } GROUP BY ?i } . FILTER ( ?e <= 2 ) }
Yemen Panama Armenia Israel Costa Rica Ammerthal Marshall Islands Bahrain India Argentina France Sao Tomé and Príncipe Mezhetchina Manitoba Luxembourg Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan United States of America Lithuania Mistretta Goch Fiji Mongolia Kiribati Venezuela Nepal Newfoundland and Labrador Indonesia Archa Darugha Gireyevo Serbia Chad South Africa Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Euratsfeld Haiti Faroe Islands Iraq Iran Zimbabwe Zambia Vorau South Korea South Sudan Vietnam Herzberg am Harz Eritrea Bulgaria Maldives Bernese Jura Cuba Belize Barbados British Columbia Nicaragua Schönwalde Tolmezzo Finland Brunei Belgium Rovetta Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Colombia Bokensdorf North Korea Afghanistan Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Kolbermoor Cambodia Netherlands Suriname Lesotho Montenegro Escuintla Georgia Kazakhstan Izabal Department United Kingdom San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Spain Romanovo Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Ontario Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Duchy of Amalfi Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Aappilattoq Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Rocca di Cave Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Uruguay Syria Almohad United Arab Emirates Guatemala Tunisia Kuwait Jordan Friesland Kyrgyzstan Liberia Libya Cape Verde Togo Tonga Umayyad Caliphate Lyskovo Malta Tuvalu Quebec Büsingen Lebanon Nova Scotia Tajikistan Nunavut Thailand Kesklinn
216
action count
action atmost
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?i WHERE { { ?i property:official_language ?d . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:language } UNION { ?i property:official_language ?d . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:classification_scheme } } GROUP BY ?i } . FILTER ( ?e <= 2 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q20 Q739
P27
Q502895
USER
Which people are a citizen of Colombia and Norway ?
AND((c(Q502895),P27,Q739), (c(Q502895),P27,Q20))
action filter_type
action intersection
action find_reverse
entity Q739
relation P27
action find_reverse
entity Q20
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q739'], [{'concept': 'Q502895'}, 'P27', 'Q20']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P27 resource:Q739 . ?f property:P27 resource:Q20 }
Norway Colombia
action filter_type
action intersection
action find_reverse
entity Colombia
relation country of citizenship
action find_reverse
entity Norway
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Colombia'], [{'concept': 'common name'}, 'country of citizenship', 'Norway']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:country_of_citizenship resource:Colombia . ?f property:country_of_citizenship resource:Norway }
[]
common name
Q1893643
SYSTEM
Stig Van Eijk
Q1893643
AND((c(Q502895),P27,Q739), (c(Q502895),P27,Q20))
action filter_type
action intersection
action find_reverse
entity Q739
relation P27
action find_reverse
entity Q20
relation P27
type Q502895
[ANSWER] is a citizen of Colombia and Norway
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q739'], [{'concept': 'Q502895'}, 'P27', 'Q20']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P27 resource:Q739 . ?f property:P27 resource:Q20 }
Stig Van Eijk
Stig Van Eijk is a citizen of Colombia and Norway
Stig Van Eijk
action filter_type
action intersection
action find_reverse
entity Colombia
relation country of citizenship
action find_reverse
entity Norway
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Colombia'], [{'concept': 'common name'}, 'country of citizenship', 'Norway']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:country_of_citizenship resource:Colombia . ?f property:country_of_citizenship resource:Norway }
[]