Simple Question (Direct)
Simple Question
Q6305457
P17
Q15617994
USER
Which administrative territory is Oulu–Kontiomäki railway a part of ?
(Q6305457,P17,c(Q15617994))
action filter_type
action find
entity Q6305457
relation P17
type Q15617994
['Q6305457', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q6305457 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Oulu–Kontiomäki railway
action filter_type
action find
entity Oulu–Kontiomäki railway
relation country
type designation for an administrative territorial entity
['Oulu–Kontiomäki railway', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Oulu–Kontiomäki_railway property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q6305457,P17,c(Q15617994))
action filter_type
action find
entity Q6305457
relation P17
type Q15617994
[ANSWER] is Oulu–Kontiomäki railway a part of
['Q6305457', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q6305457 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Finland
Finland is Oulu–Kontiomäki railway a part of
Finland
action filter_type
action find
entity Oulu–Kontiomäki railway
relation country
type designation for an administrative territorial entity
['Oulu–Kontiomäki railway', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Oulu–Kontiomäki_railway property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33
P463
Q484652
USER
What international organizations were that administrative territory a member of ?
(Q33,P463,c(Q484652))
action filter_type
action find
entity Q33
relation P463
type Q484652
['Q33', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?s WHERE { resource:Q33 property:P463 ?s . ?s rdf:type ontology:Q484652 }
Finland
action filter_type
action find
entity Finland
relation member of
type international organization
['Finland', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?s WHERE { resource:Finland property:member_of ?s . ?s rdf:type ontology:international_organization }
[]
international organization
Q81299 Q42262 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, European Space Agency, United Nations
Q81299 Q789769 Q1065 Q188822 Q42262 Q674182 Q146165 Q1043527
(Q33,P463,c(Q484652))
action filter_type
action find
entity Q33
relation P463
type Q484652
[ANSWERS]
['Q33', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?s WHERE { resource:Q33 property:P463 ?s . ?s rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Council of the Baltic Sea States United Nations Asian Development Bank European Space Agency Arctic Council Nordic Council Multilateral Investment Guarantee Agency
What international organizations were that administrative territory a member of
Organization for Security and Co-operation in Europe European Space Agency United Nations
action filter_type
action find
entity Finland
relation member of
type international organization
['Finland', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?s WHERE { resource:Finland property:member_of ?s . ?s rdf:type ontology:international_organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atleast 9 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 9
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c >= 9 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?o property:P530 ?r } GROUP BY ?o } }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c >= 9 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?r } GROUP BY ?o } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q30 Q38 Q17 Q79 Q1011
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 9
[ANSWERS] have diplomatic relations with atleast 9 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c >= 9 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?o property:P530 ?r } GROUP BY ?o } }
Israel Yemen France United Kingdom People's Republic of China Serbia Russia Turkey Brazil United States of America Italy Japan Egypt Cape Verde
Italy, Brazil and United States of America have diplomatic relations with atleast 9 administrative territories
Italy Brazil United States of America
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c >= 9 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?r } GROUP BY ?o } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with around 34 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 34
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?w ) WHERE { ?a property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?w = 34 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 34
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?w ) WHERE { ?a property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?w = 34 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 34
[ANSWER] have tactful political relations with around 34 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?w ) WHERE { ?a property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?w = 34 ) }
Belarus
Belarus have tactful political relations with around 34 administrative territories
Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 34
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?w ) WHERE { ?a property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?w = 34 ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q184 Q224 Q393831
P530
Q15617994
USER
Does that administrative territory have diplomatic relations with Croatia and Fengtai District ?
(Q184,P530,Q224) (Q184,P530,Q393831)
action is_in
entity Q184
action intersection
action find_reverse
entity Q224
relation P530
action find_reverse
entity Q393831
relation P530
['Q184', 'P530', 'Q224'] ['Q184', 'P530', 'Q393831']
ASK WHERE { resource:Q184 property:P530 resource:Q224 . resource:Q184 property:P530 resource:Q393831 }
Belarus Croatia Fengtai District
action is_in
entity Belarus
action intersection
action find_reverse
entity Croatia
relation diplomatic relation
action find_reverse
entity Fengtai District
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Croatia'] ['Belarus', 'diplomatic relation', 'Fengtai District']
ASK WHERE { resource:Belarus property:diplomatic_relation resource:Croatia . resource:Belarus property:diplomatic_relation resource:Fengtai_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q184,P530,Q224) (Q184,P530,Q393831)
action is_in
entity Q184
action intersection
action find_reverse
entity Q224
relation P530
action find_reverse
entity Q393831
relation P530
[ANSWER]
['Q184', 'P530', 'Q224'] ['Q184', 'P530', 'Q393831']
ASK WHERE { resource:Q184 property:P530 resource:Q224 . resource:Q184 property:P530 resource:Q393831 }
YES and NO respectively
action is_in
entity Belarus
action intersection
action find_reverse
entity Croatia
relation diplomatic relation
action find_reverse
entity Fengtai District
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Croatia'] ['Belarus', 'diplomatic relation', 'Fengtai District']
ASK WHERE { resource:Belarus property:diplomatic_relation resource:Croatia . resource:Belarus property:diplomatic_relation resource:Fengtai_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184
P1376
Q56061
USER
What is the capital of Belarus ?
action filter_type
action find_reverse
entity Q184
relation P1376
type Q56061
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q184 . ?e rdf:type ontology:Q56061 }
Belarus
action filter_type
action find_reverse
entity Belarus
relation capital of
type administrative territorial entity
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Belarus . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2280
SYSTEM
Minsk
Q2280
action filter_type
action find_reverse
entity Q184
relation P1376
type Q56061
The capital of Belarus is [ANSWER]
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q184 . ?e rdf:type ontology:Q56061 }
Minsk
The capital of Belarus is Minsk
Minsk
action filter_type
action find_reverse
entity Belarus
relation capital of
type administrative territorial entity
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Belarus . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2280 Q1629636
P551
Q502895
USER
Does Horst Königstein live in that administrative territory ?
(Q1629636,P551,Q2280)
action is_in
entity Q1629636
action find
entity Q2280
relation P551
['Q1629636', 'P551', 'Q2280']
ASK WHERE { resource:Q2280 property:P551 resource:Q1629636 }
Minsk Horst Königstein
action is_in
entity Horst Königstein
action find
entity Minsk
relation residence
['Horst Königstein', 'residence', 'Minsk']
ASK WHERE { resource:Minsk property:residence resource:Horst_Königstein }
[]
common name
SYSTEM
NO
(Q1629636,P551,Q2280)
action is_in
entity Q1629636
action find
entity Q2280
relation P551
[ANSWER]
['Q1629636', 'P551', 'Q2280']
ASK WHERE { resource:Q2280 property:P551 resource:Q1629636 }
No
action is_in
entity Horst Königstein
action find
entity Minsk
relation residence
['Horst Königstein', 'residence', 'Minsk']
ASK WHERE { resource:Minsk property:residence resource:Horst_Königstein }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2280
P740
Q43229
USER
What are the organizations that were formed at that administrative territory ?
action filter_type
action find_reverse
entity Q2280
relation P740
type Q43229
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q43229 . ?g property:P740 resource:Q2280 }
Minsk
action filter_type
action find_reverse
entity Minsk
relation location of formation
type organization
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:organization . ?g property:location_of_formation resource:Minsk }
[]
organization
Q4881703 Q1251215 Q4237866
SYSTEM
BelMarket, Minsk Automobile Plant, Kraski
Q4881703 Q1251215 Q4237866
action filter_type
action find_reverse
entity Q2280
relation P740
type Q43229
The organizations that were formed at that administrative territory are [ANSWERS]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q43229 . ?g property:P740 resource:Q2280 }
BelMarket Minsk Automobile Plant Kraski
The organizations that were formed at that administrative territory are BelMarket, Minsk Automobile Plant and Kraski
BelMarket Minsk Automobile Plant Kraski
action filter_type
action find_reverse
entity Minsk
relation location of formation
type organization
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:organization . ?g property:location_of_formation resource:Minsk }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1251215
P159
Q56061
USER
How many administrative territories are the headquarters of Minsk Automobile Plant located ?
(Q1251215,P159,c(Q56061))
action count
action filter_type
action find
entity Q1251215
relation P159
type Q56061
['Q1251215', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q1251215 property:P159 ?e . ?e rdf:type ontology:Q56061 }
Minsk Automobile Plant
action count
action filter_type
action find
entity Minsk Automobile Plant
relation headquarters location
type administrative territorial entity
['Minsk Automobile Plant', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Minsk_Automobile_Plant property:headquarters_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q2280
(Q1251215,P159,c(Q56061))
action count
action filter_type
action find
entity Q1251215
relation P159
type Q56061
[ANSWER]
['Q1251215', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q1251215 property:P159 ?e . ?e rdf:type ontology:Q56061 }
Minsk
1
action count
action filter_type
action find
entity Minsk Automobile Plant
relation headquarters location
type administrative territorial entity
['Minsk Automobile Plant', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Minsk_Automobile_Plant property:headquarters_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]