Simple Question (Direct)
Simple Question
Q20638264
P106
Q12737077
USER
What do Frank Mowbray Taubman do for a living ?
(Q20638264,P106,c(Q12737077))
action filter_type
action find
entity Q20638264
relation P106
type Q12737077
['Q20638264', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q20638264 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Frank Mowbray Taubman
action filter_type
action find
entity Frank Mowbray Taubman
relation occupation
type occupation
['Frank Mowbray Taubman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Frank_Mowbray_Taubman property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1028181 Q1708232 Q1281618
SYSTEM
painter, medallist, sculptor
Q1028181 Q1708232 Q1281618
(Q20638264,P106,c(Q12737077))
action filter_type
action find
entity Q20638264
relation P106
type Q12737077
Frank Mowbray Taubman do for a living the [ANSWERS]
['Q20638264', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q20638264 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
painter medallist sculptor
Frank Mowbray Taubman do for a living the painter, medallist and sculptor
painter medallist sculptor
action filter_type
action find
entity Frank Mowbray Taubman
relation occupation
type occupation
['Frank Mowbray Taubman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Frank_Mowbray_Taubman property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20638264
P19
Q56061
USER
Which administrative territory was Frank Mowbray Taubman born in ?
(Q20638264,P19,c(Q56061))
action filter_type
action find
entity Q20638264
relation P19
type Q56061
['Q20638264', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q20638264 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Frank Mowbray Taubman
action filter_type
action find
entity Frank Mowbray Taubman
relation place of birth
type administrative territorial entity
['Frank Mowbray Taubman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Frank_Mowbray_Taubman property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q20638264,P19,c(Q56061))
action filter_type
action find
entity Q20638264
relation P19
type Q56061
Frank Mowbray Taubman was born in [ANSWER]
['Q20638264', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q20638264 property:P19 ?r . ?r rdf:type ontology:Q56061 }
London
Frank Mowbray Taubman was born in London
London
action filter_type
action find
entity Frank Mowbray Taubman
relation place of birth
type administrative territorial entity
['Frank Mowbray Taubman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Frank_Mowbray_Taubman property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q84 Q43963
P20
Q502895
USER
Does Jack the Ripper have that administrative territory as the area of death ?
(Q43963,P20,Q84)
action is_in
entity Q84
action find
entity Q43963
relation P20
['Q43963', 'P20', 'Q84']
ASK WHERE { resource:Q43963 property:P20 resource:Q84 }
London Jack the Ripper
action is_in
entity London
action find
entity Jack the Ripper
relation place of death
['Jack the Ripper', 'place of death', 'London']
ASK WHERE { resource:Jack_the_Ripper property:place_of_death resource:London }
[]
common name
SYSTEM
YES
(Q43963,P20,Q84)
action is_in
entity Q84
action find
entity Q43963
relation P20
[ANSWER]
['Q43963', 'P20', 'Q84']
ASK WHERE { resource:Q43963 property:P20 resource:Q84 }
Yes
action is_in
entity London
action find
entity Jack the Ripper
relation place of death
['Jack the Ripper', 'place of death', 'London']
ASK WHERE { resource:Jack_the_Ripper property:place_of_death resource:London }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P190
Q56061
USER
Which administrative territories are sister towns of that one ?
action filter_type
action find
entity Q84
relation P190
type Q56061
SELECT DISTINCT ?f WHERE { resource:Q84 property:P190 ?f . ?f rdf:type ontology:Q56061 }
London
action filter_type
action find
entity London
relation sister city
type administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:London property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q8686 Q64
SYSTEM
Moscow, Shanghai, Berlin
Q8686 Q1353 Q649 Q472 Q34820 Q9248 Q987 Q1156 Q3630 Q466221 Q3561 Q1490 Q23564 Q1850 Q585 Q406 Q34647 Q956 Q159273 Q64 Q65 Q60
action filter_type
action find
entity Q84
relation P190
type Q56061
[ANSWERS] are sister towns of that one
SELECT DISTINCT ?f WHERE { resource:Q84 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Shanghai Delhi Moscow Sofia Santo Domingo Baku New Delhi Mumbai Jakarta Sylhet Algiers Tokyo Podgorica Phnom Penh Oslo Istanbul Johannesburg Beijing Arequipa Berlin Los Angeles New York City
Moscow, Shanghai and Berlin are sister towns of that one
Moscow Shanghai Berlin
action filter_type
action find
entity London
relation sister city
type administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:London property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q649 Q8686 Q64
P159
Q1269299
USER
Which business organizations have the principal seat at Moscow, Shanghai and Berlin ?
(c(Q1269299),P159,Q649) (c(Q1269299),P159,Q8686) (c(Q1269299),P159,Q64)
action union
action filter_type
action find_reverse
entity Q649
relation P159
type Q1269299
action filter_type
action find_reverse
entity Q8686
relation P159
type Q1269299
action filter_type
action find_reverse
entity Q64
relation P159
type Q1269299
[{'concept': 'Q1269299'}, 'P159', 'Q649'] [{'concept': 'Q1269299'}, 'P159', 'Q8686'] [{'concept': 'Q1269299'}, 'P159', 'Q64']
SELECT DISTINCT ?q WHERE { { ?q property:P159 resource:Q649 . ?q rdf:type ontology:Q1269299 } UNION { ?q property:P159 resource:Q8686 . ?q rdf:type ontology:Q1269299 } }
Moscow Shanghai Berlin
action union
action filter_type
action find_reverse
entity Moscow
relation headquarters location
type type of business entity
action filter_type
action find_reverse
entity Shanghai
relation headquarters location
type type of business entity
action filter_type
action find_reverse
entity Berlin
relation headquarters location
type type of business entity
[{'concept': 'type of business entity'}, 'headquarters location', 'Moscow'] [{'concept': 'type of business entity'}, 'headquarters location', 'Shanghai'] [{'concept': 'type of business entity'}, 'headquarters location', 'Berlin']
SELECT DISTINCT ?q WHERE { { ?q property:headquarters_location resource:Moscow . ?q rdf:type ontology:type_of_business_entity } UNION { ?q property:headquarters_location resource:Shanghai . ?q rdf:type ontology:type_of_business_entity } }
[]
type of business entity
Q58707 Q1136226 Q1562664
SYSTEM
Aeroflot, United Aircraft Corporation, OJSC VimpelCom
Q1562664 Q1136226 Q193007 Q329347 Q386414 Q1353090 Q2537294 Q58707 Q1197016 Q4232167 Q4101910 Q899012 Q2133605 Q2632892 Q205012 Q42232 Q330067 Q294508 Q1840188 Q4355209 Q514140 Q938668 Q751992 Q163560 Q15291481 Q147261 Q14592178 Q2384503 Q447409
(c(Q1269299),P159,Q649) (c(Q1269299),P159,Q8686) (c(Q1269299),P159,Q64)
action union
action filter_type
action find_reverse
entity Q649
relation P159
type Q1269299
action filter_type
action find_reverse
entity Q8686
relation P159
type Q1269299
action filter_type
action find_reverse
entity Q64
relation P159
type Q1269299
[ANSWERS] have the principal seat at Moscow, Shanghai and Berlin
[{'concept': 'Q1269299'}, 'P159', 'Q649'] [{'concept': 'Q1269299'}, 'P159', 'Q8686'] [{'concept': 'Q1269299'}, 'P159', 'Q64']
SELECT DISTINCT ?q WHERE { { ?q property:P159 resource:Q649 . ?q rdf:type ontology:Q1269299 } UNION { ?q property:P159 resource:Q8686 . ?q rdf:type ontology:Q1269299 } }
OJSC VimpelCom United Aircraft Corporation Sukhoi Lukoil PhosAgro Rosoboronexport All-Russia State Television and Radio Broadcasting Company Aeroflot Khrunichev State Research and Production Space Center Coordination Center for TLD RU VID Sibur Goznak Moscow Exchange Sberbank of Russia Mail.ru Channel One Russia ALROSA State Corporation for Assistance to Development, Production and Export of Advanced Technology Industrial Product «Rostec» Russian Satellite Communications Company Rosatom Nuclear Energy State Corporation Sina Corp Shenergy Company Axel Springer SE Ampya Zapf Umzüge TV+Synchron TLG IMMOBILIEN CargoLifter
Aeroflot, United Aircraft Corporation and OJSC VimpelCom have the principal seat at Moscow, Shanghai and Berlin
Aeroflot United Aircraft Corporation OJSC VimpelCom
action union
action filter_type
action find_reverse
entity Moscow
relation headquarters location
type type of business entity
action filter_type
action find_reverse
entity Shanghai
relation headquarters location
type type of business entity
action filter_type
action find_reverse
entity Berlin
relation headquarters location
type type of business entity
[{'concept': 'type of business entity'}, 'headquarters location', 'Moscow'] [{'concept': 'type of business entity'}, 'headquarters location', 'Shanghai'] [{'concept': 'type of business entity'}, 'headquarters location', 'Berlin']
SELECT DISTINCT ?q WHERE { { ?q property:headquarters_location resource:Moscow . ?q rdf:type ontology:type_of_business_entity } UNION { ?q property:headquarters_location resource:Shanghai . ?q rdf:type ontology:type_of_business_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q58707
P355
Q2324993
USER
Which branch is that business organization the subsidiary of ?
(c(Q2324993),P355,Q58707)
action filter_type
action find_reverse
entity Q58707
relation P355
type Q2324993
[{'concept': 'Q2324993'}, 'P355', 'Q58707']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2324993 . ?o property:P355 resource:Q58707 }
Aeroflot
action filter_type
action find_reverse
entity Aeroflot
relation subsidiary
type branch
[{'concept': 'branch'}, 'subsidiary', 'Aeroflot']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:branch . ?o property:subsidiary resource:Aeroflot }
[]
branch
Clarification for simple ques.
Q58707
SYSTEM
Did you mean Aeroflot ?
Q58707 Q1136226 Q1562664
(c(Q2324993),P355,Q58707) (c(Q2324993),P355,Q1136226) (c(Q2324993),P355,Q1562664)
[ANSWER]
[{'concept': 'Q2324993'}, 'P355', 'Q58707'] [{'concept': 'Q2324993'}, 'P355', 'Q1136226'] [{'concept': 'Q2324993'}, 'P355', 'Q1562664']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2324993 . ?o property:P355 resource:Q58707 }
Aeroflot United Aircraft Corporation OJSC VimpelCom
Did you mean Aeroflot ?
Aeroflot
[{'concept': 'branch'}, 'subsidiary', 'Aeroflot'] [{'concept': 'branch'}, 'subsidiary', 'United Aircraft Corporation'] [{'concept': 'branch'}, 'subsidiary', 'OJSC VimpelCom']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:branch . ?o property:subsidiary resource:Aeroflot }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2324993),P355,Q58707)
[{'concept': 'Q2324993'}, 'P355', 'Q58707']
[{'concept': 'branch'}, 'subsidiary', 'Aeroflot']
[]
Q1140115
SYSTEM
Government of the Russian Federation
Q1140115
(c(Q2324993),P355,Q58707)
action filter_type
action find_reverse
entity Q58707
relation P355
type Q2324993
The [ANSWER] is that business organization the subsidiary of
[{'concept': 'Q2324993'}, 'P355', 'Q58707']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2324993 . ?o property:P355 resource:Q58707 }
Government of the Russian Federation
The Government of the Russian Federation is that business organization the subsidiary of
Government of the Russian Federation
action filter_type
action find_reverse
entity Aeroflot
relation subsidiary
type branch
[{'concept': 'branch'}, 'subsidiary', 'Aeroflot']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:branch . ?o property:subsidiary resource:Aeroflot }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1140115 Q159 Q6669552
P17
Q15617994
USER
Is that branch located in Russia and Lompoc Unified School District ?
(Q1140115,P17,Q159) (Q1140115,P17,Q6669552)
action is_in
entity Q1140115
action intersection
action find_reverse
entity Q159
relation P17
action find_reverse
entity Q6669552
relation P17
['Q1140115', 'P17', 'Q159'] ['Q1140115', 'P17', 'Q6669552']
ASK WHERE { resource:Q1140115 property:P17 resource:Q6669552 . resource:Q1140115 property:P17 resource:Q159 }
Government of the Russian Federation Russia Lompoc Unified School District
action is_in
entity Government of the Russian Federation
action intersection
action find_reverse
entity Russia
relation country
action find_reverse
entity Lompoc Unified School District
relation country
['Government of the Russian Federation', 'country', 'Russia'] ['Government of the Russian Federation', 'country', 'Lompoc Unified School District']
ASK WHERE { resource:Government_of_the_Russian_Federation property:country resource:Lompoc_Unified_School_District . resource:Government_of_the_Russian_Federation property:country resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q1140115,P17,Q159) (Q1140115,P17,Q6669552)
action is_in
entity Q1140115
action intersection
action find_reverse
entity Q159
relation P17
action find_reverse
entity Q6669552
relation P17
[ANSWER]
['Q1140115', 'P17', 'Q159'] ['Q1140115', 'P17', 'Q6669552']
ASK WHERE { resource:Q1140115 property:P17 resource:Q6669552 . resource:Q1140115 property:P17 resource:Q159 }
YES and NO respectively
action is_in
entity Government of the Russian Federation
action intersection
action find_reverse
entity Russia
relation country
action find_reverse
entity Lompoc Unified School District
relation country
['Government of the Russian Federation', 'country', 'Russia'] ['Government of the Russian Federation', 'country', 'Lompoc Unified School District']
ASK WHERE { resource:Government_of_the_Russian_Federation property:country resource:Lompoc_Unified_School_District . resource:Government_of_the_Russian_Federation property:country resource:Russia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1140115
P361
Q4164871
USER
Which positions are a part of Government of the Russian Federation ?
(c(Q4164871),P361,Q1140115)
action filter_type
action find_reverse
entity Q1140115
relation P361
type Q4164871
[{'concept': 'Q4164871'}, 'P361', 'Q1140115']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q1140115 . ?g rdf:type ontology:Q4164871 }
Government of the Russian Federation
action filter_type
action find_reverse
entity Government of the Russian Federation
relation part of
type position
[{'concept': 'position'}, 'part of', 'Government of the Russian Federation']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:Government_of_the_Russian_Federation . ?g rdf:type ontology:position }
[]
position
Q1965788 Q15620328
SYSTEM
First Deputy Chairman of the Government of the Russian Federation, federal minister of Russia
Q1965788 Q15620328
(c(Q4164871),P361,Q1140115)
action filter_type
action find_reverse
entity Q1140115
relation P361
type Q4164871
The [ANSWERS] are a part of Government of the Russian Federation
[{'concept': 'Q4164871'}, 'P361', 'Q1140115']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q1140115 . ?g rdf:type ontology:Q4164871 }
First Deputy Chairman of the Government of the Russian Federation federal minister of Russia
The First Deputy Chairman of the Government of the Russian Federation and federal minister of Russia are a part of Government of the Russian Federation
First Deputy Chairman of the Government of the Russian Federation federal minister of Russia
action filter_type
action find_reverse
entity Government of the Russian Federation
relation part of
type position
[{'concept': 'position'}, 'part of', 'Government of the Russian Federation']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:Government_of_the_Russian_Federation . ?g rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P1408
Q4830453
USER
Which business enterprise has license to broadcast to Moscow ?
(c(Q4830453),P1408,Q649)
action filter_type
action find_reverse
entity Q649
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q649']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q4830453 . ?u property:P1408 resource:Q649 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Moscow']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:business_enterprise . ?u property:licensed_to_broadcast_to resource:Moscow }
[]
business enterprise
Q6554913
SYSTEM
NRJ Russia
Q6554913
(c(Q4830453),P1408,Q649)
action filter_type
action find_reverse
entity Q649
relation P1408
type Q4830453
[ANSWER] has license to broadcast to Moscow
[{'concept': 'Q4830453'}, 'P1408', 'Q649']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q4830453 . ?u property:P1408 resource:Q649 }
NRJ Russia
NRJ Russia has license to broadcast to Moscow
NRJ Russia
action filter_type
action find_reverse
entity Moscow
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Moscow']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:business_enterprise . ?u property:licensed_to_broadcast_to resource:Moscow }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P355
Q43229
USER
Which organization is the parent company of Moscow ?
(c(Q43229),P355,Q649)
action filter_type
action find_reverse
entity Q649
relation P355
type Q43229
[{'concept': 'Q43229'}, 'P355', 'Q649']
SELECT DISTINCT ?q WHERE { ?q property:P355 resource:Q649 . ?q rdf:type ontology:Q43229 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Moscow']
SELECT DISTINCT ?q WHERE { ?q property:subsidiary resource:Moscow . ?q rdf:type ontology:organization }
[]
organization
Q17142365
SYSTEM
Infobip
Q17142365
(c(Q43229),P355,Q649)
action filter_type
action find_reverse
entity Q649
relation P355
type Q43229
[ANSWER] is the parent company of Moscow
[{'concept': 'Q43229'}, 'P355', 'Q649']
SELECT DISTINCT ?q WHERE { ?q property:P355 resource:Q649 . ?q rdf:type ontology:Q43229 }
Infobip
Infobip is the parent company of Moscow
Infobip
action filter_type
action find_reverse
entity Moscow
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Moscow']
SELECT DISTINCT ?q WHERE { ?q property:subsidiary resource:Moscow . ?q rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P6
Q502895
USER
Which people do Moscow serve as the head of government for ?
(Q649,P6,c(Q502895))
action filter_type
action find
entity Q649
relation P6
type Q502895
['Q649', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q649 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Moscow
action filter_type
action find
entity Moscow
relation head of government
type common name
['Moscow', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Moscow property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
common name
Q156379 Q319497 Q735373
SYSTEM
Yury Luzhkov, Sergey Sobyanin, Gavriil Kharitonovich Popov
Q156379 Q319497 Q735373
(Q649,P6,c(Q502895))
action filter_type
action find
entity Q649
relation P6
type Q502895
Moscow serve by [ANSWERS] as the head of government
['Q649', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q649 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Yury Luzhkov Sergey Sobyanin Gavriil Kharitonovich Popov
Moscow serve by Yury Luzhkov, Sergey Sobyanin and Gavriil Kharitonovich Popov as the head of government
Yury Luzhkov Sergey Sobyanin Gavriil Kharitonovich Popov
action filter_type
action find
entity Moscow
relation head of government
type common name
['Moscow', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Moscow property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q109036
Q502895
USER
And also tell me about Haugesund?
(Q109036,P6,c(Q502895))
action filter_type
action find
entity Q109036
relation P6
type Q502895
['Q109036', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q109036 property:P6 ?a }
Haugesund
action filter_type
action find
entity Haugesund
relation head of government
type common name
['Haugesund', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Haugesund property:head_of_government ?a }
[]
common name
Q6514210
SYSTEM
Petter Steen jr.
Q6514210
(Q109036,P6,c(Q502895))
action filter_type
action find
entity Q109036
relation P6
type Q502895
[ANSWER]
['Q109036', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q109036 property:P6 ?a }
Petter Steen jr.
Petter Steen jr.
action filter_type
action find
entity Haugesund
relation head of government
type common name
['Haugesund', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Haugesund property:head_of_government ?a }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12009675 Q6514210
P6
Q13220204
USER
Which administrative country subdivisions have their government headed by Petter Steen jr. or Vidar Lande ?
OR((c(Q13220204),P6,Q6514210), (c(Q13220204),P6,Q12009675))
action filter_type
action union
action find_reverse
entity Q6514210
relation P6
action find_reverse
entity Q12009675
relation P6
type Q13220204
{'OR': [[{'concept': 'Q13220204'}, 'P6', 'Q6514210'], [{'concept': 'Q13220204'}, 'P6', 'Q12009675']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q13220204 . { VALUES ( ?v ) { ( resource:Q6514210 ) ( resource:Q12009675 ) } . ?x property:P6 ?v } }
Vidar Lande Petter Steen jr.
action filter_type
action union
action find_reverse
entity Petter Steen jr.
relation head of government
action find_reverse
entity Vidar Lande
relation head of government
type second-level administrative country subdivision
{'OR': [[{'concept': 'second-level administrative country subdivision'}, 'head of government', 'Petter Steen jr.'], [{'concept': 'second-level administrative country subdivision'}, 'head of government', 'Vidar Lande']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:second-level_administrative_country_subdivision . { VALUES ( ?v ) { ( resource:Petter_Steen_jr. ) ( resource:Vidar_Lande ) } . ?x property:head_of_government ?v } }
[]
second-level administrative country subdivision
Q108988 Q109036
SYSTEM
Kongsberg, Haugesund
Q108988 Q109036
OR((c(Q13220204),P6,Q6514210), (c(Q13220204),P6,Q12009675))
action filter_type
action union
action find_reverse
entity Q6514210
relation P6
action find_reverse
entity Q12009675
relation P6
type Q13220204
[ANSWERS] have their government headed by Petter Steen jr. or Vidar Lande
{'OR': [[{'concept': 'Q13220204'}, 'P6', 'Q6514210'], [{'concept': 'Q13220204'}, 'P6', 'Q12009675']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q13220204 . { VALUES ( ?v ) { ( resource:Q6514210 ) ( resource:Q12009675 ) } . ?x property:P6 ?v } }
Kongsberg Haugesund
Kongsberg and Haugesund have their government headed by Petter Steen jr. or Vidar Lande
Kongsberg Haugesund
action filter_type
action union
action find_reverse
entity Petter Steen jr.
relation head of government
action find_reverse
entity Vidar Lande
relation head of government
type second-level administrative country subdivision
{'OR': [[{'concept': 'second-level administrative country subdivision'}, 'head of government', 'Petter Steen jr.'], [{'concept': 'second-level administrative country subdivision'}, 'head of government', 'Vidar Lande']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:second-level_administrative_country_subdivision . { VALUES ( ?v ) { ( resource:Petter_Steen_jr. ) ( resource:Vidar_Lande ) } . ?x property:head_of_government ?v } }
[]