Simple Question (Direct)
Simple Question
Q18152809
P172
Q2472587
USER
Which ethnic group does Jennell Hawkins belong ?
(Q18152809,P172,c(Q2472587))
action filter_type
action find
entity Q18152809
relation P172
type Q2472587
['Q18152809', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?t WHERE { resource:Q18152809 property:P172 ?t . ?t rdf:type ontology:Q2472587 }
Jennell Hawkins
action filter_type
action find
entity Jennell Hawkins
relation ethnic group
type people
['Jennell Hawkins', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?t WHERE { resource:Jennell_Hawkins property:ethnic_group ?t . ?t rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q18152809,P172,c(Q2472587))
action filter_type
action find
entity Q18152809
relation P172
type Q2472587
Jennell Hawkins belongs to [ANSWER]
['Q18152809', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?t WHERE { resource:Q18152809 property:P172 ?t . ?t rdf:type ontology:Q2472587 }
African Americans
Jennell Hawkins belongs to African Americans
African Americans
action filter_type
action find
entity Jennell Hawkins
relation ethnic group
type people
['Jennell Hawkins', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?t WHERE { resource:Jennell_Hawkins property:ethnic_group ?t . ?t rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18152809
P1303
Q34379
USER
Which musical instrument can Jennell Hawkins perform with ?
(Q18152809,P1303,c(Q34379))
action filter_type
action find
entity Q18152809
relation P1303
type Q34379
['Q18152809', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { resource:Q18152809 property:P1303 ?s . ?s rdf:type ontology:Q34379 }
Jennell Hawkins
action filter_type
action find
entity Jennell Hawkins
relation instrument
type musical instrument
['Jennell Hawkins', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { resource:Jennell_Hawkins property:instrument ?s . ?s rdf:type ontology:musical_instrument }
[]
musical instrument
Q1444
SYSTEM
organ
Q1444
(Q18152809,P1303,c(Q34379))
action filter_type
action find
entity Q18152809
relation P1303
type Q34379
Jennell Hawkins can perform on [ANSWER]
['Q18152809', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { resource:Q18152809 property:P1303 ?s . ?s rdf:type ontology:Q34379 }
organ
Jennell Hawkins can perform on organ
organ
action filter_type
action find
entity Jennell Hawkins
relation instrument
type musical instrument
['Jennell Hawkins', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { resource:Jennell_Hawkins property:instrument ?s . ?s rdf:type ontology:musical_instrument }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3310536
Q34379
USER
And what about Michel Pelay?
(Q3310536,P1303,c(Q34379))
action filter_type
action find
entity Q3310536
relation P1303
type Q34379
['Q3310536', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { resource:Q3310536 property:P1303 ?g . ?g rdf:type ontology:Q34379 }
Michel Pelay
action filter_type
action find
entity Michel Pelay
relation instrument
type musical instrument
['Michel Pelay', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { resource:Michel_Pelay property:instrument ?g . ?g rdf:type ontology:musical_instrument }
[]
musical instrument
Q128309
SYSTEM
drum kit
Q128309
(Q3310536,P1303,c(Q34379))
action filter_type
action find
entity Q3310536
relation P1303
type Q34379
[ANSWER]
['Q3310536', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { resource:Q3310536 property:P1303 ?g . ?g rdf:type ontology:Q34379 }
drum kit
drum kit
action filter_type
action find
entity Michel Pelay
relation instrument
type musical instrument
['Michel Pelay', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { resource:Michel_Pelay property:instrument ?g . ?g rdf:type ontology:musical_instrument }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8047014 Q18152809
P27
Q15617994
USER
Which administrative territories do Jennell Hawkins or Yajuvendra Krishanatry belong to ?
OR((Q18152809,P27,c(Q15617994)), (Q8047014,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18152809
relation P27
action find
entity Q8047014
relation P27
type Q15617994
{'OR': [['Q18152809', 'P27', {'concept': 'Q15617994'}], ['Q8047014', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q18152809 property:P27 ?b } UNION { resource:Q8047014 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Yajuvendra Krishanatry Jennell Hawkins
action filter_type
action union
action find
entity Jennell Hawkins
relation country of citizenship
action find
entity Yajuvendra Krishanatry
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jennell Hawkins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yajuvendra Krishanatry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Jennell_Hawkins property:country_of_citizenship ?b } UNION { resource:Yajuvendra_Krishanatry property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q668
SYSTEM
United States of America, India
Q30 Q668
OR((Q18152809,P27,c(Q15617994)), (Q8047014,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18152809
relation P27
action find
entity Q8047014
relation P27
type Q15617994
Jennell Hawkins or Yajuvendra Krishanatry belong to the [ANSWERS]
{'OR': [['Q18152809', 'P27', {'concept': 'Q15617994'}], ['Q8047014', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q18152809 property:P27 ?b } UNION { resource:Q8047014 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
United States of America India
Jennell Hawkins or Yajuvendra Krishanatry belong to the United States of America and India
United States of America India
action filter_type
action union
action find
entity Jennell Hawkins
relation country of citizenship
action find
entity Yajuvendra Krishanatry
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jennell Hawkins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yajuvendra Krishanatry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Jennell_Hawkins property:country_of_citizenship ?b } UNION { resource:Yajuvendra_Krishanatry property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q668 Q1454086
P921
Q838948
USER
How many works of art have India or Freie Ärzteschaft as their main topic ?
(c(Q838948),P921,Q668) (c(Q838948),P921,Q1454086)
action count
action union
action filter_type
action find_reverse
entity Q668
relation P921
type Q838948
action filter_type
action find_reverse
entity Q1454086
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q668'] [{'concept': 'Q838948'}, 'P921', 'Q1454086']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { VALUES ( ?t ) { ( resource:Q1454086 ) ( resource:Q668 ) } . ?v property:P921 ?t }
India Freie Ärzteschaft
action count
action union
action filter_type
action find_reverse
entity India
relation main subject
type work of art
action filter_type
action find_reverse
entity Freie Ärzteschaft
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'India'] [{'concept': 'work of art'}, 'main subject', 'Freie Ärzteschaft']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { VALUES ( ?t ) { ( resource:Freie_Ärzteschaft ) ( resource:India ) } . ?v property:main_subject ?t }
[]
work of art
SYSTEM
26
Q1198315 Q5469156 Q5308676 Q3620997 Q5073591 Q3135820 Q7497983 Q16249291 Q6960921 Q6732789 Q4940543 Q15043365 Q7683875 Q5376858 Q1806709 Q7501766 Q2295188 Q7729654 Q5018913 Q16159294 Q1496030 Q16247607 Q5097757 Q7735369 Q17009402 Q17013953
(c(Q838948),P921,Q668) (c(Q838948),P921,Q1454086)
action count
action union
action filter_type
action find_reverse
entity Q668
relation P921
type Q838948
action filter_type
action find_reverse
entity Q1454086
relation P921
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q668'] [{'concept': 'Q838948'}, 'P921', 'Q1454086']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { VALUES ( ?t ) { ( resource:Q1454086 ) ( resource:Q668 ) } . ?v property:P921 ?t }
Breath of the Gods Forest of Bliss Drowned Out Appunti per un film sull'India Char... The No-Man's Island Hippie Masala Shipbreakers Inshallah, Kashmir Nalini by Day, Nancy by Night Mahadiga Bombay Calling Salim Baba Tantric Tourists Energising India Last Hippie Standing Short Cut to Nirvana: Kumbh Mela Smile Pinki The Delhi Way Calcutta Leaving Home – the Life & Music of Indian Ocean India: Matri Bhumi Children of the Pyre Child Marriage The Frontier Gandhi Doing Time, Doing Vipassana Phantom India
26
action count
action union
action filter_type
action find_reverse
entity India
relation main subject
type work of art
action filter_type
action find_reverse
entity Freie Ärzteschaft
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'India'] [{'concept': 'work of art'}, 'main subject', 'Freie Ärzteschaft']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { VALUES ( ?t ) { ( resource:Freie_Ärzteschaft ) ( resource:India ) } . ?v property:main_subject ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P30
Q2221906
USER
Which geographic locations are United States of America located in ?
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { resource:Q30 property:P30 ?j . ?j rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:continent ?j . ?j rdf:type ontology:geographic_location }
[]
geographic location
Q49 Q538
SYSTEM
North America, Oceania
Q49 Q538
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
United States of America are located in [ANSWERS]
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { resource:Q30 property:P30 ?j . ?j rdf:type ontology:Q2221906 }
North America Oceania
United States of America are located in North America and Oceania
North America Oceania
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:continent ?j . ?j rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1538
Q2221906
USER
And also tell me about Pune?
(Q1538,P30,c(Q2221906))
action filter_type
action find
entity Q1538
relation P30
type Q2221906
['Q1538', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q1538 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Pune
action filter_type
action find
entity Pune
relation continent
type geographic location
['Pune', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Pune property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q1538,P30,c(Q2221906))
action filter_type
action find
entity Q1538
relation P30
type Q2221906
[ANSWER]
['Q1538', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q1538 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Asia
Asia
action filter_type
action find
entity Pune
relation continent
type geographic location
['Pune', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Pune property:continent ?x . ?x rdf:type ontology:geographic_location }
[]