Simple Question (Direct)
Simple Question
Q1896962
P39
Q12737077
USER
What was the position for which Mariano Fernández was appointed ?
(Q1896962,P39,c(Q12737077))
action filter_type
action find
entity Q1896962
relation P39
type Q12737077
['Q1896962', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q1896962 property:P39 ?o }
Mariano Fernández
action filter_type
action find
entity Mariano Fernández
relation position held
type occupation
['Mariano Fernández', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Mariano_Fernández property:position_held ?o }
[]
occupation
Q24262884
SYSTEM
Minister of Foreign Affairs of Chile
Q24262884
(Q1896962,P39,c(Q12737077))
action filter_type
action find
entity Q1896962
relation P39
type Q12737077
Of [ANSWER]
['Q1896962', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q1896962 property:P39 ?o }
Minister of Foreign Affairs of Chile
Of Minister of Foreign Affairs of Chile
Minister of Foreign Affairs of Chile
action filter_type
action find
entity Mariano Fernández
relation position held
type occupation
['Mariano Fernández', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Mariano_Fernández property:position_held ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24262884
P1001
Q15617994
USER
Which administrative territory comes under the supervision of that occupation ?
(Q24262884,P1001,c(Q15617994))
action filter_type
action find
entity Q24262884
relation P1001
type Q15617994
['Q24262884', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q24262884 property:P1001 ?n . ?n rdf:type ontology:Q15617994 }
Minister of Foreign Affairs of Chile
action filter_type
action find
entity Minister of Foreign Affairs of Chile
relation applies to jurisdiction
type designation for an administrative territorial entity
['Minister of Foreign Affairs of Chile', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Minister_of_Foreign_Affairs_of_Chile property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
(Q24262884,P1001,c(Q15617994))
action filter_type
action find
entity Q24262884
relation P1001
type Q15617994
[ANSWER] comes under the supervision of that occupation
['Q24262884', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q24262884 property:P1001 ?n . ?n rdf:type ontology:Q15617994 }
Chile
Chile comes under the supervision of that occupation
Chile
action filter_type
action find
entity Minister of Foreign Affairs of Chile
relation applies to jurisdiction
type designation for an administrative territorial entity
['Minister of Foreign Affairs of Chile', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Minister_of_Foreign_Affairs_of_Chile property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q219
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with around the same number of administrative territories as Bulgaria ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q219
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q219 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?y ) WHERE { ?q property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?q } }
Bulgaria
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bulgaria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Bulgaria property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?y ) WHERE { ?q property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q219
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q219 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?y ) WHERE { ?q property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?q } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bulgaria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Bulgaria property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?y ) WHERE { ?q property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q929
P530
Q15617994 Q15617994
USER
And also tell me about Central African Republic?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q929
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q929 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?q ) WHERE { ?t rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?t property:P530 ?j } GROUP BY ?t } }
Central African Republic
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Central African Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Central_African_Republic property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?q ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?j } GROUP BY ?t } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
21
Q801 Q805 Q668 Q142 Q145 Q148 Q711 Q403 Q159 Q43 Q884 Q30 Q929 Q225 Q347 Q17 Q114 Q212 Q858 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q929
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q929 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?q ) WHERE { ?t rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?t property:P530 ?j } GROUP BY ?t } }
Israel Yemen India France United Kingdom People's Republic of China Mongolia Serbia Russia Turkey South Korea United States of America Central African Republic Bosnia and Herzegovina Liechtenstein Japan Kenya Ukraine Syria Cape Verde Zambia
21
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Central African Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Central_African_Republic property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?q ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?j } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1896962
P1412
Q34770
USER
Which language is spoken by Mariano Fernández ?
(Q1896962,P1412,c(Q34770))
action filter_type
action find
entity Q1896962
relation P1412
type Q34770
['Q1896962', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q1896962 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Mariano Fernández
action filter_type
action find
entity Mariano Fernández
relation languages spoken, written or signed
type language
['Mariano Fernández', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Mariano_Fernández property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1896962,P1412,c(Q34770))
action filter_type
action find
entity Q1896962
relation P1412
type Q34770
Is [ANSWER] is spoken by Mariano Fernández
['Q1896962', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q1896962 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Spanish
Is Spanish is spoken by Mariano Fernández
Spanish
action filter_type
action find
entity Mariano Fernández
relation languages spoken, written or signed
type language
['Mariano Fernández', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Mariano_Fernández property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7306966
Q34770
USER
And how about Rees Davies?
(Q7306966,P1412,c(Q34770))
action filter_type
action find
entity Q7306966
relation P1412
type Q34770
['Q7306966', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q7306966 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Rees Davies
action filter_type
action find
entity Rees Davies
relation languages spoken, written or signed
type language
['Rees Davies', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Rees_Davies property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7306966,P1412,c(Q34770))
action filter_type
action find
entity Q7306966
relation P1412
type Q34770
[ANSWER]
['Q7306966', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q7306966 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Rees Davies
relation languages spoken, written or signed
type language
['Rees Davies', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Rees_Davies property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5689
P85
Q484692
USER
Which hymn is the anthem for Åland Islands ?
(Q5689,P85,c(Q484692))
action filter_type
action find
entity Q5689
relation P85
type Q484692
['Q5689', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q484692 . resource:Q5689 property:P85 ?q }
Åland Islands
action filter_type
action find
entity Åland Islands
relation anthem
type hymn
['Åland Islands', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:hymn . resource:Åland_Islands property:anthem ?q }
[]
hymn
Q271052
SYSTEM
Ålänningens sång
Q271052
(Q5689,P85,c(Q484692))
action filter_type
action find
entity Q5689
relation P85
type Q484692
[ANSWER] is the anthem for Åland Islands
['Q5689', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q484692 . resource:Q5689 property:P85 ?q }
Ålänningens sång
Ålänningens sång is the anthem for Åland Islands
Ålänningens sång
action filter_type
action find
entity Åland Islands
relation anthem
type hymn
['Åland Islands', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:hymn . resource:Åland_Islands property:anthem ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q271052
P86
Q502895
USER
Who was that hymn composed by ?
(Q271052,P86,c(Q502895))
action filter_type
action find
entity Q271052
relation P86
type Q502895
['Q271052', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q271052 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Ålänningens sång
action filter_type
action find
entity Ålänningens sång
relation composer
type common name
['Ålänningens sång', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Ålänningens_sång property:composer ?x . ?x rdf:type ontology:common_name }
[]
common name
Q3560997
SYSTEM
Johan Fridolf Hagfors
Q3560997
(Q271052,P86,c(Q502895))
action filter_type
action find
entity Q271052
relation P86
type Q502895
By that hymn was composed by [ANSWER]
['Q271052', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q271052 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Johan Fridolf Hagfors
By that hymn was composed by Johan Fridolf Hagfors
Johan Fridolf Hagfors
action filter_type
action find
entity Ålänningens sång
relation composer
type common name
['Ålänningens sång', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Ålänningens_sång property:composer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3560997
P800
Q484692
USER
What is a notable work of that person ?
(Q3560997,P800,c(Q484692))
action filter_type
action find
entity Q3560997
relation P800
type Q484692
['Q3560997', 'P800', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { resource:Q3560997 property:P800 ?k . ?k rdf:type ontology:Q484692 }
Johan Fridolf Hagfors
action filter_type
action find
entity Johan Fridolf Hagfors
relation notable work
type hymn
['Johan Fridolf Hagfors', 'notable work', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { resource:Johan_Fridolf_Hagfors property:notable_work ?k . ?k rdf:type ontology:hymn }
[]
hymn
Q271052
SYSTEM
Ålänningens sång
Q271052
(Q3560997,P800,c(Q484692))
action filter_type
action find
entity Q3560997
relation P800
type Q484692
A notable work of that person is the [ANSWER]
['Q3560997', 'P800', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { resource:Q3560997 property:P800 ?k . ?k rdf:type ontology:Q484692 }
Ålänningens sång
A notable work of that person is the Ålänningens sång
Ålänningens sång
action filter_type
action find
entity Johan Fridolf Hagfors
relation notable work
type hymn
['Johan Fridolf Hagfors', 'notable work', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { resource:Johan_Fridolf_Hagfors property:notable_work ?k . ?k rdf:type ontology:hymn }
[]