Simple Question (Direct)
Simple Question
Q445953
P735
Q82799
USER
Which name is Jay Simpson known by ?
(Q445953,P735,c(Q82799))
action filter_type
action find
entity Q445953
relation P735
type Q82799
['Q445953', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q445953 property:P735 ?s . ?s rdf:type ontology:Q82799 }
Jay Simpson
action filter_type
action find
entity Jay Simpson
relation given name
type name
['Jay Simpson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Jay_Simpson property:given_name ?s . ?s rdf:type ontology:name }
[]
name
Q19817029
SYSTEM
Jay
Q19817029
(Q445953,P735,c(Q82799))
action filter_type
action find
entity Q445953
relation P735
type Q82799
[ANSWER] Simpson is known for [ANSWER]
['Q445953', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q445953 property:P735 ?s . ?s rdf:type ontology:Q82799 }
Jay
Jay Simpson is known for Jay
Jay
action filter_type
action find
entity Jay Simpson
relation given name
type name
['Jay Simpson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Jay_Simpson property:given_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19817029
P1533
Q82799
USER
Which name is equal to that one ?
(Q19817029,P1533,c(Q82799))
action filter_type
action find
entity Q19817029
relation P1533
type Q82799
['Q19817029', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q19817029 property:P1533 ?c . ?c rdf:type ontology:Q82799 }
Jay
action filter_type
action find
entity Jay
relation family name identical to this first name
type name
['Jay', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Jay property:family_name_identical_to_this_first_name ?c . ?c rdf:type ontology:name }
[]
name
Q16871148
SYSTEM
Jay
Q16871148
(Q19817029,P1533,c(Q82799))
action filter_type
action find
entity Q19817029
relation P1533
type Q82799
[ANSWER] is equal to that one
['Q19817029', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q19817029 property:P1533 ?c . ?c rdf:type ontology:Q82799 }
Jay
Jay is equal to that one
Jay
action filter_type
action find
entity Jay
relation family name identical to this first name
type name
['Jay', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Jay property:family_name_identical_to_this_first_name ?c . ?c rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q445953
P161
Q15416
USER
Which television program has Jay Simpson in its star cast ?
(c(Q15416),P161,Q445953)
action filter_type
action find_reverse
entity Q445953
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q445953']
SELECT DISTINCT ?f WHERE { ?f property:P161 resource:Q445953 . ?f rdf:type ontology:Q15416 }
Jay Simpson
action filter_type
action find_reverse
entity Jay Simpson
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Jay Simpson']
SELECT DISTINCT ?f WHERE { ?f property:cast_member resource:Jay_Simpson . ?f rdf:type ontology:television_program }
[]
television program
Q1161659
SYSTEM
The Firm
Q1161659
(c(Q15416),P161,Q445953)
action filter_type
action find_reverse
entity Q445953
relation P161
type Q15416
[ANSWER] has Jay Simpson in its star cast
[{'concept': 'Q15416'}, 'P161', 'Q445953']
SELECT DISTINCT ?f WHERE { ?f property:P161 resource:Q445953 . ?f rdf:type ontology:Q15416 }
The Firm
The Firm has Jay Simpson in its star cast
The Firm
action filter_type
action find_reverse
entity Jay Simpson
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Jay Simpson']
SELECT DISTINCT ?f WHERE { ?f property:cast_member resource:Jay_Simpson . ?f rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q445953
P106
Q12737077
USER
What does Jay Simpson do for a living ?
(Q445953,P106,c(Q12737077))
action filter_type
action find
entity Q445953
relation P106
type Q12737077
['Q445953', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q445953 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Jay Simpson
action filter_type
action find
entity Jay Simpson
relation occupation
type occupation
['Jay Simpson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jay_Simpson property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q445953,P106,c(Q12737077))
action filter_type
action find
entity Q445953
relation P106
type Q12737077
[ANSWER] Jay Simpson does for a living
['Q445953', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q445953 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
Association football player Jay Simpson does for a living
association football player
action filter_type
action find
entity Jay Simpson
relation occupation
type occupation
['Jay Simpson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jay_Simpson property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P101
Q502895
USER
Which person has his/her area as that occupation ?
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?e WHERE { ?e property:P101 resource:Q937857 . ?e rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?e WHERE { ?e property:field_of_work resource:association_football_player . ?e rdf:type ontology:common_name }
[]
common name
Q2089026
SYSTEM
Akaki Devadze
Q2089026
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] has his/her area as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?e WHERE { ?e property:P101 resource:Q937857 . ?e rdf:type ontology:Q502895 }
Akaki Devadze
Akaki Devadze has his/her area as that occupation
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?e WHERE { ?e property:field_of_work resource:association_football_player . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2089026 Q3467093 Q7824994
P19
Q56061
USER
Does that person have birthplace at Kursi, Lääne-Viru County and Topole, Mengeš ?
(Q2089026,P19,Q3467093) (Q2089026,P19,Q7824994)
action is_in
entity Q2089026
action intersection
action find_reverse
entity Q3467093
relation P19
action find_reverse
entity Q7824994
relation P19
['Q2089026', 'P19', 'Q3467093'] ['Q2089026', 'P19', 'Q7824994']
ASK WHERE { resource:Q2089026 property:P19 resource:Q3467093 . resource:Q2089026 property:P19 resource:Q7824994 }
Akaki Devadze Kursi, Lääne-Viru County Topole, Mengeš
action is_in
entity Akaki Devadze
action intersection
action find_reverse
entity Kursi, Lääne-Viru County
relation place of birth
action find_reverse
entity Topole, Mengeš
relation place of birth
['Akaki Devadze', 'place of birth', 'Kursi, Lääne-Viru County'] ['Akaki Devadze', 'place of birth', 'Topole, Mengeš']
ASK WHERE { resource:Akaki_Devadze property:place_of_birth resource:Kursi,_Lääne-Viru_County . resource:Akaki_Devadze property:place_of_birth resource:Topole,_Mengeš }
[]
administrative territorial entity
SYSTEM
NO
(Q2089026,P19,Q3467093) (Q2089026,P19,Q7824994)
action is_in
entity Q2089026
action intersection
action find_reverse
entity Q3467093
relation P19
action find_reverse
entity Q7824994
relation P19
[ANSWER]
['Q2089026', 'P19', 'Q3467093'] ['Q2089026', 'P19', 'Q7824994']
ASK WHERE { resource:Q2089026 property:P19 resource:Q3467093 . resource:Q2089026 property:P19 resource:Q7824994 }
No
action is_in
entity Akaki Devadze
action intersection
action find_reverse
entity Kursi, Lääne-Viru County
relation place of birth
action find_reverse
entity Topole, Mengeš
relation place of birth
['Akaki Devadze', 'place of birth', 'Kursi, Lääne-Viru County'] ['Akaki Devadze', 'place of birth', 'Topole, Mengeš']
ASK WHERE { resource:Akaki_Devadze property:place_of_birth resource:Kursi,_Lääne-Viru_County . resource:Akaki_Devadze property:place_of_birth resource:Topole,_Mengeš }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7615342
P725
Q502895 Q15961987
USER
Which television genres had approximately the same number of people as the dubbing artist as Steven Universe ?
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q7615342
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?r ) WHERE { ?g property:P725 ?c . ?g rdf:type ontology:Q15961987 . ?c rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q7615342 property:P725 ?k . ?k rdf:type ontology:Q15961987 } } . FILTER ( ?r = ?y ) }
Steven Universe
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Steven Universe
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?r ) WHERE { ?g property:voice_actor ?c . ?g rdf:type ontology:television_genre . ?c rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Steven_Universe property:voice_actor ?k . ?k rdf:type ontology:television_genre } } . FILTER ( ?r = ?y ) }
[]
common name television genre
Q886 Q53093 Q5415
SYSTEM
The Simpsons, Adventure Time, My Little Pony: Friendship Is Magic
Q24034511 Q11296848 Q7615342 Q53093 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q7615342
relation P725
type Q15961987
The Simpsons, Adventure Time and My Little Pony: Friendship is Magic had approximately the same number of people as the dubbing artist as Steven Universe
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?r ) WHERE { ?g property:P725 ?c . ?g rdf:type ontology:Q15961987 . ?c rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q7615342 property:P725 ?k . ?k rdf:type ontology:Q15961987 } } . FILTER ( ?r = ?y ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe Adventure Time My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
The Simpsons, Adventure Time and My Little Pony: Friendship is Magic had approximately the same number of people as the dubbing artist as Steven Universe
The Simpsons Adventure Time My Little Pony: Friendship Is Magic
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Steven Universe
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?r ) WHERE { ?g property:voice_actor ?c . ?g rdf:type ontology:television_genre . ?c rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Steven_Universe property:voice_actor ?k . ?k rdf:type ontology:television_genre } } . FILTER ( ?r = ?y ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1441
Q6619679
USER
How many fictional humanoids are seen in that television genre ?
(c(Q6619679),P1441,Q886)
[{'concept': 'Q6619679'}, 'P1441', 'Q886']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q7764350 . ?z rdf:type ontology:Q6619679 }
[{'concept': 'fictional humanoid'}, 'present in work', 'The Simpsons']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:The_Simpsons . ?z rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Quantitative|Count|Single entity type|Clarification
Q53093
SYSTEM
Did you mean Adventure Time ?
(c(Q6619679),P1441,Q886) (c(Q6619679),P1441,Q53093) (c(Q6619679),P1441,Q5415)
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q886'] [{'concept': 'Q6619679'}, 'P1441', 'Q53093'] [{'concept': 'Q6619679'}, 'P1441', 'Q5415']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q7764350 . ?z rdf:type ontology:Q6619679 }
Did you mean Adventure Time ?
Adventure Time
[{'concept': 'fictional humanoid'}, 'present in work', 'The Simpsons'] [{'concept': 'fictional humanoid'}, 'present in work', 'Adventure Time'] [{'concept': 'fictional humanoid'}, 'present in work', 'My Little Pony: Friendship Is Magic']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:The_Simpsons . ?z rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant The Simpsons. Could you tell me the answer for that?
(c(Q6619679),P1441,Q886)
Q886
[{'concept': 'Q6619679'}, 'P1441', 'Q886']
[{'concept': 'fictional humanoid'}, 'present in work', 'The Simpsons']
[]
SYSTEM
61
Q1514450 Q1503352 Q745472 Q2479670 Q1509213 Q1458159 Q3965831 Q12255480 Q1504628 Q1504443 Q2704414 Q15241723 Q1634927 Q1503373 Q1470014 Q2992629 Q1408697 Q727156 Q1511072 Q2315146 Q3355753 Q969535 Q716636 Q3177394 Q1504498 Q1511184 Q524177 Q1511163 Q1983092 Q1504550 Q1766178 Q3502068 Q646166 Q2039948 Q18149123 Q1641818 Q10406147 Q1411101 Q1589536 Q17255307 Q1644810 Q2264318 Q2294047 Q2409096 Q324430 Q2480288 Q1751497 Q1504586 Q17255299 Q3307708 Q2340973 Q2997858 Q739191 Q15027304 Q12041048 Q1504526 Q3356853 Q15238532 Q1458168 Q1158157 Q1503301
(c(Q6619679),P1441,Q886)
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q886']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q7764350 . ?z rdf:type ontology:Q6619679 }
Milhouse Van Houten Chief Wiggum Mayor Quimby Bleeding Gums Murphy Carl Carlson Professor Frink Dolph Brandine Spuckler Lionel Hutz Waylon Smithers Jebediah Springfield Sarah Wiggum Otto Mann Principal Skinner Barney Gumble Kirk Van Houten Apu Nahasapeemapetilon Krusty the Clown Cletus Spuckler Jimbo Jones Marvin Monroe Kent Brockman Mr. Burns Ling Bouvier Fat Tony Edna Krabappel Reverend Lovejoy Nelson Muntz Martin Prince Troy McClure Maude Flanders Jessica Lovejoy Moe Szyslak Snake Database Mona Simpson Patty Bouvier Sideshow Bob Sideshow Mel Todd Flanders Lenny Leonard Agnes Skinner Disco Stu Superintendent Chalmers Groundskeeper Willie Kearney Zzyzwicz Dr. Nick Dr. Hibbert Rod Flanders Selma Bouvier Herbert Powell Helen Lovejoy Manhattan Shelbyville Captain Horatio McCallister Norbert Van Houten Comic Book Guy Orville Simpson Luann Van Houten Ralph Wiggum Ned Flanders Hans Moleman
61
[{'concept': 'fictional humanoid'}, 'present in work', 'The Simpsons']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:The_Simpsons . ?z rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3467093
P17
Q15617994
USER
Which administrative territory is Kursi, Lääne-Viru County present in ?
(Q3467093,P17,c(Q15617994))
action filter_type
action find
entity Q3467093
relation P17
type Q15617994
['Q3467093', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q3467093 property:P17 ?v }
Kursi, Lääne-Viru County
action filter_type
action find
entity Kursi, Lääne-Viru County
relation country
type designation for an administrative territorial entity
['Kursi, Lääne-Viru County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kursi,_Lääne-Viru_County property:country ?v }
[]
designation for an administrative territorial entity
Q191
SYSTEM
Estonia
Q191
(Q3467093,P17,c(Q15617994))
action filter_type
action find
entity Q3467093
relation P17
type Q15617994
[ANSWER] is Kursi, Lääne-Viru County present in
['Q3467093', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q3467093 property:P17 ?v }
Estonia
Estonia is Kursi, Lääne-Viru County present in
Estonia
action filter_type
action find
entity Kursi, Lääne-Viru County
relation country
type designation for an administrative territorial entity
['Kursi, Lääne-Viru County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kursi,_Lääne-Viru_County property:country ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7928484
Q15617994
USER
And also tell me about Vietnam Academy of Science and Technology?
(Q7928484,P17,c(Q15617994))
action filter_type
action find
entity Q7928484
relation P17
type Q15617994
['Q7928484', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q7928484 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Vietnam Academy of Science and Technology
action filter_type
action find
entity Vietnam Academy of Science and Technology
relation country
type designation for an administrative territorial entity
['Vietnam Academy of Science and Technology', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vietnam_Academy_of_Science_and_Technology property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q881
SYSTEM
Vietnam
Q881
(Q7928484,P17,c(Q15617994))
action filter_type
action find
entity Q7928484
relation P17
type Q15617994
[ANSWER]
['Q7928484', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q7928484 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Vietnam
Vietnam
action filter_type
action find
entity Vietnam Academy of Science and Technology
relation country
type designation for an administrative territorial entity
['Vietnam Academy of Science and Technology', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vietnam_Academy_of_Science_and_Technology property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q881 Q7974123
P530
Q15617994
USER
Does Waterhales have diplomatic relationships with that one ?
(Q881,P530,Q7974123)
action is_in
entity Q7974123
action find
entity Q881
relation P530
['Q881', 'P530', 'Q7974123']
ASK WHERE { resource:Q881 property:P530 resource:Q7974123 }
Vietnam Waterhales
action is_in
entity Waterhales
action find
entity Vietnam
relation diplomatic relation
['Vietnam', 'diplomatic relation', 'Waterhales']
ASK WHERE { resource:Vietnam property:diplomatic_relation resource:Waterhales }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q881,P530,Q7974123)
action is_in
entity Q7974123
action find
entity Q881
relation P530
[ANSWER]
['Q881', 'P530', 'Q7974123']
ASK WHERE { resource:Q881 property:P530 resource:Q7974123 }
No
action is_in
entity Waterhales
action find
entity Vietnam
relation diplomatic relation
['Vietnam', 'diplomatic relation', 'Waterhales']
ASK WHERE { resource:Vietnam property:diplomatic_relation resource:Waterhales }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23670 Q886
P361
Q15416
USER
Which television programs are a component of The Simpsons or It's Always Sunny in Philadelphia ?
OR((c(Q15416),P361,Q886), (c(Q15416),P361,Q23670))
action filter_type
action union
action find_reverse
entity Q886
relation P361
action find_reverse
entity Q23670
relation P361
type Q15416
{'OR': [[{'concept': 'Q15416'}, 'P361', 'Q886'], [{'concept': 'Q15416'}, 'P361', 'Q23670']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15416 . { { ?j property:P361 resource:Q886 } UNION { ?j property:P361 resource:Q23670 } } }
It's Always Sunny in Philadelphia The Simpsons
action filter_type
action union
action find_reverse
entity The Simpsons
relation part of
action find_reverse
entity It's Always Sunny in Philadelphia
relation part of
type television program
{'OR': [[{'concept': 'television program'}, 'part of', 'The Simpsons'], [{'concept': 'television program'}, 'part of', "It's Always Sunny in Philadelphia"]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:television_program . { { ?j property:part_of resource:The_Simpsons } UNION { ?j property:part_of resource:It's_Always_Sunny_in_Philadelphia } } }
[]
television program
Q3727895 Q3727888 Q3727890 Q22022991 Q1274105 Q13414780 Q1399629 Q3727899 Q3727886 Q1507963
SYSTEM
Some of them are sixth season of It's Always Sunny in Philadelphia, eighth season of It's Always Sunny in Philadelphia, fourth season of It's Always Sunny in Philadelphia, It's Always Sunny in Philadelphia, second season of The Simpsons, 25th season of The Simpsons, 17th season of The Simpsons, third season of It's Always Sunny in Philadelphia, first season of It's Always Sunny in Philadelphia, 21st season of The Simpsons
Q1670816 Q19602692 Q24211712 Q1274105 Q1399629 Q13131 Q977020 Q3727891 Q3727890 Q3727893 Q3727895 Q3727899 Q1574811 Q1670746 Q648694 Q1460067 Q1670724 Q1508370 Q15088650 Q1508392 Q1670788 Q13414780 Q1458629 Q1575630 Q1507963 Q16735880 Q16850427 Q22022991 Q19816618 Q3727888 Q3727886 Q1670733 Q1670754 Q1341352 Q1670715 Q1589371 Q1670665
OR((c(Q15416),P361,Q886), (c(Q15416),P361,Q23670))
action filter_type
action union
action find_reverse
entity Q886
relation P361
action find_reverse
entity Q23670
relation P361
type Q15416
[ANSWERS]
{'OR': [[{'concept': 'Q15416'}, 'P361', 'Q886'], [{'concept': 'Q15416'}, 'P361', 'Q23670']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15416 . { { ?j property:P361 resource:Q886 } UNION { ?j property:P361 resource:Q23670 } } }
15th season of The Simpsons 27th season of The Simpsons 28th season of The Simpsons second season of The Simpsons 17th season of The Simpsons 24th season of The Simpsons 14th season of The Simpsons fifth season of It's Always Sunny in Philadelphia fourth season of It's Always Sunny in Philadelphia second season of It's Always Sunny in Philadelphia sixth season of It's Always Sunny in Philadelphia third season of It's Always Sunny in Philadelphia 13th season of The Simpsons ninth season of The Simpsons 22nd season of The Simpsons 23rd season of The Simpsons seventh season of The Simpsons 20th season of The Simpsons seventh season of It's Always Sunny in Philadelphia 19th season of The Simpsons 11th season of The Simpsons 25th season of The Simpsons fifth season of The Simpsons 12th season of The Simpsons 21st season of The Simpsons 26th season of The Simpsons It's Always Sunny in Philadelphia It's Always Sunny in Philadelphia It's Always Sunny in Philadelphia (season 10) eighth season of It's Always Sunny in Philadelphia first season of It's Always Sunny in Philadelphia eighth season of The Simpsons tenth season of The Simpsons third season of The Simpsons sixth season of The Simpsons 18th season of The Simpsons fourth season of The Simpsons
Which television programs are a component of The Simpsons or It's Always Sunny in Philadelphia
sixth season of It's Always Sunny in Philadelphia eighth season of It's Always Sunny in Philadelphia fourth season of It's Always Sunny in Philadelphia It's Always Sunny in Philadelphia second season of The Simpsons 25th season of The Simpsons 17th season of The Simpsons third season of It's Always Sunny in Philadelphia first season of It's Always Sunny in Philadelphia 21st season of The Simpsons
action filter_type
action union
action find_reverse
entity The Simpsons
relation part of
action find_reverse
entity It's Always Sunny in Philadelphia
relation part of
type television program
{'OR': [[{'concept': 'television program'}, 'part of', 'The Simpsons'], [{'concept': 'television program'}, 'part of', "It's Always Sunny in Philadelphia"]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:television_program . { { ?j property:part_of resource:The_Simpsons } UNION { ?j property:part_of resource:It's_Always_Sunny_in_Philadelphia } } }
[]