Simple Question (Direct)
Simple Question
Q16026838
P734
Q82799
USER
Which name is associated with Victor Hennequin ?
(Q16026838,P734,c(Q82799))
action filter_type
action find
entity Q16026838
relation P734
type Q82799
['Q16026838', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q16026838 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Victor Hennequin
action filter_type
action find
entity Victor Hennequin
relation family name
type name
['Victor Hennequin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Victor_Hennequin property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q21493029
SYSTEM
Hennequin
Q21493029
(Q16026838,P734,c(Q82799))
action filter_type
action find
entity Q16026838
relation P734
type Q82799
Musical [ANSWER] is associated with Victor [ANSWER]
['Q16026838', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q16026838 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Hennequin
Musical Hennequin is associated with Victor Hennequin
Hennequin
action filter_type
action find
entity Victor Hennequin
relation family name
type name
['Victor Hennequin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Victor_Hennequin property:family_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16026838
P21
Q290
USER
Which sex does Victor Hennequin belong to ?
(Q16026838,P21,c(Q290))
action filter_type
action find
entity Q16026838
relation P21
type Q290
['Q16026838', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q16026838 property:P21 ?a . ?a rdf:type ontology:Q290 }
Victor Hennequin
action filter_type
action find
entity Victor Hennequin
relation gender
type sex
['Victor Hennequin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Victor_Hennequin property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16026838,P21,c(Q290))
action filter_type
action find
entity Q16026838
relation P21
type Q290
Victor Hennequin belongs to [ANSWER]
['Q16026838', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q16026838 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Victor Hennequin belongs to male
male
action filter_type
action find
entity Victor Hennequin
relation gender
type sex
['Victor Hennequin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Victor_Hennequin property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18217879
Q290
USER
And also tell me about Raúl Pompa Victoria?
(Q18217879,P21,c(Q290))
action filter_type
action find
entity Q18217879
relation P21
type Q290
['Q18217879', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q18217879 property:P21 ?g . ?g rdf:type ontology:Q290 }
Raúl Pompa Victoria
action filter_type
action find
entity Raúl Pompa Victoria
relation gender
type sex
['Raúl Pompa Victoria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Raúl_Pompa_Victoria property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18217879,P21,c(Q290))
action filter_type
action find
entity Q18217879
relation P21
type Q290
[ANSWER]
['Q18217879', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q18217879 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Raúl Pompa Victoria
relation gender
type sex
['Raúl Pompa Victoria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Raúl_Pompa_Victoria property:gender ?g . ?g rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1255008 Q16026838
P20
Q56061
USER
Which administrative territories did the expiration of Victor Hennequin or Guiomar Torrezão occur ?
OR((Q16026838,P20,c(Q56061)), (Q1255008,P20,c(Q56061)))
action filter_type
action union
action find
entity Q16026838
relation P20
action find
entity Q1255008
relation P20
type Q56061
{'OR': [['Q16026838', 'P20', {'concept': 'Q56061'}], ['Q1255008', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { ?m property:P20 ?d . VALUES ( ?m ) { ( resource:Q1255008 ) ( resource:Q16026838 ) } } }
Guiomar Torrezão Victor Hennequin
action filter_type
action union
action find
entity Victor Hennequin
relation place of death
action find
entity Guiomar Torrezão
relation place of death
type administrative territorial entity
{'OR': [['Victor Hennequin', 'place of death', {'concept': 'administrative territorial entity'}], ['Guiomar Torrezão', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { ?m property:place_of_death ?d . VALUES ( ?m ) { ( resource:Guiomar_Torrezão ) ( resource:Victor_Hennequin ) } } }
[]
administrative territorial entity
Q597 Q90
SYSTEM
Lisbon, Paris
Q597 Q90
OR((Q16026838,P20,c(Q56061)), (Q1255008,P20,c(Q56061)))
action filter_type
action union
action find
entity Q16026838
relation P20
action find
entity Q1255008
relation P20
type Q56061
The expiration of Victor Hennequin or Guiomar Torrezão occurred in [ANSWERS]
{'OR': [['Q16026838', 'P20', {'concept': 'Q56061'}], ['Q1255008', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { ?m property:P20 ?d . VALUES ( ?m ) { ( resource:Q1255008 ) ( resource:Q16026838 ) } } }
Lisbon Paris
The expiration of Victor Hennequin or Guiomar Torrezão occurred in Lisbon and Paris
Lisbon Paris
action filter_type
action union
action find
entity Victor Hennequin
relation place of death
action find
entity Guiomar Torrezão
relation place of death
type administrative territorial entity
{'OR': [['Victor Hennequin', 'place of death', {'concept': 'administrative territorial entity'}], ['Guiomar Torrezão', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { ?m property:place_of_death ?d . VALUES ( ?m ) { ( resource:Guiomar_Torrezão ) ( resource:Victor_Hennequin ) } } }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q49233 Q597
P190
Q56061
USER
Which administrative territories are sister towns of Lisbon but not Orlando ?
AND((Q597,P190,c(Q56061)), NOT((Q49233,P190,c(Q56061))))
action filter_type
action difference
action find
entity Q597
relation P190
action find
entity Q49233
relation P190
type Q56061
{'AND': [['Q597', 'P190', {'concept': 'Q56061'}], {'NOT': [['Q49233', 'P190', {'concept': 'Q56061'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Q597 property:P190 ?i . MINUS { resource:Q49233 property:P190 ?i } . ?i rdf:type ontology:Q56061 }
Orlando Lisbon
action filter_type
action difference
action find
entity Lisbon
relation sister city
action find
entity Orlando
relation sister city
type administrative territorial entity
{'AND': [['Lisbon', 'sister city', {'concept': 'administrative territorial entity'}], {'NOT': [['Orlando', 'sister city', {'concept': 'administrative territorial entity'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Lisbon property:sister_city ?i . MINUS { resource:Orlando property:sister_city ?i } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781 Q1524 Q3932 Q62 Q1002807 Q42800 Q2807 Q1489 Q117040 Q3889
SYSTEM
Some of them are Budapest, Athens, São Tomé, San Francisco, Cacheu, Belo Horizonte, Madrid, Mexico City, Santiago de Cuba, Maputo
Q3897 Q174 Q641 Q117040 Q34820 Q3551 Q8678 Q3889 Q61089 Q1524 Q2807 Q42800 Q1335 Q1781 Q1489 Q9310 Q3856 Q1002807 Q3739 Q62 Q3932
AND((Q597,P190,c(Q56061)), NOT((Q49233,P190,c(Q56061))))
action filter_type
action difference
action find
entity Q597
relation P190
action find
entity Q49233
relation P190
type Q56061
[ANSWERS] are sister towns of Lisbon but not Orlando
{'AND': [['Q597', 'P190', {'concept': 'Q56061'}], {'NOT': [['Q49233', 'P190', {'concept': 'Q56061'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Q597 property:P190 ?i . MINUS { resource:Q49233 property:P190 ?i } . ?i rdf:type ontology:Q56061 }
Luanda São Paulo Venice Santiago de Cuba Santo Domingo Rabat Rio de Janeiro Maputo Malacca City Athens Madrid Belo Horizonte Montevideo Budapest Mexico City Dili Nicosia Cacheu Bissau San Francisco São Tomé
Budapest, Athens, São Tomé, San Francisco, Cacheu, Belo Horizonte, Madrid, Mexico City, Santiago de Cuba and Maputo are sister towns of Lisbon but not Orlando
Budapest Athens São Tomé San Francisco Cacheu Belo Horizonte Madrid Mexico City Santiago de Cuba Maputo
action filter_type
action difference
action find
entity Lisbon
relation sister city
action find
entity Orlando
relation sister city
type administrative territorial entity
{'AND': [['Lisbon', 'sister city', {'concept': 'administrative territorial entity'}], {'NOT': [['Orlando', 'sister city', {'concept': 'administrative territorial entity'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Lisbon property:sister_city ?i . MINUS { resource:Orlando property:sister_city ?i } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1781 Q1524 Q3932 Q62 Q1002807 Q42800 Q2807 Q1489 Q117040 Q3889
P17
Q15617994
USER
Which administrative territories are Budapest, Athens, São Tomé, San Francisco, Cacheu, Belo Horizonte, Madrid, Mexico City, Santiago de Cuba and Maputo located in ?
(Q1781,P17,c(Q15617994)) (Q1524,P17,c(Q15617994)) (Q3932,P17,c(Q15617994)) (Q62,P17,c(Q15617994)) (Q1002807,P17,c(Q15617994)) (Q42800,P17,c(Q15617994)) (Q2807,P17,c(Q15617994)) (Q1489,P17,c(Q15617994)) (Q117040,P17,c(Q15617994)) (Q3889,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1781
relation P17
type Q15617994
action filter_type
action find
entity Q1524
relation P17
type Q15617994
action filter_type
action find
entity Q3932
relation P17
type Q15617994
action filter_type
action find
entity Q62
relation P17
type Q15617994
action filter_type
action find
entity Q1002807
relation P17
type Q15617994
action filter_type
action find
entity Q42800
relation P17
type Q15617994
action filter_type
action find
entity Q2807
relation P17
type Q15617994
action filter_type
action find
entity Q1489
relation P17
type Q15617994
action filter_type
action find
entity Q117040
relation P17
type Q15617994
action filter_type
action find
entity Q3889
relation P17
type Q15617994
['Q1781', 'P17', {'concept': 'Q15617994'}] ['Q1524', 'P17', {'concept': 'Q15617994'}] ['Q3932', 'P17', {'concept': 'Q15617994'}] ['Q62', 'P17', {'concept': 'Q15617994'}] ['Q1002807', 'P17', {'concept': 'Q15617994'}] ['Q42800', 'P17', {'concept': 'Q15617994'}] ['Q2807', 'P17', {'concept': 'Q15617994'}] ['Q1489', 'P17', {'concept': 'Q15617994'}] ['Q117040', 'P17', {'concept': 'Q15617994'}] ['Q3889', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:Q15617994 . resource:Q1781 property:P17 ?b } UNION { resource:Q1524 property:P17 ?b . ?b rdf:type ontology:Q15617994 } }
Budapest Athens São Tomé San Francisco Cacheu Belo Horizonte Madrid Mexico City Santiago de Cuba Maputo
action union
action filter_type
action find
entity Budapest
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Athens
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity São Tomé
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity San Francisco
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cacheu
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Belo Horizonte
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Madrid
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Mexico City
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Santiago de Cuba
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Maputo
relation country
type designation for an administrative territorial entity
['Budapest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Athens', 'country', {'concept': 'designation for an administrative territorial entity'}] ['São Tomé', 'country', {'concept': 'designation for an administrative territorial entity'}] ['San Francisco', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cacheu', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belo Horizonte', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Madrid', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mexico City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Santiago de Cuba', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Maputo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Budapest property:country ?b } UNION { resource:Athens property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q155 Q30 Q96
SYSTEM
Brazil, United States of America, Mexico
Q28 Q41 Q1039 Q30 Q1007 Q155 Q29 Q96 Q241 Q1029
(Q1781,P17,c(Q15617994)) (Q1524,P17,c(Q15617994)) (Q3932,P17,c(Q15617994)) (Q62,P17,c(Q15617994)) (Q1002807,P17,c(Q15617994)) (Q42800,P17,c(Q15617994)) (Q2807,P17,c(Q15617994)) (Q1489,P17,c(Q15617994)) (Q117040,P17,c(Q15617994)) (Q3889,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1781
relation P17
type Q15617994
action filter_type
action find
entity Q1524
relation P17
type Q15617994
action filter_type
action find
entity Q3932
relation P17
type Q15617994
action filter_type
action find
entity Q62
relation P17
type Q15617994
action filter_type
action find
entity Q1002807
relation P17
type Q15617994
action filter_type
action find
entity Q42800
relation P17
type Q15617994
action filter_type
action find
entity Q2807
relation P17
type Q15617994
action filter_type
action find
entity Q1489
relation P17
type Q15617994
action filter_type
action find
entity Q117040
relation P17
type Q15617994
action filter_type
action find
entity Q3889
relation P17
type Q15617994
[ANSWERS] are Budapest, Athens, São Tomé, San Francisco, Cacheu, Belo Horizonte, Madrid, Mexico City, Santiago de Cuba and Maputo located in
['Q1781', 'P17', {'concept': 'Q15617994'}] ['Q1524', 'P17', {'concept': 'Q15617994'}] ['Q3932', 'P17', {'concept': 'Q15617994'}] ['Q62', 'P17', {'concept': 'Q15617994'}] ['Q1002807', 'P17', {'concept': 'Q15617994'}] ['Q42800', 'P17', {'concept': 'Q15617994'}] ['Q2807', 'P17', {'concept': 'Q15617994'}] ['Q1489', 'P17', {'concept': 'Q15617994'}] ['Q117040', 'P17', {'concept': 'Q15617994'}] ['Q3889', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:Q15617994 . resource:Q1781 property:P17 ?b } UNION { resource:Q1524 property:P17 ?b . ?b rdf:type ontology:Q15617994 } }
Hungary Greece Sao Tomé and Príncipe United States of America Guinea-Bissau Brazil Spain Mexico Cuba Mozambique
Brazil, United States of America and Mexico are Budapest, Athens, São Tomé, San Francisco, Cacheu, Belo Horizonte, Madrid, Mexico City, Santiago de Cuba and Maputo located in
Brazil United States of America Mexico
action union
action filter_type
action find
entity Budapest
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Athens
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity São Tomé
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity San Francisco
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cacheu
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Belo Horizonte
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Madrid
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Mexico City
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Santiago de Cuba
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Maputo
relation country
type designation for an administrative territorial entity
['Budapest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Athens', 'country', {'concept': 'designation for an administrative territorial entity'}] ['São Tomé', 'country', {'concept': 'designation for an administrative territorial entity'}] ['San Francisco', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cacheu', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belo Horizonte', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Madrid', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mexico City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Santiago de Cuba', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Maputo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Budapest property:country ?b } UNION { resource:Athens property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q30 Q96
P47
Q15617994
USER
Which administrative territories share border with Brazil, United States of America and Mexico ?
(Q155,P47,c(Q15617994)) (Q30,P47,c(Q15617994)) (Q96,P47,c(Q15617994))
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q30
relation P47
type Q15617994
action filter_type
action find
entity Q96
relation P47
type Q15617994
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q96', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { resource:Q155 property:P47 ?c . ?c rdf:type ontology:Q15617994 } UNION { resource:Q30 property:P47 ?c . ?c rdf:type ontology:Q15617994 } }
Brazil United States of America Mexico
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Mexico
relation shares border with
type designation for an administrative territorial entity
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { resource:Brazil property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:United_States_of_America property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q739 Q142 Q717 Q730 Q733 Q734 Q419 Q77 Q414 Q750 Q702 Q804 Q159 Q683 Q96 Q786 Q241 Q17 Q710 Q717 Q678 Q790 Q774 Q242 Q30
(Q155,P47,c(Q15617994)) (Q30,P47,c(Q15617994)) (Q96,P47,c(Q15617994))
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q30
relation P47
type Q15617994
action filter_type
action find
entity Q96
relation P47
type Q15617994
[ANSWERS] share border with Brazil, United States of America and Mexico
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q96', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { resource:Q155 property:P47 ?c . ?c rdf:type ontology:Q15617994 } UNION { resource:Q30 property:P47 ?c . ?c rdf:type ontology:Q15617994 } }
Colombia France Venezuela Suriname Paraguay Guyana Peru Uruguay Argentina Bolivia Federated States of Micronesia Panama Russia Samoa Mexico Dominican Republic Cuba Japan Kiribati Venezuela Tonga Haiti Guatemala Belize United States of America
United States of America, Russia and France share border with Brazil, United States of America and Mexico
United States of America Russia France
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Mexico
relation shares border with
type designation for an administrative territorial entity
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { resource:Brazil property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:United_States_of_America property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q62
P937
Q502895
USER
Who works at San Francisco ?
(c(Q502895),P937,Q62)
action filter_type
action find_reverse
entity Q62
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q62']
SELECT DISTINCT ?w WHERE { ?w property:P937 resource:Q62 . ?w rdf:type ontology:Q502895 }
San Francisco
action filter_type
action find_reverse
entity San Francisco
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'San Francisco']
SELECT DISTINCT ?w WHERE { ?w property:work_location resource:San_Francisco . ?w rdf:type ontology:common_name }
[]
common name
Q517818 Q513985 Q176246
SYSTEM
Trevor Dunn, Vi Redd, Marc Levy
Q1176847 Q1343730 Q3555416 Q76730 Q1766580 Q513985 Q354878 Q1477463 Q719680 Q2125041 Q517818 Q96428 Q15433076 Q79067 Q7026784 Q457601 Q176246 Q595529 Q16211413 Q1648602 Q2130598 Q433846 Q1556246 Q4954294 Q2699296
(c(Q502895),P937,Q62)
action filter_type
action find_reverse
entity Q62
relation P937
type Q502895
[ANSWERS] work at San Francisco
[{'concept': 'Q502895'}, 'P937', 'Q62']
SELECT DISTINCT ?w WHERE { ?w property:P937 resource:Q62 . ?w rdf:type ontology:Q502895 }
David Thomson Enrico Casarosa Vendela Vida Erich Mendelsohn Thomas Mooney Vi Redd Herbert Boyer Georg Altman Michael Kenna Rabih Alameddine Trevor Dunn Peter Berlin Ira Nowinski Lisette Model Nick Bilton Andrew Sean Greer Marc Levy Kaskade Robin Sloan Theodor Kirchhoff Randall D. Larson William Levada Gustav Overbeck Brad Stone Jane McGonigal
Trevor Dunn, Vi Redd and Marc Levy work at San Francisco
Trevor Dunn Vi Redd Marc Levy
action filter_type
action find_reverse
entity San Francisco
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'San Francisco']
SELECT DISTINCT ?w WHERE { ?w property:work_location resource:San_Francisco . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q513985
P136
Q151885
USER
Which concepts can be considered as genre of that person ?
(Q513985,P136,c(Q151885))
action filter_type
action find
entity Q513985
relation P136
type Q151885
['Q513985', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q151885 . resource:Q513985 property:P136 ?z }
Vi Redd
action filter_type
action find
entity Vi Redd
relation genre
type concept
['Vi Redd', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:concept . resource:Vi_Redd property:genre ?z }
[]
concept
Clarification for simple ques.
Q513985
SYSTEM
Did you mean Vi Redd ?
Q517818 Q513985 Q176246
(Q517818,P136,c(Q151885)) (Q513985,P136,c(Q151885)) (Q176246,P136,c(Q151885))
[ANSWER]
['Q517818', 'P136', {'concept': 'Q151885'}] ['Q513985', 'P136', {'concept': 'Q151885'}] ['Q176246', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q151885 . resource:Q513985 property:P136 ?z }
Trevor Dunn Vi Redd Marc Levy
Did you mean Vi Redd ?
Vi Redd
['Trevor Dunn', 'genre', {'concept': 'concept'}] ['Vi Redd', 'genre', {'concept': 'concept'}] ['Marc Levy', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:concept . resource:Vi_Redd property:genre ?z }
[]
Simple Question (Coreferenced)
USER
Yes
(Q513985,P136,c(Q151885))
['Q513985', 'P136', {'concept': 'Q151885'}]
['Vi Redd', 'genre', {'concept': 'concept'}]
[]
Q131272 Q181010 Q8341
SYSTEM
soul music, hard bop, jazz
Q131272 Q181010 Q8341 Q9759
(Q513985,P136,c(Q151885))
action filter_type
action find
entity Q513985
relation P136
type Q151885
[ANSWERS] can be considered as genre of that person
['Q513985', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q151885 . resource:Q513985 property:P136 ?z }
soul music hard bop jazz blues
Soul music, hard bop and jazz can be considered as genre of that person
soul music hard bop jazz
action filter_type
action find
entity Vi Redd
relation genre
type concept
['Vi Redd', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:concept . resource:Vi_Redd property:genre ?z }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7789429
P136
Q502895
USER
Does Thomas F. Carroll a those concepts as their class ?
(Q7789429,P136,Q131272) (Q7789429,P136,Q181010) (Q7789429,P136,Q8341)
action is_in
entity prev_answer
action find
entity Q7789429
relation P136
['Q7789429', 'P136', 'Q131272'] ['Q7789429', 'P136', 'Q181010'] ['Q7789429', 'P136', 'Q8341']
ASK WHERE { VALUES ( ?b ) { ( resource:Q131272 ) ( resource:Q181010 ) ( resource:Q8341 ) } . resource:Q7789429 property:P136 ?b }
Thomas F. Carroll
action is_in
entity prev_answer
action find
entity Thomas F. Carroll
relation genre
['Thomas F. Carroll', 'genre', 'soul music'] ['Thomas F. Carroll', 'genre', 'hard bop'] ['Thomas F. Carroll', 'genre', 'jazz']
ASK WHERE { VALUES ( ?b ) { ( resource:soul_music ) ( resource:hard_bop ) ( resource:jazz ) } . resource:Thomas_F._Carroll property:genre ?b }
[]
common name
SYSTEM
NO
(Q7789429,P136,Q131272) (Q7789429,P136,Q181010) (Q7789429,P136,Q8341)
action is_in
entity prev_answer
action find
entity Q7789429
relation P136
[ANSWER]
['Q7789429', 'P136', 'Q131272'] ['Q7789429', 'P136', 'Q181010'] ['Q7789429', 'P136', 'Q8341']
ASK WHERE { VALUES ( ?b ) { ( resource:Q131272 ) ( resource:Q181010 ) ( resource:Q8341 ) } . resource:Q7789429 property:P136 ?b }
No
action is_in
entity prev_answer
action find
entity Thomas F. Carroll
relation genre
['Thomas F. Carroll', 'genre', 'soul music'] ['Thomas F. Carroll', 'genre', 'hard bop'] ['Thomas F. Carroll', 'genre', 'jazz']
ASK WHERE { VALUES ( ?b ) { ( resource:soul_music ) ( resource:hard_bop ) ( resource:jazz ) } . resource:Thomas_F._Carroll property:genre ?b }
[]