Simple Question (Direct)
Simple Question
Q2379980
P39
Q12737077
USER
Which occupation was a position held by Sören Kosanke ?
(Q2379980,P39,c(Q12737077))
action filter_type
action find
entity Q2379980
relation P39
type Q12737077
['Q2379980', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q2379980 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Sören Kosanke
action filter_type
action find
entity Sören Kosanke
relation position held
type occupation
['Sören Kosanke', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Sören_Kosanke property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q18556824
SYSTEM
member of the Landtag of Brandenburg
Q18556824
(Q2379980,P39,c(Q12737077))
action filter_type
action find
entity Q2379980
relation P39
type Q12737077
The [ANSWER] was a position held by Sören Kosanke
['Q2379980', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q2379980 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
member of the Landtag of Brandenburg
The member of the Landtag of Brandenburg was a position held by Sören Kosanke
member of the Landtag of Brandenburg
action filter_type
action find
entity Sören Kosanke
relation position held
type occupation
['Sören Kosanke', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Sören_Kosanke property:position_held ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2379980
P27
Q1048835
USER
Which political territory does Sören Kosanke belong to ?
(Q2379980,P27,c(Q1048835))
action filter_type
action find
entity Q2379980
relation P27
type Q1048835
['Q2379980', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q2379980 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Sören Kosanke
action filter_type
action find
entity Sören Kosanke
relation country of citizenship
type political territorial entity
['Sören Kosanke', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sören_Kosanke property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2379980,P27,c(Q1048835))
action filter_type
action find
entity Q2379980
relation P27
type Q1048835
Sören Kosanke belongs to [ANSWER]
['Q2379980', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q2379980 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Germany
Sören Kosanke belongs to Germany
Germany
action filter_type
action find
entity Sören Kosanke
relation country of citizenship
type political territorial entity
['Sören Kosanke', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sören_Kosanke property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4209170 Q183
P47 P27
Q15617994
USER
Which administrative territories share border with Germany or do Sergey Kalashnikov belong to ?
OR((Q183,P47,c(Q15617994)), (Q4209170,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P47
action find
entity Q4209170
relation P27
type Q15617994
{'OR': [['Q183', 'P47', {'concept': 'Q15617994'}], ['Q4209170', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q4209170 property:P27 ?a } UNION { resource:Q183 property:P47 ?a } } }
Sergey Kalashnikov Germany
action filter_type
action union
action find
entity Germany
relation shares border with
action find
entity Sergey Kalashnikov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Sergey Kalashnikov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sergey_Kalashnikov property:country_of_citizenship ?a } UNION { resource:Germany property:shares_border_with ?a } } }
[]
designation for an administrative territorial entity
Q142 Q213 Q55 Q29999 Q32 Q31 Q36 Q159 Q39
SYSTEM
France, Czech Republic, Netherlands, Kingdom of the Netherlands, Luxembourg, Belgium, Poland, Russia, Switzerland
Q142 Q213 Q55 Q29999 Q32 Q31 Q36 Q159 Q39
OR((Q183,P47,c(Q15617994)), (Q4209170,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P47
action find
entity Q4209170
relation P27
type Q15617994
[ANSWERS] share border with Germany or do Sergey Kalashnikov belong to
{'OR': [['Q183', 'P47', {'concept': 'Q15617994'}], ['Q4209170', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q4209170 property:P27 ?a } UNION { resource:Q183 property:P47 ?a } } }
France Czech Republic Netherlands Kingdom of the Netherlands Luxembourg Belgium Poland Russia Switzerland
France, Czech Republic, Netherlands, Kingdom of the Netherlands, Luxembourg, Belgium, Poland, Russia and Switzerland share border with Germany or do Sergey Kalashnikov belong to
France Czech Republic Netherlands Kingdom of the Netherlands Luxembourg Belgium Poland Russia Switzerland
action filter_type
action union
action find
entity Germany
relation shares border with
action find
entity Sergey Kalashnikov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Sergey Kalashnikov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sergey_Kalashnikov property:country_of_citizenship ?a } UNION { resource:Germany property:shares_border_with ?a } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q20667921 Q56061
USER
How many administrative territories have approximately 2 french administrative divisions and administrative territories as their capital ?
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
value 2
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?w ) WHERE { { ?b property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q20667921 } UNION { ?b property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q56061 } } GROUP BY ?e } . FILTER ( ?w = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
value 2
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?w ) WHERE { { ?b property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:type_of_french_administrative_division } UNION { ?b property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:administrative_territorial_entity } } GROUP BY ?e } . FILTER ( ?w = 2 ) }
[]
designation for an administrative territorial entity type of french administrative division administrative territorial entity
SYSTEM
14
Q805 Q258 Q3259 Q12798 Q1020 Q41 Q30 Q38 Q12730 Q199688 Q3278 Q12772 Q12661 Q517333
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
value 2
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?w ) WHERE { { ?b property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q20667921 } UNION { ?b property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q56061 } } GROUP BY ?e } . FILTER ( ?w = 2 ) }
Yemen South Africa Cantal Vendée Malawi Greece United States of America Italy Haute-Saône Almohad Charente-Maritime Tarn Nord Principality of Polotsk
14
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
value 2
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?w ) WHERE { { ?b property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:type_of_french_administrative_division } UNION { ?b property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:administrative_territorial_entity } } GROUP BY ?e } . FILTER ( ?w = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P30
Q2221906
USER
Which geographic locations are Russia situated in ?
(Q159,P30,c(Q2221906))
action filter_type
action find
entity Q159
relation P30
type Q2221906
['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . resource:Q159 property:P30 ?h }
Russia
action filter_type
action find
entity Russia
relation continent
type geographic location
['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . resource:Russia property:continent ?h }
[]
geographic location
Q46 Q5401 Q48
SYSTEM
Europe, Eurasia, Asia
Q46 Q5401 Q48
(Q159,P30,c(Q2221906))
action filter_type
action find
entity Q159
relation P30
type Q2221906
Russia are situated in [ANSWERS]
['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . resource:Q159 property:P30 ?h }
Europe Eurasia Asia
Russia are situated in Europe, Eurasia and Asia
Europe Eurasia Asia
action filter_type
action find
entity Russia
relation continent
type geographic location
['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . resource:Russia property:continent ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P706
Q271669
USER
Which landform has its location as Russia ?
(c(Q271669),P706,Q159)
action filter_type
action find_reverse
entity Q159
relation P706
type Q271669
[{'concept': 'Q271669'}, 'P706', 'Q159']
SELECT DISTINCT ?c WHERE { ?c property:P706 resource:Q159 . ?c rdf:type ontology:Q271669 }
Russia
action filter_type
action find_reverse
entity Russia
relation located on terrain feature
type landform
[{'concept': 'landform'}, 'located on terrain feature', 'Russia']
SELECT DISTINCT ?c WHERE { ?c property:located_on_terrain_feature resource:Russia . ?c rdf:type ontology:landform }
[]
landform
Q625587
SYSTEM
Aral–Caspian Depression
Q625587
(c(Q271669),P706,Q159)
action filter_type
action find_reverse
entity Q159
relation P706
type Q271669
UNK [ANSWER] has its location as Russia
[{'concept': 'Q271669'}, 'P706', 'Q159']
SELECT DISTINCT ?c WHERE { ?c property:P706 resource:Q159 . ?c rdf:type ontology:Q271669 }
Aral–Caspian Depression
UNK Aral–Caspian Depression has its location as Russia
Aral–Caspian Depression
action filter_type
action find_reverse
entity Russia
relation located on terrain feature
type landform
[{'concept': 'landform'}, 'located on terrain feature', 'Russia']
SELECT DISTINCT ?c WHERE { ?c property:located_on_terrain_feature resource:Russia . ?c rdf:type ontology:landform }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P36
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
(Q625587,P36,c(Q56061))
action filter_type
action find
entity Q159
relation P36
type Q56061
['Q625587', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q159 property:P36 ?j }
Russia
action filter_type
action find
entity Russia
relation capital
type administrative territorial entity
['Aral–Caspian Depression', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Russia property:capital ?j }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q625587,P36,c(Q56061))
action filter_type
action find
entity Q159
relation P36
type Q56061
[ANSWER] is the capital of that administrative territory
['Q625587', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q159 property:P36 ?j }
Moscow
Moscow is the capital of that administrative territory
Moscow
action filter_type
action find
entity Russia
relation capital
type administrative territorial entity
['Aral–Caspian Depression', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Russia property:capital ?j }
[]