Simple Question (Direct)
Simple Question
Q15713044
P516
Q187939
USER
What powers Tasmanian Government Railways Z class ?
(Q15713044,P516,c(Q187939))
action filter_type
action find
entity Q15713044
relation P516
type Q187939
['Q15713044', 'P516', {'concept': 'Q187939'}]
SELECT DISTINCT ?j WHERE { resource:Q15713044 property:P516 ?j . ?j rdf:type ontology:Q187939 }
Tasmanian Government Railways Z class
action filter_type
action find
entity Tasmanian Government Railways Z class
relation powerplant
type manufacturing
['Tasmanian Government Railways Z class', 'powerplant', {'concept': 'manufacturing'}]
SELECT DISTINCT ?j WHERE { resource:Tasmanian_Government_Railways_Z_class property:powerplant ?j . ?j rdf:type ontology:manufacturing }
[]
manufacturing
Q26944954
SYSTEM
English Electric 12CSVT
Q26944954
(Q15713044,P516,c(Q187939))
action filter_type
action find
entity Q15713044
relation P516
type Q187939
[ANSWER] powers Tasmanian Government Railways Z class
['Q15713044', 'P516', {'concept': 'Q187939'}]
SELECT DISTINCT ?j WHERE { resource:Q15713044 property:P516 ?j . ?j rdf:type ontology:Q187939 }
English Electric 12CSVT
English Electric 12CSVT powers Tasmanian Government Railways Z class
English Electric 12CSVT
action filter_type
action find
entity Tasmanian Government Railways Z class
relation powerplant
type manufacturing
['Tasmanian Government Railways Z class', 'powerplant', {'concept': 'manufacturing'}]
SELECT DISTINCT ?j WHERE { resource:Tasmanian_Government_Railways_Z_class property:powerplant ?j . ?j rdf:type ontology:manufacturing }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15713044
P137
Q4830453
USER
Which business enterprise operates Tasmanian Government Railways Z class ?
(Q15713044,P137,c(Q4830453))
action filter_type
action find
entity Q15713044
relation P137
type Q4830453
['Q15713044', 'P137', {'concept': 'Q4830453'}]
SELECT DISTINCT ?l WHERE { resource:Q15713044 property:P137 ?l . ?l rdf:type ontology:Q4830453 }
Tasmanian Government Railways Z class
action filter_type
action find
entity Tasmanian Government Railways Z class
relation operator
type business enterprise
['Tasmanian Government Railways Z class', 'operator', {'concept': 'business enterprise'}]
SELECT DISTINCT ?l WHERE { resource:Tasmanian_Government_Railways_Z_class property:operator ?l . ?l rdf:type ontology:business_enterprise }
[]
business enterprise
Q781593
SYSTEM
Australian National Railways Commission
Q781593
(Q15713044,P137,c(Q4830453))
action filter_type
action find
entity Q15713044
relation P137
type Q4830453
Australia [ANSWER] operates Tasmanian Government Railways Z class
['Q15713044', 'P137', {'concept': 'Q4830453'}]
SELECT DISTINCT ?l WHERE { resource:Q15713044 property:P137 ?l . ?l rdf:type ontology:Q4830453 }
Australian National Railways Commission
Australia Australian National Railways Commission operates Tasmanian Government Railways Z class
Australian National Railways Commission
action filter_type
action find
entity Tasmanian Government Railways Z class
relation operator
type business enterprise
['Tasmanian Government Railways Z class', 'operator', {'concept': 'business enterprise'}]
SELECT DISTINCT ?l WHERE { resource:Tasmanian_Government_Railways_Z_class property:operator ?l . ?l rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15713044
P17
Q1048835
USER
How many political territories are Tasmanian Government Railways Z class a part of ?
(Q15713044,P17,c(Q1048835))
action count
action filter_type
action find
entity Q15713044
relation P17
type Q1048835
['Q15713044', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q15713044 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Tasmanian Government Railways Z class
action count
action filter_type
action find
entity Tasmanian Government Railways Z class
relation country
type political territorial entity
['Tasmanian Government Railways Z class', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Tasmanian_Government_Railways_Z_class property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q408
(Q15713044,P17,c(Q1048835))
action count
action filter_type
action find
entity Q15713044
relation P17
type Q1048835
[ANSWER]
['Q15713044', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q15713044 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Australia
1
action count
action filter_type
action find
entity Tasmanian Government Railways Z class
relation country
type political territorial entity
['Tasmanian Government Railways Z class', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Tasmanian_Government_Railways_Z_class property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2236907
P17
Q1048835
USER
And what about Bundalong?
(Q2236907,P17,c(Q1048835))
action count
action filter_type
action find
entity Q2236907
relation P17
type Q1048835
['Q2236907', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Q2236907 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Bundalong
action count
action filter_type
action find
entity Bundalong
relation country
type political territorial entity
['Bundalong', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Bundalong property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q408
(Q2236907,P17,c(Q1048835))
action count
action filter_type
action find
entity Q2236907
relation P17
type Q1048835
[ANSWER]
['Q2236907', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Q2236907 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Australia
1
action count
action filter_type
action find
entity Bundalong
relation country
type political territorial entity
['Bundalong', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Bundalong property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q15830471
Q1048835
USER
And what about Wichelshof?
(Q15830471,P17,c(Q1048835))
action count
action filter_type
action find
entity Q15830471
relation P17
type Q1048835
['Q15830471', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Q15830471 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Wichelshof
action count
action filter_type
action find
entity Wichelshof
relation country
type political territorial entity
['Wichelshof', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Wichelshof property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q15830471,P17,c(Q1048835))
action count
action filter_type
action find
entity Q15830471
relation P17
type Q1048835
[ANSWER]
['Q15830471', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Q15830471 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Wichelshof
relation country
type political territorial entity
['Wichelshof', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Wichelshof property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q334453 Q874405 Q4830453
USER
Which business enterprises have around 1 divisions or social groups as their subsidiary ?
(c(Q4830453),P355,c(Q334453)|c(Q874405))
action approx
action union
action find_tuple_counts
relation P355
type Q4830453
type Q334453
action find_tuple_counts
relation P355
type Q4830453
type Q874405
value 1
[{'concept': 'Q4830453'}, 'P355', [{'concept': 'Q334453'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { { ?w property:P355 ?s . ?w rdf:type ontology:Q4830453 . ?s rdf:type ontology:Q334453 } UNION { ?w property:P355 ?s . ?w rdf:type ontology:Q4830453 . ?s rdf:type ontology:Q874405 } } GROUP BY ?w } . FILTER ( ?t = 1 ) }
action approx
action union
action find_tuple_counts
relation subsidiary
type business enterprise
type division
action find_tuple_counts
relation subsidiary
type business enterprise
type social group
value 1
[{'concept': 'business enterprise'}, 'subsidiary', [{'concept': 'division'}, {'concept': 'social group'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { { ?w property:subsidiary ?s . ?w rdf:type ontology:business_enterprise . ?s rdf:type ontology:division } UNION { ?w property:subsidiary ?s . ?w rdf:type ontology:business_enterprise . ?s rdf:type ontology:social_group } } GROUP BY ?w } . FILTER ( ?t = 1 ) }
[]
division social group business enterprise
Q43380 Q66 Q3139309
SYSTEM
CBS, Boeing, Holmarcom Group
Q3139309 Q10954015 Q23638508 Q43380 Q2147715 Q66
(c(Q4830453),P355,c(Q334453)|c(Q874405))
action approx
action union
action find_tuple_counts
relation P355
type Q4830453
type Q334453
action find_tuple_counts
relation P355
type Q4830453
type Q874405
value 1
[ANSWERS] have around 1 divisions or social groups as their subsidiary
[{'concept': 'Q4830453'}, 'P355', [{'concept': 'Q334453'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { { ?w property:P355 ?s . ?w rdf:type ontology:Q4830453 . ?s rdf:type ontology:Q334453 } UNION { ?w property:P355 ?s . ?w rdf:type ontology:Q4830453 . ?s rdf:type ontology:Q874405 } } GROUP BY ?w } . FILTER ( ?t = 1 ) }
Holmarcom Group Fuji Media Holdings ArtPeople Holding CBS Rheinisch-Westfälische Straßen- und Kleinbahnen Boeing
CBS, Boeing and Holmarcom Group have around 1 divisions or social groups as their subsidiary
CBS Boeing Holmarcom Group
action approx
action union
action find_tuple_counts
relation subsidiary
type business enterprise
type division
action find_tuple_counts
relation subsidiary
type business enterprise
type social group
value 1
[{'concept': 'business enterprise'}, 'subsidiary', [{'concept': 'division'}, {'concept': 'social group'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { { ?w property:subsidiary ?s . ?w rdf:type ontology:business_enterprise . ?s rdf:type ontology:division } UNION { ?w property:subsidiary ?s . ?w rdf:type ontology:business_enterprise . ?s rdf:type ontology:social_group } } GROUP BY ?w } . FILTER ( ?t = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13525325 Q15713044
P17
Q1048835
USER
Which political territories are Tasmanian Government Railways Z class or Turks and Caicos National Museum a part of ?
OR((Q15713044,P17,c(Q1048835)), (Q13525325,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q15713044
relation P17
action find
entity Q13525325
relation P17
type Q1048835
{'OR': [['Q15713044', 'P17', {'concept': 'Q1048835'}], ['Q13525325', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { ?j property:P17 ?b . VALUES ( ?j ) { ( resource:Q13525325 ) ( resource:Q15713044 ) } } . ?b rdf:type ontology:Q1048835 }
Turks and Caicos National Museum Tasmanian Government Railways Z class
action filter_type
action union
action find
entity Tasmanian Government Railways Z class
relation country
action find
entity Turks and Caicos National Museum
relation country
type political territorial entity
{'OR': [['Tasmanian Government Railways Z class', 'country', {'concept': 'political territorial entity'}], ['Turks and Caicos National Museum', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?j property:country ?b . VALUES ( ?j ) { ( resource:Turks_and_Caicos_National_Museum ) ( resource:Tasmanian_Government_Railways_Z_class ) } } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q18221 Q408
SYSTEM
Turks and Caicos Islands, Australia
Q18221 Q408
OR((Q15713044,P17,c(Q1048835)), (Q13525325,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q15713044
relation P17
action find
entity Q13525325
relation P17
type Q1048835
[ANSWERS] are Tasmanian Government Railways Z class or Turks and Caicos National Museum a part of
{'OR': [['Q15713044', 'P17', {'concept': 'Q1048835'}], ['Q13525325', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { ?j property:P17 ?b . VALUES ( ?j ) { ( resource:Q13525325 ) ( resource:Q15713044 ) } } . ?b rdf:type ontology:Q1048835 }
Turks and Caicos Islands Australia
Turks and Caicos Islands and Australia are Tasmanian Government Railways Z class or Turks and Caicos National Museum a part of
Turks and Caicos Islands Australia
action filter_type
action union
action find
entity Tasmanian Government Railways Z class
relation country
action find
entity Turks and Caicos National Museum
relation country
type political territorial entity
{'OR': [['Tasmanian Government Railways Z class', 'country', {'concept': 'political territorial entity'}], ['Turks and Caicos National Museum', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?j property:country ?b . VALUES ( ?j ) { ( resource:Turks_and_Caicos_National_Museum ) ( resource:Tasmanian_Government_Railways_Z_class ) } } . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P47
Q15617994
USER
Which administrative territory is adjacent to Australia ?
(Q408,P47,c(Q15617994))
action filter_type
action find
entity Q408
relation P47
type Q15617994
['Q408', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q408 property:P47 ?j }
Australia
action filter_type
action find
entity Australia
relation shares border with
type designation for an administrative territorial entity
['Australia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Australia property:shares_border_with ?j }
[]
designation for an administrative territorial entity
Q252
SYSTEM
Indonesia
Q252
(Q408,P47,c(Q15617994))
action filter_type
action find
entity Q408
relation P47
type Q15617994
To [ANSWER] is adjacent to Australia
['Q408', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q408 property:P47 ?j }
Indonesia
To Indonesia is adjacent to Australia
Indonesia
action filter_type
action find
entity Australia
relation shares border with
type designation for an administrative territorial entity
['Australia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Australia property:shares_border_with ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P1313
Q12737077
USER
What is the occupation held by Australia ?
(Q408,P1313,c(Q12737077))
action filter_type
action find
entity Q408
relation P1313
type Q12737077
['Q408', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q408 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
Australia
action filter_type
action find
entity Australia
relation office held by head of government
type occupation
['Australia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Australia property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q319145
SYSTEM
Prime Minister of Australia
Q319145
(Q408,P1313,c(Q12737077))
action filter_type
action find
entity Q408
relation P1313
type Q12737077
The occupation held by Australia is the [ANSWER]
['Q408', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q408 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
Prime Minister of Australia
The occupation held by Australia is the Prime Minister of Australia
Prime Minister of Australia
action filter_type
action find
entity Australia
relation office held by head of government
type occupation
['Australia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Australia property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1772205
Q12737077
USER
And how about Pelayos de la Presa?
(Q1772205,P1313,c(Q12737077))
action filter_type
action find
entity Q1772205
relation P1313
type Q12737077
['Q1772205', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1772205 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
Pelayos de la Presa
action filter_type
action find
entity Pelayos de la Presa
relation office held by head of government
type occupation
['Pelayos de la Presa', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Pelayos_de_la_Presa property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q26696573
SYSTEM
mayor of Pelayos de la Presa
Q26696573
(Q1772205,P1313,c(Q12737077))
action filter_type
action find
entity Q1772205
relation P1313
type Q12737077
[ANSWER]
['Q1772205', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1772205 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
mayor of Pelayos de la Presa
mayor of Pelayos de la Presa
action filter_type
action find
entity Pelayos de la Presa
relation office held by head of government
type occupation
['Pelayos de la Presa', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Pelayos_de_la_Presa property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q26696573 Q1772205
P1313
Q1048835
USER
Does Pelayos de la Presa have that occupation as position of head of government ?
(Q1772205,P1313,Q26696573)
action is_in
entity Q26696573
action find
entity Q1772205
relation P1313
['Q1772205', 'P1313', 'Q26696573']
ASK WHERE { resource:Q1772205 property:P1313 resource:Q26696573 }
mayor of Pelayos de la Presa Pelayos de la Presa
action is_in
entity mayor of Pelayos de la Presa
action find
entity Pelayos de la Presa
relation office held by head of government
['Pelayos de la Presa', 'office held by head of government', 'mayor of Pelayos de la Presa']
ASK WHERE { resource:Pelayos_de_la_Presa property:office_held_by_head_of_government resource:mayor_of_Pelayos_de_la_Presa }
[]
political territorial entity
SYSTEM
YES
(Q1772205,P1313,Q26696573)
action is_in
entity Q26696573
action find
entity Q1772205
relation P1313
[ANSWER]
['Q1772205', 'P1313', 'Q26696573']
ASK WHERE { resource:Q1772205 property:P1313 resource:Q26696573 }
Yes
action is_in
entity mayor of Pelayos de la Presa
action find
entity Pelayos de la Presa
relation office held by head of government
['Pelayos de la Presa', 'office held by head of government', 'mayor of Pelayos de la Presa']
ASK WHERE { resource:Pelayos_de_la_Presa property:office_held_by_head_of_government resource:mayor_of_Pelayos_de_la_Presa }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q763 Q408
P463
Q43229
USER
Which organizations were Australia or Saint Kitts and Nevis a member of ?
OR((Q408,P463,c(Q43229)), (Q763,P463,c(Q43229)))
action filter_type
action union
action find
entity Q408
relation P463
action find
entity Q763
relation P463
type Q43229
{'OR': [['Q408', 'P463', {'concept': 'Q43229'}], ['Q763', 'P463', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q763 property:P463 ?q } UNION { resource:Q408 property:P463 ?q } } . ?q rdf:type ontology:Q43229 }
Saint Kitts and Nevis Australia
action filter_type
action union
action find
entity Australia
relation member of
action find
entity Saint Kitts and Nevis
relation member of
type organization
{'OR': [['Australia', 'member of', {'concept': 'organization'}], ['Saint Kitts and Nevis', 'member of', {'concept': 'organization'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Saint_Kitts_and_Nevis property:member_of ?q } UNION { resource:Australia property:member_of ?q } } . ?q rdf:type ontology:organization }
[]
organization
Q488981 Q3772571 Q656801 Q7825 Q899770 Q827525 Q41550 Q191384 Q309195 Q170481
SYSTEM
Some of them are European Bank for Reconstruction and Development, Caribbean Development Bank, International Finance Corporation, World Trade Organization, International Centre for Settlement of Investment Disputes, International Development Association, Organisation for Economic Co-operation and Development, International Bank for Reconstruction and Development, Bank for International Settlements, Asia-Pacific Economic Cooperation
Q191384 Q899770 Q309195 Q488981 Q41550 Q3772571 Q82151 Q656801 Q7825 Q170481 Q827525
OR((Q408,P463,c(Q43229)), (Q763,P463,c(Q43229)))
action filter_type
action union
action find
entity Q408
relation P463
action find
entity Q763
relation P463
type Q43229
The [ANSWERS] were Australia or Saint Kitts and Nevis a member of
{'OR': [['Q408', 'P463', {'concept': 'Q43229'}], ['Q763', 'P463', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q763 property:P463 ?q } UNION { resource:Q408 property:P463 ?q } } . ?q rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Bank for International Settlements European Bank for Reconstruction and Development Organisation for Economic Co-operation and Development Caribbean Development Bank Food and Agriculture Organization of the United Nations International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
The European Bank for Reconstruction and Development, Caribbean Development Bank, International Finance Corporation, World Trade Organization, International Centre for Settlement of Investment Disputes, International Development Association, Organisation for Economic Co-operation and Development, International Bank for Reconstruction and Development, Bank for International Settlements and Asia-Pacific Economic Cooperation were Australia or Saint Kitts and Nevis a member of
European Bank for Reconstruction and Development Caribbean Development Bank International Finance Corporation World Trade Organization International Centre for Settlement of Investment Disputes International Development Association Organisation for Economic Co-operation and Development International Bank for Reconstruction and Development Bank for International Settlements Asia-Pacific Economic Cooperation
action filter_type
action union
action find
entity Australia
relation member of
action find
entity Saint Kitts and Nevis
relation member of
type organization
{'OR': [['Australia', 'member of', {'concept': 'organization'}], ['Saint Kitts and Nevis', 'member of', {'concept': 'organization'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Saint_Kitts_and_Nevis property:member_of ?q } UNION { resource:Australia property:member_of ?q } } . ?q rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q1772205
P47 P17
Q1048835
USER
Which political territories are bordered by Pelayos de la Presa and are situated in Spain ?
AND((c(Q1048835),P47,Q1772205), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1772205
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q1772205'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?c WHERE { ?c property:P47 resource:Q1772205 . ?c property:P17 resource:Q29 . ?c rdf:type ontology:Q1048835 }
Spain Pelayos de la Presa
action filter_type
action intersection
action find_reverse
entity Pelayos de la Presa
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Pelayos de la Presa'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?c WHERE { ?c property:shares_border_with resource:Pelayos_de_la_Presa . ?c property:country resource:Spain . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1751908
SYSTEM
San Martín de Valdeiglesias
Q1751908
AND((c(Q1048835),P47,Q1772205), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1772205
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
[ANSWER] is bordered by Pelayos de la Presa and is situated in Spain
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q1772205'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?c WHERE { ?c property:P47 resource:Q1772205 . ?c property:P17 resource:Q29 . ?c rdf:type ontology:Q1048835 }
San Martín de Valdeiglesias
San Martín de Valdeiglesias is bordered by Pelayos de la Presa and is situated in Spain
San Martín de Valdeiglesias
action filter_type
action intersection
action find_reverse
entity Pelayos de la Presa
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Pelayos de la Presa'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?c WHERE { ?c property:shares_border_with resource:Pelayos_de_la_Presa . ?c property:country resource:Spain . ?c rdf:type ontology:political_territorial_entity }
[]