Simple Question (Direct)
Simple Question
Q2471628
P19
Q56061
USER
Which administrative territory was Yukitaka Omi born in ?
(Q2471628,P19,c(Q56061))
action filter_type
action find
entity Q2471628
relation P19
type Q56061
['Q2471628', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q2471628 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Yukitaka Omi
action filter_type
action find
entity Yukitaka Omi
relation place of birth
type administrative territorial entity
['Yukitaka Omi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Yukitaka_Omi property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q2471628,P19,c(Q56061))
action filter_type
action find
entity Q2471628
relation P19
type Q56061
[ANSWER] was Yukitaka Omi born in
['Q2471628', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q2471628 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Tokyo
Tokyo was Yukitaka Omi born in
Tokyo
action filter_type
action find
entity Yukitaka Omi
relation place of birth
type administrative territorial entity
['Yukitaka Omi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Yukitaka_Omi property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2471628
P21
Q290
USER
What is the sex of that person ?
(Q1490,P21,c(Q290))
action filter_type
action find
entity Q2471628
relation P21
type Q290
['Q1490', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2471628 property:P21 ?c . ?c rdf:type ontology:Q290 }
Yukitaka Omi
action filter_type
action find
entity Yukitaka Omi
relation gender
type sex
['Tokyo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Yukitaka_Omi property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1490,P21,c(Q290))
action filter_type
action find
entity Q2471628
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q1490', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2471628 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Yukitaka Omi
relation gender
type sex
['Tokyo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Yukitaka_Omi property:gender ?c . ?c rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q180516 Q386724
USER
Which people commissioned around 1 rooms and works ?
(c(Q180516)|c(Q386724),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q180516
action find_reverse_tuple_counts
relation P88
type Q502895
type Q386724
value 1
[[{'concept': 'Q180516'}, {'concept': 'Q386724'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P88 ?y . ?y rdf:type ontology:Q502895 . ?b rdf:type ontology:Q180516 } UNION { ?b property:P88 ?y . ?y rdf:type ontology:Q502895 . ?b rdf:type ontology:Q386724 } } GROUP BY ?y } . FILTER ( ?u = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type room
action find_reverse_tuple_counts
relation commissioned by
type common name
type work
value 1
[[{'concept': 'room'}, {'concept': 'work'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?b rdf:type ontology:room } UNION { ?b property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?b rdf:type ontology:work } } GROUP BY ?y } . FILTER ( ?u = 1 ) }
[]
common name room work
Q7771 Q7758 Q48547
SYSTEM
Louis Philippe I, Charles X of France, Cosimo I de' Medici, Grand Duke of Tuscany
Q48547 Q7758 Q7771 Q715054 Q1379797 Q969797 Q196055 Q299675
(c(Q180516)|c(Q386724),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q180516
action find_reverse_tuple_counts
relation P88
type Q502895
type Q386724
value 1
[ANSWERS]
[[{'concept': 'Q180516'}, {'concept': 'Q386724'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P88 ?y . ?y rdf:type ontology:Q502895 . ?b rdf:type ontology:Q180516 } UNION { ?b property:P88 ?y . ?y rdf:type ontology:Q502895 . ?b rdf:type ontology:Q386724 } } GROUP BY ?y } . FILTER ( ?u = 1 ) }
Cosimo I de' Medici, Grand Duke of Tuscany Charles X of France Louis Philippe I Borso d'Este, Duke of Ferrara Leonello d'Este, Marquis of Ferrara Guidobaldo da Montefeltro Edward James Francesco I de' Medici, Grand Duke of Tuscany
Louis Philippe I, Charles X of France and Cosimo I de' Medici, Grand Duke of Tuscany commissioned around 1 rooms and works
Louis Philippe I Charles X of France Cosimo I de' Medici, Grand Duke of Tuscany
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type room
action find_reverse_tuple_counts
relation commissioned by
type common name
type work
value 1
[[{'concept': 'room'}, {'concept': 'work'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?b rdf:type ontology:room } UNION { ?b property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?b rdf:type ontology:work } } GROUP BY ?y } . FILTER ( ?u = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7771 Q3031
P180
Q15709879
USER
How many artwork series express Louis Philippe I or girl ?
(c(Q15709879),P180,Q7771) (c(Q15709879),P180,Q3031)
action count
action union
action filter_type
action find_reverse
entity Q7771
relation P180
type Q15709879
action filter_type
action find_reverse
entity Q3031
relation P180
type Q15709879
[{'concept': 'Q15709879'}, 'P180', 'Q7771'] [{'concept': 'Q15709879'}, 'P180', 'Q3031']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { ?n property:P180 resource:Q7771 . ?n rdf:type ontology:Q15709879 } UNION { ?n property:P180 resource:Q3031 . ?n rdf:type ontology:Q15709879 } }
Louis Philippe I girl
action count
action union
action filter_type
action find_reverse
entity Louis Philippe I
relation depicts
type artwork series
action filter_type
action find_reverse
entity girl
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'Louis Philippe I'] [{'concept': 'artwork series'}, 'depicts', 'girl']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { ?n property:depicts resource:Louis_Philippe_I . ?n rdf:type ontology:artwork_series } UNION { ?n property:depicts resource:girl . ?n rdf:type ontology:artwork_series } }
[]
artwork series
SYSTEM
2
Q2734209 Q2267579
(c(Q15709879),P180,Q7771) (c(Q15709879),P180,Q3031)
action count
action union
action filter_type
action find_reverse
entity Q7771
relation P180
type Q15709879
action filter_type
action find_reverse
entity Q3031
relation P180
type Q15709879
[ANSWER]
[{'concept': 'Q15709879'}, 'P180', 'Q7771'] [{'concept': 'Q15709879'}, 'P180', 'Q3031']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { ?n property:P180 resource:Q7771 . ?n rdf:type ontology:Q15709879 } UNION { ?n property:P180 resource:Q3031 . ?n rdf:type ontology:Q15709879 } }
Little Dancer of Fourteen Years The Sick Child
2
action count
action union
action filter_type
action find_reverse
entity Louis Philippe I
relation depicts
type artwork series
action filter_type
action find_reverse
entity girl
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'Louis Philippe I'] [{'concept': 'artwork series'}, 'depicts', 'girl']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { ?n property:depicts resource:Louis_Philippe_I . ?n rdf:type ontology:artwork_series } UNION { ?n property:depicts resource:girl . ?n rdf:type ontology:artwork_series } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7771
P22
Q502895
USER
Who was the father of Louis Philippe I ?
(Q7771,P22,c(Q502895))
action filter_type
action find
entity Q7771
relation P22
type Q502895
['Q7771', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q7771 property:P22 ?u }
Louis Philippe I
action filter_type
action find
entity Louis Philippe I
relation father
type common name
['Louis Philippe I', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Louis_Philippe_I property:father ?u }
[]
common name
Q311637
SYSTEM
Louis Philippe II, Duke of Orléans
Q311637
(Q7771,P22,c(Q502895))
action filter_type
action find
entity Q7771
relation P22
type Q502895
The father of Louis Philippe I was [ANSWER]
['Q7771', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q7771 property:P22 ?u }
Louis Philippe II, Duke of Orléans
The father of Louis Philippe I was Louis Philippe II, Duke of Orléans
Louis Philippe II, Duke of Orléans
action filter_type
action find
entity Louis Philippe I
relation father
type common name
['Louis Philippe I', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Louis_Philippe_I property:father ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P22
Q502895
USER
How many people have that person as dad ?
(c(Q502895),P22,Q311637)
action count
action filter_type
action find_reverse
entity Q311637
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q311637']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:Q502895 . ?g property:P22 resource:Q311637 }
action count
action filter_type
action find_reverse
entity Louis Philippe II, Duke of Orléans
relation father
type common name
[{'concept': 'common name'}, 'father', 'Louis Philippe II, Duke of Orléans']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:common_name . ?g property:father resource:Louis_Philippe_II,_Duke_of_Orléans }
[]
common name
SYSTEM
7
Q7771 Q2388536 Q1376566 Q586877 Q2884794 Q269995 Q3361768
(c(Q502895),P22,Q311637)
action count
action filter_type
action find_reverse
entity Q311637
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q311637']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:Q502895 . ?g property:P22 resource:Q311637 }
Louis Philippe I Victor Leclerc de Buffon Louis Charles, Count of Beaujolais Antoine Philippe, Duke of Montpensier Baronne de Sternberg Princess Adélaïde of Orléans Lady Edward FitzGerald
7
action count
action filter_type
action find_reverse
entity Louis Philippe II, Duke of Orléans
relation father
type common name
[{'concept': 'common name'}, 'father', 'Louis Philippe II, Duke of Orléans']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:common_name . ?g property:father resource:Louis_Philippe_II,_Duke_of_Orléans }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311637
P26
Q502895
USER
Who is the spouse of Louis Philippe II, Duke of Orléans ?
(c(Q502895),P26,Q311637)
action filter_type
action find
entity Q311637
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q311637']
SELECT DISTINCT ?k WHERE { resource:Q311637 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Louis Philippe II, Duke of Orléans
action filter_type
action find
entity Louis Philippe II, Duke of Orléans
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Louis Philippe II, Duke of Orléans']
SELECT DISTINCT ?k WHERE { resource:Louis_Philippe_II,_Duke_of_Orléans property:spouse ?k . ?k rdf:type ontology:common_name }
[]
common name
Q233888
SYSTEM
Louise Marie Adélaïde de Bourbon
Q233888
(c(Q502895),P26,Q311637)
action filter_type
action find
entity Q311637
relation P26
type Q502895
The spouse of Louis Philippe II , Duke of Orléans is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q311637']
SELECT DISTINCT ?k WHERE { resource:Q311637 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Louise Marie Adélaïde de Bourbon
The spouse of Louis Philippe II , Duke of Orléans is the Louise Marie Adélaïde de Bourbon
Louise Marie Adélaïde de Bourbon
action filter_type
action find
entity Louis Philippe II, Duke of Orléans
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Louis Philippe II, Duke of Orléans']
SELECT DISTINCT ?k WHERE { resource:Louis_Philippe_II,_Duke_of_Orléans property:spouse ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1490
P291
Q2342494
USER
Which collectables were published in Tokyo ?
(c(Q2342494),P291,Q1490)
action filter_type
action find_reverse
entity Q1490
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q1490']
SELECT DISTINCT ?y WHERE { ?y property:P291 resource:Q1490 . ?y rdf:type ontology:Q2342494 }
Tokyo
action filter_type
action find_reverse
entity Tokyo
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Tokyo']
SELECT DISTINCT ?y WHERE { ?y property:place_of_publication resource:Tokyo . ?y rdf:type ontology:collectable }
[]
collectable
Q7901955 Q21725175 Q20718351
SYSTEM
Ushiro, Secure Multi-Party Computation, Re:Zero kara Hajimeru Isekai Seikatsu
Q7901955 Q21725175 Q20718351
(c(Q2342494),P291,Q1490)
action filter_type
action find_reverse
entity Q1490
relation P291
type Q2342494
[ANSWERS] were published in Tokyo
[{'concept': 'Q2342494'}, 'P291', 'Q1490']
SELECT DISTINCT ?y WHERE { ?y property:P291 resource:Q1490 . ?y rdf:type ontology:Q2342494 }
Ushiro Secure Multi-Party Computation Re:Zero kara Hajimeru Isekai Seikatsu
Ushiro, Secure Multi-Party Computation and Re:Zero kara Hajimeru Isekai Seikatsu were published in Tokyo
Ushiro Secure Multi-Party Computation Re:Zero kara Hajimeru Isekai Seikatsu
action filter_type
action find_reverse
entity Tokyo
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Tokyo']
SELECT DISTINCT ?y WHERE { ?y property:place_of_publication resource:Tokyo . ?y rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7901955 Q21725175 Q20718351
P291
Q56061
USER
Which administrative territories are the locations of publication of Ushiro, Secure Multi-Party Computation and Re:Zero kara Hajimeru Isekai Seikatsu ?
(Q7901955,P291,c(Q56061)) (Q21725175,P291,c(Q56061)) (Q20718351,P291,c(Q56061))
action union
action filter_type
action find
entity Q7901955
relation P291
type Q56061
action filter_type
action find
entity Q21725175
relation P291
type Q56061
action filter_type
action find
entity Q20718351
relation P291
type Q56061
['Q7901955', 'P291', {'concept': 'Q56061'}] ['Q21725175', 'P291', {'concept': 'Q56061'}] ['Q20718351', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { resource:Q7901955 property:P291 ?g . ?g rdf:type ontology:Q56061 } UNION { resource:Q21725175 property:P291 ?g . ?g rdf:type ontology:Q56061 } }
Ushiro Secure Multi-Party Computation Re:Zero kara Hajimeru Isekai Seikatsu
action union
action filter_type
action find
entity Ushiro
relation place of publication
type administrative territorial entity
action filter_type
action find
entity Secure Multi-Party Computation
relation place of publication
type administrative territorial entity
action filter_type
action find
entity Re:Zero kara Hajimeru Isekai Seikatsu
relation place of publication
type administrative territorial entity
['Ushiro', 'place of publication', {'concept': 'administrative territorial entity'}] ['Secure Multi-Party Computation', 'place of publication', {'concept': 'administrative territorial entity'}] ['Re:Zero kara Hajimeru Isekai Seikatsu', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { resource:Ushiro property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity } UNION { resource:Secure_Multi-Party_Computation property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q64 Q1867 Q727
SYSTEM
Berlin, Taipei, Amsterdam
Q1490 Q64 Q727 Q61 Q1490 Q1490 Q1867
(Q7901955,P291,c(Q56061)) (Q21725175,P291,c(Q56061)) (Q20718351,P291,c(Q56061))
action union
action filter_type
action find
entity Q7901955
relation P291
type Q56061
action filter_type
action find
entity Q21725175
relation P291
type Q56061
action filter_type
action find
entity Q20718351
relation P291
type Q56061
[ANSWERS] are the locations of publication of Ushiro, Secure Multi-Party Computation and Re:Zero kara Hajimeru Isekai Seikatsu
['Q7901955', 'P291', {'concept': 'Q56061'}] ['Q21725175', 'P291', {'concept': 'Q56061'}] ['Q20718351', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { resource:Q7901955 property:P291 ?g . ?g rdf:type ontology:Q56061 } UNION { resource:Q21725175 property:P291 ?g . ?g rdf:type ontology:Q56061 } }
Tokyo Berlin Amsterdam Washington, D.C. Tokyo Tokyo Taipei
Berlin, Taipei and Amsterdam are the locations of publication of Ushiro, Secure Multi-Party Computation and Re:Zero kara Hajimeru Isekai Seikatsu
Berlin Taipei Amsterdam
action union
action filter_type
action find
entity Ushiro
relation place of publication
type administrative territorial entity
action filter_type
action find
entity Secure Multi-Party Computation
relation place of publication
type administrative territorial entity
action filter_type
action find
entity Re:Zero kara Hajimeru Isekai Seikatsu
relation place of publication
type administrative territorial entity
['Ushiro', 'place of publication', {'concept': 'administrative territorial entity'}] ['Secure Multi-Party Computation', 'place of publication', {'concept': 'administrative territorial entity'}] ['Re:Zero kara Hajimeru Isekai Seikatsu', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { resource:Ushiro property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity } UNION { resource:Secure_Multi-Party_Computation property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q64 Q1867 Q727
P190
Q515
USER
Which cities are twin cities of Berlin, Taipei and Amsterdam ?
(Q64,P190,c(Q515)) (Q1867,P190,c(Q515)) (Q727,P190,c(Q515))
action union
action filter_type
action find
entity Q64
relation P190
type Q515
action filter_type
action find
entity Q1867
relation P190
type Q515
action filter_type
action find
entity Q727
relation P190
type Q515
['Q64', 'P190', {'concept': 'Q515'}] ['Q1867', 'P190', {'concept': 'Q515'}] ['Q727', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { { resource:Q1867 property:P190 ?k . ?k rdf:type ontology:Q515 } UNION { ?k rdf:type ontology:Q515 . resource:Q64 property:P190 ?k } }
Berlin Taipei Amsterdam
action union
action filter_type
action find
entity Berlin
relation sister city
type city
action filter_type
action find
entity Taipei
relation sister city
type city
action filter_type
action find
entity Amsterdam
relation sister city
type city
['Berlin', 'sister city', {'concept': 'city'}] ['Taipei', 'sister city', {'concept': 'city'}] ['Amsterdam', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { { resource:Taipei property:sister_city ?k . ?k rdf:type ontology:city } UNION { ?k rdf:type ontology:city . resource:Berlin property:sister_city ?k } }
[]
city
Q1486 Q1773 Q1773
SYSTEM
Buenos Aires for 1st, Riga for 2nd, 3rd
Q9005 Q3935 Q1486 Q8684 Q43196 Q1475 Q1773 Q23430 Q1461 Q1854 Q3904 Q3926 Q1899 Q11194 Q1773 Q2844
(Q64,P190,c(Q515)) (Q1867,P190,c(Q515)) (Q727,P190,c(Q515))
action union
action filter_type
action find
entity Q64
relation P190
type Q515
action filter_type
action find
entity Q1867
relation P190
type Q515
action filter_type
action find
entity Q727
relation P190
type Q515
[ANSWERS]
['Q64', 'P190', {'concept': 'Q515'}] ['Q1867', 'P190', {'concept': 'Q515'}] ['Q727', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { { resource:Q1867 property:P190 ?k . ?k rdf:type ontology:Q515 } UNION { ?k rdf:type ontology:Q515 . resource:Q64 property:P190 ?k } }
Brussels Windhoek Buenos Aires Seoul Cincinnati Quezon City Riga Ulaanbaatar Manila Ho Chi Minh City Mbabane Pretoria Kyiv Sarajevo Riga Brasília
Buenos Aires, Riga and Riga are twin cities of Berlin, Taipei and Amsterdam
Buenos Aires Riga Riga
action union
action filter_type
action find
entity Berlin
relation sister city
type city
action filter_type
action find
entity Taipei
relation sister city
type city
action filter_type
action find
entity Amsterdam
relation sister city
type city
['Berlin', 'sister city', {'concept': 'city'}] ['Taipei', 'sister city', {'concept': 'city'}] ['Amsterdam', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { { resource:Taipei property:sister_city ?k . ?k rdf:type ontology:city } UNION { ?k rdf:type ontology:city . resource:Berlin property:sister_city ?k } }
[]