Simple Question (Direct)
Simple Question
Q16718791
P166
Q838948
USER
What was awarded to Mikhail Churbanov ?
(Q16718791,P166,c(Q838948))
action filter_type
action find
entity Q16718791
relation P166
type Q838948
['Q16718791', 'P166', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { resource:Q16718791 property:P166 ?d . ?d rdf:type ontology:Q838948 }
Mikhail Churbanov
action filter_type
action find
entity Mikhail Churbanov
relation award received
type work of art
['Mikhail Churbanov', 'award received', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { resource:Mikhail_Churbanov property:award_received ?d . ?d rdf:type ontology:work_of_art }
[]
work of art
Q19030089
SYSTEM
Medal of the Order of Merit for the Fatherland II degree
Q19030089
(Q16718791,P166,c(Q838948))
action filter_type
action find
entity Q16718791
relation P166
type Q838948
[ANSWER] was awarded to Mikhail Churbanov
['Q16718791', 'P166', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { resource:Q16718791 property:P166 ?d . ?d rdf:type ontology:Q838948 }
Medal of the Order of Merit for the Fatherland II degree
Medal of the Order of Merit for the Fatherland II degree was awarded to Mikhail Churbanov
Medal of the Order of Merit for the Fatherland II degree
action filter_type
action find
entity Mikhail Churbanov
relation award received
type work of art
['Mikhail Churbanov', 'award received', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { resource:Mikhail_Churbanov property:award_received ?d . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19030089
P17
Q15617994
USER
Which administrative territory is that work of art a part of ?
(Q19030089,P17,c(Q15617994))
action filter_type
action find
entity Q19030089
relation P17
type Q15617994
['Q19030089', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q19030089 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Medal of the Order of Merit for the Fatherland II degree
action filter_type
action find
entity Medal of the Order of Merit for the Fatherland II degree
relation country
type designation for an administrative territorial entity
['Medal of the Order of Merit for the Fatherland II degree', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Medal_of_the_Order_of_Merit_for_the_Fatherland_II_degree property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q19030089,P17,c(Q15617994))
action filter_type
action find
entity Q19030089
relation P17
type Q15617994
The [ANSWER] is that work of art a part of
['Q19030089', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q19030089 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Russia
The Russia is that work of art a part of
Russia
action filter_type
action find
entity Medal of the Order of Merit for the Fatherland II degree
relation country
type designation for an administrative territorial entity
['Medal of the Order of Merit for the Fatherland II degree', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Medal_of_the_Order_of_Merit_for_the_Fatherland_II_degree property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P35
Q502895
USER
Which people have the highest formal authority in that administrative territory ?
(Q159,P35,c(Q502895))
action filter_type
action find
entity Q159
relation P35
type Q502895
['Q159', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q159 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Russia
action filter_type
action find
entity Russia
relation head of state
type common name
['Russia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Russia property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
common name
Q34453 Q23530 Q7747
SYSTEM
Boris Yeltsin, Dmitry Medvedev, Vladimir Putin
Q34453 Q23530 Q7747
(Q159,P35,c(Q502895))
action filter_type
action find
entity Q159
relation P35
type Q502895
[ANSWERS] have the highest formal authority in that administrative territory
['Q159', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q159 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Boris Yeltsin Dmitry Medvedev Vladimir Putin
Boris Yeltsin, Dmitry Medvedev and Vladimir Putin have the highest formal authority in that administrative territory
Boris Yeltsin Dmitry Medvedev Vladimir Putin
action filter_type
action find
entity Russia
relation head of state
type common name
['Russia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Russia property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q159
P35
Q15617994
USER
Are those people the head of state of Russia ?
(Q159,P35,Q34453) (Q159,P35,Q23530) (Q159,P35,Q7747)
action is_in
entity prev_answer
action find
entity Q159
relation P35
['Q159', 'P35', 'Q34453'] ['Q159', 'P35', 'Q23530'] ['Q159', 'P35', 'Q7747']
ASK WHERE { resource:Q159 property:P35 ?b . VALUES ( ?b ) { ( resource:Q34453 ) ( resource:Q23530 ) ( resource:Q7747 ) } }
Russia
action is_in
entity prev_answer
action find
entity Russia
relation head of state
['Russia', 'head of state', 'Boris Yeltsin'] ['Russia', 'head of state', 'Dmitry Medvedev'] ['Russia', 'head of state', 'Vladimir Putin']
ASK WHERE { resource:Russia property:head_of_state ?b . VALUES ( ?b ) { ( resource:Boris_Yeltsin ) ( resource:Dmitry_Medvedev ) ( resource:Vladimir_Putin ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q159,P35,Q34453) (Q159,P35,Q23530) (Q159,P35,Q7747)
action is_in
entity prev_answer
action find
entity Q159
relation P35
[ANSWER]
['Q159', 'P35', 'Q34453'] ['Q159', 'P35', 'Q23530'] ['Q159', 'P35', 'Q7747']
ASK WHERE { resource:Q159 property:P35 ?b . VALUES ( ?b ) { ( resource:Q34453 ) ( resource:Q23530 ) ( resource:Q7747 ) } }
Yes
action is_in
entity prev_answer
action find
entity Russia
relation head of state
['Russia', 'head of state', 'Boris Yeltsin'] ['Russia', 'head of state', 'Dmitry Medvedev'] ['Russia', 'head of state', 'Vladimir Putin']
ASK WHERE { resource:Russia property:head_of_state ?b . VALUES ( ?b ) { ( resource:Boris_Yeltsin ) ( resource:Dmitry_Medvedev ) ( resource:Vladimir_Putin ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
How many cinematic techniques have been dubbed by atleast 26 people ?
(c(Q1001378),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 26
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { FILTER ( ?s >= 26 ) . { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?s ) WHERE { ?m property:P725 ?r . ?m rdf:type ontology:Q1001378 . ?r rdf:type ontology:Q502895 } GROUP BY ?m } }
action count
action atleast
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 26
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { FILTER ( ?s >= 26 ) . { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?s ) WHERE { ?m property:voice_actor ?r . ?m rdf:type ontology:cinematic_technique . ?r rdf:type ontology:common_name } GROUP BY ?m } }
[]
common name cinematic technique
SYSTEM
2
Q15270647 Q9321426
(c(Q1001378),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 26
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { FILTER ( ?s >= 26 ) . { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?s ) WHERE { ?m property:P725 ?r . ?m rdf:type ontology:Q1001378 . ?r rdf:type ontology:Q502895 } GROUP BY ?m } }
Zootopia Finding Dory
2
action count
action atleast
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 26
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { FILTER ( ?s >= 26 ) . { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?s ) WHERE { ?m property:voice_actor ?r . ?m rdf:type ontology:cinematic_technique . ?r rdf:type ontology:common_name } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P38
Q8142
USER
What is considered to be the currency of Russia ?
(Q159,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
['Q159', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?v WHERE { resource:Q159 property:P38 ?v . ?v rdf:type ontology:Q8142 }
Russia
action filter_type
action find
entity Russia
relation currency
type currency
['Russia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?v WHERE { resource:Russia property:currency ?v . ?v rdf:type ontology:currency }
[]
currency
Q615640
SYSTEM
Soviet ruble
Q615640
(Q159,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
[ANSWER] is considered to be the currency of Russia
['Q159', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?v WHERE { resource:Q159 property:P38 ?v . ?v rdf:type ontology:Q8142 }
Soviet ruble
Soviet ruble is considered to be the currency of Russia
Soviet ruble
action filter_type
action find
entity Russia
relation currency
type currency
['Russia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?v WHERE { resource:Russia property:currency ?v . ?v rdf:type ontology:currency }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P38
Q8142 Q2221906
USER
How many geographic locations are around 1 currency the currency of ?
(c(Q2221906),P38,c(Q8142))
action count
action approx
action find_tuple_counts
relation P38
type Q2221906
type Q8142
value 1
[{'concept': 'Q2221906'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:P38 ?u . ?g rdf:type ontology:Q2221906 . ?u rdf:type ontology:Q8142 } GROUP BY ?g } . FILTER ( ?l = 1 ) }
action count
action approx
action find_tuple_counts
relation currency
type geographic location
type currency
value 1
[{'concept': 'geographic location'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:currency ?u . ?g rdf:type ontology:geographic_location . ?u rdf:type ontology:currency } GROUP BY ?g } . FILTER ( ?l = 1 ) }
[]
currency geographic location
SYSTEM
1
Q27561
(c(Q2221906),P38,c(Q8142))
action count
action approx
action find_tuple_counts
relation P38
type Q2221906
type Q8142
value 1
[ANSWER]
[{'concept': 'Q2221906'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:P38 ?u . ?g rdf:type ontology:Q2221906 . ?u rdf:type ontology:Q8142 } GROUP BY ?g } . FILTER ( ?l = 1 ) }
Caribbean Netherlands
1
action count
action approx
action find_tuple_counts
relation currency
type geographic location
type currency
value 1
[{'concept': 'geographic location'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:currency ?u . ?g rdf:type ontology:geographic_location . ?u rdf:type ontology:currency } GROUP BY ?g } . FILTER ( ?l = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do exactly 2 people know to play ?
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?l = 2 ) }
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?l = 2 ) }
[]
musical instrument common name
Q862501 Q201129 Q424017
SYSTEM
ondes Martenot, lyre, acoustic bass guitar
Q201129 Q424017 Q3574843 Q182718 Q862501 Q537750 Q1300012 Q483994
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2
Exactly 2 people know the [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?l = 2 ) }
lyre acoustic bass guitar tonbak Nyckelharpa ondes Martenot Djembe toy piano Kazoo
Exactly 2 people know the ondes Martenot, lyre and acoustic bass guitar
ondes Martenot lyre acoustic bass guitar
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?l = 2 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q615640
P530 P38
Q15617994
USER
Which administrative territories have Soviet ruble as their currency and have ambassadorial relations with Italy ?
AND((c(Q15617994),P38,Q615640), (c(Q15617994),P530,Q38))
action filter_type
action intersection
action find_reverse
entity Q615640
relation P38
action find_reverse
entity Q38
relation P530
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P38', 'Q615640'], [{'concept': 'Q15617994'}, 'P530', 'Q38']]}
SELECT DISTINCT ?a WHERE { ?a property:P38 resource:Q615640 . ?a property:P530 resource:Q38 . ?a rdf:type ontology:Q15617994 }
Italy Soviet ruble
action filter_type
action intersection
action find_reverse
entity Soviet ruble
relation currency
action find_reverse
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'currency', 'Soviet ruble'], [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy']]}
SELECT DISTINCT ?a WHERE { ?a property:currency resource:Soviet_ruble . ?a property:diplomatic_relation resource:Italy . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
AND((c(Q15617994),P38,Q615640), (c(Q15617994),P530,Q38))
action filter_type
action intersection
action find_reverse
entity Q615640
relation P38
action find_reverse
entity Q38
relation P530
type Q15617994
[ANSWER] have Soviet ruble as their currency and have ambassadorial relations with Italy
{'AND': [[{'concept': 'Q15617994'}, 'P38', 'Q615640'], [{'concept': 'Q15617994'}, 'P530', 'Q38']]}
SELECT DISTINCT ?a WHERE { ?a property:P38 resource:Q615640 . ?a property:P530 resource:Q38 . ?a rdf:type ontology:Q15617994 }
Russia
Russia have Soviet ruble as their currency and have ambassadorial relations with Italy
Russia
action filter_type
action intersection
action find_reverse
entity Soviet ruble
relation currency
action find_reverse
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'currency', 'Soviet ruble'], [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy']]}
SELECT DISTINCT ?a WHERE { ?a property:currency resource:Soviet_ruble . ?a property:diplomatic_relation resource:Italy . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q159 Q184 Q711
P47
Q15617994
USER
Does that administrative territory shares border with Belarus and Mongolia ?
(Q159,P47,Q184) (Q159,P47,Q711)
action is_in
entity Q159
action intersection
action find_reverse
entity Q184
relation P47
action find_reverse
entity Q711
relation P47
['Q159', 'P47', 'Q184'] ['Q159', 'P47', 'Q711']
ASK WHERE { resource:Q159 property:P47 resource:Q711 . resource:Q159 property:P47 resource:Q184 }
Russia Belarus Mongolia
action is_in
entity Russia
action intersection
action find_reverse
entity Belarus
relation shares border with
action find_reverse
entity Mongolia
relation shares border with
['Russia', 'shares border with', 'Belarus'] ['Russia', 'shares border with', 'Mongolia']
ASK WHERE { resource:Russia property:shares_border_with resource:Mongolia . resource:Russia property:shares_border_with resource:Belarus }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q159,P47,Q184) (Q159,P47,Q711)
action is_in
entity Q159
action intersection
action find_reverse
entity Q184
relation P47
action find_reverse
entity Q711
relation P47
[ANSWER]
['Q159', 'P47', 'Q184'] ['Q159', 'P47', 'Q711']
ASK WHERE { resource:Q159 property:P47 resource:Q711 . resource:Q159 property:P47 resource:Q184 }
Yes
action is_in
entity Russia
action intersection
action find_reverse
entity Belarus
relation shares border with
action find_reverse
entity Mongolia
relation shares border with
['Russia', 'shares border with', 'Belarus'] ['Russia', 'shares border with', 'Mongolia']
ASK WHERE { resource:Russia property:shares_border_with resource:Mongolia . resource:Russia property:shares_border_with resource:Belarus }
[]
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 ?k WHERE { resource:Q159 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
Russia
action filter_type
action find
entity Russia
relation continent
type geographic location
['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Russia property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
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 ?k WHERE { resource:Q159 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
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 ?k WHERE { resource:Russia property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q46 Q5401 Q48
P361
Q2221906
USER
Which geographic locations are a portion of Europe, Eurasia and Asia ?
(c(Q2221906),P361,Q46) (c(Q2221906),P361,Q5401) (c(Q2221906),P361,Q48)
action union
action filter_type
action find_reverse
entity Q46
relation P361
type Q2221906
action filter_type
action find_reverse
entity Q5401
relation P361
type Q2221906
action filter_type
action find_reverse
entity Q48
relation P361
type Q2221906
[{'concept': 'Q2221906'}, 'P361', 'Q46'] [{'concept': 'Q2221906'}, 'P361', 'Q5401'] [{'concept': 'Q2221906'}, 'P361', 'Q48']
SELECT DISTINCT ?z WHERE { { ?z property:P361 resource:Q46 . ?z rdf:type ontology:Q2221906 } UNION { ?z rdf:type ontology:Q2221906 . ?z property:P361 resource:Q5401 } }
Europe Eurasia Asia
action union
action filter_type
action find_reverse
entity Europe
relation part of
type geographic location
action filter_type
action find_reverse
entity Eurasia
relation part of
type geographic location
action filter_type
action find_reverse
entity Asia
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', 'Europe'] [{'concept': 'geographic location'}, 'part of', 'Eurasia'] [{'concept': 'geographic location'}, 'part of', 'Asia']
SELECT DISTINCT ?z WHERE { { ?z property:part_of resource:Europe . ?z rdf:type ontology:geographic_location } UNION { ?z rdf:type ontology:geographic_location . ?z property:part_of resource:Eurasia } }
[]
geographic location
Q48 Q46 Q771405
SYSTEM
Asia, Europe, South Asia
Q27496 Q27509 Q1998497 Q46 Q48 Q771405 Q27293 Q11708 Q27275
(c(Q2221906),P361,Q46) (c(Q2221906),P361,Q5401) (c(Q2221906),P361,Q48)
action union
action filter_type
action find_reverse
entity Q46
relation P361
type Q2221906
action filter_type
action find_reverse
entity Q5401
relation P361
type Q2221906
action filter_type
action find_reverse
entity Q48
relation P361
type Q2221906
[ANSWERS] are a portion of Europe, Eurasia and Asia
[{'concept': 'Q2221906'}, 'P361', 'Q46'] [{'concept': 'Q2221906'}, 'P361', 'Q5401'] [{'concept': 'Q2221906'}, 'P361', 'Q48']
SELECT DISTINCT ?z WHERE { { ?z property:P361 resource:Q46 . ?z rdf:type ontology:Q2221906 } UNION { ?z rdf:type ontology:Q2221906 . ?z property:P361 resource:Q5401 } }
Western Europe Central Europe North Eastern Europe Europe Asia South Asia Western Asia Southeast Asia Central Asia
Asia, Europe and South Asia are a portion of Europe, Eurasia and Asia
Asia Europe South Asia
action union
action filter_type
action find_reverse
entity Europe
relation part of
type geographic location
action filter_type
action find_reverse
entity Eurasia
relation part of
type geographic location
action filter_type
action find_reverse
entity Asia
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', 'Europe'] [{'concept': 'geographic location'}, 'part of', 'Eurasia'] [{'concept': 'geographic location'}, 'part of', 'Asia']
SELECT DISTINCT ?z WHERE { { ?z property:part_of resource:Europe . ?z rdf:type ontology:geographic_location } UNION { ?z rdf:type ontology:geographic_location . ?z property:part_of resource:Eurasia } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q48
P376
Q16889133
USER
Which class is known to be the location of that geographic location ?
(Q48,P376,c(Q16889133))
action filter_type
action find
entity Q48
relation P376
type Q16889133
['Q48', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?j WHERE { resource:Q48 property:P376 ?j . ?j rdf:type ontology:Q16889133 }
Asia
action filter_type
action find
entity Asia
relation located on astronomical body
type class
['Asia', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?j WHERE { resource:Asia property:located_on_astronomical_body ?j . ?j rdf:type ontology:class }
[]
class
Clarification for simple ques.
Q46
SYSTEM
Did you mean Europe ?
Q48 Q46 Q771405
(Q48,P376,c(Q16889133)) (Q46,P376,c(Q16889133)) (Q771405,P376,c(Q16889133))
[ANSWER]
['Q48', 'P376', {'concept': 'Q16889133'}] ['Q46', 'P376', {'concept': 'Q16889133'}] ['Q771405', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?j WHERE { resource:Q48 property:P376 ?j . ?j rdf:type ontology:Q16889133 }
Asia Europe South Asia
Did you mean Europe ?
Europe
['Asia', 'located on astronomical body', {'concept': 'class'}] ['Europe', 'located on astronomical body', {'concept': 'class'}] ['South Asia', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?j WHERE { resource:Asia property:located_on_astronomical_body ?j . ?j rdf:type ontology:class }
[]
Simple Question (Coreferenced)
USER
No, I meant Asia. Could you tell me the answer for that?
(Q48,P376,c(Q16889133))
Q48
['Q48', 'P376', {'concept': 'Q16889133'}]
['Asia', 'located on astronomical body', {'concept': 'class'}]
[]
Q2
SYSTEM
Earth
Q2
(Q48,P376,c(Q16889133))
action filter_type
action find
entity Q48
relation P376
type Q16889133
[ANSWER] is known to be the location of that geographic location
['Q48', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?j WHERE { resource:Q48 property:P376 ?j . ?j rdf:type ontology:Q16889133 }
Earth
Earth is known to be the location of that geographic location
Earth
action filter_type
action find
entity Asia
relation located on astronomical body
type class
['Asia', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?j WHERE { resource:Asia property:located_on_astronomical_body ?j . ?j rdf:type ontology:class }
[]