Simple Question (Direct)
Simple Question
Q27038739
P22
Q502895
USER
Who was the dad of Bedřich Lobkowicz ?
(Q27038739,P22,c(Q502895))
action filter_type
action find
entity Q27038739
relation P22
type Q502895
['Q27038739', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q27038739 property:P22 ?a . ?a rdf:type ontology:Q502895 }
Bedřich Lobkowicz
action filter_type
action find
entity Bedřich Lobkowicz
relation father
type common name
['Bedřich Lobkowicz', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Bedřich_Lobkowicz property:father ?a . ?a rdf:type ontology:common_name }
[]
common name
Q328599
SYSTEM
Georg Christian, Prince of Lobkowicz
Q328599
(Q27038739,P22,c(Q502895))
action filter_type
action find
entity Q27038739
relation P22
type Q502895
The dad of Bedřich Lobkowicz was Prince [ANSWER]
['Q27038739', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q27038739 property:P22 ?a . ?a rdf:type ontology:Q502895 }
Georg Christian, Prince of Lobkowicz
The dad of Bedřich Lobkowicz was Prince Georg Christian, Prince of Lobkowicz
Georg Christian, Prince of Lobkowicz
action filter_type
action find
entity Bedřich Lobkowicz
relation father
type common name
['Bedřich Lobkowicz', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Bedřich_Lobkowicz property:father ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q328599
P40
Q502895
USER
Which person has that one as an offspring ?
(c(Q502895),P40,Q328599)
action filter_type
action find_reverse
entity Q328599
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q328599']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q328599 }
Georg Christian, Prince of Lobkowicz
action filter_type
action find_reverse
entity Georg Christian, Prince of Lobkowicz
relation child
type common name
[{'concept': 'common name'}, 'child', 'Georg Christian, Prince of Lobkowicz']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Georg_Christian,_Prince_of_Lobkowicz }
[]
common name
Q23902884
SYSTEM
August Longin Lobkowicz
Q23902884
(c(Q502895),P40,Q328599)
action filter_type
action find_reverse
entity Q328599
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q328599']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q328599 }
August Longin Lobkowicz
August Longin Lobkowicz has that one as an offspring
August Longin Lobkowicz
action filter_type
action find_reverse
entity Georg Christian, Prince of Lobkowicz
relation child
type common name
[{'concept': 'common name'}, 'child', 'Georg Christian, Prince of Lobkowicz']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Georg_Christian,_Prince_of_Lobkowicz }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q23902884 Q3777311
P40
Q502895
USER
Is Kei Enue a child of that one ?
(Q23902884,P40,Q3777311)
action is_in
entity Q3777311
action find
entity Q23902884
relation P40
['Q23902884', 'P40', 'Q3777311']
ASK WHERE { resource:Q23902884 property:P40 resource:Q3777311 }
August Longin Lobkowicz Kei Enue
action is_in
entity Kei Enue
action find
entity August Longin Lobkowicz
relation child
['August Longin Lobkowicz', 'child', 'Kei Enue']
ASK WHERE { resource:August_Longin_Lobkowicz property:child resource:Kei_Enue }
[]
common name
SYSTEM
NO
(Q23902884,P40,Q3777311)
action is_in
entity Q3777311
action find
entity Q23902884
relation P40
[ANSWER]
['Q23902884', 'P40', 'Q3777311']
ASK WHERE { resource:Q23902884 property:P40 resource:Q3777311 }
No
action is_in
entity Kei Enue
action find
entity August Longin Lobkowicz
relation child
['August Longin Lobkowicz', 'child', 'Kei Enue']
ASK WHERE { resource:August_Longin_Lobkowicz property:child resource:Kei_Enue }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q328599 Q5517637 Q5855455
P20
Q56061
USER
Does Georg Christian, Prince of Lobkowicz have Gajulamandyam and Dilaj Mahalleh as the area of death ?
(Q328599,P20,Q5517637) (Q328599,P20,Q5855455)
action is_in
entity Q328599
action intersection
action find_reverse
entity Q5517637
relation P20
action find_reverse
entity Q5855455
relation P20
['Q328599', 'P20', 'Q5517637'] ['Q328599', 'P20', 'Q5855455']
ASK WHERE { resource:Q328599 property:P20 resource:Q5517637 . resource:Q328599 property:P20 resource:Q5855455 }
Georg Christian, Prince of Lobkowicz Gajulamandyam Dilaj Mahalleh
action is_in
entity Georg Christian, Prince of Lobkowicz
action intersection
action find_reverse
entity Gajulamandyam
relation place of death
action find_reverse
entity Dilaj Mahalleh
relation place of death
['Georg Christian, Prince of Lobkowicz', 'place of death', 'Gajulamandyam'] ['Georg Christian, Prince of Lobkowicz', 'place of death', 'Dilaj Mahalleh']
ASK WHERE { resource:Georg_Christian,_Prince_of_Lobkowicz property:place_of_death resource:Gajulamandyam . resource:Georg_Christian,_Prince_of_Lobkowicz property:place_of_death resource:Dilaj_Mahalleh }
[]
administrative territorial entity
SYSTEM
NO
(Q328599,P20,Q5517637) (Q328599,P20,Q5855455)
action is_in
entity Q328599
action intersection
action find_reverse
entity Q5517637
relation P20
action find_reverse
entity Q5855455
relation P20
[ANSWER]
['Q328599', 'P20', 'Q5517637'] ['Q328599', 'P20', 'Q5855455']
ASK WHERE { resource:Q328599 property:P20 resource:Q5517637 . resource:Q328599 property:P20 resource:Q5855455 }
No
action is_in
entity Georg Christian, Prince of Lobkowicz
action intersection
action find_reverse
entity Gajulamandyam
relation place of death
action find_reverse
entity Dilaj Mahalleh
relation place of death
['Georg Christian, Prince of Lobkowicz', 'place of death', 'Gajulamandyam'] ['Georg Christian, Prince of Lobkowicz', 'place of death', 'Dilaj Mahalleh']
ASK WHERE { resource:Georg_Christian,_Prince_of_Lobkowicz property:place_of_death resource:Gajulamandyam . resource:Georg_Christian,_Prince_of_Lobkowicz property:place_of_death resource:Dilaj_Mahalleh }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q23902884 Q1741
P20
Q56061
USER
Did the expiration of that person occur Vienna ?
(Q23902884,P20,Q1741)
action is_in
entity Q1741
action find
entity Q23902884
relation P20
['Q23902884', 'P20', 'Q1741']
ASK WHERE { resource:Q23902884 property:P20 resource:Q1741 }
August Longin Lobkowicz Vienna
action is_in
entity Vienna
action find
entity August Longin Lobkowicz
relation place of death
['August Longin Lobkowicz', 'place of death', 'Vienna']
ASK WHERE { resource:August_Longin_Lobkowicz property:place_of_death resource:Vienna }
[]
administrative territorial entity
SYSTEM
YES
(Q23902884,P20,Q1741)
action is_in
entity Q1741
action find
entity Q23902884
relation P20
[ANSWER]
['Q23902884', 'P20', 'Q1741']
ASK WHERE { resource:Q23902884 property:P20 resource:Q1741 }
Yes
action is_in
entity Vienna
action find
entity August Longin Lobkowicz
relation place of death
['August Longin Lobkowicz', 'place of death', 'Vienna']
ASK WHERE { resource:August_Longin_Lobkowicz property:place_of_death resource:Vienna }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q277233 Q5855455
P17
Q15617994
USER
Which administrative territories are Dilaj Mahalleh or Shanting District situated in ?
OR((Q5855455,P17,c(Q15617994)), (Q277233,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5855455
relation P17
action find
entity Q277233
relation P17
type Q15617994
{'OR': [['Q5855455', 'P17', {'concept': 'Q15617994'}], ['Q277233', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?k ) { ( resource:Q5855455 ) ( resource:Q277233 ) } . ?k property:P17 ?u } . ?u rdf:type ontology:Q15617994 }
Shanting District Dilaj Mahalleh
action filter_type
action union
action find
entity Dilaj Mahalleh
relation country
action find
entity Shanting District
relation country
type designation for an administrative territorial entity
{'OR': [['Dilaj Mahalleh', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Shanting District', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?k ) { ( resource:Dilaj_Mahalleh ) ( resource:Shanting_District ) } . ?k property:country ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q794
SYSTEM
People's Republic of China, Iran
Q148 Q794
OR((Q5855455,P17,c(Q15617994)), (Q277233,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5855455
relation P17
action find
entity Q277233
relation P17
type Q15617994
Dilaj Mahalleh or Shanting District are situated in [ANSWERS]
{'OR': [['Q5855455', 'P17', {'concept': 'Q15617994'}], ['Q277233', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?k ) { ( resource:Q5855455 ) ( resource:Q277233 ) } . ?k property:P17 ?u } . ?u rdf:type ontology:Q15617994 }
People's Republic of China Iran
Dilaj Mahalleh or Shanting District are situated in People's Republic of China and Iran
People's Republic of China Iran
action filter_type
action union
action find
entity Dilaj Mahalleh
relation country
action find
entity Shanting District
relation country
type designation for an administrative territorial entity
{'OR': [['Dilaj Mahalleh', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Shanting District', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?k ) { ( resource:Dilaj_Mahalleh ) ( resource:Shanting_District ) } . ?k property:country ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P840
Q234460 Q2342494
USER
How many texts and collectables have their setting located at that administrative territory ?
(c(Q234460),P840,Q148) (c(Q2342494),P840,Q148) (c(Q234460),P840,Q148) (c(Q2342494),P840,Q148) (c(Q234460),P840,Q794) (c(Q2342494),P840,Q794)
[{'concept': 'Q234460'}, 'P840', 'Q148'] [{'concept': 'Q2342494'}, 'P840', 'Q148'] [{'concept': 'Q234460'}, 'P840', 'Q148'] [{'concept': 'Q2342494'}, 'P840', 'Q148'] [{'concept': 'Q234460'}, 'P840', 'Q794'] [{'concept': 'Q2342494'}, 'P840', 'Q794']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P840 resource:Q10956965 } UNION { ?y property:P840 resource:Q10956965 } UNION { ?z property:P840 resource:Q10956965 } UNION { ?y property:P840 resource:Q10956965 } UNION { ?z property:P840 resource:Q17715246 } UNION { ?y property:P840 resource:Q17715246 } } . ?z rdf:type ontology:Q234460 . ?y rdf:type ontology:Q2342494 }
[{'concept': 'text'}, 'narrative location', "People's Republic of China"] [{'concept': 'collectable'}, 'narrative location', "People's Republic of China"] [{'concept': 'text'}, 'narrative location', "People's Republic of China"] [{'concept': 'collectable'}, 'narrative location', "People's Republic of China"] [{'concept': 'text'}, 'narrative location', 'Iran'] [{'concept': 'collectable'}, 'narrative location', 'Iran']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:narrative_location resource:People's_Republic_of_China } UNION { ?y property:narrative_location resource:People's_Republic_of_China } UNION { ?z property:narrative_location resource:People's_Republic_of_China } UNION { ?y property:narrative_location resource:People's_Republic_of_China } UNION { ?z property:narrative_location resource:Iran } UNION { ?y property:narrative_location resource:Iran } } . ?z rdf:type ontology:text . ?y rdf:type ontology:collectable }
[]
text collectable
Quantitative|Count|Mult. entity type|Clarification
Q148
SYSTEM
Did you mean People's Republic of China ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P840 resource:Q10956965 } UNION { ?y property:P840 resource:Q10956965 } UNION { ?z property:P840 resource:Q10956965 } UNION { ?y property:P840 resource:Q10956965 } UNION { ?z property:P840 resource:Q17715246 } UNION { ?y property:P840 resource:Q17715246 } } . ?z rdf:type ontology:Q234460 . ?y rdf:type ontology:Q2342494 }
Did you mean People's Republic of China ?
People's Republic of China
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:narrative_location resource:People's_Republic_of_China } UNION { ?y property:narrative_location resource:People's_Republic_of_China } UNION { ?z property:narrative_location resource:People's_Republic_of_China } UNION { ?y property:narrative_location resource:People's_Republic_of_China } UNION { ?z property:narrative_location resource:Iran } UNION { ?y property:narrative_location resource:Iran } } . ?z rdf:type ontology:text . ?y rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q234460),P840,Q148) (c(Q2342494),P840,Q148) (c(Q234460),P840,Q148) (c(Q2342494),P840,Q148) (c(Q234460),P840,Q794) (c(Q2342494),P840,Q794)
[{'concept': 'Q234460'}, 'P840', 'Q148'] [{'concept': 'Q2342494'}, 'P840', 'Q148'] [{'concept': 'Q234460'}, 'P840', 'Q148'] [{'concept': 'Q2342494'}, 'P840', 'Q148'] [{'concept': 'Q234460'}, 'P840', 'Q794'] [{'concept': 'Q2342494'}, 'P840', 'Q794']
[{'concept': 'text'}, 'narrative location', "People's Republic of China"] [{'concept': 'collectable'}, 'narrative location', "People's Republic of China"] [{'concept': 'text'}, 'narrative location', "People's Republic of China"] [{'concept': 'collectable'}, 'narrative location', "People's Republic of China"] [{'concept': 'text'}, 'narrative location', 'Iran'] [{'concept': 'collectable'}, 'narrative location', 'Iran']
[]
SYSTEM
1 texts and 98 collectables
Q2412167 Q795340 Q7712584 Q7562273 Q5756330 Q805878 Q2026316 Q1219561 Q5694707 Q4878912 Q9561509 Q14981122 Q6538959 Q7727307 Q7727306 Q1618413 Q5305293 Q3115559 Q7763649 Q7733522 Q1857708 Q957514 Q5099897 Q7235922 Q8000522 Q1218608 Q5306739 Q6878230 Q7303947 Q1761275 Q8050993 Q7760638 Q1248108 Q7318710 Q14981259 Q1760054 Q8058128 Q630508 Q7761894 Q3221649 Q1757435 Q7081401 Q4657416 Q7722543 Q2648753 Q7733223 Q4657995 Q151919 Q1810233 Q14981174 Q7710464 Q5329692 Q7752176 Q7560131 Q1757697 Q3813360 Q7732793 Q2606320 Q5467322 Q3589343 Q7992972 Q7968548 Q4656432 Q976946 Q7992715 Q3790616 Q7740648 Q7960537 Q3822357 Q14981199 Q708490 Q5305183 Q1144607 Q4215790 Q692350 Q5100417 Q3899660 Q7097667 Q7742275 Q4881114 Q3795042 Q2005927 Q14981183 Q14981188 Q6347446 Q2606026 Q1964483 Q6928995 Q6851940 Q5462184 Q3209149 Q5608726 Q6072278 Q7097585 Q3823169 Q5305167 Q5447865 Q14981139 Q3205713
(c(Q234460),P840,Q148) (c(Q2342494),P840,Q148) (c(Q234460),P840,Q148) (c(Q2342494),P840,Q148) (c(Q234460),P840,Q794) (c(Q2342494),P840,Q794)
[ANSWER]
[{'concept': 'Q234460'}, 'P840', 'Q148'] [{'concept': 'Q2342494'}, 'P840', 'Q148'] [{'concept': 'Q234460'}, 'P840', 'Q148'] [{'concept': 'Q2342494'}, 'P840', 'Q148'] [{'concept': 'Q234460'}, 'P840', 'Q794'] [{'concept': 'Q2342494'}, 'P840', 'Q794']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P840 resource:Q10956965 } UNION { ?y property:P840 resource:Q10956965 } UNION { ?z property:P840 resource:Q10956965 } UNION { ?y property:P840 resource:Q10956965 } UNION { ?z property:P840 resource:Q17715246 } UNION { ?y property:P840 resource:Q17715246 } } . ?z rdf:type ontology:Q234460 . ?y rdf:type ontology:Q2342494 }
Empire of the Sun The Painted Veil The Adventures of Mao on the Long March Sons High Road to China Balzac and the Little Chinese Seamstress Operation Red Jericho Around the World in Eighty Days Heaven Lake Becoming Madame Mao Shou huo A Case of Two Cities Li Lun, Lad of Courage The Concubine's Secret The Concubine's Children Man's Fate Dragon Strike Wolf Totem The Shanghai Moon The Fat Years The Joy Luck Club The Kitchen God's Wife China Sky Pow! Wild Beast The Good Earth Dreams of Joy Missee Lee Red Crag Red Azalea Years of Red Dust The Rice Sprout Song A Many-Splendoured Thing Revolution is Not a Dinner Party The Woman Warrior Soul Mountain Young Fu of the Upper Yangtze Snow Flower and the Secret Fan The Russian Concubine Mr. Muo's Travelling Couch The Republic of Wine Oil for the Lamps of China A House Divided The China Doll The Emperor's Code The Fall of the Pagoda A Loyal Character Dancer To Live The White Tiger In the Pond Thank You, Mr. Moto East Wind: West Wind The Moon of Much Gladness Something Like a House Life and Death Are Wearing Me Out Katherine The Exile The Chess Master Forbidden City Wives and Concubines When the Enemy Is Tired War Trash A Dictionary of Maqiao Shanghai Baby When Red Is Black The Hundred Secret Senses The House of Sixty Fathers Waiting The Bonesetter's Daughter Lost in Translation (novel) When We Were Orphans Dragon Dance Golden Buddha The Family The Keys of the Kingdom Chinese Cinderella Saving Fish from Drowning Operation Typhoon Shore The Interior Beijing Coma Gather Yourselves Together The Man from Beijing K: The Art of Love Kai Lung Unrolls His Mat Kai Lung Beneath the Mulberry Tree The Ancient Ship Loving Sabotage Mr. Moto Is So Sorry Militarized Streets Flower Net Fortress Besieged Griever: An American Monkey King in China Iron & Silk Operation Storm City Death of a Red Heroine Dragon Bones Fighting Angel Dragon Seed (novel) The Island of Eternal Love
1 texts and 98 collectables
[{'concept': 'text'}, 'narrative location', "People's Republic of China"] [{'concept': 'collectable'}, 'narrative location', "People's Republic of China"] [{'concept': 'text'}, 'narrative location', "People's Republic of China"] [{'concept': 'collectable'}, 'narrative location', "People's Republic of China"] [{'concept': 'text'}, 'narrative location', 'Iran'] [{'concept': 'collectable'}, 'narrative location', 'Iran']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:narrative_location resource:People's_Republic_of_China } UNION { ?y property:narrative_location resource:People's_Republic_of_China } UNION { ?z property:narrative_location resource:People's_Republic_of_China } UNION { ?y property:narrative_location resource:People's_Republic_of_China } UNION { ?z property:narrative_location resource:Iran } UNION { ?y property:narrative_location resource:Iran } } . ?z rdf:type ontology:text . ?y rdf:type ontology:collectable }
[]
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 relations with around 17 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 17
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?o ) WHERE { ?w property:P530 ?d . ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?o = 17 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?o ) WHERE { ?w property:diplomatic_relation ?d . ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?o = 17 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 17
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?o ) WHERE { ?w property:P530 ?d . ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?o = 17 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?o ) WHERE { ?w property:diplomatic_relation ?d . ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?o = 17 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P1001
Q12737077
USER
Which occupations have jurisdiction over People's Republic of China ?
(c(Q12737077),P1001,Q148)
action filter_type
action find_reverse
entity Q148
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q148']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q148 . ?q rdf:type ontology:Q12737077 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', "People's Republic of China"]
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:People's_Republic_of_China . ?q rdf:type ontology:occupation }
[]
occupation
Q655407 Q553169 Q10301264
SYSTEM
President of the People's Republic of China, Vice President of the People's Republic of China, President of the Supreme People's Court of China
Q4122271 Q553169 Q7143813 Q23498524 Q655407 Q2708520 Q10297096 Q508368 Q17279702 Q10301264 Q17279714 Q10891456 Q17280143 Q17280153 Q2664362 Q6866288
(c(Q12737077),P1001,Q148)
action filter_type
action find_reverse
entity Q148
relation P1001
type Q12737077
The [ANSWERS] have jurisdiction over People's Republic of China
[{'concept': 'Q12737077'}, 'P1001', 'Q148']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q148 . ?q rdf:type ontology:Q12737077 }
Premier of the People's Republic of China Vice President of the People's Republic of China Secretary-General of the State Council Minister of Culture of the People's Republic of China President of the People's Republic of China Chairman of the Communist Party of China Minister of National Defense of the People’s Republic of China Vice Premier of the State Council of the People's Republic of China Minister of Justice of the People's Republic of China President of the Supreme People's Court of China Minister of State Security of the People's Republic of China member of the National People's Congress Minister of Agriculture of the People's Republic of China Minister of Commerce of the People's Republic of China Foreign Minister of the People's Republic of China Minister of Public Security of the People's Republic of China
The President of the People's Republic of China, Vice President of the People's Republic of China and President of the Supreme People's Court of China have jurisdiction over People's Republic of China
President of the People's Republic of China Vice President of the People's Republic of China President of the Supreme People's Court of China
action filter_type
action find_reverse
entity People's Republic of China
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', "People's Republic of China"]
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:People's_Republic_of_China . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P123
Q166142
USER
Which application produced People's Republic of China ?
(c(Q166142),P123,Q148)
action filter_type
action find_reverse
entity Q148
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q148']
SELECT DISTINCT ?b WHERE { ?b property:P123 resource:Q148 . ?b rdf:type ontology:Q166142 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation publisher
type application
[{'concept': 'application'}, 'publisher', "People's Republic of China"]
SELECT DISTINCT ?b WHERE { ?b property:publisher resource:People's_Republic_of_China . ?b rdf:type ontology:application }
[]
application
Q142972
SYSTEM
Perfect World
Q142972
(c(Q166142),P123,Q148)
action filter_type
action find_reverse
entity Q148
relation P123
type Q166142
[ANSWER] produced People's Republic of China
[{'concept': 'Q166142'}, 'P123', 'Q148']
SELECT DISTINCT ?b WHERE { ?b property:P123 resource:Q148 . ?b rdf:type ontology:Q166142 }
Perfect World
Perfect World produced People's Republic of China
Perfect World
action filter_type
action find_reverse
entity People's Republic of China
relation publisher
type application
[{'concept': 'application'}, 'publisher', "People's Republic of China"]
SELECT DISTINCT ?b WHERE { ?b property:publisher resource:People's_Republic_of_China . ?b rdf:type ontology:application }
[]