Simple Question (Direct)
Simple Question
Q4840320
P162
Q502895
USER
Who is the producer of Bad Golf Made Easier ?
(Q4840320,P162,c(Q502895))
action filter_type
action find
entity Q4840320
relation P162
type Q502895
['Q4840320', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q4840320 property:P162 ?x . ?x rdf:type ontology:Q502895 }
Bad Golf Made Easier
action filter_type
action find
entity Bad Golf Made Easier
relation producer
type common name
['Bad Golf Made Easier', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Bad_Golf_Made_Easier property:producer ?x . ?x rdf:type ontology:common_name }
[]
common name
Q4353707
SYSTEM
Carter DeHaven
Q4353707
(Q4840320,P162,c(Q502895))
action filter_type
action find
entity Q4840320
relation P162
type Q502895
The producer of Bad Golf Made Easier is Chris [ANSWER]
['Q4840320', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q4840320 property:P162 ?x . ?x rdf:type ontology:Q502895 }
Carter DeHaven
The producer of Bad Golf Made Easier is Chris Carter DeHaven
Carter DeHaven
action filter_type
action find
entity Bad Golf Made Easier
relation producer
type common name
['Bad Golf Made Easier', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Bad_Golf_Made_Easier property:producer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4353707
P40
Q502895
USER
Which person is a child of that one ?
(Q4353707,P40,c(Q502895))
action filter_type
action find
entity Q4353707
relation P40
type Q502895
['Q4353707', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q4353707 property:P40 ?g }
Carter DeHaven
action filter_type
action find
entity Carter DeHaven
relation child
type common name
['Carter DeHaven', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Carter_DeHaven property:child ?g }
[]
common name
Q447891
SYSTEM
Gloria DeHaven
Q447891
(Q4353707,P40,c(Q502895))
action filter_type
action find
entity Q4353707
relation P40
type Q502895
[ANSWER] is a child of that one
['Q4353707', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q4353707 property:P40 ?g }
Gloria DeHaven
Gloria DeHaven is a child of that one
Gloria DeHaven
action filter_type
action find
entity Carter DeHaven
relation child
type common name
['Carter DeHaven', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Carter_DeHaven property:child ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q313696
Q502895
USER
And how about Joseph P. Kennedy, Sr.?
(Q313696,P40,c(Q502895))
action filter_type
action find
entity Q313696
relation P40
type Q502895
['Q313696', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q313696 property:P40 ?u . ?u rdf:type ontology:Q502895 }
Joseph P. Kennedy, Sr.
action filter_type
action find
entity Joseph P. Kennedy, Sr.
relation child
type common name
['Joseph P. Kennedy, Sr.', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Joseph_P._Kennedy,_Sr. property:child ?u . ?u rdf:type ontology:common_name }
[]
common name
Q9696 Q25310 Q134549
SYSTEM
John F. Kennedy, Robert F. Kennedy, Ted Kennedy
Q25310 Q432694 Q268799 Q272908 Q134549 Q272401 Q9696 Q505178 Q265595
(Q313696,P40,c(Q502895))
action filter_type
action find
entity Q313696
relation P40
type Q502895
[ANSWERS]
['Q313696', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q313696 property:P40 ?u . ?u rdf:type ontology:Q502895 }
Robert F. Kennedy Patricia Kennedy Lawford Kathleen Cavendish, Marchioness of Hartington Eunice Kennedy Shriver Ted Kennedy Jean Kennedy Smith John F. Kennedy Joseph P. Kennedy Rosemary Kennedy
John F. Kennedy Robert F. Kennedy Ted Kennedy
action filter_type
action find
entity Joseph P. Kennedy, Sr.
relation child
type common name
['Joseph P. Kennedy, Sr.', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Joseph_P._Kennedy,_Sr. property:child ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q1656682 Q464980 Q502895
USER
Which people were exhibited at atmost 2 events or exhibitions ?
(c(Q502895),P608,c(Q1656682)|c(Q464980))
action atmost
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q464980
value 2
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?g ) WHERE { { ?t property:P608 ?l . ?l rdf:type ontology:Q464980 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P608 ?l . ?l rdf:type ontology:Q1656682 . ?t rdf:type ontology:Q502895 } } GROUP BY ?t } . FILTER ( ?g <= 2 ) }
action atmost
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type exhibition
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?g ) WHERE { { ?t property:exhibition_history ?l . ?l rdf:type ontology:exhibition . ?t rdf:type ontology:common_name } UNION { ?t property:exhibition_history ?l . ?l rdf:type ontology:event . ?t rdf:type ontology:common_name } } GROUP BY ?t } . FILTER ( ?g <= 2 ) }
[]
event exhibition common name
Q1964408 Q5040332 Q15527965
SYSTEM
Nan Hoover, Carl Holty, Margaretha Roosenboom
Q70006 Q17314881 Q17455385 Q15734263 Q15734265 Q6196481 Q4945678 Q16004451 Q4648360 Q7649008 Q16858002 Q15991813 Q6990118 Q16062545 Q5671224 Q17625628 Q16005428 Q27505608 Q5248733 Q2824894 Q1964408 Q15734237 Q2965423 Q5040332 Q6687160 Q3289592 Q20888837 Q22815085 Q5375139 Q9015308 Q805807 Q16080418 Q16121375 Q15527965 Q15873898 Q55192 Q3335569 Q16968866
(c(Q502895),P608,c(Q1656682)|c(Q464980))
action atmost
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q464980
value 2
[ANSWERS] were exhibited at atmost 2 events or exhibitions
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?g ) WHERE { { ?t property:P608 ?l . ?l rdf:type ontology:Q464980 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P608 ?l . ?l rdf:type ontology:Q1656682 . ?t rdf:type ontology:Q502895 } } GROUP BY ?t } . FILTER ( ?g <= 2 ) }
Lotte Jacobi René Izaure Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Jim Love Martha Edelheit Jennifer Bolande A. S. Baylinson Susie Bootja Bootja Napaltjarri Anne Mee Judie Bamber Nellie Mae Rowe Alice Havers Pablo Borges Delgado Deborah De Robertis Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Nan Hoover Tony van Alphen Christian Lhopital Carl Holty Louis Ferstadt Moniek Toebosch Angélique Bègue Georges Violet Ena Swansea Juan Carlos Alom Balto Alyce Frank Judith Lowry Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Nancy Elizabeth Prophet Lydia Schouten
Nan Hoover, Carl Holty and Margaretha Roosenboom were exhibited at atmost 2 events or exhibitions
Nan Hoover Carl Holty Margaretha Roosenboom
action atmost
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type exhibition
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?g ) WHERE { { ?t property:exhibition_history ?l . ?l rdf:type ontology:exhibition . ?t rdf:type ontology:common_name } UNION { ?t property:exhibition_history ?l . ?l rdf:type ontology:event . ?t rdf:type ontology:common_name } } GROUP BY ?t } . FILTER ( ?g <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5040332
P172
Q2472587
USER
Which people does Carl Holty have as ethnic origin ?
(Q5040332,P172,c(Q2472587))
action filter_type
action find
entity Q5040332
relation P172
type Q2472587
['Q5040332', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?x WHERE { resource:Q5040332 property:P172 ?x . ?x rdf:type ontology:Q2472587 }
Carl Holty
action filter_type
action find
entity Carl Holty
relation ethnic group
type people
['Carl Holty', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?x WHERE { resource:Carl_Holty property:ethnic_group ?x . ?x rdf:type ontology:people }
[]
people
Q42884
SYSTEM
Germans
Q42884
(Q5040332,P172,c(Q2472587))
action filter_type
action find
entity Q5040332
relation P172
type Q2472587
Carl Holty has had [ANSWER] as ethnic origin
['Q5040332', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?x WHERE { resource:Q5040332 property:P172 ?x . ?x rdf:type ontology:Q2472587 }
Germans
Carl Holty has had Germans as ethnic origin
Germans
action filter_type
action find
entity Carl Holty
relation ethnic group
type people
['Carl Holty', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?x WHERE { resource:Carl_Holty property:ethnic_group ?x . ?x rdf:type ontology:people }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18588738
Q2472587
USER
And what about Leon Weintraub?
(Q18588738,P172,c(Q2472587))
action filter_type
action find
entity Q18588738
relation P172
type Q2472587
['Q18588738', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?x WHERE { resource:Q18588738 property:P172 ?x . ?x rdf:type ontology:Q2472587 }
Leon Weintraub
action filter_type
action find
entity Leon Weintraub
relation ethnic group
type people
['Leon Weintraub', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?x WHERE { resource:Leon_Weintraub property:ethnic_group ?x . ?x rdf:type ontology:people }
[]
people
Q7325
SYSTEM
Jewish people
Q7325
(Q18588738,P172,c(Q2472587))
action filter_type
action find
entity Q18588738
relation P172
type Q2472587
[ANSWER]
['Q18588738', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?x WHERE { resource:Q18588738 property:P172 ?x . ?x rdf:type ontology:Q2472587 }
Jewish people
Jewish people
action filter_type
action find
entity Leon Weintraub
relation ethnic group
type people
['Leon Weintraub', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?x WHERE { resource:Leon_Weintraub property:ethnic_group ?x . ?x rdf:type ontology:people }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q7725634 Q11424
USER
How many works of art inspired atmost 1 literary works or films ?
(c(Q7725634)|c(Q11424),P941,c(Q838948))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
value 1
[[{'concept': 'Q7725634'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?g WHERE { { ?o property:P941 ?g . ?g rdf:type ontology:Q838948 . ?o rdf:type ontology:Q7725634 } UNION { ?o property:P941 ?g . ?g rdf:type ontology:Q838948 . ?o rdf:type ontology:Q11424 } } GROUP BY ?g } . FILTER ( ?b <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
value 1
[[{'concept': 'literary work'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?g WHERE { { ?o property:inspired_by ?g . ?g rdf:type ontology:work_of_art . ?o rdf:type ontology:literary_work } UNION { ?o property:inspired_by ?g . ?g rdf:type ontology:work_of_art . ?o rdf:type ontology:film } } GROUP BY ?g } . FILTER ( ?b <= 1 ) }
[]
work of art literary work film
SYSTEM
35
Q125191 Q1136305 Q1198611 Q107724 Q1217787 Q1856846 Q7758112 Q46239 Q1852671 Q19560629 Q17738 Q1345920 Q181598 Q2568137 Q753298 Q201293 Q1754737 Q1432001 Q41567 Q1144983 Q18668045 Q7445655 Q186014 Q4936847 Q3223805 Q5968141 Q379873 Q734834 Q1170100 Q375786 Q83186 Q465478 Q493755 Q214619 Q169082
(c(Q7725634)|c(Q11424),P941,c(Q838948))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
value 1
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?g WHERE { { ?o property:P941 ?g . ?g rdf:type ontology:Q838948 . ?o rdf:type ontology:Q7725634 } UNION { ?o property:P941 ?g . ?g rdf:type ontology:Q838948 . ?o rdf:type ontology:Q11424 } } GROUP BY ?g } . FILTER ( ?b <= 1 ) }
photograph Doryphoros The Absent-Minded Professor Thunderball The Time Machine The Ballad of Cable Hogue The Pretty Sister of Jose Statue of Zeus at Olympia Carnival of Souls 9/11 entschlüsselt Star Wars Episode IV: A New Hope Song of the South King Lear How to Explain Pictures to a Dead Hare Uncle Vanya Roman Holiday Lady Snowblood Torquato Tasso Hamlet Animal Kingdom The Old Fisherman Seedbed Zeitgeist: The Movie Body Pressure The Judgement of Paris La sirena varada Who Framed Roger Rabbit Ghent Altarpiece The Philadelphia Experiment Hippolytus Romeo and Juliet Star Trek II: The Wrath of Khan Coming to America The Little Mermaid 10 Things I Hate About You
35
action count
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
value 1
[[{'concept': 'literary work'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?g WHERE { { ?o property:inspired_by ?g . ?g rdf:type ontology:work_of_art . ?o rdf:type ontology:literary_work } UNION { ?o property:inspired_by ?g . ?g rdf:type ontology:work_of_art . ?o rdf:type ontology:film } } GROUP BY ?g } . FILTER ( ?b <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9696
P451
Q502895
USER
Which person has John F. Kennedy as relationship partner ?
(c(Q502895),P451,Q9696)
action filter_type
action find_reverse
entity Q9696
relation P451
type Q502895
[{'concept': 'Q502895'}, 'P451', 'Q9696']
SELECT DISTINCT ?v WHERE { ?v property:P451 resource:Q9696 . ?v rdf:type ontology:Q502895 }
John F. Kennedy
action filter_type
action find_reverse
entity John F. Kennedy
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'John F. Kennedy']
SELECT DISTINCT ?v WHERE { ?v property:partner resource:John_F._Kennedy . ?v rdf:type ontology:common_name }
[]
common name
Q4612
SYSTEM
Marlene Dietrich
Q4612
(c(Q502895),P451,Q9696)
action filter_type
action find_reverse
entity Q9696
relation P451
type Q502895
[ANSWER] has John F. Kennedy as relationship partner
[{'concept': 'Q502895'}, 'P451', 'Q9696']
SELECT DISTINCT ?v WHERE { ?v property:P451 resource:Q9696 . ?v rdf:type ontology:Q502895 }
Marlene Dietrich
Marlene Dietrich has John F. Kennedy as relationship partner
Marlene Dietrich
action filter_type
action find_reverse
entity John F. Kennedy
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'John F. Kennedy']
SELECT DISTINCT ?v WHERE { ?v property:partner resource:John_F._Kennedy . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9696
P509
Q2057971
USER
Which health problem was the cause of death of John F. Kennedy ?
(Q9696,P509,c(Q2057971))
action filter_type
action find
entity Q9696
relation P509
type Q2057971
['Q9696', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2057971 . resource:Q9696 property:P509 ?v }
John F. Kennedy
action filter_type
action find
entity John F. Kennedy
relation cause of death
type health problem
['John F. Kennedy', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:health_problem . resource:John_F._Kennedy property:cause_of_death ?v }
[]
health problem
Q2140674
SYSTEM
ballistic trauma
Q2140674
(Q9696,P509,c(Q2057971))
action filter_type
action find
entity Q9696
relation P509
type Q2057971
[ANSWER] was the cause of death of John F. Kennedy
['Q9696', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2057971 . resource:Q9696 property:P509 ?v }
ballistic trauma
Ballistic trauma was the cause of death of John F. Kennedy
ballistic trauma
action filter_type
action find
entity John F. Kennedy
relation cause of death
type health problem
['John F. Kennedy', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:health_problem . resource:John_F._Kennedy property:cause_of_death ?v }
[]