Simple Question (Direct)
Simple Question
Q7522733
P136
Q1792379
USER
What can be considered as category for Sing You Sinners ?
(Q7522733,P136,c(Q1792379))
action filter_type
action find
entity Q7522733
relation P136
type Q1792379
['Q7522733', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q7522733 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
Sing You Sinners
action filter_type
action find
entity Sing You Sinners
relation genre
type art genre
['Sing You Sinners', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Sing_You_Sinners property:genre ?d . ?d rdf:type ontology:art_genre }
[]
art genre
Q860626 Q842256
SYSTEM
romantic comedy, musical film
Q860626 Q842256
(Q7522733,P136,c(Q1792379))
action filter_type
action find
entity Q7522733
relation P136
type Q1792379
[ANSWERS] can be considered as category for Sing You Sinners
['Q7522733', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q7522733 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
romantic comedy musical film
Romantic comedy and musical film can be considered as category for Sing You Sinners
romantic comedy musical film
action filter_type
action find
entity Sing You Sinners
relation genre
type art genre
['Sing You Sinners', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Sing_You_Sinners property:genre ?d . ?d rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7522733
P161
Q502895
USER
Which people were casted in Sing You Sinners ?
(Q7522733,P161,c(Q502895))
action filter_type
action find
entity Q7522733
relation P161
type Q502895
['Q7522733', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7522733 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Sing You Sinners
action filter_type
action find
entity Sing You Sinners
relation cast member
type common name
['Sing You Sinners', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Sing_You_Sinners property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
common name
Q72984 Q348345 Q356309
SYSTEM
Bing Crosby, Donald O'Connor, Fred MacMurray
Q72984 Q275764 Q356309 Q348345
(Q7522733,P161,c(Q502895))
action filter_type
action find
entity Q7522733
relation P161
type Q502895
[ANSWERS] were casted in Sing You Sinners
['Q7522733', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7522733 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Bing Crosby Ellen Drew Fred MacMurray Donald O'Connor
Bing Crosby, Donald O'Connor and Fred MacMurray were casted in Sing You Sinners
Bing Crosby Donald O'Connor Fred MacMurray
action filter_type
action find
entity Sing You Sinners
relation cast member
type common name
['Sing You Sinners', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Sing_You_Sinners property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q736151
Q502895
USER
And what about Birds of America?
(Q736151,P161,c(Q502895))
action filter_type
action find
entity Q736151
relation P161
type Q502895
['Q736151', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q736151 property:P161 ?d }
Birds of America
action filter_type
action find
entity Birds of America
relation cast member
type common name
['Birds of America', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Birds_of_America property:cast_member ?d }
[]
common name
Q171758 Q228755 Q93187
SYSTEM
Matthew Perry, Lauren Graham, Hilary Swank
Q171758 Q109522 Q227129 Q228755 Q311804 Q93187
(Q736151,P161,c(Q502895))
action filter_type
action find
entity Q736151
relation P161
type Q502895
[ANSWERS]
['Q736151', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q736151 property:P161 ?d }
Matthew Perry Ginnifer Goodwin Zoë Kravitz Lauren Graham Ben Foster Hilary Swank
Matthew Perry Lauren Graham Hilary Swank
action filter_type
action find
entity Birds of America
relation cast member
type common name
['Birds of America', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Birds_of_America property:cast_member ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q171758
P1346
Q618779
USER
Which award was won by Matthew Perry ?
(c(Q618779),P1346,Q171758)
action filter_type
action find_reverse
entity Q171758
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q171758']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q171758 . ?d rdf:type ontology:Q618779 }
Matthew Perry
action filter_type
action find_reverse
entity Matthew Perry
relation winner
type award
[{'concept': 'award'}, 'winner', 'Matthew Perry']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Matthew_Perry . ?d rdf:type ontology:award }
[]
award
Q2529789
SYSTEM
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
Q2529789
(c(Q618779),P1346,Q171758)
action filter_type
action find_reverse
entity Q171758
relation P1346
type Q618779
Nominations [ANSWER] was won by Matthew Perry
[{'concept': 'Q618779'}, 'P1346', 'Q171758']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q171758 . ?d rdf:type ontology:Q618779 }
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
Nominations Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series was won by Matthew Perry
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
action filter_type
action find_reverse
entity Matthew Perry
relation winner
type award
[{'concept': 'award'}, 'winner', 'Matthew Perry']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Matthew_Perry . ?d rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2529789
P166
Q15416
USER
Which television programs were awarded with that award ?
(c(Q15416),P166,Q2529789)
action filter_type
action find_reverse
entity Q2529789
relation P166
type Q15416
[{'concept': 'Q15416'}, 'P166', 'Q2529789']
SELECT DISTINCT ?i WHERE { ?i property:P166 resource:Q2529789 . ?i rdf:type ontology:Q15416 }
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
relation award received
type television program
[{'concept': 'television program'}, 'award received', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series']
SELECT DISTINCT ?i WHERE { ?i property:award_received resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_an_Ensemble_in_a_Comedy_Series . ?i rdf:type ontology:television_program }
[]
television program
Q79784 Q244803
SYSTEM
Friends, Ally McBeal
Q79784 Q244803
(c(Q15416),P166,Q2529789)
action filter_type
action find_reverse
entity Q2529789
relation P166
type Q15416
[ANSWERS] were awarded with that award
[{'concept': 'Q15416'}, 'P166', 'Q2529789']
SELECT DISTINCT ?i WHERE { ?i property:P166 resource:Q2529789 . ?i rdf:type ontology:Q15416 }
Friends Ally McBeal
Friends and Ally McBeal were awarded with that award
Friends Ally McBeal
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
relation award received
type television program
[{'concept': 'television program'}, 'award received', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series']
SELECT DISTINCT ?i WHERE { ?i property:award_received resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_an_Ensemble_in_a_Comedy_Series . ?i rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7522733
P57
Q502895
USER
Who directed Sing You Sinners ?
(Q7522733,P57,c(Q502895))
action filter_type
action find
entity Q7522733
relation P57
type Q502895
['Q7522733', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7522733 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Sing You Sinners
action filter_type
action find
entity Sing You Sinners
relation director
type common name
['Sing You Sinners', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Sing_You_Sinners property:director ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1064903 Q2977018
SYSTEM
Wesley Ruggles, Claude Binyon
Q1064903 Q2977018
(Q7522733,P57,c(Q502895))
action filter_type
action find
entity Q7522733
relation P57
type Q502895
[ANSWERS] directed Sing You Sinners
['Q7522733', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7522733 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Wesley Ruggles Claude Binyon
Wesley Ruggles and Claude Binyon directed Sing You Sinners
Wesley Ruggles Claude Binyon
action filter_type
action find
entity Sing You Sinners
relation director
type common name
['Sing You Sinners', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Sing_You_Sinners property:director ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7522733
P162
Q502895
USER
Who produced Sing You Sinners ?
(Q7522733,P162,c(Q502895))
action filter_type
action find
entity Q7522733
relation P162
type Q502895
['Q7522733', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q7522733 property:P162 ?k }
Sing You Sinners
action filter_type
action find
entity Sing You Sinners
relation producer
type common name
['Sing You Sinners', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Sing_You_Sinners property:producer ?k }
[]
common name
Q2977018
SYSTEM
Claude Binyon
Q2977018
(Q7522733,P162,c(Q502895))
action filter_type
action find
entity Q7522733
relation P162
type Q502895
[ANSWER] produced Sing You Sinners
['Q7522733', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q7522733 property:P162 ?k }
Claude Binyon
Claude Binyon produced Sing You Sinners
Claude Binyon
action filter_type
action find
entity Sing You Sinners
relation producer
type common name
['Sing You Sinners', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Sing_You_Sinners property:producer ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7522733
P86
Q502895
USER
Who composed Sing You Sinners ?
(Q7522733,P86,c(Q502895))
action filter_type
action find
entity Q7522733
relation P86
type Q502895
['Q7522733', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q7522733 property:P86 ?i . ?i rdf:type ontology:Q502895 }
Sing You Sinners
action filter_type
action find
entity Sing You Sinners
relation composer
type common name
['Sing You Sinners', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Sing_You_Sinners property:composer ?i . ?i rdf:type ontology:common_name }
[]
common name
Q893733
SYSTEM
Boris Morros
Q893733
(Q7522733,P86,c(Q502895))
action filter_type
action find
entity Q7522733
relation P86
type Q502895
[ANSWER] composed Sing You Sinners
['Q7522733', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q7522733 property:P86 ?i . ?i rdf:type ontology:Q502895 }
Boris Morros
Boris Morros composed Sing You Sinners
Boris Morros
action filter_type
action find
entity Sing You Sinners
relation composer
type common name
['Sing You Sinners', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Sing_You_Sinners property:composer ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q893733
P272
Q838948
USER
Which work of art had that person as the production house ?
(c(Q838948),P272,Q893733)
action filter_type
action find_reverse
entity Q893733
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q893733']
SELECT DISTINCT ?d WHERE { ?d property:P272 resource:Q893733 . ?d rdf:type ontology:Q838948 }
Boris Morros
action filter_type
action find_reverse
entity Boris Morros
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Boris Morros']
SELECT DISTINCT ?d WHERE { ?d property:production_company resource:Boris_Morros . ?d rdf:type ontology:work_of_art }
[]
work of art
Q1167731
SYSTEM
The Flying Deuces
Q1167731
(c(Q838948),P272,Q893733)
action filter_type
action find_reverse
entity Q893733
relation P272
type Q838948
[ANSWER] had that person as the production house
[{'concept': 'Q838948'}, 'P272', 'Q893733']
SELECT DISTINCT ?d WHERE { ?d property:P272 resource:Q893733 . ?d rdf:type ontology:Q838948 }
The Flying Deuces
The Flying Deuces had that person as the production house
The Flying Deuces
action filter_type
action find_reverse
entity Boris Morros
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Boris Morros']
SELECT DISTINCT ?d WHERE { ?d property:production_company resource:Boris_Morros . ?d rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q159846 Q893733
P272
Q838948
USER
Or Paramount Pictures?
OR((c(Q838948),P272,Q893733), (c(Q838948),P272,Q159846))
action filter_type
action union
action find_reverse
entity Q893733
relation P272
action find_reverse
entity Q159846
relation P272
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P272', 'Q893733'], [{'concept': 'Q838948'}, 'P272', 'Q159846']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P272 resource:Q893733 } UNION { ?e property:P272 resource:Q159846 } } . ?e rdf:type ontology:Q838948 }
Paramount Pictures Boris Morros
action filter_type
action union
action find_reverse
entity Boris Morros
relation production company
action find_reverse
entity Paramount Pictures
relation production company
type work of art
{'OR': [[{'concept': 'work of art'}, 'production company', 'Boris Morros'], [{'concept': 'work of art'}, 'production company', 'Paramount Pictures']]}
SELECT DISTINCT ?e WHERE { { { ?e property:production_company resource:Boris_Morros } UNION { ?e property:production_company resource:Paramount_Pictures } } . ?e rdf:type ontology:work_of_art }
[]
work of art
Q1058046 Q1547395 Q1575490 Q1570133 Q1198799 Q1243009 Q656118 Q2341755 Q1197364 Q1321023
SYSTEM
Some of them are Wives and Lovers, Ghost Town, A Farewell to Arms, White Christmas, The Great Gatsby, Friday the 13th Part 2, South Park: Bigger, Longer & Uncut, Marci X, The Devil Is a Woman, Some Kind of Monster
Q2481635 Q280470 Q1581493 Q1962479 Q15127743 Q17112933 Q1579725 Q202326 Q506452 Q2043523 Q783461 Q3284796 Q944115 Q12125639 Q1756022 Q34414 Q941944 Q3307636 Q1059914 Q1637939 Q201293 Q130868 Q6151665 Q2307428 Q28196 Q931165 Q44578 Q561982 Q3795502 Q49003 Q21168538 Q1353837 Q2247896 Q4656289 Q15140437 Q728539 Q224964 Q5135205 Q214801 Q1215976 Q1569614 Q3282785 Q4979729 Q2340655 Q581642 Q841961 Q1048846 Q223887 Q822057 Q1568884 Q1497862 Q332798 Q4950944 Q1196432 Q770020 Q1321023 Q18785102 Q3284419 Q3987267 Q692275 Q2542242 Q1304355 Q134773 Q2704699 Q1167731 Q388319 Q1996348 Q5300070 Q1504117 Q766427 Q2405363 Q31971 Q648312 Q698033 Q7175130 Q2562723 Q1889403 Q1671814 Q555687 Q232774 Q1193005 Q2748981 Q3284412 Q518492 Q13501073 Q486826 Q279057 Q124697 Q331017 Q1547395 Q628154 Q241218 Q1276046 Q1741232 Q2663133 Q426352 Q594385 Q478209 Q656118 Q3772447 Q1160813 Q8028686 Q47703 Q2306504 Q3820125 Q19865453 Q1426953 Q7522733 Q2296492 Q1788982 Q7754138 Q629674 Q1048085 Q3283869 Q221305 Q1500885 Q3790598 Q1718337 Q1570133 Q7717551 Q1622567 Q465478 Q3823805 Q17183770 Q208592 Q880549 Q1404361 Q1755183 Q2016438 Q1056923 Q1056921 Q910178 Q3823582 Q4271864 Q2088522 Q920908 Q2088441 Q4528291 Q13417189 Q1421355 Q168154 Q3281796 Q503313 Q599150 Q2262932 Q918769 Q3899672 Q6214288 Q3793268 Q4840809 Q3898514 Q909561 Q1122971 Q1322269 Q1581723 Q2514132 Q385309 Q4529968 Q1142862 Q337940 Q1454794 Q2411975 Q1454798 Q2084223 Q1150758 Q1768311 Q504151 Q19866947 Q166711 Q3460362 Q204958 Q743795 Q1686150 Q570004 Q1831792 Q2468213 Q1210947 Q15126726 Q1045165 Q4000927 Q2345355 Q1133772 Q947643 Q16995897 Q110138 Q7617145 Q498291 Q7797904 Q6745304 Q664359 Q258795 Q603696 Q963688 Q325538 Q2928319 Q505790 Q13224585 Q2607713 Q1972090 Q1050533 Q2043516 Q2702903 Q909394 Q388172 Q1195447 Q1425487 Q3284011 Q1381289 Q1198073 Q3487486 Q3988381 Q1199728 Q3744991 Q1198799 Q377025 Q1366425 Q1369580 Q2948644 Q776964 Q641723 Q1936143 Q1212344 Q7093262 Q426466 Q3567437 Q391540 Q1125253 Q691027 Q3600305 Q3207812 Q515572 Q2017676 Q1750380 Q900708 Q182373 Q1051469 Q228936 Q13422841 Q759447 Q766626 Q2699647 Q1171247 Q539286 Q1813235 Q692720 Q1199406 Q1305021 Q1546143 Q2039739 Q152011 Q1306660 Q182218 Q19842746 Q3790812 Q1538920 Q286830 Q1243029 Q1754140 Q3073101 Q1262450 Q4917032 Q733627 Q4313024 Q484871 Q4004318 Q7355919 Q841776 Q6417121 Q3966802 Q718936 Q589066 Q1051032 Q2249058 Q3794581 Q497256 Q3793410 Q4925629 Q40074 Q1167859 Q1454815 Q1060298 Q4144859 Q7859375 Q1740909 Q4744020 Q3777253 Q4020838 Q237134 Q113052 Q232222 Q760229 Q543389 Q3225457 Q746733 Q500232 Q577754 Q11593 Q14522493 Q329056 Q279465 Q7769181 Q13460318 Q907640 Q371592 Q641061 Q19363619 Q139258 Q155458 Q4172098 Q1217953 Q912082 Q1066098 Q644041 Q168862 Q7576289 Q627533 Q1806141 Q7721482 Q1141493 Q281296 Q2906074 Q883593 Q2312028 Q3822814 Q507994 Q193570 Q3454137 Q6036089 Q2072523 Q887192 Q1772438 Q2185596 Q4844399 Q32228 Q174513 Q1795982 Q496316 Q3819347 Q2316492 Q1635199 Q1781998 Q1171445 Q654736 Q1631574 Q3279688 Q73651 Q7760136 Q2917211 Q3987241 Q579757 Q913965 Q504157 Q4989319 Q379877 Q286868 Q889386 Q1218665 Q1199446 Q108525 Q107940 Q2155090 Q7122317 Q1627707 Q1143603 Q1955868 Q311525 Q244398 Q2538430 Q1058046 Q24251026 Q1164919 Q2279015 Q187414 Q902672 Q913620 Q1413227 Q4223853 Q1170071 Q7847590 Q4387871 Q1808904 Q636906 Q643811 Q62163 Q1333346 Q947729 Q377428 Q1110062 Q14755360 Q5216101 Q2743992 Q1754912 Q1120277 Q1125566 Q7991540 Q2066934 Q7749310 Q3303266 Q7370809 Q767819 Q210364 Q3481388 Q271006 Q213081 Q910112 Q3829044 Q948153 Q2112023 Q1144954 Q3375409 Q60016 Q660894 Q381028 Q769490 Q223278 Q634694 Q608370 Q60464 Q4229315 Q1219315 Q1306758 Q4659416 Q1217011 Q1100552 Q1199439 Q3058429 Q7033565 Q1982311 Q3986062 Q4197748 Q1327370 Q1215549 Q3221032 Q1757754 Q3284994 Q288173 Q1543253 Q1243019 Q2559912 Q2422527 Q771408 Q1243013 Q3212557 Q1579747 Q3989050 Q7824663 Q869669 Q502979 Q184768 Q77151 Q828547 Q2738804 Q1420374 Q882343 Q909767 Q3147140 Q531310 Q7093063 Q474087 Q7774391 Q1305029 Q288628 Q7728820 Q3134021 Q458033 Q2300273 Q629819 Q3458333 Q3753575 Q1132575 Q499904 Q547279 Q1198736 Q2341755 Q1113303 Q7993336 Q723679 Q3796272 Q3211328 Q722382 Q431477 Q813724 Q12126886 Q468877 Q961829 Q1146194 Q741026 Q1968803 Q1306575 Q256416 Q2634025 Q729991 Q589237 Q1356753 Q1140744 Q1140745 Q3795717 Q36739 Q8858964 Q525860 Q679105 Q759462 Q1571591 Q2604288 Q855222 Q2745642 Q376070 Q1199203 Q1929020 Q1057798 Q196936 Q1630741 Q928126 Q128542 Q781344 Q1009788 Q3282010 Q204725 Q1423334 Q1755235 Q368577 Q3206794 Q1324120 Q3760168 Q844887 Q1431567 Q1930992 Q940321 Q180695 Q597239 Q471842 Q882394 Q1392442 Q1208409 Q1074940 Q3824224 Q110278 Q607179 Q701064 Q950920 Q1197364 Q616842 Q3531643 Q669675 Q784066 Q621159 Q2413877 Q821692 Q670378 Q1195357 Q110203 Q12126359 Q7631583 Q152493 Q1392744 Q1199832 Q3280612 Q1814810 Q1545826 Q731776 Q497051 Q2251878 Q2981123 Q5910333 Q7783978 Q605867 Q3795347 Q3520192 Q1840729 Q814295 Q3655896 Q1104158 Q2439749 Q2318153 Q1656298 Q390052 Q3682108 Q173945 Q1211705 Q3922166 Q3278801 Q1323446 Q2857890 Q581117 Q2275081 Q25471 Q1479655 Q3828661 Q147068 Q171711 Q1331849 Q3666782 Q1703608 Q4747556 Q2383025 Q683129 Q1211829 Q241941 Q3549030 Q1483848 Q498287 Q645263 Q3819802 Q185071 Q163038 Q1917988 Q1344526 Q246418 Q3208258 Q849162 Q202028 Q3208250 Q1196673 Q1167792 Q603865 Q759444 Q1243009 Q2515645 Q1475611 Q749899 Q3518637 Q590252 Q3820090 Q1257031 Q2722782 Q15985067 Q1226599 Q6692509 Q3788319 Q489564 Q922402 Q1065711 Q1647525 Q722267 Q1575490 Q2345220 Q1215110 Q3605114 Q2092110 Q1737875
OR((c(Q838948),P272,Q893733), (c(Q838948),P272,Q159846))
action filter_type
action union
action find_reverse
entity Q893733
relation P272
action find_reverse
entity Q159846
relation P272
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P272', 'Q893733'], [{'concept': 'Q838948'}, 'P272', 'Q159846']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P272 resource:Q893733 } UNION { ?e property:P272 resource:Q159846 } } . ?e rdf:type ontology:Q838948 }
The Milky Way Souls at Sea If I Were King Critical Condition The Quarterback Scouts vs. Zombies Sarah and Son The Godfather Part III Top Secret! Streets of Laredo White Dog The Spoilers Graveyard Shift Law of the Lawless The Presidio Rear Window Popeye Calcutta Death on the Nile Thinner Roman Holiday Some Kind of Wonderful Transformers: Age of Extinction Road to Rio World War Z Clueless Titanic The Bridges at Toko-Ri The Vagabond King Ghost Jack Reacher: Never Go Back Vampire in Brooklyn The Molly Maguires A Day at the Beach Terminator Genisys Next The Blob Close Harmony The Truman Show Fat Man and Little Boy The Browning Version Bulldog Drummond Escapes Brushfire Inside Llewyn Davis Sliver Death Wish The Sum of All Fears Face/Off Primal Fear Emily Brontë's Wuthering Heights Middle Men Alive Bowery to Broadway The Rainmaker Explorers Some Kind of Monster Ben-Hur That Kind of Woman The Girl in 419 April Fool's Day Road to Morocco Ruggles of Red Gap Forrest Gump That's My Boy The Flying Deuces Star Trek: Nemesis The File on Thelma Jordon Double or Nothing Girls About Town Pain & Gain Tom Sawyer Reap the Wild Wind The Italian Job Rules of Engagement The President's Analyst Robinson Crusoe on Mars Pretty Baby Invitation to Happiness The Man Who Shot Liberty Valance Transformers: Dark of the Moon Dragonslayer Dixie Compromising Positions Night Has a Thousand Eyes Sophie Lang Goes West The Man Who Knew Too Much Payback 1900 To Catch a Thief Ghost Town Mission: Impossible – Ghost Protocol Star Trek V: The Final Frontier Something to Live For Mission: Impossible Golden Earrings Samson and Delilah Blonde Venus Double Indemnity South Park: Bigger, Longer & Uncut Glorifying the American Girl Runaway Bride Wives Never Know The Godfather Road to Zanzibar Strangers in Love 13 Hours: The Secret Soldiers of Benghazi The Buccaneer Sing You Sinners The Loved Ones My Geisha The Night of Nights Feet First Black Rain Wedding Present Star Trek III: The Search for Spock Posse Miss Tatlock's Millions K2 White Christmas The Big Broadcast Here Comes the Groom Star Trek II: The Wrath of Khan The Girl Rush Selma Sleepy Hollow Black Sheep Shirley Valentine Belle of the Nineties Young Man of Manhattan The Jungle Princess Paranormal Activity 3 She's Having a Baby Why Bring That Up? Love Among the Millionaires The Adventurers The Accused The Ghost Breakers Whispers in the Dark Interstellar Tucker: The Man and His Dream Once Upon a Time in the West Too Much Harmony Ordinary People Uncommon Valor City Streets Extremely Loud and Incredibly Close Perché no? Joey Breaker Cradle Song Badge 373 Sinners in the Sun Is Paris Burning? The Warriors Waterhole No. 3 The Love Parade She Loves Me Not Naked Gun 33⅓: The Final Insult Hey, let's Twist King Kong Fun in Acapulco Friday the 13th Part VIII: Jason Takes Manhattan The Hitler Gang Friday the 13th Part VII: The New Blood Casanova's Big Night Christmas in July Bloodline Trading Places Rings Elephant Walk His Woman Funeral in Berlin Five Graves to Cairo The Hunter Apt Pupil The Song of Songs Five Branded Women The Addams Family Personal Maid Shane Anything Can Happen Stepping Out Napoleon Dynamite The Delicate Delinquent Hostages Top Gun Still Smokin Internal Affairs Three Weekends Mama Loves Papa The Return of Sherlock Holmes Hell Is for Heroes Days of Thunder North West Mounted Police Road to Singapore Fighting Caravans Mission: Impossible II Her Wedding Night Make Way for Tomorrow I Met Him in Paris Catch-22 Swing High, Swing Low On a Clear Day You Can See Forever Nick of Time The Saturday Night Kid Seconds The General's Daughter Thirteen Hours by Air Up in Smoke Hud Innocent Bystanders The Monster and the Girl The Uninvited The Sainted Sisters The Great Gatsby National Lampoon's Van Wilder: Freshman Year It Started in Naples Monte Carlo Champagne Waltz Monkey Business Get Rich or Die Tryin' College Swing The Lady Eve One Sunday Afternoon Skippy West Point Widow The Four Feathers Lara Croft Tomb Raider: The Cradle of Life Dear God Dear Brat Rope of Sand For Whom the Bell Tolls Visit to a Small Planet Lady in the Dark Sabrina Indiana Jones and the Kingdom of the Crystal Skull The Core Failure to Launch Night in New Orleans The Golden Child The Trail of the Lonesome Pine The Cat and the Canary Hold Back the Dawn Man of the Forest The Big Clock American Gigolo The Shootist Welcome Home, Roxy Carmichael The Sign of the Cross Rhythm on the Range My Favorite Brunette One Hour with You The Avengers Teenage Mutant Ninja Turtles: Out of the Shadows The Space Children The Thing Called Love Friday the 13th: A New Beginning Friday the 13th The Keep The Perils of Pauline Sorry, Wrong Number Birth of the Blues A Place in the Sun Let's Scare Jessica to Death Pontiac Moon First Monday in October Rocky Mountain Mystery The Assassination Bureau Kiss the Boys Goodbye Child's Play Hustle Peter Ibbetson The Italian Job True Confession Tarnished Lady Airplane! Appointment with Danger Blaze of Noon School Ties Frenchman's Creek Friday the 13th The Turning Point New York Town Two for Tonight Fire in the Sky American Hot Wax Grumpy Working Girls The Lost Weekend Elizabethtown Gunfight at the O.K. Corral Eye for an Eye Best Defense Little Boy Lost The Ten Commandments Harlem Nights Morocco The Last Airbender Hercules: The Thracian Wars Dreamgirls The Scarlet Empress The Thundering Herd The Greene Murder Case Team America: World Police Devil and the Deep The Greatest Show on Earth He Learned About Women The Lives of a Bengal Lancer Staying Alive Daniel The Blue Dahlia Paranormal Activity 2 Jackass 3D Tommy Boy Wonder Boys Spendthrift Footloose The Heart of Me The Case Against Mrs. Ames The Heiress The Day of the Locust Wild Horse Mesa Son of Paleface Star Spangled Rhythm La lettre The Hunt for Red October Sunset Boulevard The Gambler Innocents of Paris Broken Lullaby Horse Feathers Mississippi Hollywood or Bust The President Vanishes The Nutty Professor One-Eyed Jacks The Buccaneer Escape from Alcatraz White Woman The Caddy Serving Sara Teacher's Pet Bang the Drum Slowly Beverly Hills Cop III The Texas Rangers Captain Carey Double Jeopardy The Remarkable Andrew Scared Stiff The Girl Habit Star Trek VI: The Undiscovered Country Orange County Fatal Attraction Zaza Super 8 Noah Jade The Longest Yard The Smiling Lieutenant The Untouchables Star Trek: The Motion Picture A Connecticut Yankee in King Arthur's Court Pacific Blackout To Each His Own The Vagabond King So Proudly We Hail! Flawless Stardust Riding High Wives and Lovers Transformers: The Last Knight Case 39 Angus, Thongs and Perfect Snogging Virtuosity Jack Ryan: Shadow Recruit The First Wives Club The Trouble with Harry Fire with Fire The Phantom True to the Navy National Lampoon's Joy of Sex Design for Living Young Sherlock Holmes War and Peace She Done Him Wrong Waikiki Wedding A Bedtime Story The Desperate Hours The Five Pennies The Strange Case of Clara Deane Dangerous Ground Anything Goes Eddie Murphy Raw Alice in Wonderland Duck Soup What a Night! Powder Blue The Mad Doctor Hurricane Smith Rough Cut Play It Again, Sam Shutter Island Shanghai Enemy at the Gates Star Trek The Mountain Silver City Second Chorus The Moon's Our Home Paranormal Activity 4 The Trap Kiss the Girls What's Eating Gilbert Grape Paranormal Activity The Plainsman A New Leaf The Rose Tattoo I Married a Witch Let's Dance The Village Squire Death Takes a Holiday Foul Play A Separate Peace Unconquered Cleopatra The Last Tycoon The Lady Has Plans Night Work Torch Singer The Border Legion Players How to Lose a Guy in 10 Days Against the Ropes The Wolf Song The Fan Three Violent People Mission: Impossible III Shanghai Express Friday the 13th: The Final Chapter Lady and Gent Spawn of the North Highlander II: The Quickening Friday the 13th Part III The Texans The Big Pond The Road to Reno Top o' the Morning King Creole The Naked Gun 2½: The Smell of Fear The Godfather Part II Last Stop 174 World Trade Center Love Letters King David Blue Skies Nacho Libre I Take This Woman The Accused One Night in Lisbon No Strings Attached The Wheel of Life The Country Girl Almost an Angel The Dance of Life Heritage of the Desert Three Days of the Condor Dark City Danger: Diabolik Two Years Before the Mast From Hell to Heaven An Officer and a Gentleman I.Q. Animal Crackers The Glass Key Marci X The War of the Worlds Where There's Life Star Trek: Generations The Virginian The Old Fashioned Way Cinderfella Boeing Boeing Becket Paris in Spring Going My Way The Two Jakes Wayne's World Escape from L.A. No Limit The Princess Comes Across Trouble in Paradise Killing Bono Love Story Angel Stalag 17 Crocodile Dundee in Los Angeles "Crocodile" Dundee II Il segreto del dottore The Postman Always Rings Twice Follow the Leader Beverly Hills Cop II At War with the Army Starting Over The Brotherhood Ragtime Patriot Games Daughter of the Dragon Typhoon When Worlds Collide Honor Among Lovers Fear Strikes Out The Parallax View Hot Rod Road to Bali Extreme Ops Private Parts The Conversation We're Not Dressing Addams Family Values Snake Eyes I'm No Angel Harold and Maude The Crystal Ball El Dorado Gentleman of the Press 48 Hrs. Holiday Inn Union Pacific Lady Jane Soapdish Reds Star Trek IV: The Voyage Home Bluebeard's Eighth Wife Clear and Present Danger Changing Lanes The Honorary Consul Ladies Should Listen Vanilla Sky Rosemary's Baby The Perfect Score The Joker Is Wild The Devil Is a Woman Beavis and Butt-head Do America Thunder in the East Gung Ho The Story of Temple Drake Applause The Right to Love The Firm Days of Heaven The Major and the Minor Collateral Murders in the Zoo Submarine Command Sabrina The Wolf of Wall Street The Savage Off Limits Aloma of the South Seas Ace in the Hole Jennifer 8 Goin' South Brain Donors I Wanted Wings Hot Saturday Thief of Hearts Detective Story Professor Beware The Canary Murder Case Midnight Intersection You Came Along Coach Carter The Stooge A Medal for Benny The Emperor Waltz The Talented Mr. Ripley Beyond Glory A Foreign Affair The Brady Bunch Movie Prison Farm Huckleberry Finn Children of a Lesser God Anything Goes The Cocoanuts Paris When It Sizzles Escape from Zahrain Domestic Disturbance The Love Goddesses Funny Face Star Trek Into Darkness Love Me Tonight Charming Sinners Timeline Among the Living Maid of Salem The Out-of-Towners The Bad News Bears The Score A Breath of Scandal 5 Card Stud Hansel and Gretel: Witch Hunters Another 48 Hrs. Union Station Terms of Endearment Psycho All I Want for Christmas Dishonored Gulliver's Travels Albuquerque Event Horizon War of the Worlds The Last Round-Up Leap of Faith The Family Jewels Regarding Henry Looking for Mr. Goodbar Friday the 13th Part 2 The Shepherd of the Hills In & Out Tupac: Resurrection Copper Canyon Jack Reacher The Preview Murder Mystery Beau Geste Shorts Men, Women & Children Dinner for Schmucks Lovespell I'm from Missouri And Now... Ladies and Gentlemen Along Came a Spider Sullivan's Travels Rock-A-Bye Baby Beverly Hills Cop A Farewell to Arms Road to Utopia This Gun for Hire Rustlers' Rhapsody The Tin Star Come Back, Little Sheba
Wives and Lovers Ghost Town A Farewell to Arms White Christmas The Great Gatsby Friday the 13th Part 2 South Park: Bigger, Longer & Uncut Marci X The Devil Is a Woman Some Kind of Monster
action filter_type
action union
action find_reverse
entity Boris Morros
relation production company
action find_reverse
entity Paramount Pictures
relation production company
type work of art
{'OR': [[{'concept': 'work of art'}, 'production company', 'Boris Morros'], [{'concept': 'work of art'}, 'production company', 'Paramount Pictures']]}
SELECT DISTINCT ?e WHERE { { { ?e property:production_company resource:Boris_Morros } UNION { ?e property:production_company resource:Paramount_Pictures } } . ?e rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1064903
P57
Q838948
USER
How many works of art are Wesley Ruggles a director of ?
(c(Q838948),P57,Q1064903)
action count
action filter_type
action find_reverse
entity Q1064903
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q1064903']
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P57 resource:Q1064903 . ?w rdf:type ontology:Q838948 }
Wesley Ruggles
action count
action filter_type
action find_reverse
entity Wesley Ruggles
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Wesley Ruggles']
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:director resource:Wesley_Ruggles . ?w rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
33
Q1857747 Q19363825 Q2249058 Q17089906 Q7522733 Q19358464 Q6670852 Q251997 Q3796157 Q20649185 Q19363694 Q17985588 Q1671814 Q2625463 Q2837940 Q1433345 Q24041252 Q19363634 Q18350959 Q1972090 Q17018159 Q1772438 Q7622850 Q1430527 Q18153571 Q3541722 Q5146457 Q2909320 Q1144353 Q3163603 Q1755235 Q670059 Q3548821
(c(Q838948),P57,Q1064903)
action count
action filter_type
action find_reverse
entity Q1064903
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q1064903']
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P57 resource:Q1064903 . ?w rdf:type ontology:Q838948 }
Valiant Is the Word for Carrie Shoot the Works True Confession Wild Honey Sing You Sinners Uncharted Seas London Town Cimarron The Sea Bat Accent on Youth Mr. Billings Spends His Dime Are These Our Children? Invitation to Happiness Somewhere I'll Find You The Gilded Lily Slightly Dangerous The Greater Claim Honey If I Were Queen I Met Him in Paris See Here, Private Hargrove Mississippi Street Girl Condemned Roar of the Dragon You Belong to Me College Humor Bolero Too Many Husbands The Bride Comes Home I'm No Angel Arizona No Man of Her Own
33
action count
action filter_type
action find_reverse
entity Wesley Ruggles
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Wesley Ruggles']
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:director resource:Wesley_Ruggles . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1064903
P26
Q502895
USER
Which person is the spouse of that one ?
action filter_type
action find
entity Q1064903
relation P26
type Q502895
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q1064903 property:P26 ?a }
Wesley Ruggles
action filter_type
action find
entity Wesley Ruggles
relation spouse
type common name
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Wesley_Ruggles property:spouse ?a }
[]
common name
Q2861653
SYSTEM
Arline Judge
Q2861653
action filter_type
action find
entity Q1064903
relation P26
type Q502895
[ANSWER] is the spouse of that one
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q1064903 property:P26 ?a }
Arline Judge
Arline Judge is the spouse of that one
Arline Judge
action filter_type
action find
entity Wesley Ruggles
relation spouse
type common name
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Wesley_Ruggles property:spouse ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately 1701 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1701
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?m = 1701 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1701
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?m = 1701 ) }
[]
musical instrument common name
SYSTEM
7
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1701
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?m = 1701 ) }
viola bass guitar double bass trumpet cello organ drum kit
7
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1701
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?m = 1701 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q502895 Q15619164
USER
How many works of art contain exactly 2 people and abstract beings ?
(c(Q502895)|c(Q15619164),P1441,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
value 2
[[{'concept': 'Q502895'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?i rdf:type ontology:Q15619164 } } GROUP BY ?j } }
action count
action equal
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
value 2
[[{'concept': 'common name'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?i rdf:type ontology:common_name } UNION { ?i property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?i rdf:type ontology:abstract_being } } GROUP BY ?j } }
[]
work of art common name abstract being
SYSTEM
14
Q205028 Q42051 Q748030 Q494048 Q165713 Q26833 Q18067135 Q184843 Q156608 Q107226 Q1193324 Q504697 Q156519 Q181069
(c(Q502895)|c(Q15619164),P1441,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
value 2
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?i rdf:type ontology:Q15619164 } } GROUP BY ?j } }
Iron Man 2 Star Wars: Episode III – Revenge of the Sith The 13th Warrior The Bourne Legacy Star Wars: Episode I – The Phantom Menace Othello Bridge of Spies Blade Runner The Bourne Supremacy The Bourne Ultimatum The Disappearance of Haruhi Suzumiya WarGames Around the World in 80 Days Star Wars Episode II: Attack of the Clones
14
action count
action equal
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
value 2
[[{'concept': 'common name'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?i rdf:type ontology:common_name } UNION { ?i property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?i rdf:type ontology:abstract_being } } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7760824 Q1547395
P495
Q15617994
USER
Which administrative territories are the origin of Ghost Town or The Riordans ?
OR((Q1547395,P495,c(Q15617994)), (Q7760824,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1547395
relation P495
action find
entity Q7760824
relation P495
type Q15617994
{'OR': [['Q1547395', 'P495', {'concept': 'Q15617994'}], ['Q7760824', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?m ) { ( resource:Q1547395 ) ( resource:Q7760824 ) } . ?m property:P495 ?q } . ?q rdf:type ontology:Q15617994 }
The Riordans Ghost Town
action filter_type
action union
action find
entity Ghost Town
relation country of origin
action find
entity The Riordans
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Ghost Town', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Riordans', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?m ) { ( resource:Ghost_Town ) ( resource:The_Riordans ) } . ?m property:country_of_origin ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q27
SYSTEM
United States of America, Ireland
Q30 Q27
OR((Q1547395,P495,c(Q15617994)), (Q7760824,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1547395
relation P495
action find
entity Q7760824
relation P495
type Q15617994
[ANSWERS] are the origin of Ghost Town or The Riordans
{'OR': [['Q1547395', 'P495', {'concept': 'Q15617994'}], ['Q7760824', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?m ) { ( resource:Q1547395 ) ( resource:Q7760824 ) } . ?m property:P495 ?q } . ?q rdf:type ontology:Q15617994 }
United States of America Ireland
United States of America and Ireland are the origin of Ghost Town or The Riordans
United States of America Ireland
action filter_type
action union
action find
entity Ghost Town
relation country of origin
action find
entity The Riordans
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Ghost Town', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Riordans', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?m ) { ( resource:Ghost_Town ) ( resource:The_Riordans ) } . ?m property:country_of_origin ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]