Simple Question (Direct)
Simple Question
Q462124
P21
Q290
USER
Which sex does Caroline Lacroix belong to ?
(Q462124,P21,c(Q290))
action filter_type
action find
entity Q462124
relation P21
type Q290
['Q462124', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q462124 property:P21 ?h . ?h rdf:type ontology:Q290 }
Caroline Lacroix
action filter_type
action find
entity Caroline Lacroix
relation gender
type sex
['Caroline Lacroix', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Caroline_Lacroix property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q462124,P21,c(Q290))
action filter_type
action find
entity Q462124
relation P21
type Q290
Caroline Lacroix belongs to [ANSWER]
['Q462124', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q462124 property:P21 ?h . ?h rdf:type ontology:Q290 }
female
Caroline Lacroix belongs to female
female
action filter_type
action find
entity Caroline Lacroix
relation gender
type sex
['Caroline Lacroix', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Caroline_Lacroix property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q462124
P19
Q515
USER
Where was Caroline Lacroix born ?
(Q462124,P19,c(Q515))
action filter_type
action find
entity Q462124
relation P19
type Q515
['Q462124', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q462124 property:P19 ?a . ?a rdf:type ontology:Q515 }
Caroline Lacroix
action filter_type
action find
entity Caroline Lacroix
relation place of birth
type city
['Caroline Lacroix', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Caroline_Lacroix property:place_of_birth ?a . ?a rdf:type ontology:city }
[]
city
Q19660
SYSTEM
Bucharest
Q19660
(Q462124,P19,c(Q515))
action filter_type
action find
entity Q462124
relation P19
type Q515
Caroline Lacroix was born in [ANSWER]
['Q462124', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q462124 property:P19 ?a . ?a rdf:type ontology:Q515 }
Bucharest
Caroline Lacroix was born in Bucharest
Bucharest
action filter_type
action find
entity Caroline Lacroix
relation place of birth
type city
['Caroline Lacroix', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Caroline_Lacroix property:place_of_birth ?a . ?a rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4026960
Q515
USER
And how about Nessim Samama?
(Q4026960,P19,c(Q515))
action filter_type
action find
entity Q4026960
relation P19
type Q515
['Q4026960', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q4026960 property:P19 ?l . ?l rdf:type ontology:Q515 }
Nessim Samama
action filter_type
action find
entity Nessim Samama
relation place of birth
type city
['Nessim Samama', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Nessim_Samama property:place_of_birth ?l . ?l rdf:type ontology:city }
[]
city
Q3572
SYSTEM
Tunis
Q3572
(Q4026960,P19,c(Q515))
action filter_type
action find
entity Q4026960
relation P19
type Q515
[ANSWER]
['Q4026960', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q4026960 property:P19 ?l . ?l rdf:type ontology:Q515 }
Tunis
Tunis
action filter_type
action find
entity Nessim Samama
relation place of birth
type city
['Nessim Samama', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Nessim_Samama property:place_of_birth ?l . ?l rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are the sister cities of that city ?
(Q3572,P190,c(Q56061))
action count
action filter_type
action find
entity Q3572
relation P190
type Q56061
['Q3572', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ontology:Q56061 . resource:Q3572 property:P190 ?d }
action count
action filter_type
action find
entity Tunis
relation sister city
type administrative territorial entity
['Tunis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Tunis property:sister_city ?d }
[]
administrative territorial entity
SYSTEM
16
Q1741 Q269 Q1754 Q3882 Q340 Q35178 Q3551 Q8678 Q649 Q597 Q3561 Q3711 Q82070 Q365 Q3805 Q1085
(Q3572,P190,c(Q56061))
action count
action filter_type
action find
entity Q3572
relation P190
type Q56061
[ANSWER]
['Q3572', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ontology:Q56061 . resource:Q3572 property:P190 ?d }
Vienna Tashkent Stockholm Manama Montreal Kuwait City Rabat Rio de Janeiro Moscow Lisbon Algiers Belgrade Tyre Cologne Amman Prague
16
action count
action filter_type
action find
entity Tunis
relation sister city
type administrative territorial entity
['Tunis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Tunis property:sister_city ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q515
USER
How many cities are a sister city of exactly 6 cities ?
(c(Q515),P190,c(Q515))
action count
action equal
action find_tuple_counts
relation P190
type Q515
type Q515
value 6
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { ?a property:P190 ?l . ?a rdf:type ontology:Q515 . ?l rdf:type ontology:Q515 } GROUP BY ?a } . FILTER ( ?h = 6 ) }
action count
action equal
action find_tuple_counts
relation sister city
type city
type city
value 6
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { ?a property:sister_city ?l . ?a rdf:type ontology:city . ?l rdf:type ontology:city } GROUP BY ?a } . FILTER ( ?h = 6 ) }
[]
city city
SYSTEM
3
Q2079 Q166829 Q851056
(c(Q515),P190,c(Q515))
action count
action equal
action find_tuple_counts
relation P190
type Q515
type Q515
value 6
[ANSWER]
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { ?a property:P190 ?l . ?a rdf:type ontology:Q515 . ?l rdf:type ontology:Q515 } GROUP BY ?a } . FILTER ( ?h = 6 ) }
Leipzig Miercurea Nirajului Cristuru Secuiesc
3
action count
action equal
action find_tuple_counts
relation sister city
type city
type city
value 6
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { ?a property:sister_city ?l . ?a rdf:type ontology:city . ?l rdf:type ontology:city } GROUP BY ?a } . FILTER ( ?h = 6 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q67493
P47
Q13220204
USER
Which administrative country subdivision is bordered by Marbach ?
(c(Q13220204),P47,Q67493)
action filter_type
action find
entity Q67493
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q67493']
SELECT DISTINCT ?m WHERE { resource:Q67493 property:P47 ?m . ?m rdf:type ontology:Q13220204 }
Marbach
action filter_type
action find
entity Marbach
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Marbach']
SELECT DISTINCT ?m WHERE { resource:Marbach property:shares_border_with ?m . ?m rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q14552
SYSTEM
Flühli
Q14552
(c(Q13220204),P47,Q67493)
action filter_type
action find
entity Q67493
relation P47
type Q13220204
M [ANSWER] is bordered by Marbach
[{'concept': 'Q13220204'}, 'P47', 'Q67493']
SELECT DISTINCT ?m WHERE { resource:Q67493 property:P47 ?m . ?m rdf:type ontology:Q13220204 }
Flühli
M Flühli is bordered by Marbach
Flühli
action filter_type
action find
entity Marbach
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Marbach']
SELECT DISTINCT ?m WHERE { resource:Marbach property:shares_border_with ?m . ?m rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q67493
P20
Q502895
USER
Who died in that administrative territory ?
(c(Q502895),P20,Q14552)
action filter_type
action find_reverse
entity Q67493
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q14552']
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q67493 . ?y rdf:type ontology:Q502895 }
Marbach
action filter_type
action find_reverse
entity Marbach
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Flühli']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Marbach . ?y rdf:type ontology:common_name }
[]
common name
Q1258147
SYSTEM
Albert Benz
Q1258147
(c(Q502895),P20,Q14552)
action filter_type
action find_reverse
entity Q67493
relation P20
type Q502895
[ANSWER] died in that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q14552']
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q67493 . ?y rdf:type ontology:Q502895 }
Albert Benz
Albert Benz died in that administrative territory
Albert Benz
action filter_type
action find_reverse
entity Marbach
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Flühli']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Marbach . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q515 Q13220204 Q515
USER
Which cities are sister towns of exactly 6 administrative country subdivisions or cities ?
(c(Q13220204)|c(Q515),P190,c(Q515))
action equal
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
value 6
[[{'concept': 'Q13220204'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:Q13220204 ) ( ontology:Q515 ) } } GROUP BY ?y } . FILTER ( ?p = 6 ) }
action equal
action union
action find_reverse_tuple_counts
relation sister city
type city
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type city
type city
value 6
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:city ) } } GROUP BY ?y } . FILTER ( ?p = 6 ) }
[]
city second-level administrative country subdivision city
Q11194 Q8684 Q2079
SYSTEM
Sarajevo, Seoul, Leipzig
Q2887 Q17042 Q8684 Q2079 Q166829 Q11194 Q851056
(c(Q13220204)|c(Q515),P190,c(Q515))
action equal
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
value 6
[ANSWERS] are sister towns of exactly 6 administrative country subdivisions or cities
[[{'concept': 'Q13220204'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:Q13220204 ) ( ontology:Q515 ) } } GROUP BY ?y } . FILTER ( ?p = 6 ) }
Santiago Oakland Seoul Leipzig Miercurea Nirajului Sarajevo Cristuru Secuiesc
Sarajevo, Seoul and Leipzig are sister towns of exactly 6 administrative country subdivisions or cities
Sarajevo Seoul Leipzig
action equal
action union
action find_reverse_tuple_counts
relation sister city
type city
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type city
type city
value 6
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:city ) } } GROUP BY ?y } . FILTER ( ?p = 6 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q667276 Q464980 Q502895
USER
Which people were displayed at approximately 1 art exhibitions or exhibitions ?
(c(Q502895),P608,c(Q667276)|c(Q464980))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q464980
value 1
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?j ) { ( ontology:Q667276 ) ( ontology:Q464980 ) } . ?a rdf:type ?j } GROUP BY ?r } . FILTER ( ?s = 1 ) }
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type exhibition
value 1
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?j ) { ( ontology:art_exhibition ) ( ontology:exhibition ) } . ?a rdf:type ?j } GROUP BY ?r } . FILTER ( ?s = 1 ) }
[]
art exhibition exhibition common name
Q3335569 Q16004451 Q70006
SYSTEM
Nancy Elizabeth Prophet, Jennifer Bolande, Lotte Jacobi
Q70006 Q16004451 Q16005428 Q9015308 Q3335569
(c(Q502895),P608,c(Q667276)|c(Q464980))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q464980
value 1
[ANSWERS] were displayed at approximately 1 art exhibitions or exhibitions
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?j ) { ( ontology:Q667276 ) ( ontology:Q464980 ) } . ?a rdf:type ?j } GROUP BY ?r } . FILTER ( ?s = 1 ) }
Lotte Jacobi Jennifer Bolande Andrea Bowers Juan Carlos Alom Nancy Elizabeth Prophet
Nancy Elizabeth Prophet, Jennifer Bolande and Lotte Jacobi were displayed at approximately 1 art exhibitions or exhibitions
Nancy Elizabeth Prophet Jennifer Bolande Lotte Jacobi
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type exhibition
value 1
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?j ) { ( ontology:art_exhibition ) ( ontology:exhibition ) } . ?a rdf:type ?j } GROUP BY ?r } . FILTER ( ?s = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q200905 Q8684
P190
Q56061
USER
Which administrative territories are twin city of Seoul or Zhodzina ?
OR((c(Q56061),P190,Q8684), (c(Q56061),P190,Q200905))
action filter_type
action union
action find_reverse
entity Q8684
relation P190
action find_reverse
entity Q200905
relation P190
type Q56061
{'OR': [[{'concept': 'Q56061'}, 'P190', 'Q8684'], [{'concept': 'Q56061'}, 'P190', 'Q200905']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?f ) { ( resource:Q8684 ) ( resource:Q200905 ) } . ?t property:P190 ?f } . ?t rdf:type ontology:Q56061 }
Zhodzina Seoul
action filter_type
action union
action find_reverse
entity Seoul
relation sister city
action find_reverse
entity Zhodzina
relation sister city
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Seoul'], [{'concept': 'administrative territorial entity'}, 'sister city', 'Zhodzina']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?f ) { ( resource:Seoul ) ( resource:Zhodzina ) } . ?t property:sister_city ?f } . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q62 Q1489 Q987 Q3640 Q16635 Q1353 Q8678 Q1867 Q85 Q3630
SYSTEM
Some of them are San Francisco, Mexico City, New Delhi, Ankara, Guam, Delhi, Rio de Janeiro, Taipei, Cairo, Jakarta
Q987 Q1489 Q174 Q237655 Q3630 Q1353 Q62 Q8678 Q649 Q16635 Q1861 Q270 Q956 Q1520 Q3130 Q1867 Q85 Q3640 Q1490 Q61 Q1524
OR((c(Q56061),P190,Q8684), (c(Q56061),P190,Q200905))
action filter_type
action union
action find_reverse
entity Q8684
relation P190
action find_reverse
entity Q200905
relation P190
type Q56061
[ANSWERS] are twin city of Seoul or Zhodzina
{'OR': [[{'concept': 'Q56061'}, 'P190', 'Q8684'], [{'concept': 'Q56061'}, 'P190', 'Q200905']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?f ) { ( resource:Q8684 ) ( resource:Q200905 ) } . ?t property:P190 ?f } . ?t rdf:type ontology:Q56061 }
New Delhi Mexico City São Paulo Baranovichi Jakarta Delhi San Francisco Rio de Janeiro Moscow Guam Bangkok Warsaw Beijing Astana Sydney Taipei Cairo Ankara Tokyo Washington, D.C. Athens
San Francisco, Mexico City, New Delhi, Ankara, Guam, Delhi, Rio de Janeiro, Taipei, Cairo and Jakarta are twin city of Seoul or Zhodzina
San Francisco Mexico City New Delhi Ankara Guam Delhi Rio de Janeiro Taipei Cairo Jakarta
action filter_type
action union
action find_reverse
entity Seoul
relation sister city
action find_reverse
entity Zhodzina
relation sister city
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Seoul'], [{'concept': 'administrative territorial entity'}, 'sister city', 'Zhodzina']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?f ) { ( resource:Seoul ) ( resource:Zhodzina ) } . ?t property:sister_city ?f } . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q62 Q1489 Q987 Q3640 Q16635 Q1353 Q8678 Q1867 Q85 Q3630
P190
Q515
USER
Which cities are partner towns of San Francisco, Mexico City, New Delhi, Ankara, Guam, Delhi, Rio de Janeiro, Taipei, Cairo and Jakarta ?
(Q62,P190,c(Q515)) (Q1489,P190,c(Q515)) (Q987,P190,c(Q515)) (Q3640,P190,c(Q515)) (Q16635,P190,c(Q515)) (Q1353,P190,c(Q515)) (Q8678,P190,c(Q515)) (Q1867,P190,c(Q515)) (Q85,P190,c(Q515)) (Q3630,P190,c(Q515))
action union
action filter_type
action find
entity Q62
relation P190
type Q515
action filter_type
action find
entity Q1489
relation P190
type Q515
action filter_type
action find
entity Q987
relation P190
type Q515
action filter_type
action find
entity Q3640
relation P190
type Q515
action filter_type
action find
entity Q16635
relation P190
type Q515
action filter_type
action find
entity Q1353
relation P190
type Q515
action filter_type
action find
entity Q8678
relation P190
type Q515
action filter_type
action find
entity Q1867
relation P190
type Q515
action filter_type
action find
entity Q85
relation P190
type Q515
action filter_type
action find
entity Q3630
relation P190
type Q515
['Q62', 'P190', {'concept': 'Q515'}] ['Q1489', 'P190', {'concept': 'Q515'}] ['Q987', 'P190', {'concept': 'Q515'}] ['Q3640', 'P190', {'concept': 'Q515'}] ['Q16635', 'P190', {'concept': 'Q515'}] ['Q1353', 'P190', {'concept': 'Q515'}] ['Q8678', 'P190', {'concept': 'Q515'}] ['Q1867', 'P190', {'concept': 'Q515'}] ['Q85', 'P190', {'concept': 'Q515'}] ['Q3630', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { { resource:Q1489 property:P190 ?s . ?s rdf:type ontology:Q515 } UNION { resource:Q62 property:P190 ?s . ?s rdf:type ontology:Q515 } }
San Francisco Mexico City New Delhi Ankara Guam Delhi Rio de Janeiro Taipei Cairo Jakarta
action union
action filter_type
action find
entity San Francisco
relation sister city
type city
action filter_type
action find
entity Mexico City
relation sister city
type city
action filter_type
action find
entity New Delhi
relation sister city
type city
action filter_type
action find
entity Ankara
relation sister city
type city
action filter_type
action find
entity Guam
relation sister city
type city
action filter_type
action find
entity Delhi
relation sister city
type city
action filter_type
action find
entity Rio de Janeiro
relation sister city
type city
action filter_type
action find
entity Taipei
relation sister city
type city
action filter_type
action find
entity Cairo
relation sister city
type city
action filter_type
action find
entity Jakarta
relation sister city
type city
['San Francisco', 'sister city', {'concept': 'city'}] ['Mexico City', 'sister city', {'concept': 'city'}] ['New Delhi', 'sister city', {'concept': 'city'}] ['Ankara', 'sister city', {'concept': 'city'}] ['Guam', 'sister city', {'concept': 'city'}] ['Delhi', 'sister city', {'concept': 'city'}] ['Rio de Janeiro', 'sister city', {'concept': 'city'}] ['Taipei', 'sister city', {'concept': 'city'}] ['Cairo', 'sister city', {'concept': 'city'}] ['Jakarta', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { { resource:Mexico_City property:sister_city ?s . ?s rdf:type ontology:city } UNION { resource:San_Francisco property:sister_city ?s . ?s rdf:type ontology:city } }
[]
city
Q1486 Q1486 Q1486
SYSTEM
Buenos Aires
Q3624 Q8684 Q1355 Q1533 Q19660 Q1461 Q1854 Q8684 Q1533 Q2887 Q1863 Q1486 Q1461 Q174461 Q3861 Q1899 Q8684 Q23430 Q1953 Q1865 Q1461 Q8684 Q1865 Q3838 Q19660 Q19689 Q11194 Q1362 Q1858 Q8652 Q2887 Q1899 Q1773 Q56759 Q1461 Q8684 Q8684 Q23430 Q1865 Q8684 Q1533 Q16520 Q3870 Q19660 Q1486 Q1899 Q3751 Q1723 Q3572 Q8652 Q25475 Q1953 Q8684 Q43196 Q1475 Q1773 Q23430 Q1461 Q1854 Q3904 Q3926 Q8684 Q1794 Q1486 Q11194 Q7473516 Q1519 Q8684 Q1865 Q1362 Q1858 Q1461
(Q62,P190,c(Q515)) (Q1489,P190,c(Q515)) (Q987,P190,c(Q515)) (Q3640,P190,c(Q515)) (Q16635,P190,c(Q515)) (Q1353,P190,c(Q515)) (Q8678,P190,c(Q515)) (Q1867,P190,c(Q515)) (Q85,P190,c(Q515)) (Q3630,P190,c(Q515))
action union
action filter_type
action find
entity Q62
relation P190
type Q515
action filter_type
action find
entity Q1489
relation P190
type Q515
action filter_type
action find
entity Q987
relation P190
type Q515
action filter_type
action find
entity Q3640
relation P190
type Q515
action filter_type
action find
entity Q16635
relation P190
type Q515
action filter_type
action find
entity Q1353
relation P190
type Q515
action filter_type
action find
entity Q8678
relation P190
type Q515
action filter_type
action find
entity Q1867
relation P190
type Q515
action filter_type
action find
entity Q85
relation P190
type Q515
action filter_type
action find
entity Q3630
relation P190
type Q515
[ANSWER], [ANSWER] and [ANSWER] are partner towns of San Francisco, Mexico City, New Delhi, Ankara, Guam, Delhi, Rio de Janeiro, Taipei, Cairo and Jakarta
['Q62', 'P190', {'concept': 'Q515'}] ['Q1489', 'P190', {'concept': 'Q515'}] ['Q987', 'P190', {'concept': 'Q515'}] ['Q3640', 'P190', {'concept': 'Q515'}] ['Q16635', 'P190', {'concept': 'Q515'}] ['Q1353', 'P190', {'concept': 'Q515'}] ['Q8678', 'P190', {'concept': 'Q515'}] ['Q1867', 'P190', {'concept': 'Q515'}] ['Q85', 'P190', {'concept': 'Q515'}] ['Q3630', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { { resource:Q1489 property:P190 ?s . ?s rdf:type ontology:Q515 } UNION { resource:Q62 property:P190 ?s . ?s rdf:type ontology:Q515 } }
Addis Ababa Seoul Bangalore Caracas Bucharest Manila Ho Chi Minh City Seoul Caracas Santiago Andorra la Vella Buenos Aires Manila Ranchi Doha Kyiv Seoul Ulaanbaatar Yerevan Kuala Lumpur Manila Seoul Kuala Lumpur Kinshasa Bucharest Tirana Sarajevo Islamabad Hanoi Miami Santiago Kyiv Riga Olongapo Manila Seoul Seoul Ulaanbaatar Kuala Lumpur Seoul Caracas Busan Nairobi Bucharest Buenos Aires Kyiv Praia Batangas City Tunis Miami Batumi Yerevan Seoul Cincinnati Quezon City Riga Ulaanbaatar Manila Ho Chi Minh City Mbabane Pretoria Seoul Frankfurt Buenos Aires Sarajevo Tokyo Abu Dhabi Seoul Kuala Lumpur Islamabad Hanoi Manila
Buenos Aires, Buenos Aires and Buenos Aires are partner towns of San Francisco, Mexico City, New Delhi, Ankara, Guam, Delhi, Rio de Janeiro, Taipei, Cairo and Jakarta
Buenos Aires Buenos Aires Buenos Aires
action union
action filter_type
action find
entity San Francisco
relation sister city
type city
action filter_type
action find
entity Mexico City
relation sister city
type city
action filter_type
action find
entity New Delhi
relation sister city
type city
action filter_type
action find
entity Ankara
relation sister city
type city
action filter_type
action find
entity Guam
relation sister city
type city
action filter_type
action find
entity Delhi
relation sister city
type city
action filter_type
action find
entity Rio de Janeiro
relation sister city
type city
action filter_type
action find
entity Taipei
relation sister city
type city
action filter_type
action find
entity Cairo
relation sister city
type city
action filter_type
action find
entity Jakarta
relation sister city
type city
['San Francisco', 'sister city', {'concept': 'city'}] ['Mexico City', 'sister city', {'concept': 'city'}] ['New Delhi', 'sister city', {'concept': 'city'}] ['Ankara', 'sister city', {'concept': 'city'}] ['Guam', 'sister city', {'concept': 'city'}] ['Delhi', 'sister city', {'concept': 'city'}] ['Rio de Janeiro', 'sister city', {'concept': 'city'}] ['Taipei', 'sister city', {'concept': 'city'}] ['Cairo', 'sister city', {'concept': 'city'}] ['Jakarta', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { { resource:Mexico_City property:sister_city ?s . ?s rdf:type ontology:city } UNION { resource:San_Francisco property:sister_city ?s . ?s rdf:type ontology:city } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1808637
P159
Q163740
USER
Which nonprofit organization has HQ at Cajazeiras ?
(c(Q163740),P159,Q1808637)
action filter_type
action find_reverse
entity Q1808637
relation P159
type Q163740
[{'concept': 'Q163740'}, 'P159', 'Q1808637']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q163740 . ?u property:P159 resource:Q1808637 }
Cajazeiras
action filter_type
action find_reverse
entity Cajazeiras
relation headquarters location
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'headquarters location', 'Cajazeiras']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:nonprofit_organization . ?u property:headquarters_location resource:Cajazeiras }
[]
nonprofit organization
Q10282208
SYSTEM
Children of the Congo
Q10282208
(c(Q163740),P159,Q1808637)
action filter_type
action find_reverse
entity Q1808637
relation P159
type Q163740
[ANSWER] has HQ at Cajazeiras
[{'concept': 'Q163740'}, 'P159', 'Q1808637']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q163740 . ?u property:P159 resource:Q1808637 }
Children of the Congo
Children of the Congo has HQ at Cajazeiras
Children of the Congo
action filter_type
action find_reverse
entity Cajazeiras
relation headquarters location
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'headquarters location', 'Cajazeiras']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:nonprofit_organization . ?u property:headquarters_location resource:Cajazeiras }
[]