Simple Question (Direct)
Simple Question
Q6133474
P937
Q852446
USER
Where did James Engle work ?
(Q6133474,P937,c(Q852446))
action filter_type
action find
entity Q6133474
relation P937
type Q852446
['Q6133474', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?a WHERE { resource:Q6133474 property:P937 ?a . ?a rdf:type ontology:Q852446 }
James Engle
action filter_type
action find
entity James Engle
relation work location
type administrative territorial entity of the United States
['James Engle', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?a WHERE { resource:James_Engle property:work_location ?a . ?a rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q25280
SYSTEM
Harrisburg
Q25280
(Q6133474,P937,c(Q852446))
action filter_type
action find
entity Q6133474
relation P937
type Q852446
James Engle worked in [ANSWER]
['Q6133474', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?a WHERE { resource:Q6133474 property:P937 ?a . ?a rdf:type ontology:Q852446 }
Harrisburg
James Engle worked in Harrisburg
Harrisburg
action filter_type
action find
entity James Engle
relation work location
type administrative territorial entity of the United States
['James Engle', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?a WHERE { resource:James_Engle property:work_location ?a . ?a rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25280
P36
Q852446
USER
Which US administrative territory consists of that one as its capital ?
(c(Q852446),P36,Q25280)
action filter_type
action find_reverse
entity Q25280
relation P36
type Q852446
[{'concept': 'Q852446'}, 'P36', 'Q25280']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q25280 . ?o rdf:type ontology:Q852446 }
Harrisburg
action filter_type
action find_reverse
entity Harrisburg
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Harrisburg']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Harrisburg . ?o rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1400
SYSTEM
Pennsylvania
Q1400
(c(Q852446),P36,Q25280)
action filter_type
action find_reverse
entity Q25280
relation P36
type Q852446
[ANSWER] consists of that one as its capital
[{'concept': 'Q852446'}, 'P36', 'Q25280']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q25280 . ?o rdf:type ontology:Q852446 }
Pennsylvania
Pennsylvania consists of that one as its capital
Pennsylvania
action filter_type
action find_reverse
entity Harrisburg
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Harrisburg']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Harrisburg . ?o rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1400
P6
Q502895
USER
Which person has that US administrative territory as its head of government ?
(Q1400,P6,c(Q502895))
action filter_type
action find
entity Q1400
relation P6
type Q502895
['Q1400', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1400 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Pennsylvania
action filter_type
action find
entity Pennsylvania
relation head of government
type common name
['Pennsylvania', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Pennsylvania property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
common name
Q7794795
SYSTEM
Tom Wolf
Q7794795
(Q1400,P6,c(Q502895))
action filter_type
action find
entity Q1400
relation P6
type Q502895
[ANSWER] has that US administrative territory as its head of government
['Q1400', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1400 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Tom Wolf
Tom Wolf has that US administrative territory as its head of government
Tom Wolf
action filter_type
action find
entity Pennsylvania
relation head of government
type common name
['Pennsylvania', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Pennsylvania property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1400
P551
Q502895
USER
Who reside at Pennsylvania ?
(c(Q502895),P551,Q1400)
action filter_type
action find_reverse
entity Q1400
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1400']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P551 resource:Q1400 }
Pennsylvania
action filter_type
action find_reverse
entity Pennsylvania
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Pennsylvania']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:residence resource:Pennsylvania }
[]
common name
Q220883 Q105756 Q556880
SYSTEM
Poul Anderson, John Updike, Smedley Butler
Q738810 Q17114155 Q6681594 Q7615780 Q389975 Q234952 Q7143713 Q434707 Q6181835 Q908510 Q220883 Q556880 Q105756 Q1113146 Q5362862 Q203906 Q155985
(c(Q502895),P551,Q1400)
action filter_type
action find_reverse
entity Q1400
relation P551
type Q502895
[ANSWERS] reside at Pennsylvania
[{'concept': 'Q502895'}, 'P551', 'Q1400']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P551 resource:Q1400 }
Sanford J. Grossman Aliy Zirkle Lorraine C. Ladish Stewart Elliott Geoff Petrie Betsy Ross Pat McAfee Staci Keanan Jeremy Rose Stephen J. Benkovic Poul Anderson Smedley Butler John Updike Alan Taylor Elizabeth Graeme Ferguson Frederick Winslow Rick Santorum
Poul Anderson, John Updike and Smedley Butler reside at Pennsylvania
Poul Anderson John Updike Smedley Butler
action filter_type
action find_reverse
entity Pennsylvania
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Pennsylvania']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:residence resource:Pennsylvania }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1400
P17
Q15617994
USER
Which administrative territory is Pennsylvania located in ?
(Q1400,P17,c(Q15617994))
action filter_type
action find
entity Q1400
relation P17
type Q15617994
['Q1400', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1400 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Pennsylvania
action filter_type
action find
entity Pennsylvania
relation country
type designation for an administrative territorial entity
['Pennsylvania', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Pennsylvania property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1400,P17,c(Q15617994))
action filter_type
action find
entity Q1400
relation P17
type Q15617994
Pennsylvania is located in [ANSWER]
['Q1400', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1400 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
United States of America
Pennsylvania is located in United States of America
United States of America
action filter_type
action find
entity Pennsylvania
relation country
type designation for an administrative territorial entity
['Pennsylvania', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Pennsylvania property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q105756
P737
Q502895
USER
Who were influenced by John Updike ?
(c(Q502895),P737,Q105756)
action filter_type
action find_reverse
entity Q105756
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q105756']
SELECT DISTINCT ?z WHERE { ?z property:P737 resource:Q105756 . ?z rdf:type ontology:Q502895 }
John Updike
action filter_type
action find_reverse
entity John Updike
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'John Updike']
SELECT DISTINCT ?z WHERE { ?z property:influenced_by resource:John_Updike . ?z rdf:type ontology:common_name }
[]
common name
Q187019 Q440100 Q190379
SYSTEM
Philip Roth, Jonathan Lethem, Ian McEwan
Q295431 Q440100 Q187019 Q190379
(c(Q502895),P737,Q105756)
action filter_type
action find_reverse
entity Q105756
relation P737
type Q502895
[ANSWERS] were influenced by John Updike
[{'concept': 'Q502895'}, 'P737', 'Q105756']
SELECT DISTINCT ?z WHERE { ?z property:P737 resource:Q105756 . ?z rdf:type ontology:Q502895 }
Julian Barnes Jonathan Lethem Philip Roth Ian McEwan
Philip Roth, Jonathan Lethem and Ian McEwan were influenced by John Updike
Philip Roth Jonathan Lethem Ian McEwan
action filter_type
action find_reverse
entity John Updike
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'John Updike']
SELECT DISTINCT ?z WHERE { ?z property:influenced_by resource:John_Updike . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q105756
P50
Q2342494
USER
Which collectables are written by John Updike ?
(c(Q2342494),P50,Q105756)
action filter_type
action find_reverse
entity Q105756
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q105756']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2342494 . ?g property:P50 resource:Q105756 }
John Updike
action filter_type
action find_reverse
entity John Updike
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'John Updike']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:collectable . ?g property:author resource:John_Updike }
[]
collectable
Q7703964 Q1213440 Q6815639
SYSTEM
Terrorist, The Witches of Eastwick, Memories of the Ford Administration
Q17060298 Q771750 Q7721426 Q7774788 Q1213440 Q6011844 Q7829571 Q7823817 Q7078828 Q7357753 Q6815639 Q7696477 Q1725082 Q178791 Q7193280 Q7757751 Q1649823 Q7731385 Q7848118 Q5553405 Q7703964 Q3220933 Q6773052 Q4095706 Q549152
(c(Q2342494),P50,Q105756)
action filter_type
action find_reverse
entity Q105756
relation P50
type Q2342494
[ANSWERS] are written by John Updike
[{'concept': 'Q2342494'}, 'P50', 'Q105756']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2342494 . ?g property:P50 resource:Q105756 }
The Coup Couples The Carpentered Hen and Other Tame Creatures The Widows of Eastwick The Witches of Eastwick In the Beauty of the Lilies Toward the End of Time Too Far to Go Of the Farm Roger's Version Memories of the Ford Administration Telephone Poles Rabbit Redux Rabbit, Run Pigeon Feathers and Other Stories The Poorhouse Fair Rabbit at Rest The Early Stories: 1953–1975 Trust Me Gertrude and Claudius Terrorist The Centaur Marry Me Brazil Rabbit Is Rich
Terrorist, The Witches of Eastwick and Memories of the Ford Administration are written by John Updike
Terrorist The Witches of Eastwick Memories of the Ford Administration
action filter_type
action find_reverse
entity John Updike
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'John Updike']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:collectable . ?g property:author resource:John_Updike }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6815639
P364
Q34770
USER
Which language was used originally for the creation of that collectable ?
(Q6815639,P364,c(Q34770))
action filter_type
action find
entity Q6815639
relation P364
type Q34770
['Q6815639', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q6815639 property:P364 ?x . ?x rdf:type ontology:Q34770 }
Memories of the Ford Administration
action filter_type
action find
entity Memories of the Ford Administration
relation original language of work
type language
['Memories of the Ford Administration', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Memories_of_the_Ford_Administration property:original_language_of_work ?x . ?x rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q1213440
SYSTEM
Did you mean The Witches of Eastwick ?
Q7703964 Q1213440 Q6815639
(Q7703964,P364,c(Q34770)) (Q1213440,P364,c(Q34770)) (Q6815639,P364,c(Q34770))
[ANSWER]
['Q7703964', 'P364', {'concept': 'Q34770'}] ['Q1213440', 'P364', {'concept': 'Q34770'}] ['Q6815639', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q6815639 property:P364 ?x . ?x rdf:type ontology:Q34770 }
Terrorist The Witches of Eastwick Memories of the Ford Administration
Did you mean The Witches of Eastwick ?
The Witches of Eastwick
['Terrorist', 'original language of work', {'concept': 'language'}] ['The Witches of Eastwick', 'original language of work', {'concept': 'language'}] ['Memories of the Ford Administration', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Memories_of_the_Ford_Administration property:original_language_of_work ?x . ?x rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
No, I meant Memories of the Ford Administration. Could you tell me the answer for that?
(Q6815639,P364,c(Q34770))
Q6815639
['Q6815639', 'P364', {'concept': 'Q34770'}]
['Memories of the Ford Administration', 'original language of work', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q6815639,P364,c(Q34770))
action filter_type
action find
entity Q6815639
relation P364
type Q34770
[ANSWER] was used originally for the creation of that collectable
['Q6815639', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q6815639 property:P364 ?x . ?x rdf:type ontology:Q34770 }
English
English was used originally for the creation of that collectable
English
action filter_type
action find
entity Memories of the Ford Administration
relation original language of work
type language
['Memories of the Ford Administration', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Memories_of_the_Ford_Administration property:original_language_of_work ?x . ?x rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q7725634 Q482994
USER
How many languages are the languages of work for approximately 27 literary works or albums ?
(c(Q7725634)|c(Q482994),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
value 27
[[{'concept': 'Q7725634'}, {'concept': 'Q482994'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?o WHERE { VALUES ( ?g ) { ( ontology:Q7725634 ) ( ontology:Q482994 ) } . ?b rdf:type ?g } GROUP BY ?o } . FILTER ( ?w = 27 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type album
value 27
[[{'concept': 'literary work'}, {'concept': 'album'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?o WHERE { VALUES ( ?g ) { ( ontology:literary_work ) ( ontology:album ) } . ?b rdf:type ?g } GROUP BY ?o } . FILTER ( ?w = 27 ) }
[]
language literary work album
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634)|c(Q482994),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
value 27
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q482994'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?o WHERE { VALUES ( ?g ) { ( ontology:Q7725634 ) ( ontology:Q482994 ) } . ?b rdf:type ?g } GROUP BY ?o } . FILTER ( ?w = 27 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type album
value 27
[[{'concept': 'literary work'}, {'concept': 'album'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?o WHERE { VALUES ( ?g ) { ( ontology:literary_work ) ( ontology:album ) } . ?b rdf:type ?g } GROUP BY ?o } . FILTER ( ?w = 27 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q56061
USER
Which administrative territories are exactly 1 language associated to as the official language ?
(c(Q56061),P37,c(Q34770))
action equal
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 1
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?d ) WHERE { ?o property:P37 ?f . ?o rdf:type ontology:Q56061 . ?f rdf:type ontology:Q34770 } GROUP BY ?o } }
action equal
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 1
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?d ) WHERE { ?o property:official_language ?f . ?o rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:language } GROUP BY ?o } }
[]
language administrative territorial entity
Q334 Q11959 Q7024
SYSTEM
Singapore, Alicante, Lugano
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action equal
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 1
[ANSWERS] are exactly 1 language associated to as the official language
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?d ) WHERE { ?o property:P37 ?f . ?o rdf:type ontology:Q56061 . ?f rdf:type ontology:Q34770 } GROUP BY ?o } }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
Singapore, Alicante and Lugano are exactly 1 language associated to as the official language
Singapore Alicante Lugano
action equal
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 1
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?d ) WHERE { ?o property:official_language ?f . ?o rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:language } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q334 Q11959 Q7024
P190
Q56061
USER
Which administrative territories are twin cities of Singapore, Alicante and Lugano ?
(Q334,P190,c(Q56061)) (Q11959,P190,c(Q56061)) (Q7024,P190,c(Q56061))
action union
action filter_type
action find
entity Q334
relation P190
type Q56061
action filter_type
action find
entity Q11959
relation P190
type Q56061
action filter_type
action find
entity Q7024
relation P190
type Q56061
['Q334', 'P190', {'concept': 'Q56061'}] ['Q11959', 'P190', {'concept': 'Q56061'}] ['Q7024', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?q ) { ( resource:Q11959 ) ( resource:Q334 ) } . ?q property:P190 ?o }
Singapore Alicante Lugano
action union
action filter_type
action find
entity Singapore
relation sister city
type administrative territorial entity
action filter_type
action find
entity Alicante
relation sister city
type administrative territorial entity
action filter_type
action find
entity Lugano
relation sister city
type administrative territorial entity
['Singapore', 'sister city', {'concept': 'administrative territorial entity'}] ['Alicante', 'sister city', {'concept': 'administrative territorial entity'}] ['Lugano', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?q ) { ( resource:Alicante ) ( resource:Singapore ) } . ?q property:sister_city ?o }
[]
administrative territorial entity
Q33959 Q13498 Q87
SYSTEM
Nice, Taranto, Alexandria
Q18808 Q33959 Q152491 Q272471 Q87 Q13498 Q131491 Q23564
(Q334,P190,c(Q56061)) (Q11959,P190,c(Q56061)) (Q7024,P190,c(Q56061))
action union
action filter_type
action find
entity Q334
relation P190
type Q56061
action filter_type
action find
entity Q11959
relation P190
type Q56061
action filter_type
action find
entity Q7024
relation P190
type Q56061
[ANSWERS] are twin cities of Singapore, Alicante and Lugano
['Q334', 'P190', {'concept': 'Q56061'}] ['Q11959', 'P190', {'concept': 'Q56061'}] ['Q7024', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?q ) { ( resource:Q11959 ) ( resource:Q334 ) } . ?q property:P190 ?o }
Pyongyang Nice Herzliya Matanzas Alexandria Taranto Brighton Podgorica
Nice, Taranto and Alexandria are twin cities of Singapore, Alicante and Lugano
Nice Taranto Alexandria
action union
action filter_type
action find
entity Singapore
relation sister city
type administrative territorial entity
action filter_type
action find
entity Alicante
relation sister city
type administrative territorial entity
action filter_type
action find
entity Lugano
relation sister city
type administrative territorial entity
['Singapore', 'sister city', {'concept': 'administrative territorial entity'}] ['Alicante', 'sister city', {'concept': 'administrative territorial entity'}] ['Lugano', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?q ) { ( resource:Alicante ) ( resource:Singapore ) } . ?q property:sister_city ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q334
P194
Q1752346
USER
Which assembly represents Singapore ?
(Q334,P194,c(Q1752346))
action filter_type
action find
entity Q334
relation P194
type Q1752346
['Q334', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?o WHERE { resource:Q334 property:P194 ?o . ?o rdf:type ontology:Q1752346 }
Singapore
action filter_type
action find
entity Singapore
relation legislative body
type assembly
['Singapore', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?o WHERE { resource:Singapore property:legislative_body ?o . ?o rdf:type ontology:assembly }
[]
assembly
Q1517231
SYSTEM
Parliament of Singapore
Q1517231
(Q334,P194,c(Q1752346))
action filter_type
action find
entity Q334
relation P194
type Q1752346
Singapore [ANSWER] represents Singapore
['Q334', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?o WHERE { resource:Q334 property:P194 ?o . ?o rdf:type ontology:Q1752346 }
Parliament of Singapore
Singapore Parliament of Singapore represents Singapore
Parliament of Singapore
action filter_type
action find
entity Singapore
relation legislative body
type assembly
['Singapore', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?o WHERE { resource:Singapore property:legislative_body ?o . ?o rdf:type ontology:assembly }
[]