Simple Question (Direct)
Simple Question
Q235219
P26
Q502895
USER
Who is married to Amy Madigan ?
(Q235219,P26,c(Q502895))
action filter_type
action find
entity Q235219
relation P26
type Q502895
['Q235219', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q235219 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Amy Madigan
action filter_type
action find
entity Amy Madigan
relation spouse
type common name
['Amy Madigan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Amy_Madigan property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q104791
SYSTEM
Ed Harris
Q104791
(Q235219,P26,c(Q502895))
action filter_type
action find
entity Q235219
relation P26
type Q502895
Harris [ANSWER] is married to Amy Madigan
['Q235219', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q235219 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Ed Harris
Harris Ed Harris is married to Amy Madigan
Ed Harris
action filter_type
action find
entity Amy Madigan
relation spouse
type common name
['Amy Madigan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Amy_Madigan property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q104791
P175
Q6619679
USER
Who performed that person ?
(c(Q6619679),P175,Q104791)
action filter_type
action find_reverse
entity Q104791
relation P175
type Q6619679
[{'concept': 'Q6619679'}, 'P175', 'Q104791']
SELECT DISTINCT ?q WHERE { ?q property:P175 resource:Q104791 . ?q rdf:type ontology:Q6619679 }
Ed Harris
action filter_type
action find_reverse
entity Ed Harris
relation performer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'performer', 'Ed Harris']
SELECT DISTINCT ?q WHERE { ?q property:performer resource:Ed_Harris . ?q rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q24043367
SYSTEM
Mitch Wilkinson
Q24043367
(c(Q6619679),P175,Q104791)
action filter_type
action find_reverse
entity Q104791
relation P175
type Q6619679
The [ANSWER] performed that person
[{'concept': 'Q6619679'}, 'P175', 'Q104791']
SELECT DISTINCT ?q WHERE { ?q property:P175 resource:Q104791 . ?q rdf:type ontology:Q6619679 }
Mitch Wilkinson
The Mitch Wilkinson performed that person
Mitch Wilkinson
action filter_type
action find_reverse
entity Ed Harris
relation performer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'performer', 'Ed Harris']
SELECT DISTINCT ?q WHERE { ?q property:performer resource:Ed_Harris . ?q rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q104791
P551
Q56061
USER
Which administrative territories were the place of residence of Ed Harris ?
(Q104791,P551,c(Q56061))
action filter_type
action find
entity Q104791
relation P551
type Q56061
['Q104791', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q104791 property:P551 ?l . ?l rdf:type ontology:Q56061 }
Ed Harris
action filter_type
action find
entity Ed Harris
relation residence
type administrative territorial entity
['Ed Harris', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Ed_Harris property:residence ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q387047 Q1013254 Q65
SYSTEM
Malibu, Tenafly, Los Angeles
Q387047 Q1013254 Q65
(Q104791,P551,c(Q56061))
action filter_type
action find
entity Q104791
relation P551
type Q56061
[ANSWERS] were the place of residence of Ed Harris
['Q104791', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q104791 property:P551 ?l . ?l rdf:type ontology:Q56061 }
Malibu Tenafly Los Angeles
Malibu, Tenafly and Los Angeles were the place of residence of Ed Harris
Malibu Tenafly Los Angeles
action filter_type
action find
entity Ed Harris
relation residence
type administrative territorial entity
['Ed Harris', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Ed_Harris property:residence ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q79529 Q2472587 Q56061
USER
How many administrative territories have approximately 1 chemical substances or peoples as their namesake ?
(c(Q56061),P138,c(Q79529)|c(Q2472587))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q56061
type Q79529
action find_tuple_counts
relation P138
type Q56061
type Q2472587
value 1
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:Q56061 . ?w rdf:type ontology:Q79529 . ?d property:P138 ?w } UNION { ?d property:P138 ?w . ?d rdf:type ontology:Q56061 . ?w rdf:type ontology:Q2472587 } } GROUP BY ?d } . FILTER ( ?m = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
action find_tuple_counts
relation named after
type administrative territorial entity
type people
value 1
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'people'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:chemical_substance . ?d property:named_after ?w } UNION { ?d property:named_after ?w . ?d rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:people } } GROUP BY ?d } . FILTER ( ?m = 1 ) }
[]
chemical substance people administrative territorial entity
SYSTEM
8
Q131335 Q970482 Q3239732 Q2294628 Q666165 Q50816 Q2621007 Q103661
(c(Q56061),P138,c(Q79529)|c(Q2472587))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q56061
type Q79529
action find_tuple_counts
relation P138
type Q56061
type Q2472587
value 1
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:Q56061 . ?w rdf:type ontology:Q79529 . ?d property:P138 ?w } UNION { ?d property:P138 ?w . ?d rdf:type ontology:Q56061 . ?w rdf:type ontology:Q2472587 } } GROUP BY ?d } . FILTER ( ?m = 1 ) }
Sioux Falls Nacogdoches Sulphur Oneida Augusta Treverorum Mississauga Kreva Apatity
8
action count
action approx
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
action find_tuple_counts
relation named after
type administrative territorial entity
type people
value 1
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'people'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:chemical_substance . ?d property:named_after ?w } UNION { ?d property:named_after ?w . ?d rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:people } } GROUP BY ?d } . FILTER ( ?m = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2011211 Q104791
P161
Q838948
USER
Which works of art do Ed Harris or Dorothy West star in ?
OR((c(Q838948),P161,Q104791), (c(Q838948),P161,Q2011211))
action filter_type
action union
action find_reverse
entity Q104791
relation P161
action find_reverse
entity Q2011211
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q104791'], [{'concept': 'Q838948'}, 'P161', 'Q2011211']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P161 resource:Q104791 } UNION { ?i property:P161 resource:Q2011211 } } . ?i rdf:type ontology:Q838948 }
Dorothy West Ed Harris
action filter_type
action union
action find_reverse
entity Ed Harris
relation cast member
action find_reverse
entity Dorothy West
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Ed Harris'], [{'concept': 'work of art'}, 'cast member', 'Dorothy West']]}
SELECT DISTINCT ?i WHERE { { { ?i property:cast_member resource:Ed_Harris } UNION { ?i property:cast_member resource:Dorothy_West } } . ?i rdf:type ontology:work_of_art }
[]
work of art
Q923009 Q300439 Q492908 Q19829347 Q1984935 Q4297094 Q82352 Q2301732 Q336517 Q3281277
SYSTEM
Some of them are Swing Shift, A History of Violence, Snowpiercer, In Dubious Battle, A Corner in Wheat, Phantom, Radio, Milk Money, The Abyss, Borderline
Q3281277 Q3544111 Q1636538 Q2140247 Q4297094 Q839042 Q2819744 Q15220567 Q3206911 Q2579784 Q3190085 Q164103 Q542216 Q3521173 Q216720 Q492908 Q174601 Q387562 Q2843993 Q3522593 Q3521706 Q3205079 Q332497 Q3136465 Q214801 Q3264157 Q388360 Q3063298 Q1197185 Q2830457 Q530741 Q3521436 Q1751143 Q336517 Q157044 Q106428 Q267018 Q15046522 Q20311415 Q966746 Q59073 Q766427 Q3352660 Q744102 Q575778 Q821692 Q3521051 Q2611949 Q287274 Q2543479 Q969428 Q2844877 Q3525869 Q2301732 Q7828715 Q271006 Q5245338 Q300439 Q3506557 Q5306413 Q17097948 Q620655 Q14723964 Q653473 Q247182 Q3342925 Q1099448 Q4385602 Q194696 Q3520396 Q923009 Q2819663 Q3522553 Q2441475 Q3520255 Q498383 Q82352 Q1466736 Q19829347 Q1660749 Q1659511 Q3519622 Q2999017 Q1196270 Q2673630 Q1786299 Q760229 Q1984935 Q3147065 Q697231 Q1347019 Q844068 Q2567396 Q3520549
OR((c(Q838948),P161,Q104791), (c(Q838948),P161,Q2011211))
action filter_type
action union
action find_reverse
entity Q104791
relation P161
action find_reverse
entity Q2011211
relation P161
type Q838948
[ANSWERS] do Ed Harris or Dorothy West star in
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q104791'], [{'concept': 'Q838948'}, 'P161', 'Q2011211']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P161 resource:Q104791 } UNION { ?i property:P161 resource:Q2011211 } } . ?i rdf:type ontology:Q838948 }
Borderline Salvation Boulevard State of Grace Under Fire Phantom Nixon A Fool's Revenge Run All Night The Girl and the Outlaw Gravity Junket Whore A Beautiful Mind The Brahma Diamond The Guerrilla The Rock Snowpiercer Jacknife China Moon The Politician's Love Story The Salvation Army Lass The Lure of the Gown The Voice of the Violin Absolute Power His Wife's Mother The Truman Show Love Finds a Way National Treasure: Book of Secrets Winter Passing The Right Stuff Alamo Bay Once Fallen The Joneses Have Amateur Theatricals Ramona The Abyss The Hours Apollo 13 Stepmom The Face of Love A Flash of Green At the Altar Places in the Heart Pain & Gain One Touch of Nature Creepshow The Way Back The Firm The Girls and Daddy Virginia Waking the Dead Sweet Dreams Masked and Anonymous An Awful Moment Those Boys! Milk Money Touching Home Enemy at the Gates Dead On: The Life and Cinema of George A. Romero A History of Violence Sweet Vengeance Dream On! The Adderall Diaries Appaloosa Cymbeline Buffalo Soldiers Gone Baby Gone Code Name: Emerald Cleaner Paris Trout Man on a Ledge The Cord of Life Swing Shift A Burglar's Mistake The Roue's Heart The Golden Louis The Chief's Daughter Coma Radio Pollock In Dubious Battle Needful Things Just Cause That's What I Am The Prime Gig To Kill a Priest Knightriders Walker Eye for an Eye A Corner in Wheat I Did It The Human Stain Copying Beethoven Glengarry Glen Ross The Third Miracle The Deception
Swing Shift, A History of Violence, Snowpiercer, In Dubious Battle, A Corner in Wheat, Phantom, Radio, Milk Money, The Abyss and Borderline do Ed Harris or Dorothy West star in
Swing Shift A History of Violence Snowpiercer In Dubious Battle A Corner in Wheat Phantom Radio Milk Money The Abyss Borderline
action filter_type
action union
action find_reverse
entity Ed Harris
relation cast member
action find_reverse
entity Dorothy West
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Ed Harris'], [{'concept': 'work of art'}, 'cast member', 'Dorothy West']]}
SELECT DISTINCT ?i WHERE { { { ?i property:cast_member resource:Ed_Harris } UNION { ?i property:cast_member resource:Dorothy_West } } . ?i rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2011211
P161
Q201658 Q838948
USER
How many film genres and works of art do Dorothy West star in ?
(c(Q201658),P161,Q2011211) (c(Q838948),P161,Q2011211)
action count
action union
action filter_type
action find_reverse
entity Q2011211
relation P161
type Q201658
action filter_type
action find_reverse
entity Q2011211
relation P161
type Q838948
[{'concept': 'Q201658'}, 'P161', 'Q2011211'] [{'concept': 'Q838948'}, 'P161', 'Q2011211']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v property:P161 resource:Q2011211 . ?v rdf:type ontology:Q201658 } UNION { ?v property:P161 resource:Q2011211 . ?v rdf:type ontology:Q838948 } }
Dorothy West
action count
action union
action filter_type
action find_reverse
entity Dorothy West
relation cast member
type film genre
action filter_type
action find_reverse
entity Dorothy West
relation cast member
type work of art
[{'concept': 'film genre'}, 'cast member', 'Dorothy West'] [{'concept': 'work of art'}, 'cast member', 'Dorothy West']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v property:cast_member resource:Dorothy_West . ?v rdf:type ontology:film_genre } UNION { ?v property:cast_member resource:Dorothy_West . ?v rdf:type ontology:work_of_art } }
[]
film genre work of art
SYSTEM
1 film genres and 25 works of art
Q3525869 Q3147065 Q3264157 Q966746 Q3521706 Q3521051 Q3521436 Q1751143 Q3206911 Q1984935 Q3136465 Q542216 Q3520396 Q3521173 Q2819663 Q3522553 Q2819744 Q2441475 Q2843993 Q3352660 Q3520255 Q3522593 Q3987442 Q3205079 Q2844877 Q3520549
(c(Q201658),P161,Q2011211) (c(Q838948),P161,Q2011211)
action count
action union
action filter_type
action find_reverse
entity Q2011211
relation P161
type Q201658
action filter_type
action find_reverse
entity Q2011211
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q201658'}, 'P161', 'Q2011211'] [{'concept': 'Q838948'}, 'P161', 'Q2011211']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v property:P161 resource:Q2011211 . ?v rdf:type ontology:Q201658 } UNION { ?v property:P161 resource:Q2011211 . ?v rdf:type ontology:Q838948 } }
Those Boys! I Did It Love Finds a Way At the Altar The Lure of the Gown The Girls and Daddy The Joneses Have Amateur Theatricals Ramona The Girl and the Outlaw A Corner in Wheat His Wife's Mother The Brahma Diamond The Cord of Life The Guerrilla A Burglar's Mistake The Roue's Heart A Fool's Revenge The Golden Louis The Politician's Love Story One Touch of Nature The Chief's Daughter The Salvation Army Lass The Habit of Happiness The Voice of the Violin An Awful Moment The Deception
1 film genres and 25 works of art
action count
action union
action filter_type
action find_reverse
entity Dorothy West
relation cast member
type film genre
action filter_type
action find_reverse
entity Dorothy West
relation cast member
type work of art
[{'concept': 'film genre'}, 'cast member', 'Dorothy West'] [{'concept': 'work of art'}, 'cast member', 'Dorothy West']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v property:cast_member resource:Dorothy_West . ?v rdf:type ontology:film_genre } UNION { ?v property:cast_member resource:Dorothy_West . ?v rdf:type ontology:work_of_art } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q842224 Q300439
P47 P495
Q1048835
USER
Which political territories are the countries of origin of A History of Violence or share the border with El Campello ?
OR((Q300439,P495,c(Q1048835)), (Q842224,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q300439
relation P495
action find
entity Q842224
relation P47
type Q1048835
{'OR': [['Q300439', 'P495', {'concept': 'Q1048835'}], ['Q842224', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q300439 property:P495 ?e } UNION { resource:Q842224 property:P47 ?e } } . ?e rdf:type ontology:Q1048835 }
El Campello A History of Violence
action filter_type
action union
action find
entity A History of Violence
relation country of origin
action find
entity El Campello
relation shares border with
type political territorial entity
{'OR': [['A History of Violence', 'country of origin', {'concept': 'political territorial entity'}], ['El Campello', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:A_History_of_Violence property:country_of_origin ?e } UNION { resource:El_Campello property:shares_border_with ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1749271 Q740204 Q183 Q1631458 Q1768824 Q618657
SYSTEM
Busot, Sant Joan d'Alacant, Germany, Mutxamel, Orxeta, Aigües
Q1749271 Q740204 Q183 Q1631458 Q1768824 Q618657
OR((Q300439,P495,c(Q1048835)), (Q842224,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q300439
relation P495
action find
entity Q842224
relation P47
type Q1048835
[ANSWERS] are the countries of origin of A History of Violence or share the border with El Campello
{'OR': [['Q300439', 'P495', {'concept': 'Q1048835'}], ['Q842224', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q300439 property:P495 ?e } UNION { resource:Q842224 property:P47 ?e } } . ?e rdf:type ontology:Q1048835 }
Busot Sant Joan d'Alacant Germany Mutxamel Orxeta Aigües
Busot, Sant Joan d'Alacant, Germany, Mutxamel, Orxeta and Aigües are the countries of origin of A History of Violence or share the border with El Campello
Busot Sant Joan d'Alacant Germany Mutxamel Orxeta Aigües
action filter_type
action union
action find
entity A History of Violence
relation country of origin
action find
entity El Campello
relation shares border with
type political territorial entity
{'OR': [['A History of Violence', 'country of origin', {'concept': 'political territorial entity'}], ['El Campello', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:A_History_of_Violence property:country_of_origin ?e } UNION { resource:El_Campello property:shares_border_with ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q14481563 Q19829347
P495
Q15617994
USER
Which administrative territories are the origins of In Dubious Battle or À Beira do Caminho ?
OR((Q19829347,P495,c(Q15617994)), (Q14481563,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q19829347
relation P495
action find
entity Q14481563
relation P495
type Q15617994
{'OR': [['Q19829347', 'P495', {'concept': 'Q15617994'}], ['Q14481563', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { ?z property:P495 ?t . VALUES ( ?z ) { ( resource:Q19829347 ) ( resource:Q14481563 ) } } . ?t rdf:type ontology:Q15617994 }
À Beira do Caminho In Dubious Battle
action filter_type
action union
action find
entity In Dubious Battle
relation country of origin
action find
entity À Beira do Caminho
relation country of origin
type designation for an administrative territorial entity
{'OR': [['In Dubious Battle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['À Beira do Caminho', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?z property:country_of_origin ?t . VALUES ( ?z ) { ( resource:In_Dubious_Battle ) ( resource:À_Beira_do_Caminho ) } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
OR((Q19829347,P495,c(Q15617994)), (Q14481563,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q19829347
relation P495
action find
entity Q14481563
relation P495
type Q15617994
[ANSWERS] are the origins of In Dubious Battle or À Beira do Caminho
{'OR': [['Q19829347', 'P495', {'concept': 'Q15617994'}], ['Q14481563', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { ?z property:P495 ?t . VALUES ( ?z ) { ( resource:Q19829347 ) ( resource:Q14481563 ) } } . ?t rdf:type ontology:Q15617994 }
Brazil United States of America
Brazil and United States of America are the origins of In Dubious Battle or À Beira do Caminho
Brazil United States of America
action filter_type
action union
action find
entity In Dubious Battle
relation country of origin
action find
entity À Beira do Caminho
relation country of origin
type designation for an administrative territorial entity
{'OR': [['In Dubious Battle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['À Beira do Caminho', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?z property:country_of_origin ?t . VALUES ( ?z ) { ( resource:In_Dubious_Battle ) ( resource:À_Beira_do_Caminho ) } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155
P17
Q15617994
USER
Which administrative territory does that one belong to ?
(Q155,P17,c(Q15617994))
action filter_type
action find
entity Q155
relation P17
type Q15617994
['Q155', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q155 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Brazil
action filter_type
action find
entity Brazil
relation country
type designation for an administrative territorial entity
['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Brazil property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q30
SYSTEM
Did you mean United States of America ?
Q155 Q30
(Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994))
[ANSWER]
['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q155 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Brazil United States of America
Did you mean United States of America ?
United States of America
['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Brazil property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Brazil. Could you tell me the answer for that?
(Q155,P17,c(Q15617994))
Q155
['Q155', 'P17', {'concept': 'Q15617994'}]
['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q155
SYSTEM
Brazil
Q155
(Q155,P17,c(Q15617994))
action filter_type
action find
entity Q155
relation P17
type Q15617994
That one belongs to the [ANSWER]
['Q155', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q155 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Brazil
That one belongs to the Brazil
Brazil
action filter_type
action find
entity Brazil
relation country
type designation for an administrative territorial entity
['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Brazil property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]