Simple Question (Direct)
Simple Question
Q4105987
P512
Q3412758
USER
Which qualification does Aleksandr Veyn hold ?
(Q4105987,P512,c(Q3412758))
action filter_type
action find
entity Q4105987
relation P512
type Q3412758
['Q4105987', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?z WHERE { resource:Q4105987 property:P512 ?z . ?z rdf:type ontology:Q3412758 }
Aleksandr Veyn
action filter_type
action find
entity Aleksandr Veyn
relation academic degree
type qualification
['Aleksandr Veyn', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?z WHERE { resource:Aleksandr_Veyn property:academic_degree ?z . ?z rdf:type ontology:qualification }
[]
qualification
Q17281165
SYSTEM
Doktor Nauk in Medicine
Q17281165
(Q4105987,P512,c(Q3412758))
action filter_type
action find
entity Q4105987
relation P512
type Q3412758
Aleksandr Veyn holds the [ANSWER]
['Q4105987', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?z WHERE { resource:Q4105987 property:P512 ?z . ?z rdf:type ontology:Q3412758 }
Doktor Nauk in Medicine
Aleksandr Veyn holds the Doktor Nauk in Medicine
Doktor Nauk in Medicine
action filter_type
action find
entity Aleksandr Veyn
relation academic degree
type qualification
['Aleksandr Veyn', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?z WHERE { resource:Aleksandr_Veyn property:academic_degree ?z . ?z rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4105987
P19
Q7275
USER
Which state was that person born in ?
(Q17281165,P19,c(Q7275))
action filter_type
action find
entity Q4105987
relation P19
type Q7275
['Q17281165', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q4105987 property:P19 ?w . ?w rdf:type ontology:Q7275 }
Aleksandr Veyn
action filter_type
action find
entity Aleksandr Veyn
relation place of birth
type state
['Doktor Nauk in Medicine', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Aleksandr_Veyn property:place_of_birth ?w . ?w rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q17281165,P19,c(Q7275))
action filter_type
action find
entity Q4105987
relation P19
type Q7275
That person was born in [ANSWER]
['Q17281165', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q4105987 property:P19 ?w . ?w rdf:type ontology:Q7275 }
Soviet Union
That person was born in Soviet Union
Soviet Union
action filter_type
action find
entity Aleksandr Veyn
relation place of birth
type state
['Doktor Nauk in Medicine', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Aleksandr_Veyn property:place_of_birth ?w . ?w rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q15180 Q4060714
P27
Q502895
USER
Is Andrey Aldan-Semenov a native of that state ?
(Q4060714,P27,Q15180)
action is_in
entity Q15180
action find
entity Q4060714
relation P27
['Q4060714', 'P27', 'Q15180']
ASK WHERE { resource:Q4060714 property:P27 resource:Q15180 }
Soviet Union Andrey Aldan-Semenov
action is_in
entity Soviet Union
action find
entity Andrey Aldan-Semenov
relation country of citizenship
['Andrey Aldan-Semenov', 'country of citizenship', 'Soviet Union']
ASK WHERE { resource:Andrey_Aldan-Semenov property:country_of_citizenship resource:Soviet_Union }
[]
common name
SYSTEM
YES
(Q4060714,P27,Q15180)
action is_in
entity Q15180
action find
entity Q4060714
relation P27
[ANSWER]
['Q4060714', 'P27', 'Q15180']
ASK WHERE { resource:Q4060714 property:P27 resource:Q15180 }
Yes
action is_in
entity Soviet Union
action find
entity Andrey Aldan-Semenov
relation country of citizenship
['Andrey Aldan-Semenov', 'country of citizenship', 'Soviet Union']
ASK WHERE { resource:Andrey_Aldan-Semenov property:country_of_citizenship resource:Soviet_Union }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q17281165 Q6771848 Q159
P17
Q15617994
USER
Is Doktor Nauk in Medicine situated in Marlin Independent School District and Russia ?
(Q17281165,P17,Q6771848) (Q17281165,P17,Q159)
action is_in
entity Q17281165
action intersection
action find_reverse
entity Q6771848
relation P17
action find_reverse
entity Q159
relation P17
['Q17281165', 'P17', 'Q6771848'] ['Q17281165', 'P17', 'Q159']
ASK WHERE { resource:Q17281165 property:P17 resource:Q6771848 . resource:Q17281165 property:P17 resource:Q159 }
Doktor Nauk in Medicine Marlin Independent School District Russia
action is_in
entity Doktor Nauk in Medicine
action intersection
action find_reverse
entity Marlin Independent School District
relation country
action find_reverse
entity Russia
relation country
['Doktor Nauk in Medicine', 'country', 'Marlin Independent School District'] ['Doktor Nauk in Medicine', 'country', 'Russia']
ASK WHERE { resource:Doktor_Nauk_in_Medicine property:country resource:Marlin_Independent_School_District . resource:Doktor_Nauk_in_Medicine property:country resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q17281165,P17,Q6771848) (Q17281165,P17,Q159)
action is_in
entity Q17281165
action intersection
action find_reverse
entity Q6771848
relation P17
action find_reverse
entity Q159
relation P17
[ANSWER]
['Q17281165', 'P17', 'Q6771848'] ['Q17281165', 'P17', 'Q159']
ASK WHERE { resource:Q17281165 property:P17 resource:Q6771848 . resource:Q17281165 property:P17 resource:Q159 }
NO and YES respectively
action is_in
entity Doktor Nauk in Medicine
action intersection
action find_reverse
entity Marlin Independent School District
relation country
action find_reverse
entity Russia
relation country
['Doktor Nauk in Medicine', 'country', 'Marlin Independent School District'] ['Doktor Nauk in Medicine', 'country', 'Russia']
ASK WHERE { resource:Doktor_Nauk_in_Medicine property:country resource:Marlin_Independent_School_District . resource:Doktor_Nauk_in_Medicine property:country resource:Russia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q7275
USER
How many assemblies are the legislative bodies for atleast 3 states ?
(c(Q7275),P194,c(Q1752346))
action count
action atleast
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 3
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { FILTER ( ?v >= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P194 ?d . ?d rdf:type ontology:Q1752346 . ?q rdf:type ontology:Q7275 } GROUP BY ?d } }
action count
action atleast
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 3
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { FILTER ( ?v >= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:legislative_body ?d . ?d rdf:type ontology:assembly . ?q rdf:type ontology:state } GROUP BY ?d } }
[]
assembly state
SYSTEM
2
Q1371388 Q632552
(c(Q7275),P194,c(Q1752346))
action count
action atleast
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 3
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { FILTER ( ?v >= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P194 ?d . ?d rdf:type ontology:Q1752346 . ?q rdf:type ontology:Q7275 } GROUP BY ?d } }
States General French Parliament
2
action count
action atleast
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 3
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { FILTER ( ?v >= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:legislative_body ?d . ?d rdf:type ontology:assembly . ?q rdf:type ontology:state } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6488037 Q159
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with Russia and are Laoyachen Subdistrict a part of ?
AND((Q159,P530,c(Q15617994)), (Q6488037,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q159
relation P530
action find
entity Q6488037
relation P17
type Q15617994
{'AND': [['Q159', 'P530', {'concept': 'Q15617994'}], ['Q6488037', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q159 property:P530 ?r . resource:Q6488037 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Laoyachen Subdistrict Russia
action filter_type
action intersection
action find
entity Russia
relation diplomatic relation
action find
entity Laoyachen Subdistrict
relation country
type designation for an administrative territorial entity
{'AND': [['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Laoyachen Subdistrict', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Russia property:diplomatic_relation ?r . resource:Laoyachen_Subdistrict property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
AND((Q159,P530,c(Q15617994)), (Q6488037,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q159
relation P530
action find
entity Q6488037
relation P17
type Q15617994
[ANSWER] have diplomatic relations with Russia and are Laoyachen Subdistrict a part of
{'AND': [['Q159', 'P530', {'concept': 'Q15617994'}], ['Q6488037', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q159 property:P530 ?r . resource:Q6488037 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China have diplomatic relations with Russia and are Laoyachen Subdistrict a part of
People's Republic of China
action filter_type
action intersection
action find
entity Russia
relation diplomatic relation
action find
entity Laoyachen Subdistrict
relation country
type designation for an administrative territorial entity
{'AND': [['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Laoyachen Subdistrict', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Russia property:diplomatic_relation ?r . resource:Laoyachen_Subdistrict property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q148 Q7591383
P17
Q44539
USER
Is St. Peter's Episcopal Church of Germantown present in that administrative territory ?
(Q7591383,P17,Q148)
action is_in
entity Q7591383
action find
entity Q148
relation P17
['Q7591383', 'P17', 'Q148']
ASK WHERE { resource:Q148 property:P17 resource:Q7591383 }
People's Republic of China St. Peter's Episcopal Church of Germantown
action is_in
entity St. Peter's Episcopal Church of Germantown
action find
entity People's Republic of China
relation country
["St. Peter's Episcopal Church of Germantown", 'country', "People's Republic of China"]
ASK WHERE { resource:People's_Republic_of_China property:country resource:St._Peter's_Episcopal_Church_of_Germantown }
[]
temple
SYSTEM
NO
(Q7591383,P17,Q148)
action is_in
entity Q7591383
action find
entity Q148
relation P17
[ANSWER]
['Q7591383', 'P17', 'Q148']
ASK WHERE { resource:Q148 property:P17 resource:Q7591383 }
No
action is_in
entity St. Peter's Episcopal Church of Germantown
action find
entity People's Republic of China
relation country
["St. Peter's Episcopal Church of Germantown", 'country', "People's Republic of China"]
ASK WHERE { resource:People's_Republic_of_China property:country resource:St._Peter's_Episcopal_Church_of_Germantown }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q232
P85
Q7725634 Q484692 Q15617994
USER
How many administrative territories have greater number of literary works and hymns as their anthem than Kazakhstan ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q232
relation P85
type Q7725634
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?a ) WHERE { { ?e property:P85 ?q . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q484692 } UNION { ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q7725634 . ?e property:P85 ?q } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { VALUES ( ?k ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?y rdf:type ?k } . resource:Q232 property:P85 ?y } } . FILTER ( ?a > ?m ) }
Kazakhstan
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Kazakhstan
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?a ) WHERE { { ?e property:anthem ?q . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:hymn } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:literary_work . ?e property:anthem ?q } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { VALUES ( ?k ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?y rdf:type ?k } . resource:Kazakhstan property:anthem ?y } } . FILTER ( ?a > ?m ) }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
3
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q232
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?a ) WHERE { { ?e property:P85 ?q . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q484692 } UNION { ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q7725634 . ?e property:P85 ?q } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { VALUES ( ?k ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?y rdf:type ?k } . resource:Q232 property:P85 ?y } } . FILTER ( ?a > ?m ) }
Russia Belize Somalia
3
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Kazakhstan
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?a ) WHERE { { ?e property:anthem ?q . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:hymn } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:literary_work . ?e property:anthem ?q } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { VALUES ( ?k ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?y rdf:type ?k } . resource:Kazakhstan property:anthem ?y } } . FILTER ( ?a > ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q822
P85
Q7725634 Q484692 Q15617994
USER
And how about Lebanon?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q822
relation P85
type Q7725634
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?o ) WHERE { { ?t property:P85 ?z . ?z rdf:type ontology:Q7725634 . ?t rdf:type ontology:Q15617994 } UNION { ?t property:P85 ?z . ?t rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q484692 } } GROUP BY ?t } . FILTER ( ?o > ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q822 property:P85 ?l . { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } } } }
Lebanon
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Lebanon
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?o ) WHERE { { ?t property:anthem ?z . ?z rdf:type ontology:literary_work . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t property:anthem ?z . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:hymn } } GROUP BY ?t } . FILTER ( ?o > ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Lebanon property:anthem ?l . { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:hymn ) ( ontology:literary_work ) } } } } }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
3
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q822
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?o ) WHERE { { ?t property:P85 ?z . ?z rdf:type ontology:Q7725634 . ?t rdf:type ontology:Q15617994 } UNION { ?t property:P85 ?z . ?t rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q484692 } } GROUP BY ?t } . FILTER ( ?o > ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q822 property:P85 ?l . { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } } } }
Russia Belize Somalia
3
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Lebanon
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?o ) WHERE { { ?t property:anthem ?z . ?z rdf:type ontology:literary_work . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t property:anthem ?z . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:hymn } } GROUP BY ?t } . FILTER ( ?o > ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Lebanon property:anthem ?l . { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:hymn ) ( ontology:literary_work ) } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P840
Q234460
USER
Which text has its narrative set in People's Republic of China ?
(c(Q234460),P840,Q148)
action filter_type
action find_reverse
entity Q148
relation P840
type Q234460
[{'concept': 'Q234460'}, 'P840', 'Q148']
SELECT DISTINCT ?d WHERE { ?d property:P840 resource:Q148 . ?d rdf:type ontology:Q234460 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation narrative location
type text
[{'concept': 'text'}, 'narrative location', "People's Republic of China"]
SELECT DISTINCT ?d WHERE { ?d property:narrative_location resource:People's_Republic_of_China . ?d rdf:type ontology:text }
[]
text
Q3221649
SYSTEM
Mr. Muo's Travelling Couch
Q3221649
(c(Q234460),P840,Q148)
action filter_type
action find_reverse
entity Q148
relation P840
type Q234460
[ANSWER] has its narrative set in People's Republic of China
[{'concept': 'Q234460'}, 'P840', 'Q148']
SELECT DISTINCT ?d WHERE { ?d property:P840 resource:Q148 . ?d rdf:type ontology:Q234460 }
Mr. Muo's Travelling Couch
Mr. Muo's Travelling Couch has its narrative set in People's Republic of China
Mr. Muo's Travelling Couch
action filter_type
action find_reverse
entity People's Republic of China
relation narrative location
type text
[{'concept': 'text'}, 'narrative location', "People's Republic of China"]
SELECT DISTINCT ?d WHERE { ?d property:narrative_location resource:People's_Republic_of_China . ?d rdf:type ontology:text }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3221649
P50
Q502895
USER
Which person authored that text ?
(Q3221649,P50,c(Q502895))
action filter_type
action find
entity Q3221649
relation P50
type Q502895
['Q3221649', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q3221649 property:P50 ?b . ?b rdf:type ontology:Q502895 }
Mr. Muo's Travelling Couch
action filter_type
action find
entity Mr. Muo's Travelling Couch
relation author
type common name
["Mr. Muo's Travelling Couch", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Mr._Muo's_Travelling_Couch property:author ?b . ?b rdf:type ontology:common_name }
[]
common name
Q513004
SYSTEM
Dai Sijie
Q513004
(Q3221649,P50,c(Q502895))
action filter_type
action find
entity Q3221649
relation P50
type Q502895
[ANSWER] authored that text
['Q3221649', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q3221649 property:P50 ?b . ?b rdf:type ontology:Q502895 }
Dai Sijie
Dai Sijie authored that text
Dai Sijie
action filter_type
action find
entity Mr. Muo's Travelling Couch
relation author
type common name
["Mr. Muo's Travelling Couch", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Mr._Muo's_Travelling_Couch property:author ?b . ?b rdf:type ontology:common_name }
[]