Simple Question (Direct)
Simple Question
Q1427274
P840
Q852446
USER
Where is Flashpoint set in ?
(Q1427274,P840,c(Q852446))
action filter_type
action find
entity Q1427274
relation P840
type Q852446
['Q1427274', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { resource:Q1427274 property:P840 ?j . ?j rdf:type ontology:Q852446 }
Flashpoint
action filter_type
action find
entity Flashpoint
relation narrative location
type administrative territorial entity of the United States
['Flashpoint', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { resource:Flashpoint property:narrative_location ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1439
SYSTEM
Texas
Q1439
(Q1427274,P840,c(Q852446))
action filter_type
action find
entity Q1427274
relation P840
type Q852446
Flashpoint is set in the [ANSWER]
['Q1427274', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { resource:Q1427274 property:P840 ?j . ?j rdf:type ontology:Q852446 }
Texas
Flashpoint is set in the Texas
Texas
action filter_type
action find
entity Flashpoint
relation narrative location
type administrative territorial entity of the United States
['Flashpoint', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { resource:Flashpoint property:narrative_location ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1439
P6
Q502895
USER
Which person is the head of government of that US administrative territory ?
(Q1439,P6,c(Q502895))
action filter_type
action find
entity Q1439
relation P6
type Q502895
['Q1439', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q1439 property:P6 ?b }
Texas
action filter_type
action find
entity Texas
relation head of government
type common name
['Texas', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Texas property:head_of_government ?b }
[]
common name
Q5605224
SYSTEM
Greg Abbott
Q5605224
(Q1439,P6,c(Q502895))
action filter_type
action find
entity Q1439
relation P6
type Q502895
[ANSWER] is the head of government of that US administrative territory
['Q1439', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q1439 property:P6 ?b }
Greg Abbott
Greg Abbott is the head of government of that US administrative territory
Greg Abbott
action filter_type
action find
entity Texas
relation head of government
type common name
['Texas', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Texas property:head_of_government ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16426543
Q502895
USER
And what about Vârtop?
(Q16426543,P6,c(Q502895))
action filter_type
action find
entity Q16426543
relation P6
type Q502895
['Q16426543', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q16426543 property:P6 ?h }
Vârtop
action filter_type
action find
entity Vârtop
relation head of government
type common name
['Vârtop', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Vârtop property:head_of_government ?h }
[]
common name
Q24205324
SYSTEM
Constantin Dobrescu
Q24205324
(Q16426543,P6,c(Q502895))
action filter_type
action find
entity Q16426543
relation P6
type Q502895
[ANSWER]
['Q16426543', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q16426543 property:P6 ?h }
Constantin Dobrescu
Constantin Dobrescu
action filter_type
action find
entity Vârtop
relation head of government
type common name
['Vârtop', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Vârtop property:head_of_government ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16426543
P1383
Q56061
USER
Which administrative territory is administratively managed by Vârtop ?
(Q16426543,P1383,c(Q56061))
action filter_type
action find
entity Q16426543
relation P1383
type Q56061
['Q16426543', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q16426543 property:P1383 ?m . ?m rdf:type ontology:Q56061 }
Vârtop
action filter_type
action find
entity Vârtop
relation contains settlement
type administrative territorial entity
['Vârtop', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Vârtop property:contains_settlement ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2334983
SYSTEM
Vârtop
Q2334983
(Q16426543,P1383,c(Q56061))
action filter_type
action find
entity Q16426543
relation P1383
type Q56061
[ANSWER] is administratively managed by [ANSWER]
['Q16426543', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q16426543 property:P1383 ?m . ?m rdf:type ontology:Q56061 }
Vârtop
Vârtop is administratively managed by Vârtop
Vârtop
action filter_type
action find
entity Vârtop
relation contains settlement
type administrative territorial entity
['Vârtop', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Vârtop property:contains_settlement ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2334983
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q2334983,P17,c(Q15617994))
action filter_type
action find
entity Q2334983
relation P17
type Q15617994
['Q2334983', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2334983 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Vârtop
action filter_type
action find
entity Vârtop
relation country
type designation for an administrative territorial entity
['Vârtop', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Vârtop property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q2334983,P17,c(Q15617994))
action filter_type
action find
entity Q2334983
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q2334983', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2334983 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Romania
That administrative territory is located in Romania
Romania
action filter_type
action find
entity Vârtop
relation country
type designation for an administrative territorial entity
['Vârtop', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Vârtop property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q218 Q375907
P530
Q1048835
USER
Does Santo Antônio do Caiuá have diplomatic relations with that administrative territory ?
(Q218,P530,Q375907)
action is_in
entity Q375907
action find
entity Q218
relation P530
['Q218', 'P530', 'Q375907']
ASK WHERE { resource:Q218 property:P530 resource:Q375907 }
Romania Santo Antônio do Caiuá
action is_in
entity Santo Antônio do Caiuá
action find
entity Romania
relation diplomatic relation
['Romania', 'diplomatic relation', 'Santo Antônio do Caiuá']
ASK WHERE { resource:Romania property:diplomatic_relation resource:Santo_Antônio_do_Caiuá }
[]
political territorial entity
SYSTEM
NO
(Q218,P530,Q375907)
action is_in
entity Q375907
action find
entity Q218
relation P530
[ANSWER]
['Q218', 'P530', 'Q375907']
ASK WHERE { resource:Q218 property:P530 resource:Q375907 }
No
action is_in
entity Santo Antônio do Caiuá
action find
entity Romania
relation diplomatic relation
['Romania', 'diplomatic relation', 'Santo Antônio do Caiuá']
ASK WHERE { resource:Romania property:diplomatic_relation resource:Santo_Antônio_do_Caiuá }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q32
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with approximately the same number of administrative territories as Luxembourg ?
(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 Q32
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?t ) WHERE { ?i property:P530 ?m . ?i rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Q32 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?k ) }
Luxembourg
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 Luxembourg
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 ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?t ) WHERE { ?i property:diplomatic_relation ?m . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Luxembourg property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?k ) }
[]
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 Q32
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?t ) WHERE { ?i property:P530 ?m . ?i rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Q32 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?k ) }
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 Luxembourg
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 ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?t ) WHERE { ?i property:diplomatic_relation ?m . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Luxembourg property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q889
P530
Q15617994 Q15617994
USER
And what about Afghanistan?
(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 Q889
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?n ) WHERE { ?t property:P530 ?f . ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Q889 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?l ) }
Afghanistan
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 Afghanistan
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 ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?n ) WHERE { ?t property:diplomatic_relation ?f . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Afghanistan property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?l ) }
[]
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 Q889
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?n ) WHERE { ?t property:P530 ?f . ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Q889 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?l ) }
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 Afghanistan
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 ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?n ) WHERE { ?t property:diplomatic_relation ?f . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Afghanistan property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P30
Q2221906
USER
Which geographic location is Romania situated in ?
(Q218,P30,c(Q2221906))
action filter_type
action find
entity Q218
relation P30
type Q2221906
['Q218', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q218 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Romania
action filter_type
action find
entity Romania
relation continent
type geographic location
['Romania', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Romania property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q218,P30,c(Q2221906))
action filter_type
action find
entity Q218
relation P30
type Q2221906
Romania is situated in [ANSWER]
['Q218', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q218 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Europe
Romania is situated in Europe
Europe
action filter_type
action find
entity Romania
relation continent
type geographic location
['Romania', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Romania property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P1001
Q12737077
USER
Which occupations have jurisdiction over Romania ?
(c(Q12737077),P1001,Q218)
action filter_type
action find_reverse
entity Q218
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q218']
SELECT DISTINCT ?o WHERE { ?o property:P1001 resource:Q218 . ?o rdf:type ontology:Q12737077 }
Romania
action filter_type
action find_reverse
entity Romania
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Romania']
SELECT DISTINCT ?o WHERE { ?o property:applies_to_jurisdiction resource:Romania . ?o rdf:type ontology:occupation }
[]
occupation
Q21504218 Q21503769 Q21389881
SYSTEM
Minister of European Funds, Minister of Culture, Minister of Education
Q7241368 Q21503774 Q21504218 Q21513080 Q21504216 Q21504145 Q839139 Q17556530 Q21504201 Q21503769 Q7241307 Q4294873 Q21389881 Q21503827 Q21504202 Q21504197 Q19938957 Q15304810 Q21503673 Q20884417 Q21159939
(c(Q12737077),P1001,Q218)
action filter_type
action find_reverse
entity Q218
relation P1001
type Q12737077
[ANSWERS] have jurisdiction over Romania
[{'concept': 'Q12737077'}, 'P1001', 'Q218']
SELECT DISTINCT ?o WHERE { ?o property:P1001 resource:Q218 . ?o rdf:type ontology:Q12737077 }
President of the Senate of Romania Minister-delegate for relations with Romanians everywhere Minister of European Funds Minister of Transport and Infrastructure Minister of Public Finance Minister of Labor, Family and Social Protection President of Romania Member of the Chamber of Deputies of Romania Minister of Internal Affairs Minister of Culture President of the Chamber of Deputies of Romania Ministry of Justice Minister of Education Minister of Youth and Sport Minister-delegate for the relation with Parliament Minister of National Defence member of the Senate of Romania Prime Minister of Romania Minister of Foreign Affairs of Romania Minister of Communications and Information Society Minister of Justice of Romania
Minister of European Funds, Minister of Culture and Minister of Education have jurisdiction over Romania
Minister of European Funds Minister of Culture Minister of Education
action filter_type
action find_reverse
entity Romania
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Romania']
SELECT DISTINCT ?o WHERE { ?o property:applies_to_jurisdiction resource:Romania . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1439
P609
Q83620
USER
Which thoroughfares are Texas a destination for ?
(c(Q83620),P609,Q1439)
action filter_type
action find_reverse
entity Q1439
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q1439']
SELECT DISTINCT ?t WHERE { ?t property:P609 resource:Q1439 . ?t rdf:type ontology:Q83620 }
Texas
action filter_type
action find_reverse
entity Texas
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Texas']
SELECT DISTINCT ?t WHERE { ?t property:terminus_location resource:Texas . ?t rdf:type ontology:thoroughfare }
[]
thoroughfare
Q13426711 Q13419340 Q981632
SYSTEM
U.S. Route 259 in Oklahoma, U.S. Route 83 in Oklahoma, Interstate 10 in New Mexico
Q2171631 Q2171644 Q13426711 Q2171637 Q981645 Q2174789 Q13419340 Q981632
(c(Q83620),P609,Q1439)
action filter_type
action find_reverse
entity Q1439
relation P609
type Q83620
[ANSWERS]
[{'concept': 'Q83620'}, 'P609', 'Q1439']
SELECT DISTINCT ?t WHERE { ?t property:P609 resource:Q1439 . ?t rdf:type ontology:Q83620 }
Interstate 35 in Oklahoma Interstate 44 in Oklahoma U.S. Route 259 in Oklahoma Interstate 40 in Oklahoma Interstate 40 in New Mexico U.S. Route 62 in Oklahoma U.S. Route 83 in Oklahoma Interstate 10 in New Mexico
Which thoroughfares are Texas a destination for
U.S. Route 259 in Oklahoma U.S. Route 83 in Oklahoma Interstate 10 in New Mexico
action filter_type
action find_reverse
entity Texas
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Texas']
SELECT DISTINCT ?t WHERE { ?t property:terminus_location resource:Texas . ?t rdf:type ontology:thoroughfare }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P559
Q83620
USER
How many thoroughfares have that thoroughfare as the terminus ?
(c(Q83620),P559,Q981632)
[{'concept': 'Q83620'}, 'P559', 'Q981632']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q20202072 resource:Q981632 . ?z rdf:type ontology:Q83620 }
[{'concept': 'thoroughfare'}, 'terminus', 'Interstate 10 in New Mexico']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:terminus resource:Interstate_10_in_New_Mexico . ?z rdf:type ontology:thoroughfare }
[]
thoroughfare
Quantitative|Count|Single entity type|Clarification
Q13426711
SYSTEM
Did you mean U.S. Route 259 in Oklahoma ?
(c(Q83620),P559,Q13426711) (c(Q83620),P559,Q13419340) (c(Q83620),P559,Q981632)
[ANSWER]
[{'concept': 'Q83620'}, 'P559', 'Q13426711'] [{'concept': 'Q83620'}, 'P559', 'Q13419340'] [{'concept': 'Q83620'}, 'P559', 'Q981632']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q20202072 resource:Q981632 . ?z rdf:type ontology:Q83620 }
Did you mean U.S. Route 259 in Oklahoma ?
U.S. Route 259 in Oklahoma
[{'concept': 'thoroughfare'}, 'terminus', 'U.S. Route 259 in Oklahoma'] [{'concept': 'thoroughfare'}, 'terminus', 'U.S. Route 83 in Oklahoma'] [{'concept': 'thoroughfare'}, 'terminus', 'Interstate 10 in New Mexico']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:terminus resource:Interstate_10_in_New_Mexico . ?z rdf:type ontology:thoroughfare }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Interstate 10 in New Mexico. Could you tell me the answer for that?
(c(Q83620),P559,Q981632)
Q981632
[{'concept': 'Q83620'}, 'P559', 'Q981632']
[{'concept': 'thoroughfare'}, 'terminus', 'Interstate 10 in New Mexico']
[]
SYSTEM
1
Q2442501
(c(Q83620),P559,Q981632)
[ANSWER]
[{'concept': 'Q83620'}, 'P559', 'Q981632']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q20202072 resource:Q981632 . ?z rdf:type ontology:Q83620 }
Interstate 10 in Texas
1
[{'concept': 'thoroughfare'}, 'terminus', 'Interstate 10 in New Mexico']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:terminus resource:Interstate_10_in_New_Mexico . ?z rdf:type ontology:thoroughfare }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q46
P138
Q15619164
USER
How many abstract beings are the etymology of Europe ?
(Q46,P138,c(Q15619164))
action count
action filter_type
action find
entity Q46
relation P138
type Q15619164
['Q46', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?r rdf:type ontology:Q15619164 . resource:Q46 property:P138 ?r }
Europe
action count
action filter_type
action find
entity Europe
relation named after
type abstract being
['Europe', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?r rdf:type ontology:abstract_being . resource:Europe property:named_after ?r }
[]
abstract being
SYSTEM
1
Q165170
(Q46,P138,c(Q15619164))
action count
action filter_type
action find
entity Q46
relation P138
type Q15619164
[ANSWER]
['Q46', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?r rdf:type ontology:Q15619164 . resource:Q46 property:P138 ?r }
Europa
1
action count
action filter_type
action find
entity Europe
relation named after
type abstract being
['Europe', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?r rdf:type ontology:abstract_being . resource:Europe property:named_after ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3319798
P138
Q15619164
USER
And what about Mon Pinocchio - Babar?
(Q3319798,P138,c(Q15619164))
action count
action filter_type
action find
entity Q3319798
relation P138
type Q15619164
['Q3319798', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q3319798 property:P138 ?o . ?o rdf:type ontology:Q15619164 }
Mon Pinocchio - Babar
action count
action filter_type
action find
entity Mon Pinocchio - Babar
relation named after
type abstract being
['Mon Pinocchio - Babar', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Mon_Pinocchio_-_Babar property:named_after ?o . ?o rdf:type ontology:abstract_being }
[]
abstract being
SYSTEM
1
Q6502703
(Q3319798,P138,c(Q15619164))
action count
action filter_type
action find
entity Q3319798
relation P138
type Q15619164
[ANSWER]
['Q3319798', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q3319798 property:P138 ?o . ?o rdf:type ontology:Q15619164 }
Pinocchio
1
action count
action filter_type
action find
entity Mon Pinocchio - Babar
relation named after
type abstract being
['Mon Pinocchio - Babar', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Mon_Pinocchio_-_Babar property:named_after ?o . ?o rdf:type ontology:abstract_being }
[]