Simple Question (Direct)
Simple Question
Q4720589
P1412
Q34770
USER
Which language does Alexandra Billings speak in ?
(Q4720589,P1412,c(Q34770))
action filter_type
action find
entity Q4720589
relation P1412
type Q34770
['Q4720589', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q4720589 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Alexandra Billings
action filter_type
action find
entity Alexandra Billings
relation languages spoken, written or signed
type language
['Alexandra Billings', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Alexandra_Billings property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4720589,P1412,c(Q34770))
action filter_type
action find
entity Q4720589
relation P1412
type Q34770
Alexandra Billings speaks [ANSWER]
['Q4720589', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q4720589 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
English
Alexandra Billings speaks English
English
action filter_type
action find
entity Alexandra Billings
relation languages spoken, written or signed
type language
['Alexandra Billings', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Alexandra_Billings property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4720589
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q1860,P27,c(Q15617994))
action filter_type
action find
entity Q4720589
relation P27
type Q15617994
['Q1860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4720589 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Alexandra Billings
action filter_type
action find
entity Alexandra Billings
relation country of citizenship
type designation for an administrative territorial entity
['English', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Alexandra_Billings property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1860,P27,c(Q15617994))
action filter_type
action find
entity Q4720589
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q1860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4720589 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity Alexandra Billings
relation country of citizenship
type designation for an administrative territorial entity
['English', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Alexandra_Billings property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P364
Q34770 Q15416 Q2342494
USER
How many languages are considered to be the original language of creation of approximately 2469 television programs or collectables ?
(c(Q15416)|c(Q2342494),P364,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
value 2469
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { FILTER ( ?p = 2469 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?k WHERE { VALUES ( ?q ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?h rdf:type ?q } GROUP BY ?k } }
action count
action approx
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 collectable
value 2469
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { FILTER ( ?p = 2469 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?k WHERE { VALUES ( ?q ) { ( ontology:collectable ) ( ontology:television_program ) } . ?h rdf:type ?q } GROUP BY ?k } }
[]
language television program collectable
SYSTEM
31
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q15416)|c(Q2342494),P364,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
value 2469
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { FILTER ( ?p = 2469 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?k WHERE { VALUES ( ?q ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?h rdf:type ?q } GROUP BY ?k } }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
31
action count
action approx
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 collectable
value 2469
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { FILTER ( ?p = 2469 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?k WHERE { VALUES ( ?q ) { ( ontology:collectable ) ( ontology:television_program ) } . ?h rdf:type ?q } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P710
Q930933
USER
Which relationship was Switzerland a participant of ?
(c(Q930933),P710,Q39)
action filter_type
action find_reverse
entity Q39
relation P710
type Q930933
[{'concept': 'Q930933'}, 'P710', 'Q39']
SELECT DISTINCT ?f WHERE { ?f property:P710 resource:Q39 . ?f rdf:type ontology:Q930933 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Switzerland']
SELECT DISTINCT ?f WHERE { ?f property:participant resource:Switzerland . ?f rdf:type ontology:relationship }
[]
relationship
Q4793366
SYSTEM
Armenia–Switzerland relations
Q4793366
(c(Q930933),P710,Q39)
action filter_type
action find_reverse
entity Q39
relation P710
type Q930933
Which relationship was Switzerland a participant of
[{'concept': 'Q930933'}, 'P710', 'Q39']
SELECT DISTINCT ?f WHERE { ?f property:P710 resource:Q39 . ?f rdf:type ontology:Q930933 }
Armenia–Switzerland relations
Which relationship was Switzerland a participant of
Armenia–Switzerland relations
action filter_type
action find_reverse
entity Switzerland
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Switzerland']
SELECT DISTINCT ?f WHERE { ?f property:participant resource:Switzerland . ?f rdf:type ontology:relationship }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4793366
P17
Q15617994
USER
Which administrative territory does that relationship belong to ?
(Q4793366,P17,c(Q15617994))
action filter_type
action find
entity Q4793366
relation P17
type Q15617994
['Q4793366', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q4793366 property:P17 ?k }
Armenia–Switzerland relations
action filter_type
action find
entity Armenia–Switzerland relations
relation country
type designation for an administrative territorial entity
['Armenia–Switzerland relations', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Armenia–Switzerland_relations property:country ?k }
[]
designation for an administrative territorial entity
Q399
SYSTEM
Armenia
Q399
(Q4793366,P17,c(Q15617994))
action filter_type
action find
entity Q4793366
relation P17
type Q15617994
That relationship belongs to the [ANSWER]
['Q4793366', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q4793366 property:P17 ?k }
Armenia
That relationship belongs to the Armenia
Armenia
action filter_type
action find
entity Armenia–Switzerland relations
relation country
type designation for an administrative territorial entity
['Armenia–Switzerland relations', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Armenia–Switzerland_relations property:country ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q224159 Q4720589
P161
Q15416
USER
Which television programs stars Alexandra Billings or William H. Macy as actor ?
OR((c(Q15416),P161,Q4720589), (c(Q15416),P161,Q224159))
action filter_type
action union
action find_reverse
entity Q4720589
relation P161
action find_reverse
entity Q224159
relation P161
type Q15416
{'OR': [[{'concept': 'Q15416'}, 'P161', 'Q4720589'], [{'concept': 'Q15416'}, 'P161', 'Q224159']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P161 resource:Q4720589 } UNION { ?i property:P161 resource:Q224159 } } . ?i rdf:type ontology:Q15416 }
William H. Macy Alexandra Billings
action filter_type
action union
action find_reverse
entity Alexandra Billings
relation cast member
action find_reverse
entity William H. Macy
relation cast member
type television program
{'OR': [[{'concept': 'television program'}, 'cast member', 'Alexandra Billings'], [{'concept': 'television program'}, 'cast member', 'William H. Macy']]}
SELECT DISTINCT ?i WHERE { { { ?i property:cast_member resource:Alexandra_Billings } UNION { ?i property:cast_member resource:William_H._Macy } } . ?i rdf:type ontology:television_program }
[]
television program
Q4329812 Q3497748 Q637610 Q3283024 Q772682 Q17014382 Q23599
SYSTEM
Reversible Errors, Stealing Sinatra, Door to Door, A Private Matter, The Wool Cap, Transparent, Shameless
Q4329812 Q3497748 Q637610 Q3283024 Q772682 Q17014382 Q23599
OR((c(Q15416),P161,Q4720589), (c(Q15416),P161,Q224159))
action filter_type
action union
action find_reverse
entity Q4720589
relation P161
action find_reverse
entity Q224159
relation P161
type Q15416
The [ANSWERS] star Alexandra Billings or William H. Macy as actor
{'OR': [[{'concept': 'Q15416'}, 'P161', 'Q4720589'], [{'concept': 'Q15416'}, 'P161', 'Q224159']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P161 resource:Q4720589 } UNION { ?i property:P161 resource:Q224159 } } . ?i rdf:type ontology:Q15416 }
Reversible Errors Stealing Sinatra Door to Door A Private Matter The Wool Cap Transparent Shameless
The Reversible Errors, Stealing Sinatra, Door to Door, A Private Matter, The Wool Cap, Transparent and Shameless star Alexandra Billings or William H. Macy as actor
Reversible Errors Stealing Sinatra Door to Door A Private Matter The Wool Cap Transparent Shameless
action filter_type
action union
action find_reverse
entity Alexandra Billings
relation cast member
action find_reverse
entity William H. Macy
relation cast member
type television program
{'OR': [[{'concept': 'television program'}, 'cast member', 'Alexandra Billings'], [{'concept': 'television program'}, 'cast member', 'William H. Macy']]}
SELECT DISTINCT ?i WHERE { { { ?i property:cast_member resource:Alexandra_Billings } UNION { ?i property:cast_member resource:William_H._Macy } } . ?i rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q444371 Q4720589
P161
Q838948
USER
Which works of art stars Alexandra Billings or Lew Ayres as actor ?
OR((c(Q838948),P161,Q4720589), (c(Q838948),P161,Q444371))
action filter_type
action union
action find_reverse
entity Q4720589
relation P161
action find_reverse
entity Q444371
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q4720589'], [{'concept': 'Q838948'}, 'P161', 'Q444371']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . { ?q property:P161 ?t . VALUES ( ?t ) { ( resource:Q4720589 ) ( resource:Q444371 ) } } }
Lew Ayres Alexandra Billings
action filter_type
action union
action find_reverse
entity Alexandra Billings
relation cast member
action find_reverse
entity Lew Ayres
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Alexandra Billings'], [{'concept': 'work of art'}, 'cast member', 'Lew Ayres']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . { ?q property:cast_member ?t . VALUES ( ?t ) { ( resource:Alexandra_Billings ) ( resource:Lew_Ayres ) } } }
[]
work of art
Q3521666 Q18154503 Q1439574 Q2708365 Q2639326 Q20006404 Q18636587 Q7492009 Q21528046 Q402100
SYSTEM
Some of them are The Lottery Lover, Spring Madness, Johnny Belinda, Donovan's Brain, These Glamour Girls, Up for Murder, The Golden Fleecing, She Learned About Sailors, Silk Hat Kid, The Biscuit Eater
Q7756663 Q1116051 Q2063119 Q1393533 Q1439574 Q7553000 Q12126582 Q5304234 Q7763135 Q20006404 Q1572125 Q1618931 Q18154503 Q18749277 Q3521666 Q20649819 Q20649603 Q19363742 Q6737010 Q21527803 Q402100 Q272599 Q3828687 Q21528068 Q3350024 Q527654 Q21527825 Q7010139 Q22000043 Q3645188 Q7492009 Q15046671 Q3285416 Q2639326 Q469654 Q16250423 Q18636587 Q5438389 Q8058080 Q3222191 Q22079442 Q1758603 Q21528046 Q3352201 Q19867834 Q5304236 Q5304231 Q5304232 Q5304233 Q1631150 Q576249 Q20649240 Q3667548 Q22000183 Q1158528 Q2410942 Q1755067 Q2708365 Q908533 Q22000968 Q11899000 Q528473 Q20814552
OR((c(Q838948),P161,Q4720589), (c(Q838948),P161,Q444371))
action filter_type
action union
action find_reverse
entity Q4720589
relation P161
action find_reverse
entity Q444371
relation P161
type Q838948
[ANSWERS] star Alexandra Billings or Lew Ayres as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q4720589'], [{'concept': 'Q838948'}, 'P161', 'Q444371']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . { ?q property:P161 ?t . VALUES ( ?t ) { ( resource:Q4720589 ) ( resource:Q444371 ) } } }
The People vs. Dr. Kildare Common Clay The Ice Follies of 1939 Murder with Pictures Johnny Belinda Socket Night World Dr. Kildare's Wedding Day The Secret of Dr. Kildare Up for Murder End of the World State Fair Spring Madness The Way of Peace The Lottery Lover Scandal Street That Navy Spirit Panic on the Air Maisie Was a Lady The Leathernecks Have Landed The Biscuit Eater All Quiet on the Western Front The Unfaithful Spring Tonic Okay, America! Remember? Lottery Lover New Mexico Cross Country Cruise Broadway Serenade She Learned About Sailors No Escape The Capture These Glamour Girls Battle for the Planet of the Apes Fingers at the Window The Golden Fleecing Faux Young Dr. Kildare The Last Train from Madrid Let's Be Ritzy Iron Man Silk Hat Kid Calling Dr. Kildare The Crime Nobody Saw Dr. Kildare Goes Home Dr. Kildare's Crisis Dr. Kildare's Victory Dr. Kildare's Strange Case Advise & Consent The Dark Mirror Lady Be Careful Servants' Entrance Don't Bet on Love Damien: Omen II The Doorway to Hell The Carpetbaggers Donovan's Brain The World of Don Camillo The Spirit of Notre Dame Hold 'Em Navy Holiday Heaven on Earth
The Lottery Lover, Spring Madness, Johnny Belinda, Donovan's Brain, These Glamour Girls, Up for Murder, The Golden Fleecing, She Learned About Sailors, Silk Hat Kid and The Biscuit Eater star Alexandra Billings or Lew Ayres as actor
The Lottery Lover Spring Madness Johnny Belinda Donovan's Brain These Glamour Girls Up for Murder The Golden Fleecing She Learned About Sailors Silk Hat Kid The Biscuit Eater
action filter_type
action union
action find_reverse
entity Alexandra Billings
relation cast member
action find_reverse
entity Lew Ayres
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Alexandra Billings'], [{'concept': 'work of art'}, 'cast member', 'Lew Ayres']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . { ?q property:cast_member ?t . VALUES ( ?t ) { ( resource:Alexandra_Billings ) ( resource:Lew_Ayres ) } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1439574
P840
Q15617994
USER
Which narrative location is Johnny Belinda set in ?
(Q1439574,P840,c(Q15617994))
action filter_type
action find
entity Q1439574
relation P840
type Q15617994
['Q1439574', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1439574 property:P840 ?z . ?z rdf:type ontology:Q15617994 }
Johnny Belinda
action filter_type
action find
entity Johnny Belinda
relation narrative location
type designation for an administrative territorial entity
['Johnny Belinda', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Johnny_Belinda property:narrative_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1952
SYSTEM
Nova Scotia
Q1952
(Q1439574,P840,c(Q15617994))
action filter_type
action find
entity Q1439574
relation P840
type Q15617994
Johnny Belinda is set in [ANSWER]
['Q1439574', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1439574 property:P840 ?z . ?z rdf:type ontology:Q15617994 }
Nova Scotia
Johnny Belinda is set in Nova Scotia
Nova Scotia
action filter_type
action find
entity Johnny Belinda
relation narrative location
type designation for an administrative territorial entity
['Johnny Belinda', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Johnny_Belinda property:narrative_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q399
P1532
Q6979593
USER
Whose national association football team is Armenia ?
(c(Q6979593),P1532,Q399)
action filter_type
action find_reverse
entity Q399
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q399']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q6979593 . ?e property:P1532 resource:Q399 }
Armenia
action filter_type
action find_reverse
entity Armenia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Armenia']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:national_association_football_team . ?e property:country_for_sport resource:Armenia }
[]
national association football team
Q268070
SYSTEM
Armenia women's national football team
Q268070
(c(Q6979593),P1532,Q399)
action filter_type
action find_reverse
entity Q399
relation P1532
type Q6979593
[ANSWER] is Armenia
[{'concept': 'Q6979593'}, 'P1532', 'Q399']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q6979593 . ?e property:P1532 resource:Q399 }
Armenia women's national football team
Armenia women's national football team is Armenia
Armenia women's national football team
action filter_type
action find_reverse
entity Armenia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Armenia']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:national_association_football_team . ?e property:country_for_sport resource:Armenia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q399
P1313
Q12737077
USER
What is the occupation held by Armenia ?
(Q399,P1313,c(Q12737077))
action filter_type
action find
entity Q399
relation P1313
type Q12737077
['Q399', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q399 property:P1313 ?v }
Armenia
action filter_type
action find
entity Armenia
relation office held by head of government
type occupation
['Armenia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Armenia property:office_held_by_head_of_government ?v }
[]
occupation
Q1123764
SYSTEM
Prime Minister of Armenia
Q1123764
(Q399,P1313,c(Q12737077))
action filter_type
action find
entity Q399
relation P1313
type Q12737077
The occupation held by Armenia is the [ANSWER]
['Q399', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q399 property:P1313 ?v }
Prime Minister of Armenia
The occupation held by Armenia is the Prime Minister of Armenia
Prime Minister of Armenia
action filter_type
action find
entity Armenia
relation office held by head of government
type occupation
['Armenia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Armenia property:office_held_by_head_of_government ?v }
[]