Simple Question (Direct)
Simple Question
Q7153948
P19
Q56061
USER
Which administrative territory is the place of birth of Paul Teather ?
(Q7153948,P19,c(Q56061))
action filter_type
action find
entity Q7153948
relation P19
type Q56061
['Q7153948', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q7153948 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Paul Teather
action filter_type
action find
entity Paul Teather
relation place of birth
type administrative territorial entity
['Paul Teather', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Paul_Teather property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q217039
SYSTEM
Rotherham
Q217039
(Q7153948,P19,c(Q56061))
action filter_type
action find
entity Q7153948
relation P19
type Q56061
[ANSWER] is the place of birth of Paul Teather
['Q7153948', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q7153948 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Rotherham
Rotherham is the place of birth of Paul Teather
Rotherham
action filter_type
action find
entity Paul Teather
relation place of birth
type administrative territorial entity
['Paul Teather', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Paul_Teather property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217039
P1408
Q4830453
USER
Which business enterprise has procured license for broadcasting to that administrative territory ?
(c(Q4830453),P1408,Q217039)
action filter_type
action find_reverse
entity Q217039
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q217039']
SELECT DISTINCT ?r WHERE { ?r property:P1408 resource:Q217039 . ?r rdf:type ontology:Q4830453 }
Rotherham
action filter_type
action find_reverse
entity Rotherham
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Rotherham']
SELECT DISTINCT ?r WHERE { ?r property:licensed_to_broadcast_to resource:Rotherham . ?r rdf:type ontology:business_enterprise }
[]
business enterprise
Q7370409
SYSTEM
Rother FM
Q7370409
(c(Q4830453),P1408,Q217039)
action filter_type
action find_reverse
entity Q217039
relation P1408
type Q4830453
[ANSWER] has procured license for broadcasting to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q217039']
SELECT DISTINCT ?r WHERE { ?r property:P1408 resource:Q217039 . ?r rdf:type ontology:Q4830453 }
Rother FM
Rother FM has procured license for broadcasting to that administrative territory
Rother FM
action filter_type
action find_reverse
entity Rotherham
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Rotherham']
SELECT DISTINCT ?r WHERE { ?r property:licensed_to_broadcast_to resource:Rotherham . ?r rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q217039
P17
Q15617994
USER
Which administrative territory is Rotherham present in ?
(Q217039,P17,c(Q15617994))
action filter_type
action find
entity Q217039
relation P17
type Q15617994
['Q217039', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q217039 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Rotherham
action filter_type
action find
entity Rotherham
relation country
type designation for an administrative territorial entity
['Rotherham', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Rotherham property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q217039,P17,c(Q15617994))
action filter_type
action find
entity Q217039
relation P17
type Q15617994
Rotherham is the [ANSWER]
['Q217039', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q217039 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
Rotherham is the United Kingdom
United Kingdom
action filter_type
action find
entity Rotherham
relation country
type designation for an administrative territorial entity
['Rotherham', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Rotherham property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6799510
Q15617994
USER
And what about Mały Potok?
(Q6799510,P17,c(Q15617994))
action filter_type
action find
entity Q6799510
relation P17
type Q15617994
['Q6799510', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q6799510 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Mały Potok
action filter_type
action find
entity Mały Potok
relation country
type designation for an administrative territorial entity
['Mały Potok', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Mały_Potok property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q6799510,P17,c(Q15617994))
action filter_type
action find
entity Q6799510
relation P17
type Q15617994
[ANSWER]
['Q6799510', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q6799510 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Poland
Poland
action filter_type
action find
entity Mały Potok
relation country
type designation for an administrative territorial entity
['Mały Potok', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Mały_Potok property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q159 Q36
P27
Q502895
USER
Which people are a citizen of Poland and Russia ?
AND((c(Q502895),P27,Q36), (c(Q502895),P27,Q159))
action filter_type
action intersection
action find_reverse
entity Q36
relation P27
action find_reverse
entity Q159
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q36'], [{'concept': 'Q502895'}, 'P27', 'Q159']]}
SELECT DISTINCT ?f WHERE { ?f property:P27 resource:Q36 . ?f property:P27 resource:Q159 . ?f rdf:type ontology:Q502895 }
Russia Poland
action filter_type
action intersection
action find_reverse
entity Poland
relation country of citizenship
action find_reverse
entity Russia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Poland'], [{'concept': 'common name'}, 'country of citizenship', 'Russia']]}
SELECT DISTINCT ?f WHERE { ?f property:country_of_citizenship resource:Poland . ?f property:country_of_citizenship resource:Russia . ?f rdf:type ontology:common_name }
[]
common name
Q347936 Q713443 Q3918276 Q1962474 Q4937871 Q919127 Q123802 Q545497
SYSTEM
Mamed Khalidov, S. Ansky, Ivan Kozyrevsky, Nachman Syrkin, Boguslav S. Kurlovich, Mieczysław Weinberg, Leo Jogiches, Nicodemus
Q347936 Q713443 Q3918276 Q1962474 Q4937871 Q919127 Q123802 Q545497
AND((c(Q502895),P27,Q36), (c(Q502895),P27,Q159))
action filter_type
action intersection
action find_reverse
entity Q36
relation P27
action find_reverse
entity Q159
relation P27
type Q502895
[ANSWERS] are a citizen of Poland and Russia
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q36'], [{'concept': 'Q502895'}, 'P27', 'Q159']]}
SELECT DISTINCT ?f WHERE { ?f property:P27 resource:Q36 . ?f property:P27 resource:Q159 . ?f rdf:type ontology:Q502895 }
Mamed Khalidov S. Ansky Ivan Kozyrevsky Nachman Syrkin Boguslav S. Kurlovich Mieczysław Weinberg Leo Jogiches Nicodemus
Mamed Khalidov, S. Ansky, Ivan Kozyrevsky, Nachman Syrkin, Boguslav S. Kurlovich, Mieczysław Weinberg, Leo Jogiches and Nicodemus are a citizen of Poland and Russia
Mamed Khalidov S. Ansky Ivan Kozyrevsky Nachman Syrkin Boguslav S. Kurlovich Mieczysław Weinberg Leo Jogiches Nicodemus
action filter_type
action intersection
action find_reverse
entity Poland
relation country of citizenship
action find_reverse
entity Russia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Poland'], [{'concept': 'common name'}, 'country of citizenship', 'Russia']]}
SELECT DISTINCT ?f WHERE { ?f property:country_of_citizenship resource:Poland . ?f property:country_of_citizenship resource:Russia . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17061107 Q713443
P27 P495
Q15617994
USER
Which administrative territories are the countries of citizenship of S. Ansky or are the origin of Starting Over Again ?
OR((Q713443,P27,c(Q15617994)), (Q17061107,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q713443
relation P27
action find
entity Q17061107
relation P495
type Q15617994
{'OR': [['Q713443', 'P27', {'concept': 'Q15617994'}], ['Q17061107', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q713443 property:P27 ?r } UNION { resource:Q17061107 property:P495 ?r } } . ?r rdf:type ontology:Q15617994 }
Starting Over Again S. Ansky
action filter_type
action union
action find
entity S. Ansky
relation country of citizenship
action find
entity Starting Over Again
relation country of origin
type designation for an administrative territorial entity
{'OR': [['S. Ansky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Starting Over Again', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:S._Ansky property:country_of_citizenship ?r } UNION { resource:Starting_Over_Again property:country_of_origin ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q159 Q36
SYSTEM
Philippines, Russia, Poland
Q928 Q159 Q36
OR((Q713443,P27,c(Q15617994)), (Q17061107,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q713443
relation P27
action find
entity Q17061107
relation P495
type Q15617994
[ANSWERS] are the countries of citizenship of S. Ansky or are the origin of Starting Over Again
{'OR': [['Q713443', 'P27', {'concept': 'Q15617994'}], ['Q17061107', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q713443 property:P27 ?r } UNION { resource:Q17061107 property:P495 ?r } } . ?r rdf:type ontology:Q15617994 }
Philippines Russia Poland
Philippines, Russia and Poland are the countries of citizenship of S. Ansky or are the origin of Starting Over Again
Philippines Russia Poland
action filter_type
action union
action find
entity S. Ansky
relation country of citizenship
action find
entity Starting Over Again
relation country of origin
type designation for an administrative territorial entity
{'OR': [['S. Ansky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Starting Over Again', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:S._Ansky property:country_of_citizenship ?r } UNION { resource:Starting_Over_Again property:country_of_origin ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q95078
P530
Q15617994
USER
Do Averara have tactful political relations with those ones ?
(Q95078,P530,Q928) (Q95078,P530,Q159) (Q95078,P530,Q36)
action is_in
entity prev_answer
action find
entity Q95078
relation P530
['Q95078', 'P530', 'Q928'] ['Q95078', 'P530', 'Q159'] ['Q95078', 'P530', 'Q36']
ASK WHERE { resource:Q95078 property:P530 ?d . VALUES ( ?d ) { ( resource:Q928 ) ( resource:Q159 ) ( resource:Q36 ) } }
Averara
action is_in
entity prev_answer
action find
entity Averara
relation diplomatic relation
['Averara', 'diplomatic relation', 'Philippines'] ['Averara', 'diplomatic relation', 'Russia'] ['Averara', 'diplomatic relation', 'Poland']
ASK WHERE { resource:Averara property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Philippines ) ( resource:Russia ) ( resource:Poland ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q95078,P530,Q928) (Q95078,P530,Q159) (Q95078,P530,Q36)
action is_in
entity prev_answer
action find
entity Q95078
relation P530
[ANSWER]
['Q95078', 'P530', 'Q928'] ['Q95078', 'P530', 'Q159'] ['Q95078', 'P530', 'Q36']
ASK WHERE { resource:Q95078 property:P530 ?d . VALUES ( ?d ) { ( resource:Q928 ) ( resource:Q159 ) ( resource:Q36 ) } }
No
action is_in
entity prev_answer
action find
entity Averara
relation diplomatic relation
['Averara', 'diplomatic relation', 'Philippines'] ['Averara', 'diplomatic relation', 'Russia'] ['Averara', 'diplomatic relation', 'Poland']
ASK WHERE { resource:Averara property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Philippines ) ( resource:Russia ) ( resource:Poland ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3918276 Q159 Q36
P27
Q15617994
USER
Is Ivan Kozyrevsky a native of Russia and Poland ?
(Q3918276,P27,Q159) (Q3918276,P27,Q36)
action is_in
entity Q3918276
action intersection
action find_reverse
entity Q159
relation P27
action find_reverse
entity Q36
relation P27
['Q3918276', 'P27', 'Q159'] ['Q3918276', 'P27', 'Q36']
ASK WHERE { resource:Q3918276 property:P27 resource:Q159 . resource:Q3918276 property:P27 resource:Q36 }
Ivan Kozyrevsky Russia Poland
action is_in
entity Ivan Kozyrevsky
action intersection
action find_reverse
entity Russia
relation country of citizenship
action find_reverse
entity Poland
relation country of citizenship
['Ivan Kozyrevsky', 'country of citizenship', 'Russia'] ['Ivan Kozyrevsky', 'country of citizenship', 'Poland']
ASK WHERE { resource:Ivan_Kozyrevsky property:country_of_citizenship resource:Russia . resource:Ivan_Kozyrevsky property:country_of_citizenship resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3918276,P27,Q159) (Q3918276,P27,Q36)
action is_in
entity Q3918276
action intersection
action find_reverse
entity Q159
relation P27
action find_reverse
entity Q36
relation P27
[ANSWER]
['Q3918276', 'P27', 'Q159'] ['Q3918276', 'P27', 'Q36']
ASK WHERE { resource:Q3918276 property:P27 resource:Q159 . resource:Q3918276 property:P27 resource:Q36 }
Yes
action is_in
entity Ivan Kozyrevsky
action intersection
action find_reverse
entity Russia
relation country of citizenship
action find_reverse
entity Poland
relation country of citizenship
['Ivan Kozyrevsky', 'country of citizenship', 'Russia'] ['Ivan Kozyrevsky', 'country of citizenship', 'Poland']
ASK WHERE { resource:Ivan_Kozyrevsky property:country_of_citizenship resource:Russia . resource:Ivan_Kozyrevsky property:country_of_citizenship resource:Poland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with around 111 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 111
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?t rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 . ?t property:P530 ?g } GROUP BY ?t } . FILTER ( ?l = 111 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 111
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?g } GROUP BY ?t } . FILTER ( ?l = 111 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 111
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?t rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 . ?t property:P530 ?g } GROUP BY ?t } . FILTER ( ?l = 111 ) }
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 111
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?g } GROUP BY ?t } . FILTER ( ?l = 111 ) }
[]