Simple Question (Direct)
Simple Question
Q3431026
P21
Q290
USER
What is the sex of Richard Martin ?
(Q3431026,P21,c(Q290))
action filter_type
action find
entity Q3431026
relation P21
type Q290
['Q3431026', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q3431026 property:P21 ?q . ?q rdf:type ontology:Q290 }
Richard Martin
action filter_type
action find
entity Richard Martin
relation gender
type sex
['Richard Martin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Richard_Martin property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3431026,P21,c(Q290))
action filter_type
action find
entity Q3431026
relation P21
type Q290
The sex of Richard Martin is a [ANSWER]
['Q3431026', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q3431026 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Richard Martin is a male
male
action filter_type
action find
entity Richard Martin
relation gender
type sex
['Richard Martin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Richard_Martin property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3431026
P26
Q502895
USER
Who is married to Richard Martin ?
(c(Q502895),P26,Q3431026)
action filter_type
action find
entity Q3431026
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3431026']
SELECT DISTINCT ?g WHERE { resource:Q3431026 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Richard Martin
action filter_type
action find
entity Richard Martin
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Richard Martin']
SELECT DISTINCT ?g WHERE { resource:Richard_Martin property:spouse ?g . ?g rdf:type ontology:common_name }
[]
common name
Q3587982
SYSTEM
Élizabeth Chouvalidzé
Q3587982
(c(Q502895),P26,Q3431026)
action filter_type
action find
entity Q3431026
relation P26
type Q502895
[ANSWER] is married to Richard Martin
[{'concept': 'Q502895'}, 'P26', 'Q3431026']
SELECT DISTINCT ?g WHERE { resource:Q3431026 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Élizabeth Chouvalidzé
Élizabeth Chouvalidzé is married to Richard Martin
Élizabeth Chouvalidzé
action filter_type
action find
entity Richard Martin
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Richard Martin']
SELECT DISTINCT ?g WHERE { resource:Richard_Martin property:spouse ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3587982
P106
Q12737077
USER
What are the professions of that person ?
(Q3587982,P106,c(Q12737077))
action filter_type
action find
entity Q3587982
relation P106
type Q12737077
['Q3587982', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q3587982 property:P106 ?i }
Élizabeth Chouvalidzé
action filter_type
action find
entity Élizabeth Chouvalidzé
relation occupation
type occupation
['Élizabeth Chouvalidzé', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Élizabeth_Chouvalidzé property:occupation ?i }
[]
occupation
Q11481802 Q33999
SYSTEM
dub actor, actor
Q11481802 Q33999
(Q3587982,P106,c(Q12737077))
action filter_type
action find
entity Q3587982
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q3587982', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q3587982 property:P106 ?i }
dub actor actor
The professions of that person are dub actor and actor
dub actor actor
action filter_type
action find
entity Élizabeth Chouvalidzé
relation occupation
type occupation
['Élizabeth Chouvalidzé', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Élizabeth_Chouvalidzé property:occupation ?i }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3310525
P106
Q502895
USER
Do Michel Paulin have those occupations as his/her means of employment ?
(Q3310525,P106,Q11481802) (Q3310525,P106,Q33999)
action is_in
entity prev_answer
action find
entity Q3310525
relation P106
['Q3310525', 'P106', 'Q11481802'] ['Q3310525', 'P106', 'Q33999']
ASK WHERE { resource:Q3310525 property:P106 ?w . VALUES ( ?w ) { ( resource:Q11481802 ) ( resource:Q33999 ) } }
Michel Paulin
action is_in
entity prev_answer
action find
entity Michel Paulin
relation occupation
['Michel Paulin', 'occupation', 'dub actor'] ['Michel Paulin', 'occupation', 'actor']
ASK WHERE { resource:Michel_Paulin property:occupation ?w . VALUES ( ?w ) { ( resource:dub_actor ) ( resource:actor ) } }
[]
common name
SYSTEM
YES
(Q3310525,P106,Q11481802) (Q3310525,P106,Q33999)
action is_in
entity prev_answer
action find
entity Q3310525
relation P106
[ANSWER]
['Q3310525', 'P106', 'Q11481802'] ['Q3310525', 'P106', 'Q33999']
ASK WHERE { resource:Q3310525 property:P106 ?w . VALUES ( ?w ) { ( resource:Q11481802 ) ( resource:Q33999 ) } }
Yes
action is_in
entity prev_answer
action find
entity Michel Paulin
relation occupation
['Michel Paulin', 'occupation', 'dub actor'] ['Michel Paulin', 'occupation', 'actor']
ASK WHERE { resource:Michel_Paulin property:occupation ?w . VALUES ( ?w ) { ( resource:dub_actor ) ( resource:actor ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3587982
P27
Q1048835
USER
Which political territory does Élizabeth Chouvalidzé belong to ?
(Q3587982,P27,c(Q1048835))
action filter_type
action find
entity Q3587982
relation P27
type Q1048835
['Q3587982', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q3587982 property:P27 ?l . ?l rdf:type ontology:Q1048835 }
Élizabeth Chouvalidzé
action filter_type
action find
entity Élizabeth Chouvalidzé
relation country of citizenship
type political territorial entity
['Élizabeth Chouvalidzé', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Élizabeth_Chouvalidzé property:country_of_citizenship ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3587982,P27,c(Q1048835))
action filter_type
action find
entity Q3587982
relation P27
type Q1048835
Élizabeth Chouvalidzé belongs to [ANSWER]
['Q3587982', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q3587982 property:P27 ?l . ?l rdf:type ontology:Q1048835 }
Canada
Élizabeth Chouvalidzé belongs to Canada
Canada
action filter_type
action find
entity Élizabeth Chouvalidzé
relation country of citizenship
type political territorial entity
['Élizabeth Chouvalidzé', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Élizabeth_Chouvalidzé property:country_of_citizenship ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q804
P530
Q1048835 Q15617994
USER
Which administrative territories are known to have diplomatic connections with greater number of political territories than Panama ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q804
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Q804 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?m > ?i ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?l property:P530 ?c . ?c rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?l } }
Panama
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Panama
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Panama property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m > ?i ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?l property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q889 Q884 Q33 Q30 Q36 Q34 Q39 Q38 Q739 Q423 Q851 Q230 Q20 Q27 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q804
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with greater number of political territories than Panama
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Q804 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?m > ?i ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?l property:P530 ?c . ?c rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?l } }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil Afghanistan South Korea Finland United States of America Poland Sweden Switzerland Italy Colombia North Korea Saudi Arabia Georgia Norway Ireland Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
Italy, Brazil and United States of America are known to have diplomatic connections with greater number of political territories than Panama
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Panama
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Panama property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m > ?i ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?m ) WHERE { ?l property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q347
P530
Q1048835 Q15617994
USER
And how about Liechtenstein?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q347
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 . ?x property:P530 ?e } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q347 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?w > ?f ) }
Liechtenstein
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Liechtenstein
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?e } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Liechtenstein property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?w > ?f ) }
[]
political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q889 Q884 Q33 Q30 Q36 Q34 Q39 Q38 Q739 Q423 Q851 Q230 Q20 Q27 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q347
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 . ?x property:P530 ?e } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q347 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?w > ?f ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil Afghanistan South Korea Finland United States of America Poland Sweden Switzerland Italy Colombia North Korea Saudi Arabia Georgia Norway Ireland Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Liechtenstein
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?e } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Liechtenstein property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?w > ?f ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q30
P915
Q838948
USER
Which works of art were filmed at those administrative territories ?
(c(Q838948),P915,Q38) (c(Q838948),P915,Q155) (c(Q838948),P915,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q38'] [{'concept': 'Q838948'}, 'P915', 'Q155'] [{'concept': 'Q838948'}, 'P915', 'Q30']
SELECT DISTINCT ?n WHERE { ?n property:P915 ?v . ?n rdf:type ontology:Q838948 . VALUES ( ?v ) { ( resource:Q801 ) ( resource:Q142 ) ( resource:Q145 ) } }
Italy Brazil United States of America
action filter_type
action find_reverse
entity prev_answer
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Italy'] [{'concept': 'work of art'}, 'filming location', 'Brazil'] [{'concept': 'work of art'}, 'filming location', 'United States of America']
SELECT DISTINCT ?n WHERE { ?n property:filming_location ?v . ?n rdf:type ontology:work_of_art . VALUES ( ?v ) { ( resource:Israel ) ( resource:France ) ( resource:United_Kingdom ) } }
[]
work of art
Q18602670 Q15631013 Q1383269
SYSTEM
Spectre, Everest, Ex
Q15631013 Q18602670 Q1383269 Q12123479 Q7755932 Q1338470 Q16736285 Q1609621 Q302490 Q7073341 Q840495 Q18389073 Q19946486 Q16251439 Q1127828
(c(Q838948),P915,Q38) (c(Q838948),P915,Q155) (c(Q838948),P915,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P915
type Q838948
[ANSWERS] were filmed at those administrative territories
[{'concept': 'Q838948'}, 'P915', 'Q38'] [{'concept': 'Q838948'}, 'P915', 'Q155'] [{'concept': 'Q838948'}, 'P915', 'Q30']
SELECT DISTINCT ?n WHERE { ?n property:P915 ?v . ?n rdf:type ontology:Q838948 . VALUES ( ?v ) { ( resource:Q801 ) ( resource:Q142 ) ( resource:Q145 ) } }
Everest Spectre Ex Fuck for Forest The Palace of Angels Emmanuelle 4 The Salt of the Earth BirdWatchers The Mission O Terceiro Travesseiro Miami Vice Macumba Love Til Vesterheimen A Hologram for the King Koyaanisqatsi
Spectre, Everest and Ex were filmed at those administrative territories
Spectre Everest Ex
action filter_type
action find_reverse
entity prev_answer
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Italy'] [{'concept': 'work of art'}, 'filming location', 'Brazil'] [{'concept': 'work of art'}, 'filming location', 'United States of America']
SELECT DISTINCT ?n WHERE { ?n property:filming_location ?v . ?n rdf:type ontology:work_of_art . VALUES ( ?v ) { ( resource:Israel ) ( resource:France ) ( resource:United_Kingdom ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18602670 Q15631013 Q1383269
P840
Q15617994
USER
Which administrative territories are the narrative locations of Spectre, Everest and Ex ?
(Q18602670,P840,c(Q15617994)) (Q15631013,P840,c(Q15617994)) (Q1383269,P840,c(Q15617994))
action union
action filter_type
action find
entity Q18602670
relation P840
type Q15617994
action filter_type
action find
entity Q15631013
relation P840
type Q15617994
action filter_type
action find
entity Q1383269
relation P840
type Q15617994
['Q18602670', 'P840', {'concept': 'Q15617994'}] ['Q15631013', 'P840', {'concept': 'Q15617994'}] ['Q1383269', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?a ) { ( resource:Q18602670 ) ( resource:Q15631013 ) } . ?a property:P840 ?q }
Spectre Everest Ex
action union
action filter_type
action find
entity Spectre
relation narrative location
type designation for an administrative territorial entity
action filter_type
action find
entity Everest
relation narrative location
type designation for an administrative territorial entity
action filter_type
action find
entity Ex
relation narrative location
type designation for an administrative territorial entity
['Spectre', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Everest', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Ex', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?a ) { ( resource:Spectre ) ( resource:Everest ) } . ?a property:narrative_location ?q }
[]
designation for an administrative territorial entity
Q1028 Q837 Q1452
SYSTEM
Morocco, Nepal, Basilicata
Q1028 Q837 Q1452
(Q18602670,P840,c(Q15617994)) (Q15631013,P840,c(Q15617994)) (Q1383269,P840,c(Q15617994))
action union
action filter_type
action find
entity Q18602670
relation P840
type Q15617994
action filter_type
action find
entity Q15631013
relation P840
type Q15617994
action filter_type
action find
entity Q1383269
relation P840
type Q15617994
[ANSWERS] are the narrative locations of Spectre, Everest and Ex
['Q18602670', 'P840', {'concept': 'Q15617994'}] ['Q15631013', 'P840', {'concept': 'Q15617994'}] ['Q1383269', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?a ) { ( resource:Q18602670 ) ( resource:Q15631013 ) } . ?a property:P840 ?q }
Morocco Nepal Basilicata
Morocco, Nepal and Basilicata are the narrative locations of Spectre, Everest and Ex
Morocco Nepal Basilicata
action union
action filter_type
action find
entity Spectre
relation narrative location
type designation for an administrative territorial entity
action filter_type
action find
entity Everest
relation narrative location
type designation for an administrative territorial entity
action filter_type
action find
entity Ex
relation narrative location
type designation for an administrative territorial entity
['Spectre', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Everest', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Ex', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?a ) { ( resource:Spectre ) ( resource:Everest ) } . ?a property:narrative_location ?q }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1452
P190
Q515
USER
Which city is partner town of that administrative territory ?
(Q1452,P190,c(Q515))
action filter_type
action find
entity Q1452
relation P190
type Q515
['Q1452', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q1452 property:P190 ?r . ?r rdf:type ontology:Q515 }
Basilicata
action filter_type
action find
entity Basilicata
relation sister city
type city
['Basilicata', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Basilicata property:sister_city ?r . ?r rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q1452
SYSTEM
Did you mean Basilicata ?
Q1028 Q837 Q1452
(Q1028,P190,c(Q515)) (Q837,P190,c(Q515)) (Q1452,P190,c(Q515))
[ANSWER]
['Q1028', 'P190', {'concept': 'Q515'}] ['Q837', 'P190', {'concept': 'Q515'}] ['Q1452', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q1452 property:P190 ?r . ?r rdf:type ontology:Q515 }
Morocco Nepal Basilicata
Did you mean Basilicata ?
Basilicata
['Morocco', 'sister city', {'concept': 'city'}] ['Nepal', 'sister city', {'concept': 'city'}] ['Basilicata', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Basilicata property:sister_city ?r . ?r rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1452,P190,c(Q515))
['Q1452', 'P190', {'concept': 'Q515'}]
['Basilicata', 'sister city', {'concept': 'city'}]
[]
Q1486
SYSTEM
Buenos Aires
Q1486
(Q1452,P190,c(Q515))
action filter_type
action find
entity Q1452
relation P190
type Q515
Aires [ANSWER] is partner town of that administrative territory
['Q1452', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q1452 property:P190 ?r . ?r rdf:type ontology:Q515 }
Buenos Aires
Aires Buenos Aires is partner town of that administrative territory
Buenos Aires
action filter_type
action find
entity Basilicata
relation sister city
type city
['Basilicata', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Basilicata property:sister_city ?r . ?r rdf:type ontology:city }
[]