Simple Question (Direct)
Simple Question
Q433477
P1344
Q18608583
USER
Which recurring sporting events did Tian Liang take part in ?
(Q433477,P1344,c(Q18608583))
action filter_type
action find
entity Q433477
relation P1344
type Q18608583
['Q433477', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q18608583 . resource:Q433477 property:P1344 ?n }
Tian Liang
action filter_type
action find
entity Tian Liang
relation participant of
type recurring sporting event
['Tian Liang', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:recurring_sporting_event . resource:Tian_Liang property:participant_of ?n }
[]
recurring sporting event
Q244322 Q329679
SYSTEM
2010 Asian Games, 2006 Asian Games
Q244322 Q329679
(Q433477,P1344,c(Q18608583))
action filter_type
action find
entity Q433477
relation P1344
type Q18608583
Tian Liang took part in [ANSWERS]
['Q433477', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q18608583 . resource:Q433477 property:P1344 ?n }
2010 Asian Games 2006 Asian Games
Tian Liang took part in 2010 Asian Games and 2006 Asian Games
2010 Asian Games 2006 Asian Games
action filter_type
action find
entity Tian Liang
relation participant of
type recurring sporting event
['Tian Liang', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:recurring_sporting_event . resource:Tian_Liang property:participant_of ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q433477
P21
Q290
USER
What is the sex of Tian Liang ?
(Q433477,P21,c(Q290))
action filter_type
action find
entity Q433477
relation P21
type Q290
['Q433477', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q433477 property:P21 ?b . ?b rdf:type ontology:Q290 }
Tian Liang
action filter_type
action find
entity Tian Liang
relation gender
type sex
['Tian Liang', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Tian_Liang property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q433477,P21,c(Q290))
action filter_type
action find
entity Q433477
relation P21
type Q290
The sex of Tian Liang is the [ANSWER]
['Q433477', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q433477 property:P21 ?b . ?b rdf:type ontology:Q290 }
female
The sex of Tian Liang is the female
female
action filter_type
action find
entity Tian Liang
relation gender
type sex
['Tian Liang', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Tian_Liang property:gender ?b . ?b rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6166501 Q433477
P27
Q15617994
USER
Which administrative territories are Tian Liang or Jay Cohen an inhabitant of ?
OR((Q433477,P27,c(Q15617994)), (Q6166501,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q433477
relation P27
action find
entity Q6166501
relation P27
type Q15617994
{'OR': [['Q433477', 'P27', {'concept': 'Q15617994'}], ['Q6166501', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q6166501 property:P27 ?s } UNION { resource:Q433477 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Jay Cohen Tian Liang
action filter_type
action union
action find
entity Tian Liang
relation country of citizenship
action find
entity Jay Cohen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tian Liang', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jay Cohen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Jay_Cohen property:country_of_citizenship ?s } UNION { resource:Tian_Liang property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q30
SYSTEM
People's Republic of China, United States of America
Q148 Q30
OR((Q433477,P27,c(Q15617994)), (Q6166501,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q433477
relation P27
action find
entity Q6166501
relation P27
type Q15617994
[ANSWERS] are Tian Liang or Jay Cohen an inhabitant of
{'OR': [['Q433477', 'P27', {'concept': 'Q15617994'}], ['Q6166501', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q6166501 property:P27 ?s } UNION { resource:Q433477 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
People's Republic of China United States of America
People's Republic of China and United States of America are Tian Liang or Jay Cohen an inhabitant of
People's Republic of China United States of America
action filter_type
action union
action find
entity Tian Liang
relation country of citizenship
action find
entity Jay Cohen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tian Liang', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jay Cohen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Jay_Cohen property:country_of_citizenship ?s } UNION { resource:Tian_Liang property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q148 Q30
P47
Q15617994
USER
Which administrative territories are adjacent to People's Republic of China and United States of America ?
(Q148,P47,c(Q15617994)) (Q30,P47,c(Q15617994))
action union
action filter_type
action find
entity Q148
relation P47
type Q15617994
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q148', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { resource:Q148 property:P47 ?r . ?r rdf:type ontology:Q15617994 } UNION { resource:Q30 property:P47 ?r . ?r rdf:type ontology:Q15617994 } }
People's Republic of China United States of America
action union
action filter_type
action find
entity People's Republic of China
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
["People's Republic of China", 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { resource:People's_Republic_of_China property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:United_States_of_America property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q159 Q159 Q17
SYSTEM
Japan for 3rd, Russia for 1st, 2nd
Q711 Q836 Q837 Q232 Q813 Q843 Q17 Q819 Q863 Q881 Q889 Q668 Q423 Q159 Q884 Q917 Q702 Q804 Q159 Q683 Q96 Q786 Q241 Q17 Q710 Q717 Q678 Q790
(Q148,P47,c(Q15617994)) (Q30,P47,c(Q15617994))
action union
action filter_type
action find
entity Q148
relation P47
type Q15617994
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWERS]
['Q148', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { resource:Q148 property:P47 ?r . ?r rdf:type ontology:Q15617994 } UNION { resource:Q30 property:P47 ?r . ?r rdf:type ontology:Q15617994 } }
Mongolia Myanmar Nepal Kazakhstan Kyrgyzstan Pakistan Japan Laos Tajikistan Vietnam Afghanistan India North Korea Russia South Korea Bhutan Federated States of Micronesia Panama Russia Samoa Mexico Dominican Republic Cuba Japan Kiribati Venezuela Tonga Haiti
Russia, Russia and Japan are adjacent to People's Republic of China and United States of America
Russia Russia Japan
action union
action filter_type
action find
entity People's Republic of China
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
["People's Republic of China", 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { resource:People's_Republic_of_China property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:United_States_of_America property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]