Simple Question (Direct)
Simple Question
Q3838039
P495
Q15617994
USER
What is the country of origin of Komisario Palmun erehdys ?
(Q3838039,P495,c(Q15617994))
action filter_type
action find
entity Q3838039
relation P495
type Q15617994
['Q3838039', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3838039 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Komisario Palmun erehdys
action filter_type
action find
entity Komisario Palmun erehdys
relation country of origin
type designation for an administrative territorial entity
['Komisario Palmun erehdys', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Komisario_Palmun_erehdys property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q3838039,P495,c(Q15617994))
action filter_type
action find
entity Q3838039
relation P495
type Q15617994
The country of origin of Komisario Palmun is erehdys [ANSWER]
['Q3838039', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3838039 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Finland
The country of origin of Komisario Palmun is erehdys Finland
Finland
action filter_type
action find
entity Komisario Palmun erehdys
relation country of origin
type designation for an administrative territorial entity
['Komisario Palmun erehdys', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Komisario_Palmun_erehdys property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3838039
P915
Q15617994
USER
Which administrative territory was that work of art filmed at ?
(Q33,P915,c(Q15617994))
action filter_type
action find
entity Q3838039
relation P915
type Q15617994
['Q33', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3838039 property:P915 ?t . ?t rdf:type ontology:Q15617994 }
Komisario Palmun erehdys
action filter_type
action find
entity Komisario Palmun erehdys
relation filming location
type designation for an administrative territorial entity
['Finland', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Komisario_Palmun_erehdys property:filming_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q33,P915,c(Q15617994))
action filter_type
action find
entity Q3838039
relation P915
type Q15617994
That work of art was filmed in [ANSWER]
['Q33', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3838039 property:P915 ?t . ?t rdf:type ontology:Q15617994 }
Finland
That work of art was filmed in Finland
Finland
action filter_type
action find
entity Komisario Palmun erehdys
relation filming location
type designation for an administrative territorial entity
['Finland', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Komisario_Palmun_erehdys property:filming_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q838948 Q838948 Q15709879
USER
Which works of art are demonstrated in exactly 1 works of art and artwork series ?
(c(Q838948)|c(Q15709879),P180,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } . ?q rdf:type ?p } GROUP BY ?y } . FILTER ( ?n = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
value 1
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } . ?q rdf:type ?p } GROUP BY ?y } . FILTER ( ?n = 1 ) }
[]
work of art work of art artwork series
Q465762 Q848790 Q185392
SYSTEM
Laocoön and His Sons, Dying Gaul, Borghese Gladiator
Q143912 Q766487 Q2439030 Q23770419 Q1064990 Q3497617 Q267971 Q324926 Q3013723 Q2551806 Q185382 Q9764 Q179900 Q826635 Q2070542 Q733893 Q185392 Q619135 Q848790 Q907387 Q18177089 Q374591 Q945850 Q1989744 Q465762 Q492461 Q7539835 Q1349065 Q397447 Q208440
(c(Q838948)|c(Q15709879),P180,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
value 1
Laocoön and His Sons, dying Gaul and Borghese Gladiator are demonstrated in exactly 1 works of art and artwork series
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } . ?q rdf:type ?p } GROUP BY ?y } . FILTER ( ?n = 1 ) }
triumphal arch David St. Peter's Baldacchino Bear Hunter Monument aux Girondins equestrian statue of Joan of Arc Triton Fountain fibula The Railrodder Belvedere Torso Trevi Fountain flamenco David Elephant and Obelisk Hermes Chair of Saint Peter Borghese Gladiator Apollo Belvedere Dying Gaul Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Farnese Hercules Apollo and Daphne Moses Laocoön and His Sons kalathos Sleeping Ariadne Passion play torc chess piece
Laocoön and His Sons, dying Gaul and Borghese Gladiator are demonstrated in exactly 1 works of art and artwork series
Laocoön and His Sons Dying Gaul Borghese Gladiator
action equal
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
value 1
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } . ?q rdf:type ?p } GROUP BY ?y } . FILTER ( ?n = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1659572 Q848790
P170 P1346
Q502895
USER
Which people are credited with the creation of Dying Gaul or were the winner of NAACP Image Award for Outstanding Actress in a Motion Picture ?
OR((Q848790,P170,c(Q502895)), (Q1659572,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q848790
relation P170
action find
entity Q1659572
relation P1346
type Q502895
{'OR': [['Q848790', 'P170', {'concept': 'Q502895'}], ['Q1659572', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q848790 property:P170 ?d } UNION { resource:Q1659572 property:P1346 ?d } } }
NAACP Image Award for Outstanding Actress in a Motion Picture Dying Gaul
action filter_type
action union
action find
entity Dying Gaul
relation creator
action find
entity NAACP Image Award for Outstanding Actress in a Motion Picture
relation winner
type common name
{'OR': [['Dying Gaul', 'creator', {'concept': 'common name'}], ['NAACP Image Award for Outstanding Actress in a Motion Picture', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:Dying_Gaul property:creator ?d } UNION { resource:NAACP_Image_Award_for_Outstanding_Actress_in_a_Motion_Picture property:winner ?d } } }
[]
common name
Q919604 Q238081 Q526620 Q5400927 Q3606364 Q131814 Q49001 Q240233 Q1288034 Q36290
SYSTEM
Some of them are Denise Nicholas, Cicely Tyson, Alfre Woodard, Estelle Evans, Agasias, son of Menophilus, Tina Turner, Whoopi Goldberg, Diahann Carroll, Epigonus of Pergamum, Diana Ross
Q238081 Q131814 Q240233 Q36290 Q3606364 Q49001 Q5400927 Q446467 Q6167890 Q1288034 Q919604 Q526620
OR((Q848790,P170,c(Q502895)), (Q1659572,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q848790
relation P170
action find
entity Q1659572
relation P1346
type Q502895
[ANSWERS] are credited with the creation of Dying Gaul or were the winner of NAACP Image Award for Outstanding Actress in a Motion Picture
{'OR': [['Q848790', 'P170', {'concept': 'Q502895'}], ['Q1659572', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q848790 property:P170 ?d } UNION { resource:Q1659572 property:P1346 ?d } } }
Cicely Tyson Tina Turner Diahann Carroll Diana Ross Agasias, son of Menophilus Whoopi Goldberg Estelle Evans Barbara McNair Jayne Kennedy Epigonus of Pergamum Denise Nicholas Alfre Woodard
Denise Nicholas, Cicely Tyson, Alfre Woodard, Estelle Evans, Agasias, son of Menophilus, Tina Turner, Whoopi Goldberg, Diahann Carroll, Epigonus of Pergamum and Diana Ross are credited with the creation of Dying Gaul or were the winner of NAACP Image Award for Outstanding Actress in a Motion Picture
Denise Nicholas Cicely Tyson Alfre Woodard Estelle Evans Agasias, son of Menophilus Tina Turner Whoopi Goldberg Diahann Carroll Epigonus of Pergamum Diana Ross
action filter_type
action union
action find
entity Dying Gaul
relation creator
action find
entity NAACP Image Award for Outstanding Actress in a Motion Picture
relation winner
type common name
{'OR': [['Dying Gaul', 'creator', {'concept': 'common name'}], ['NAACP Image Award for Outstanding Actress in a Motion Picture', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:Dying_Gaul property:creator ?d } UNION { resource:NAACP_Image_Award_for_Outstanding_Actress_in_a_Motion_Picture property:winner ?d } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49001
P166
Q4220917
USER
What was received by that person ?
(Q49001,P166,c(Q4220917))
action filter_type
action find
entity Q49001
relation P166
type Q4220917
['Q49001', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q4220917 . resource:Q49001 property:P166 ?d }
Whoopi Goldberg
action filter_type
action find
entity Whoopi Goldberg
relation award received
type film award
['Whoopi Goldberg', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:film_award . resource:Whoopi_Goldberg property:award_received ?d }
[]
film award
Clarification for simple ques.
Q131814
SYSTEM
Did you mean Tina Turner ?
Q919604 Q238081 Q526620 Q5400927 Q3606364 Q131814 Q49001 Q240233 Q1288034 Q36290
(Q919604,P166,c(Q4220917)) (Q238081,P166,c(Q4220917)) (Q526620,P166,c(Q4220917)) (Q5400927,P166,c(Q4220917)) (Q3606364,P166,c(Q4220917)) (Q131814,P166,c(Q4220917)) (Q49001,P166,c(Q4220917)) (Q240233,P166,c(Q4220917)) (Q1288034,P166,c(Q4220917)) (Q36290,P166,c(Q4220917))
[ANSWER]
['Q919604', 'P166', {'concept': 'Q4220917'}] ['Q238081', 'P166', {'concept': 'Q4220917'}] ['Q526620', 'P166', {'concept': 'Q4220917'}] ['Q5400927', 'P166', {'concept': 'Q4220917'}] ['Q3606364', 'P166', {'concept': 'Q4220917'}] ['Q131814', 'P166', {'concept': 'Q4220917'}] ['Q49001', 'P166', {'concept': 'Q4220917'}] ['Q240233', 'P166', {'concept': 'Q4220917'}] ['Q1288034', 'P166', {'concept': 'Q4220917'}] ['Q36290', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q4220917 . resource:Q49001 property:P166 ?d }
Denise Nicholas Cicely Tyson Alfre Woodard Estelle Evans Agasias, son of Menophilus Tina Turner Whoopi Goldberg Diahann Carroll Epigonus of Pergamum Diana Ross
Did you mean Tina Turner ?
Tina Turner
['Denise Nicholas', 'award received', {'concept': 'film award'}] ['Cicely Tyson', 'award received', {'concept': 'film award'}] ['Alfre Woodard', 'award received', {'concept': 'film award'}] ['Estelle Evans', 'award received', {'concept': 'film award'}] ['Agasias, son of Menophilus', 'award received', {'concept': 'film award'}] ['Tina Turner', 'award received', {'concept': 'film award'}] ['Whoopi Goldberg', 'award received', {'concept': 'film award'}] ['Diahann Carroll', 'award received', {'concept': 'film award'}] ['Epigonus of Pergamum', 'award received', {'concept': 'film award'}] ['Diana Ross', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:film_award . resource:Whoopi_Goldberg property:award_received ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant Whoopi Goldberg. Could you tell me the answer for that?
(Q49001,P166,c(Q4220917))
Q49001
['Q49001', 'P166', {'concept': 'Q4220917'}]
['Whoopi Goldberg', 'award received', {'concept': 'film award'}]
[]
Q106301
SYSTEM
Academy Award for Best Supporting Actress
Q106301
(Q49001,P166,c(Q4220917))
action filter_type
action find
entity Q49001
relation P166
type Q4220917
[ANSWER] was received by that person
['Q49001', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q4220917 . resource:Q49001 property:P166 ?d }
Academy Award for Best Supporting Actress
Academy Award for Best Supporting Actress was received by that person
Academy Award for Best Supporting Actress
action filter_type
action find
entity Whoopi Goldberg
relation award received
type film award
['Whoopi Goldberg', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:film_award . resource:Whoopi_Goldberg property:award_received ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q131814
P106
Q12737077 Q151885
USER
How many occupations and concepts are the job of Tina Turner ?
(Q131814,P106,c(Q12737077)) (Q131814,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q131814
relation P106
type Q12737077
action filter_type
action find
entity Q131814
relation P106
type Q151885
['Q131814', 'P106', {'concept': 'Q12737077'}] ['Q131814', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { VALUES ( ?e ) { ( ontology:Q12737077 ) ( ontology:Q151885 ) } . ?w rdf:type ?e }
Tina Turner
action count
action union
action filter_type
action find
entity Tina Turner
relation occupation
type occupation
action filter_type
action find
entity Tina Turner
relation occupation
type concept
['Tina Turner', 'occupation', {'concept': 'occupation'}] ['Tina Turner', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { VALUES ( ?e ) { ( ontology:occupation ) ( ontology:concept ) } . ?w rdf:type ?e }
[]
occupation concept
SYSTEM
7 occupations and 1 concepts
Q639669 Q10798782 Q33999 Q36180 Q5716684 Q2490358 Q18814623 Q177220
(Q131814,P106,c(Q12737077)) (Q131814,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q131814
relation P106
type Q12737077
action filter_type
action find
entity Q131814
relation P106
type Q151885
[ANSWER]
['Q131814', 'P106', {'concept': 'Q12737077'}] ['Q131814', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { VALUES ( ?e ) { ( ontology:Q12737077 ) ( ontology:Q151885 ) } . ?w rdf:type ?e }
musician television actor actor writer dancer choreographer autobiographer singer
7 occupations and 1 concepts
action count
action union
action filter_type
action find
entity Tina Turner
relation occupation
type occupation
action filter_type
action find
entity Tina Turner
relation occupation
type concept
['Tina Turner', 'occupation', {'concept': 'occupation'}] ['Tina Turner', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { VALUES ( ?e ) { ( ontology:occupation ) ( ontology:concept ) } . ?w rdf:type ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131814
P451
Q502895
USER
Who is the partner of Tina Turner ?
(Q131814,P451,c(Q502895))
action filter_type
action find
entity Q131814
relation P451
type Q502895
['Q131814', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q131814 property:P451 ?m . ?m rdf:type ontology:Q502895 }
Tina Turner
action filter_type
action find
entity Tina Turner
relation partner
type common name
['Tina Turner', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Tina_Turner property:partner ?m . ?m rdf:type ontology:common_name }
[]
common name
Q16797831
SYSTEM
Erwin Bach
Q16797831
(Q131814,P451,c(Q502895))
action filter_type
action find
entity Q131814
relation P451
type Q502895
The partner of Tina Turner is Franz [ANSWER]
['Q131814', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q131814 property:P451 ?m . ?m rdf:type ontology:Q502895 }
Erwin Bach
The partner of Tina Turner is Franz Erwin Bach
Erwin Bach
action filter_type
action find
entity Tina Turner
relation partner
type common name
['Tina Turner', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Tina_Turner property:partner ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16797831
P26
Q502895
USER
Which person is married to that one ?
(Q16797831,P26,c(Q502895))
action filter_type
action find
entity Q16797831
relation P26
type Q502895
['Q16797831', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q16797831 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Erwin Bach
action filter_type
action find
entity Erwin Bach
relation spouse
type common name
['Erwin Bach', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Erwin_Bach property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q131814
SYSTEM
Tina Turner
Q131814
(Q16797831,P26,c(Q502895))
action filter_type
action find
entity Q16797831
relation P26
type Q502895
Her [ANSWER] is married to that one
['Q16797831', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q16797831 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Tina Turner
Her Tina Turner is married to that one
Tina Turner
action filter_type
action find
entity Erwin Bach
relation spouse
type common name
['Erwin Bach', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Erwin_Bach property:spouse ?e . ?e rdf:type ontology:common_name }
[]