Simple Question (Direct)
Simple Question
Q3085705
P21
Q290
USER
What is the sex of François Robin de Scévole ?
(Q3085705,P21,c(Q290))
action filter_type
action find
entity Q3085705
relation P21
type Q290
['Q3085705', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3085705 property:P21 ?l . ?l rdf:type ontology:Q290 }
François Robin de Scévole
action filter_type
action find
entity François Robin de Scévole
relation gender
type sex
['François Robin de Scévole', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:François_Robin_de_Scévole property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3085705,P21,c(Q290))
action filter_type
action find
entity Q3085705
relation P21
type Q290
The sex of François Robin de Scévole is the [ANSWER]
['Q3085705', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3085705 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
The sex of François Robin de Scévole is the male
male
action filter_type
action find
entity François Robin de Scévole
relation gender
type sex
['François Robin de Scévole', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:François_Robin_de_Scévole property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3085705
P39
Q12737077
USER
What was the position held by that person ?
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q3085705
relation P39
type Q12737077
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q3085705 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
François Robin de Scévole
action filter_type
action find
entity François Robin de Scévole
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:François_Robin_de_Scévole property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q3085705
relation P39
type Q12737077
The position held by that person was a member of the French National Assembly
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q3085705 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by that person was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity François Robin de Scévole
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:François_Robin_de_Scévole property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q2833021 Q3085705
P39
Q12737077
USER
And also Alex Roubert
AND((Q3085705,P39,c(Q12737077)), (Q2833021,P39,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3085705
relation P39
action find
entity Q2833021
relation P39
type Q12737077
{'AND': [['Q3085705', 'P39', {'concept': 'Q12737077'}], ['Q2833021', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q3085705 property:P39 ?o . resource:Q2833021 property:P39 ?o }
Alex Roubert François Robin de Scévole
action filter_type
action intersection
action find
entity François Robin de Scévole
relation position held
action find
entity Alex Roubert
relation position held
type occupation
{'AND': [['François Robin de Scévole', 'position held', {'concept': 'occupation'}], ['Alex Roubert', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:François_Robin_de_Scévole property:position_held ?o . resource:Alex_Roubert property:position_held ?o }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
AND((Q3085705,P39,c(Q12737077)), (Q2833021,P39,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3085705
relation P39
action find
entity Q2833021
relation P39
type Q12737077
[ANSWER]
{'AND': [['Q3085705', 'P39', {'concept': 'Q12737077'}], ['Q2833021', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q3085705 property:P39 ?o . resource:Q2833021 property:P39 ?o }
member of the French National Assembly
member of the French National Assembly
action filter_type
action intersection
action find
entity François Robin de Scévole
relation position held
action find
entity Alex Roubert
relation position held
type occupation
{'AND': [['François Robin de Scévole', 'position held', {'concept': 'occupation'}], ['Alex Roubert', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:François_Robin_de_Scévole property:position_held ?o . resource:Alex_Roubert property:position_held ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5807563
P27
Q15617994
USER
Which administrative territory is Dionisio Hernández Gil an inhabitant of ?
(Q5807563,P27,c(Q15617994))
action filter_type
action find
entity Q5807563
relation P27
type Q15617994
['Q5807563', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q5807563 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Dionisio Hernández Gil
action filter_type
action find
entity Dionisio Hernández Gil
relation country of citizenship
type designation for an administrative territorial entity
['Dionisio Hernández Gil', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Dionisio_Hernández_Gil property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q5807563,P27,c(Q15617994))
action filter_type
action find
entity Q5807563
relation P27
type Q15617994
[ANSWER] is Dionisio Hernández Gil an inhabitant of
['Q5807563', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q5807563 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Spain
Spain is Dionisio Hernández Gil an inhabitant of
Spain
action filter_type
action find
entity Dionisio Hernández Gil
relation country of citizenship
type designation for an administrative territorial entity
['Dionisio Hernández Gil', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Dionisio_Hernández_Gil property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20203541
Q15617994
USER
And also tell me about Al McCoy?
(Q20203541,P27,c(Q15617994))
action filter_type
action find
entity Q20203541
relation P27
type Q15617994
['Q20203541', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q20203541 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Al McCoy
action filter_type
action find
entity Al McCoy
relation country of citizenship
type designation for an administrative territorial entity
['Al McCoy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Al_McCoy property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q20203541,P27,c(Q15617994))
action filter_type
action find
entity Q20203541
relation P27
type Q15617994
[ANSWER]
['Q20203541', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q20203541 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Al McCoy
relation country of citizenship
type designation for an administrative territorial entity
['Al McCoy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Al_McCoy property:country_of_citizenship ?c . ?c 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
Q30 Q1333214 Q651161
P530
Q15617994
USER
Does that administrative territory have diplomatic associations with Jiguan District and Kleinebersdorf ?
(Q30,P530,Q1333214) (Q30,P530,Q651161)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1333214
relation P530
action find_reverse
entity Q651161
relation P530
['Q30', 'P530', 'Q1333214'] ['Q30', 'P530', 'Q651161']
ASK WHERE { resource:Q30 property:P530 resource:Q1333214 . resource:Q30 property:P530 resource:Q651161 }
United States of America Jiguan District Kleinebersdorf
action is_in
entity United States of America
action intersection
action find_reverse
entity Jiguan District
relation diplomatic relation
action find_reverse
entity Kleinebersdorf
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Jiguan District'] ['United States of America', 'diplomatic relation', 'Kleinebersdorf']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Jiguan_District . resource:United_States_of_America property:diplomatic_relation resource:Kleinebersdorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q30,P530,Q1333214) (Q30,P530,Q651161)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1333214
relation P530
action find_reverse
entity Q651161
relation P530
[ANSWER]
['Q30', 'P530', 'Q1333214'] ['Q30', 'P530', 'Q651161']
ASK WHERE { resource:Q30 property:P530 resource:Q1333214 . resource:Q30 property:P530 resource:Q651161 }
No
action is_in
entity United States of America
action intersection
action find_reverse
entity Jiguan District
relation diplomatic relation
action find_reverse
entity Kleinebersdorf
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Jiguan District'] ['United States of America', 'diplomatic relation', 'Kleinebersdorf']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Jiguan_District . resource:United_States_of_America property:diplomatic_relation resource:Kleinebersdorf }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29 Q846
P463
Q43229
USER
How many organizations were Spain and Qatar a member of ?
(Q29,P463,c(Q43229)) (Q846,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q29
relation P463
type Q43229
action filter_type
action find
entity Q846
relation P463
type Q43229
['Q29', 'P463', {'concept': 'Q43229'}] ['Q846', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Q29 property:P463 ?y . ?y rdf:type ontology:Q43229 . resource:Q846 property:P463 ?y . ?y rdf:type ontology:Q43229 }
Spain Qatar
action count
action intersection
action filter_type
action find
entity Spain
relation member of
type organization
action filter_type
action find
entity Qatar
relation member of
type organization
['Spain', 'member of', {'concept': 'organization'}] ['Qatar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Spain property:member_of ?y . ?y rdf:type ontology:organization . resource:Qatar property:member_of ?y . ?y rdf:type ontology:organization }
[]
organization
SYSTEM
4
Q7825 Q191384 Q899770 Q656801
(Q29,P463,c(Q43229)) (Q846,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q29
relation P463
type Q43229
action filter_type
action find
entity Q846
relation P463
type Q43229
[ANSWER]
['Q29', 'P463', {'concept': 'Q43229'}] ['Q846', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Q29 property:P463 ?y . ?y rdf:type ontology:Q43229 . resource:Q846 property:P463 ?y . ?y rdf:type ontology:Q43229 }
World Trade Organization International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation
4
action count
action intersection
action filter_type
action find
entity Spain
relation member of
type organization
action filter_type
action find
entity Qatar
relation member of
type organization
['Spain', 'member of', {'concept': 'organization'}] ['Qatar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Spain property:member_of ?y . ?y rdf:type ontology:organization . resource:Qatar property:member_of ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P30
Q2221906
USER
Where are Spain situated ?
(Q29,P30,c(Q2221906))
action filter_type
action find
entity Q29
relation P30
type Q2221906
['Q29', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q29 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Spain
action filter_type
action find
entity Spain
relation continent
type geographic location
['Spain', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Spain property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q15
SYSTEM
Europe, Africa
Q46 Q15
(Q29,P30,c(Q2221906))
action filter_type
action find
entity Q29
relation P30
type Q2221906
Spain are situated in [ANSWERS]
['Q29', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q29 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Europe Africa
Spain are situated in Europe and Africa
Europe Africa
action filter_type
action find
entity Spain
relation continent
type geographic location
['Spain', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Spain property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q118601
Q2221906
USER
And also tell me about Nemo Cove?
(Q118601,P30,c(Q2221906))
action filter_type
action find
entity Q118601
relation P30
type Q2221906
['Q118601', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2221906 . resource:Q118601 property:P30 ?b }
Nemo Cove
action filter_type
action find
entity Nemo Cove
relation continent
type geographic location
['Nemo Cove', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:geographic_location . resource:Nemo_Cove property:continent ?b }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q118601,P30,c(Q2221906))
action filter_type
action find
entity Q118601
relation P30
type Q2221906
[ANSWER]
['Q118601', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2221906 . resource:Q118601 property:P30 ?b }
Antarctica
Antarctica
action filter_type
action find
entity Nemo Cove
relation continent
type geographic location
['Nemo Cove', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:geographic_location . resource:Nemo_Cove property:continent ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P85
Q484692
USER
What is the national anthem of Hungary ?
(Q28,P85,c(Q484692))
action filter_type
action find
entity Q28
relation P85
type Q484692
['Q28', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?o WHERE { resource:Q28 property:P85 ?o . ?o rdf:type ontology:Q484692 }
Hungary
action filter_type
action find
entity Hungary
relation anthem
type hymn
['Hungary', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?o WHERE { resource:Hungary property:anthem ?o . ?o rdf:type ontology:hymn }
[]
hymn
Q45788
SYSTEM
Himnusz
Q45788
(Q28,P85,c(Q484692))
action filter_type
action find
entity Q28
relation P85
type Q484692
The national anthem of Hungary is the [ANSWER]
['Q28', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?o WHERE { resource:Q28 property:P85 ?o . ?o rdf:type ontology:Q484692 }
Himnusz
The national anthem of Hungary is the Himnusz
Himnusz
action filter_type
action find
entity Hungary
relation anthem
type hymn
['Hungary', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?o WHERE { resource:Hungary property:anthem ?o . ?o rdf:type ontology:hymn }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q31747
Q484692
USER
And what about Irish Free State?
(Q31747,P85,c(Q484692))
action filter_type
action find
entity Q31747
relation P85
type Q484692
['Q31747', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?r WHERE { resource:Q31747 property:P85 ?r . ?r rdf:type ontology:Q484692 }
Irish Free State
action filter_type
action find
entity Irish Free State
relation anthem
type hymn
['Irish Free State', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?r WHERE { resource:Irish_Free_State property:anthem ?r . ?r rdf:type ontology:hymn }
[]
hymn
Q160672
SYSTEM
Amhrán na bhFiann
Q160672
(Q31747,P85,c(Q484692))
action filter_type
action find
entity Q31747
relation P85
type Q484692
[ANSWER]
['Q31747', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?r WHERE { resource:Q31747 property:P85 ?r . ?r rdf:type ontology:Q484692 }
Amhrán na bhFiann
Amhrán na bhFiann
action filter_type
action find
entity Irish Free State
relation anthem
type hymn
['Irish Free State', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?r WHERE { resource:Irish_Free_State property:anthem ?r . ?r rdf:type ontology:hymn }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q46
P138
Q4830453 Q12280
USER
How many business enterprises and bridges have Europe as their toponym ?
(c(Q4830453),P138,Q46) (c(Q12280),P138,Q46)
action count
action union
action filter_type
action find_reverse
entity Q46
relation P138
type Q4830453
action filter_type
action find_reverse
entity Q46
relation P138
type Q12280
[{'concept': 'Q4830453'}, 'P138', 'Q46'] [{'concept': 'Q12280'}, 'P138', 'Q46']
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:Q4830453 ) ( ontology:Q12280 ) } }
Europe
action count
action union
action filter_type
action find_reverse
entity Europe
relation named after
type business enterprise
action filter_type
action find_reverse
entity Europe
relation named after
type bridge
[{'concept': 'business enterprise'}, 'named after', 'Europe'] [{'concept': 'bridge'}, 'named after', 'Europe']
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:business_enterprise ) ( ontology:bridge ) } }
[]
business enterprise bridge
SYSTEM
1 business enterprises and 1 bridges
Q993013 Q520543
(c(Q4830453),P138,Q46) (c(Q12280),P138,Q46)
action count
action union
action filter_type
action find_reverse
entity Q46
relation P138
type Q4830453
action filter_type
action find_reverse
entity Q46
relation P138
type Q12280
[ANSWER]
[{'concept': 'Q4830453'}, 'P138', 'Q46'] [{'concept': 'Q12280'}, 'P138', 'Q46']
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:Q4830453 ) ( ontology:Q12280 ) } }
Európa Publishing Europabrücke
1 business enterprises and 1 bridges
action count
action union
action filter_type
action find_reverse
entity Europe
relation named after
type business enterprise
action filter_type
action find_reverse
entity Europe
relation named after
type bridge
[{'concept': 'business enterprise'}, 'named after', 'Europe'] [{'concept': 'bridge'}, 'named after', 'Europe']
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:business_enterprise ) ( ontology:bridge ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q324857 Q1333214
P27 P17
Q15617994
USER
Which administrative territories are Jiguan District a part of or are the countries of citizenship of Andrei Ujică ?
OR((Q1333214,P17,c(Q15617994)), (Q324857,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1333214
relation P17
action find
entity Q324857
relation P27
type Q15617994
{'OR': [['Q1333214', 'P17', {'concept': 'Q15617994'}], ['Q324857', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1333214 property:P17 ?g } UNION { resource:Q324857 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Andrei Ujică Jiguan District
action filter_type
action union
action find
entity Jiguan District
relation country
action find
entity Andrei Ujică
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jiguan District', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Andrei Ujică', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Jiguan_District property:country ?g } UNION { resource:Andrei_Ujică property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q218
SYSTEM
People's Republic of China, Romania
Q148 Q218
OR((Q1333214,P17,c(Q15617994)), (Q324857,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1333214
relation P17
action find
entity Q324857
relation P27
type Q15617994
[ANSWERS] are Jiguan District a part of or are the countries of citizenship of Andrei Ujică
{'OR': [['Q1333214', 'P17', {'concept': 'Q15617994'}], ['Q324857', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1333214 property:P17 ?g } UNION { resource:Q324857 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
People's Republic of China Romania
People's Republic of China and Romania are Jiguan District a part of or are the countries of citizenship of Andrei Ujică
People's Republic of China Romania
action filter_type
action union
action find
entity Jiguan District
relation country
action find
entity Andrei Ujică
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jiguan District', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Andrei Ujică', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Jiguan_District property:country ?g } UNION { resource:Andrei_Ujică property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q324857
P58
Q838948
USER
Which work of art has Andrei Ujică as screenwriter ?
(c(Q838948),P58,Q324857)
action filter_type
action find_reverse
entity Q324857
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q324857']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P58 resource:Q324857 }
Andrei Ujică
action filter_type
action find_reverse
entity Andrei Ujică
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Andrei Ujică']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:screenwriter resource:Andrei_Ujică }
[]
work of art
Q20744119
SYSTEM
Out of the Present
Q20744119
(c(Q838948),P58,Q324857)
action filter_type
action find_reverse
entity Q324857
relation P58
type Q838948
[ANSWER] has Andrei Ujică as screenwriter
[{'concept': 'Q838948'}, 'P58', 'Q324857']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P58 resource:Q324857 }
Out of the Present
Out of the Present has Andrei Ujică as screenwriter
Out of the Present
action filter_type
action find_reverse
entity Andrei Ujică
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Andrei Ujică']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:screenwriter resource:Andrei_Ujică }
[]