Simple Question (Direct)
Simple Question
Q1695243
P1412
Q34770
USER
Which language does Robert Ward speak in ?
(Q1695243,P1412,c(Q34770))
action filter_type
action find
entity Q1695243
relation P1412
type Q34770
['Q1695243', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q1695243 property:P1412 ?q }
Robert Ward
action filter_type
action find
entity Robert Ward
relation languages spoken, written or signed
type language
['Robert Ward', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Robert_Ward property:languages_spoken,_written_or_signed ?q }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1695243,P1412,c(Q34770))
action filter_type
action find
entity Q1695243
relation P1412
type Q34770
Robert Ward speaks Home [ANSWER]
['Q1695243', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q1695243 property:P1412 ?q }
English
Robert Ward speaks Home English
English
action filter_type
action find
entity Robert Ward
relation languages spoken, written or signed
type language
['Robert Ward', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Robert_Ward property:languages_spoken,_written_or_signed ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1695243
P69
Q163740
USER
Which nonprofit organization is the alma mater of that person ?
(Q1860,P69,c(Q163740))
action filter_type
action find
entity Q1695243
relation P69
type Q163740
['Q1860', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q1695243 property:P69 ?d . ?d rdf:type ontology:Q163740 }
Robert Ward
action filter_type
action find
entity Robert Ward
relation educated at
type nonprofit organization
['English', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Robert_Ward property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q503246
SYSTEM
Juilliard School
Q503246
(Q1860,P69,c(Q163740))
action filter_type
action find
entity Q1695243
relation P69
type Q163740
[ANSWER] is the alma mater of that person
['Q1860', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q1695243 property:P69 ?d . ?d rdf:type ontology:Q163740 }
Juilliard School
Juilliard School is the alma mater of that person
Juilliard School
action filter_type
action find
entity Robert Ward
relation educated at
type nonprofit organization
['English', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Robert_Ward property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q397
P364
Q34770 Q15416 Q201658
USER
How many languages were used originally for the creation of more number of television programs or film genres than Latin ?
(c(Q15416)|c(Q201658),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q397
relation P364
type Q15416
type Q201658
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P364 resource:Q397 . { VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } . ?o rdf:type ?r } } } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?l WHERE { ?a rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } } GROUP BY ?l } }
Latin
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action count
action filter_multi_types
action find_reverse
entity Latin
relation original language of work
type television program
type film genre
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:original_language_of_work resource:Latin . { VALUES ( ?r ) { ( ontology:television_program ) ( ontology:film_genre ) } . ?o rdf:type ?r } } } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?l WHERE { ?a rdf:type ?c . VALUES ( ?c ) { ( ontology:television_program ) ( ontology:film_genre ) } } GROUP BY ?l } }
[]
language television program film genre
SYSTEM
6
Q1860 Q8785 Q1321 Q9056 Q8752 Q652
(c(Q15416)|c(Q201658),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q397
relation P364
type Q15416
type Q201658
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P364 resource:Q397 . { VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } . ?o rdf:type ?r } } } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?l WHERE { ?a rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } } GROUP BY ?l } }
English Armenian Spanish Czech Basque Italian
6
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action count
action filter_multi_types
action find_reverse
entity Latin
relation original language of work
type television program
type film genre
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:original_language_of_work resource:Latin . { VALUES ( ?r ) { ( ontology:television_program ) ( ontology:film_genre ) } . ?o rdf:type ?r } } } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?l WHERE { ?a rdf:type ?c . VALUES ( ?c ) { ( ontology:television_program ) ( ontology:film_genre ) } } GROUP BY ?l } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q36206
P364
Q34770 Q15416 Q201658
USER
And also tell me about Lak?
(c(Q15416)|c(Q201658),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q36206
relation P364
type Q15416
type Q201658
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?w > ?z ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P364 resource:Q36206 . { { ?k rdf:type ontology:Q201658 } UNION { ?k rdf:type ontology:Q15416 } } } } . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:P364 ?a . ?n rdf:type ontology:Q15416 . ?a rdf:type ontology:Q34770 } UNION { ?n property:P364 ?a . ?n rdf:type ontology:Q201658 . ?a rdf:type ontology:Q34770 } } GROUP BY ?a } }
Lak
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action count
action filter_multi_types
action find_reverse
entity Lak
relation original language of work
type television program
type film genre
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?w > ?z ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:original_language_of_work resource:Lak . { { ?k rdf:type ontology:film_genre } UNION { ?k rdf:type ontology:television_program } } } } . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:original_language_of_work ?a . ?n rdf:type ontology:television_program . ?a rdf:type ontology:language } UNION { ?n property:original_language_of_work ?a . ?n rdf:type ontology:film_genre . ?a rdf:type ontology:language } } GROUP BY ?a } }
[]
language television program film genre
SYSTEM
6
Q1860 Q8785 Q1321 Q9056 Q8752 Q652
(c(Q15416)|c(Q201658),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q36206
relation P364
type Q15416
type Q201658
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?w > ?z ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P364 resource:Q36206 . { { ?k rdf:type ontology:Q201658 } UNION { ?k rdf:type ontology:Q15416 } } } } . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:P364 ?a . ?n rdf:type ontology:Q15416 . ?a rdf:type ontology:Q34770 } UNION { ?n property:P364 ?a . ?n rdf:type ontology:Q201658 . ?a rdf:type ontology:Q34770 } } GROUP BY ?a } }
English Armenian Spanish Czech Basque Italian
6
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action count
action filter_multi_types
action find_reverse
entity Lak
relation original language of work
type television program
type film genre
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?w > ?z ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:original_language_of_work resource:Lak . { { ?k rdf:type ontology:film_genre } UNION { ?k rdf:type ontology:television_program } } } } . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:original_language_of_work ?a . ?n rdf:type ontology:television_program . ?a rdf:type ontology:language } UNION { ?n property:original_language_of_work ?a . ?n rdf:type ontology:film_genre . ?a rdf:type ontology:language } } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q503246
P108
Q502895
USER
Which people are working for Juilliard School ?
(c(Q502895),P108,Q503246)
action filter_type
action find_reverse
entity Q503246
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q503246']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q503246 . ?l rdf:type ontology:Q502895 }
Juilliard School
action filter_type
action find_reverse
entity Juilliard School
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Juilliard School']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:Juilliard_School . ?l rdf:type ontology:common_name }
[]
common name
Q6767478 Q318518 Q1571322
SYSTEM
Mark Eddinger, Milton Babbitt, Hall Overton
Q744928 Q2580837 Q19841713 Q1571322 Q16019087 Q318518 Q7608898 Q6767478
(c(Q502895),P108,Q503246)
action filter_type
action find_reverse
entity Q503246
relation P108
type Q502895
[ANSWERS] are working for Juilliard School
[{'concept': 'Q502895'}, 'P108', 'Q503246']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q503246 . ?l rdf:type ontology:Q502895 }
Abbey Simon William Vacchiano Samuel Zyman Hall Overton Mary Hinkson Milton Babbitt Stephen Clapp Mark Eddinger
Mark Eddinger, Milton Babbitt and Hall Overton are working for Juilliard School
Mark Eddinger Milton Babbitt Hall Overton
action filter_type
action find_reverse
entity Juilliard School
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Juilliard School']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:Juilliard_School . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6767478 Q318518 Q1571322
P69
Q163740
USER
Which nonprofit organizations were those people educated at ?
(Q6767478,P69,c(Q163740)) (Q318518,P69,c(Q163740)) (Q1571322,P69,c(Q163740))
action filter_type
action find
entity prev_answer
relation P69
type Q163740
['Q6767478', 'P69', {'concept': 'Q163740'}] ['Q318518', 'P69', {'concept': 'Q163740'}] ['Q1571322', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q163740 . ?p property:P69 ?b . VALUES ( ?p ) { ( resource:Q744928 ) ( resource:Q2580837 ) ( resource:Q19841713 ) } }
Mark Eddinger Milton Babbitt Hall Overton
action filter_type
action find
entity prev_answer
relation educated at
type nonprofit organization
['Mark Eddinger', 'educated at', {'concept': 'nonprofit organization'}] ['Milton Babbitt', 'educated at', {'concept': 'nonprofit organization'}] ['Hall Overton', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:nonprofit_organization . ?p property:educated_at ?b . VALUES ( ?p ) { ( resource:Abbey_Simon ) ( resource:William_Vacchiano ) ( resource:Samuel_Zyman ) } }
[]
nonprofit organization
Q49117 Q49210 Q41506
SYSTEM
University of Pennsylvania, New York University, Stanford University
Q41506 Q49117 Q21578 Q49210 Q503246
(Q6767478,P69,c(Q163740)) (Q318518,P69,c(Q163740)) (Q1571322,P69,c(Q163740))
action filter_type
action find
entity prev_answer
relation P69
type Q163740
Those people were educated at [ANSWERS]
['Q6767478', 'P69', {'concept': 'Q163740'}] ['Q318518', 'P69', {'concept': 'Q163740'}] ['Q1571322', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q163740 . ?p property:P69 ?b . VALUES ( ?p ) { ( resource:Q744928 ) ( resource:Q2580837 ) ( resource:Q19841713 ) } }
Stanford University University of Pennsylvania Princeton University New York University Juilliard School
Those people were educated at University of Pennsylvania, New York University and Stanford University
University of Pennsylvania New York University Stanford University
action filter_type
action find
entity prev_answer
relation educated at
type nonprofit organization
['Mark Eddinger', 'educated at', {'concept': 'nonprofit organization'}] ['Milton Babbitt', 'educated at', {'concept': 'nonprofit organization'}] ['Hall Overton', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:nonprofit_organization . ?p property:educated_at ?b . VALUES ( ?p ) { ( resource:Abbey_Simon ) ( resource:William_Vacchiano ) ( resource:Samuel_Zyman ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q49117 Q49210 Q41506
P17
Q15617994
USER
Which administrative territories do University of Pennsylvania, New York University and Stanford University belong to ?
(Q49117,P17,c(Q15617994)) (Q49210,P17,c(Q15617994)) (Q41506,P17,c(Q15617994))
action union
action filter_type
action find
entity Q49117
relation P17
type Q15617994
action filter_type
action find
entity Q49210
relation P17
type Q15617994
action filter_type
action find
entity Q41506
relation P17
type Q15617994
['Q49117', 'P17', {'concept': 'Q15617994'}] ['Q49210', 'P17', {'concept': 'Q15617994'}] ['Q41506', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?t ) { ( resource:Q49117 ) ( resource:Q49210 ) } . ?t property:P17 ?d }
University of Pennsylvania New York University Stanford University
action union
action filter_type
action find
entity University of Pennsylvania
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity New York University
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Stanford University
relation country
type designation for an administrative territorial entity
['University of Pennsylvania', 'country', {'concept': 'designation for an administrative territorial entity'}] ['New York University', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Stanford University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?t ) { ( resource:University_of_Pennsylvania ) ( resource:New_York_University ) } . ?t property:country ?d }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q49117,P17,c(Q15617994)) (Q49210,P17,c(Q15617994)) (Q41506,P17,c(Q15617994))
action union
action filter_type
action find
entity Q49117
relation P17
type Q15617994
action filter_type
action find
entity Q49210
relation P17
type Q15617994
action filter_type
action find
entity Q41506
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] University of Pennsylvania, New York University and Stanford University belong to
['Q49117', 'P17', {'concept': 'Q15617994'}] ['Q49210', 'P17', {'concept': 'Q15617994'}] ['Q41506', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?t ) { ( resource:Q49117 ) ( resource:Q49210 ) } . ?t property:P17 ?d }
United States of America United States of America United States of America
United States of America, United States of America and United States of America University of Pennsylvania, New York University and Stanford University belong to
United States of America United States of America United States of America
action union
action filter_type
action find
entity University of Pennsylvania
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity New York University
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Stanford University
relation country
type designation for an administrative territorial entity
['University of Pennsylvania', 'country', {'concept': 'designation for an administrative territorial entity'}] ['New York University', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Stanford University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?t ) { ( resource:University_of_Pennsylvania ) ( resource:New_York_University ) } . ?t property:country ?d }
[]