Simple Question (Direct)
Simple Question
Q9344804
P21
Q290
USER
Which sex does Staņislavs Šķesters possess ?
(Q9344804,P21,c(Q290))
action filter_type
action find
entity Q9344804
relation P21
type Q290
['Q9344804', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q9344804 property:P21 ?a . ?a rdf:type ontology:Q290 }
Staņislavs Šķesters
action filter_type
action find
entity Staņislavs Šķesters
relation gender
type sex
['Staņislavs Šķesters', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Staņislavs_Šķesters property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q9344804,P21,c(Q290))
action filter_type
action find
entity Q9344804
relation P21
type Q290
Staņislavs Šķesters possesses de [ANSWER]
['Q9344804', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q9344804 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Staņislavs Šķesters possesses de male
male
action filter_type
action find
entity Staņislavs Šķesters
relation gender
type sex
['Staņislavs Šķesters', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Staņislavs_Šķesters property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9344804
P39
Q12737077
USER
Which occupation was a position occupied by Staņislavs Šķesters ?
(Q9344804,P39,c(Q12737077))
action filter_type
action find
entity Q9344804
relation P39
type Q12737077
['Q9344804', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q9344804 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Staņislavs Šķesters
action filter_type
action find
entity Staņislavs Šķesters
relation position held
type occupation
['Staņislavs Šķesters', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Staņislavs_Šķesters property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q21191589
SYSTEM
deputy of Saeima
Q21191589
(Q9344804,P39,c(Q12737077))
action filter_type
action find
entity Q9344804
relation P39
type Q12737077
The [ANSWER] was a position occupied by Staņislavs Šķesters
['Q9344804', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q9344804 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
deputy of Saeima
The deputy of Saeima was a position occupied by Staņislavs Šķesters
deputy of Saeima
action filter_type
action find
entity Staņislavs Šķesters
relation position held
type occupation
['Staņislavs Šķesters', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Staņislavs_Šķesters property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9344804
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Staņislavs Šķesters ?
(Q9344804,P27,c(Q15617994))
action count
action filter_type
action find
entity Q9344804
relation P27
type Q15617994
['Q9344804', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q9344804 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Staņislavs Šķesters
action count
action filter_type
action find
entity Staņislavs Šķesters
relation country of citizenship
type designation for an administrative territorial entity
['Staņislavs Šķesters', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Staņislavs_Šķesters property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q211
(Q9344804,P27,c(Q15617994))
action count
action filter_type
action find
entity Q9344804
relation P27
type Q15617994
[ANSWER]
['Q9344804', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q9344804 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Latvia
1
action count
action filter_type
action find
entity Staņislavs Šķesters
relation country of citizenship
type designation for an administrative territorial entity
['Staņislavs Šķesters', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Staņislavs_Šķesters property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q17159796
P27
Q15617994
USER
And what about Satoru Shintani?
(Q17159796,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17159796
relation P27
type Q15617994
['Q17159796', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q17159796 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Satoru Shintani
action count
action filter_type
action find
entity Satoru Shintani
relation country of citizenship
type designation for an administrative territorial entity
['Satoru Shintani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Satoru_Shintani property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q17
(Q17159796,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17159796
relation P27
type Q15617994
[ANSWER]
['Q17159796', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q17159796 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Japan
1
action count
action filter_type
action find
entity Satoru Shintani
relation country of citizenship
type designation for an administrative territorial entity
['Satoru Shintani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Satoru_Shintani property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6524176
Q15617994
USER
And also tell me about Leo Riot?
(Q6524176,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6524176
relation P27
type Q15617994
['Q6524176', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q6524176 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Leo Riot
action count
action filter_type
action find
entity Leo Riot
relation country of citizenship
type designation for an administrative territorial entity
['Leo Riot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Leo_Riot property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6524176,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6524176
relation P27
type Q15617994
[ANSWER]
['Q6524176', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q6524176 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Leo Riot
relation country of citizenship
type designation for an administrative territorial entity
['Leo Riot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Leo_Riot property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6524176
P19
Q515
USER
Which city is the birthplace of Leo Riot ?
(Q6524176,P19,c(Q515))
action filter_type
action find
entity Q6524176
relation P19
type Q515
['Q6524176', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q515 . resource:Q6524176 property:P19 ?y }
Leo Riot
action filter_type
action find
entity Leo Riot
relation place of birth
type city
['Leo Riot', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:city . resource:Leo_Riot property:place_of_birth ?y }
[]
city
Q8652
SYSTEM
Miami
Q8652
(Q6524176,P19,c(Q515))
action filter_type
action find
entity Q6524176
relation P19
type Q515
[ANSWER] is the birthplace of Leo Riot
['Q6524176', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q515 . resource:Q6524176 property:P19 ?y }
Miami
Miami is the birthplace of Leo Riot
Miami
action filter_type
action find
entity Leo Riot
relation place of birth
type city
['Leo Riot', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:city . resource:Leo_Riot property:place_of_birth ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21191589
P17
Q15617994
USER
Which administrative territory is deputy of Saeima a part of ?
(Q21191589,P17,c(Q15617994))
action filter_type
action find
entity Q21191589
relation P17
type Q15617994
['Q21191589', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q21191589 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
deputy of Saeima
action filter_type
action find
entity deputy of Saeima
relation country
type designation for an administrative territorial entity
['deputy of Saeima', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:deputy_of_Saeima property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211
SYSTEM
Latvia
Q211
(Q21191589,P17,c(Q15617994))
action filter_type
action find
entity Q21191589
relation P17
type Q15617994
The [ANSWER] is deputy of Saeima a part of
['Q21191589', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q21191589 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Latvia
The Latvia is deputy of Saeima a part of
Latvia
action filter_type
action find
entity deputy of Saeima
relation country
type designation for an administrative territorial entity
['deputy of Saeima', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:deputy_of_Saeima property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21191589
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of that occupation ?
(Q211,P1001,c(Q15617994))
action filter_type
action find
entity Q21191589
relation P1001
type Q15617994
['Q211', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q21191589 property:P1001 ?l . ?l rdf:type ontology:Q15617994 }
deputy of Saeima
action filter_type
action find
entity deputy of Saeima
relation applies to jurisdiction
type designation for an administrative territorial entity
['Latvia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:deputy_of_Saeima property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211
SYSTEM
Latvia
Q211
(Q211,P1001,c(Q15617994))
action filter_type
action find
entity Q21191589
relation P1001
type Q15617994
[ANSWER] comes under the jurisdiction of that occupation
['Q211', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q21191589 property:P1001 ?l . ?l rdf:type ontology:Q15617994 }
Latvia
Latvia comes under the jurisdiction of that occupation
Latvia
action filter_type
action find
entity deputy of Saeima
relation applies to jurisdiction
type designation for an administrative territorial entity
['Latvia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:deputy_of_Saeima property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with around 118 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 118
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?d ) WHERE { ?h property:P530 ?b . ?h rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?d = 118 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 118
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?d ) WHERE { ?h property:diplomatic_relation ?b . ?h rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?d = 118 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 118
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?d ) WHERE { ?h property:P530 ?b . ?h rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?d = 118 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 118
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?d ) WHERE { ?h property:diplomatic_relation ?b . ?h rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?d = 118 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211
P47
Q15617994
USER
Which administrative territories have a shared border with Latvia ?
(Q211,P47,c(Q15617994))
action filter_type
action find
entity Q211
relation P47
type Q15617994
['Q211', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q211 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Latvia
action filter_type
action find
entity Latvia
relation shares border with
type designation for an administrative territorial entity
['Latvia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Latvia property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q36 Q184
SYSTEM
Russia, Poland, Belarus
Q191 Q37 Q184 Q159 Q36
(Q211,P47,c(Q15617994))
action filter_type
action find
entity Q211
relation P47
type Q15617994
[ANSWERS] have a shared border with Latvia
['Q211', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q211 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Estonia Lithuania Belarus Russia Poland
Russia, Poland and Belarus have a shared border with Latvia
Russia Poland Belarus
action filter_type
action find
entity Latvia
relation shares border with
type designation for an administrative territorial entity
['Latvia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Latvia property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]