Simple Question (Direct)
Simple Question
Q970779
P57
Q502895
USER
Who directed Perrier's Bounty ?
(Q970779,P57,c(Q502895))
action filter_type
action find
entity Q970779
relation P57
type Q502895
['Q970779', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q970779 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Perrier's Bounty
action filter_type
action find
entity Perrier's Bounty
relation director
type common name
["Perrier's Bounty", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Perrier's_Bounty property:director ?e . ?e rdf:type ontology:common_name }
[]
common name
Q5981519
SYSTEM
Ian Fitzgibbon
Q5981519
(Q970779,P57,c(Q502895))
action filter_type
action find
entity Q970779
relation P57
type Q502895
[ANSWER] directed Perrier's Bounty
['Q970779', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q970779 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Ian Fitzgibbon
Ian Fitzgibbon directed Perrier's Bounty
Ian Fitzgibbon
action filter_type
action find
entity Perrier's Bounty
relation director
type common name
["Perrier's Bounty", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Perrier's_Bounty property:director ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q970779
P162
Q502895
USER
Who is the creator of that work of art ?
(Q5981519,P162,c(Q502895))
action filter_type
action find
entity Q970779
relation P162
type Q502895
['Q5981519', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q970779 property:P162 ?x . ?x rdf:type ontology:Q502895 }
Perrier's Bounty
action filter_type
action find
entity Perrier's Bounty
relation producer
type common name
['Ian Fitzgibbon', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Perrier's_Bounty property:producer ?x . ?x rdf:type ontology:common_name }
[]
common name
Q7610883
SYSTEM
Stephen Woolley
Q7610883
(Q5981519,P162,c(Q502895))
action filter_type
action find
entity Q970779
relation P162
type Q502895
The creator of that work of art is Sir [ANSWER]
['Q5981519', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q970779 property:P162 ?x . ?x rdf:type ontology:Q502895 }
Stephen Woolley
The creator of that work of art is Sir Stephen Woolley
Stephen Woolley
action filter_type
action find
entity Perrier's Bounty
relation producer
type common name
['Ian Fitzgibbon', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Perrier's_Bounty property:producer ?x . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7610883 Q506597 Q145
P27
Q15617994
USER
Is Stephen Woolley a citizen of Untergruppenbach and United Kingdom ?
(Q7610883,P27,Q506597) (Q7610883,P27,Q145)
action is_in
entity Q7610883
action intersection
action find_reverse
entity Q506597
relation P27
action find_reverse
entity Q145
relation P27
['Q7610883', 'P27', 'Q506597'] ['Q7610883', 'P27', 'Q145']
ASK WHERE { resource:Q7610883 property:P27 resource:Q506597 . resource:Q7610883 property:P27 resource:Q145 }
Stephen Woolley Untergruppenbach United Kingdom
action is_in
entity Stephen Woolley
action intersection
action find_reverse
entity Untergruppenbach
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
['Stephen Woolley', 'country of citizenship', 'Untergruppenbach'] ['Stephen Woolley', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Stephen_Woolley property:country_of_citizenship resource:Untergruppenbach . resource:Stephen_Woolley property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q7610883,P27,Q506597) (Q7610883,P27,Q145)
action is_in
entity Q7610883
action intersection
action find_reverse
entity Q506597
relation P27
action find_reverse
entity Q145
relation P27
[ANSWER]
['Q7610883', 'P27', 'Q506597'] ['Q7610883', 'P27', 'Q145']
ASK WHERE { resource:Q7610883 property:P27 resource:Q506597 . resource:Q7610883 property:P27 resource:Q145 }
NO and YES respectively
action is_in
entity Stephen Woolley
action intersection
action find_reverse
entity Untergruppenbach
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
['Stephen Woolley', 'country of citizenship', 'Untergruppenbach'] ['Stephen Woolley', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Stephen_Woolley property:country_of_citizenship resource:Untergruppenbach . resource:Stephen_Woolley property:country_of_citizenship resource:United_Kingdom }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atleast 473 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 473
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?u >= 473 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 473
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?u >= 473 ) }
[]
musical instrument common name
Q5994 Q46185 Q80019
SYSTEM
piano, bass guitar, double bass
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 473
Atleast 473 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?u >= 473 ) }
bass guitar double bass piano trumpet cello violin organ drum kit
Atleast 473 people know about piano, bass guitar and double bass
piano bass guitar double bass
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 473
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?u >= 473 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1303
Q502895 Q2088357
USER
How many people and musical ensembles plays that musical instrument ?
(c(Q502895),P1303,Q80019) (c(Q2088357),P1303,Q80019) (c(Q502895),P1303,Q5994) (c(Q2088357),P1303,Q5994) (c(Q502895),P1303,Q46185) (c(Q2088357),P1303,Q46185) (c(Q502895),P1303,Q80019) (c(Q2088357),P1303,Q80019)
[{'concept': 'Q502895'}, 'P1303', 'Q80019'] [{'concept': 'Q2088357'}, 'P1303', 'Q80019'] [{'concept': 'Q502895'}, 'P1303', 'Q5994'] [{'concept': 'Q2088357'}, 'P1303', 'Q5994'] [{'concept': 'Q502895'}, 'P1303', 'Q46185'] [{'concept': 'Q2088357'}, 'P1303', 'Q46185'] [{'concept': 'Q502895'}, 'P1303', 'Q80019'] [{'concept': 'Q2088357'}, 'P1303', 'Q80019']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P1303 resource:Q80019 } UNION { ?y property:P1303 resource:Q80019 } UNION { ?z property:P1303 resource:Q5994 } UNION { ?y property:P1303 resource:Q5994 } UNION { ?z property:P1303 resource:Q46185 } UNION { ?y property:P1303 resource:Q46185 } UNION { ?z property:P1303 resource:Q80019 } UNION { ?y property:P1303 resource:Q80019 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q2088357 }
[{'concept': 'common name'}, 'instrument', 'double bass'] [{'concept': 'musical ensemble'}, 'instrument', 'double bass'] [{'concept': 'common name'}, 'instrument', 'piano'] [{'concept': 'musical ensemble'}, 'instrument', 'piano'] [{'concept': 'common name'}, 'instrument', 'bass guitar'] [{'concept': 'musical ensemble'}, 'instrument', 'bass guitar'] [{'concept': 'common name'}, 'instrument', 'double bass'] [{'concept': 'musical ensemble'}, 'instrument', 'double bass']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:instrument resource:double_bass } UNION { ?y property:instrument resource:double_bass } UNION { ?z property:instrument resource:piano } UNION { ?y property:instrument resource:piano } UNION { ?z property:instrument resource:bass_guitar } UNION { ?y property:instrument resource:bass_guitar } UNION { ?z property:instrument resource:double_bass } UNION { ?y property:instrument resource:double_bass } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_ensemble }
[]
common name musical ensemble
Quantitative|Count|Mult. entity type|Clarification
Q80019
SYSTEM
Did you mean double bass ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P1303 resource:Q80019 } UNION { ?y property:P1303 resource:Q80019 } UNION { ?z property:P1303 resource:Q5994 } UNION { ?y property:P1303 resource:Q5994 } UNION { ?z property:P1303 resource:Q46185 } UNION { ?y property:P1303 resource:Q46185 } UNION { ?z property:P1303 resource:Q80019 } UNION { ?y property:P1303 resource:Q80019 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q2088357 }
Did you mean double bass ?
double bass
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:instrument resource:double_bass } UNION { ?y property:instrument resource:double_bass } UNION { ?z property:instrument resource:piano } UNION { ?y property:instrument resource:piano } UNION { ?z property:instrument resource:bass_guitar } UNION { ?y property:instrument resource:bass_guitar } UNION { ?z property:instrument resource:double_bass } UNION { ?y property:instrument resource:double_bass } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P1303,Q80019) (c(Q2088357),P1303,Q80019) (c(Q502895),P1303,Q5994) (c(Q2088357),P1303,Q5994) (c(Q502895),P1303,Q46185) (c(Q2088357),P1303,Q46185) (c(Q502895),P1303,Q80019) (c(Q2088357),P1303,Q80019)
[{'concept': 'Q502895'}, 'P1303', 'Q80019'] [{'concept': 'Q2088357'}, 'P1303', 'Q80019'] [{'concept': 'Q502895'}, 'P1303', 'Q5994'] [{'concept': 'Q2088357'}, 'P1303', 'Q5994'] [{'concept': 'Q502895'}, 'P1303', 'Q46185'] [{'concept': 'Q2088357'}, 'P1303', 'Q46185'] [{'concept': 'Q502895'}, 'P1303', 'Q80019'] [{'concept': 'Q2088357'}, 'P1303', 'Q80019']
[{'concept': 'common name'}, 'instrument', 'double bass'] [{'concept': 'musical ensemble'}, 'instrument', 'double bass'] [{'concept': 'common name'}, 'instrument', 'piano'] [{'concept': 'musical ensemble'}, 'instrument', 'piano'] [{'concept': 'common name'}, 'instrument', 'bass guitar'] [{'concept': 'musical ensemble'}, 'instrument', 'bass guitar'] [{'concept': 'common name'}, 'instrument', 'double bass'] [{'concept': 'musical ensemble'}, 'instrument', 'double bass']
[]
SYSTEM
748 people and 1 musical ensembles
Q6768953 Q490275 Q4805416 Q356775 Q1248757 Q1239541 Q1516216 Q6949718 Q918484 Q5084993 Q3324740 Q15453308 Q7808068 Q1362232 Q4571067 Q3028888 Q20747650 Q1840763 Q960319 Q5263034 Q16232809 Q5093772 Q6193452 Q2328781 Q5132128 Q1282861 Q16016389 Q3351055 Q11957951 Q17486537 Q1561194 Q2057112 Q6879960 Q33039 Q1351593 Q3178953 Q85197 Q2638882 Q1936157 Q353123 Q3529546 Q361734 Q5505117 Q7343537 Q2360351 Q504490 Q777329 Q7519219 Q6183466 Q727217 Q23651047 Q4910250 Q790661 Q10304735 Q7815993 Q1899471 Q6248800 Q720184 Q1702744 Q1679584 Q19664655 Q727702 Q7704919 Q7582292 Q732319 Q5115334 Q6662761 Q695158 Q7597838 Q705506 Q1386801 Q5233694 Q1174470 Q1509807 Q448220 Q3351376 Q1349875 Q6969476 Q862263 Q3101779 Q7373186 Q497183 Q925474 Q1700848 Q712454 Q4888964 Q107432 Q1536971 Q7504668 Q7651845 Q4719960 Q23664256 Q919379 Q7166760 Q504671 Q12470035 Q2440951 Q2219672 Q7970052 Q2156460 Q1570828 Q1282964 Q1355499 Q993145 Q3196781 Q7052433 Q1307952 Q1439809 Q2404734 Q1756516 Q5258201 Q517818 Q5238711 Q516358 Q7935215 Q17174795 Q12789554 Q1584573 Q1748194 Q6697277 Q24287231 Q1282713 Q3295432 Q7151852 Q1282491 Q39016 Q1370288 Q1174823 Q491411 Q1325550 Q16197911 Q16105444 Q950919 Q726150 Q7181688 Q5995684 Q2636848 Q254460 Q1255033 Q11978630 Q7181724 Q5721396 Q1688100 Q1587954 Q1089108 Q11993371 Q3132179 Q3659318 Q82470 Q16218383 Q2683085 Q2444926 Q368030 Q362781 Q7802873 Q453406 Q1739024 Q16095237 Q21033256 Q16079684 Q5386856 Q1252565 Q7438229 Q354542 Q16825043 Q16193653 Q102003 Q963411 Q1878757 Q1933466 Q1321507 Q1369941 Q2239470 Q1701758 Q7535564 Q1382200 Q573046 Q2908813 Q19825989 Q1145546 Q1443242 Q959371 Q1239345 Q39124 Q326844 Q356166 Q1282562 Q353449 Q16011909 Q117214 Q3035286 Q816615 Q7172575 Q8079353 Q15998368 Q2347082 Q356685 Q4977216 Q4412817 Q22278828 Q3308390 Q6270469 Q3017662 Q16269436 Q204092 Q1452362 Q3526316 Q546956 Q338805 Q6278473 Q343367 Q17057511 Q7688264 Q3420487 Q1494830 Q1691539 Q1752903 Q504646 Q4911322 Q1001724 Q1356897 Q738825 Q17143263 Q3219568 Q780037 Q6124163 Q6276858 Q2386181 Q3756607 Q542586 Q7106334 Q8012260 Q16635855 Q2581484 Q6731349 Q1609414 Q20090929 Q1115066 Q1689315 Q1609413 Q6526105 Q15457098 Q1164775 Q1674908 Q57213 Q1001142 Q6769466 Q1818055 Q2553055 Q887868 Q827452 Q727671 Q1379426 Q275250 Q26997733 Q20007864 Q16012698 Q6832233 Q16216598 Q1725288 Q1694530 Q22970099 Q513781 Q7372985 Q1681364 Q166286 Q21287631 Q250159 Q7027277 Q5040164 Q16269592 Q381713 Q7808655 Q3167396 Q216986 Q3184184 Q1089091 Q1173217 Q6795278 Q1454510 Q536762 Q2075935 Q6662777 Q253285 Q1351706 Q2129728 Q862216 Q381429 Q11464163 Q15989889 Q2924475 Q937860 Q1713844 Q13582767 Q3702652 Q14949460 Q94120 Q727254 Q1501449 Q1108152 Q7235905 Q2139879 Q107650 Q960935 Q354046 Q11678315 Q178028 Q325166 Q913144 Q7176871 Q4800804 Q7821773 Q2005676 Q313683 Q11981751 Q2623674 Q1653723 Q887788 Q550772 Q5126739 Q1210556 Q1369090 Q7937852 Q2545763 Q723801 Q1040657 Q7795252 Q6776382 Q862055 Q16152002 Q5337519 Q7627060 Q1237600 Q457501 Q2580222 Q818067 Q2439468 Q6770494 Q16232450 Q1370114 Q514985 Q2078888 Q926564 Q1017782 Q1247311 Q511027 Q19666954 Q2570121 Q1684994 Q491093 Q968555 Q16232090 Q6699550 Q16104594 Q16105105 Q126326 Q1089118 Q4776039 Q709321 Q1268771 Q1491529 Q24082552 Q11478816 Q20642127 Q1666652 Q6371728 Q4886719 Q1451138 Q2910026 Q507993 Q3494868 Q887872 Q1686323 Q6137897 Q17630295 Q303375 Q1369875 Q641035 Q6984196 Q2367501 Q2066063 Q930563 Q711480 Q119925 Q6681286 Q157777 Q588396 Q3473396 Q507903 Q3098991 Q1097166 Q738697 Q188150 Q828508 Q1063718 Q2119337 Q2161201 Q357036 Q716877 Q3436132 Q1715712 Q15453141 Q512768 Q712435 Q359853 Q18642575 Q7357071 Q1886622 Q387481 Q15450954 Q18685901 Q1594383 Q1557872 Q1966092 Q356874 Q1327115 Q7116453 Q7929729 Q4864278 Q347932 Q1277670 Q7417168 Q11869061 Q6178534 Q14163218 Q743087 Q7384353 Q19628664 Q15229616 Q24589 Q5273118 Q3743815 Q16194846 Q707857 Q1282848 Q1176620 Q1595954 Q7027561 Q354101 Q961534 Q11621587 Q1691420 Q597128 Q971889 Q19666053 Q3591177 Q516781 Q541659 Q1739032 Q933722 Q5740373 Q19663263 Q2567133 Q21284878 Q558162 Q750715 Q525836 Q5386029 Q1517259 Q2528739 Q19956576 Q2138168 Q731734 Q1116147 Q523833 Q1346117 Q3190920 Q7513297 Q16193071 Q16199166 Q6767936 Q456218 Q2701956 Q1949756 Q2157968 Q981283 Q1882498 Q764843 Q16222353 Q5229953 Q22004644 Q1351712 Q487223 Q5230402 Q7381229 Q1282347 Q610453 Q1374878 Q340063 Q108560 Q238705 Q1052331 Q3351252 Q1674591 Q887834 Q1414840 Q3170601 Q3160969 Q18705009 Q2074072 Q16197250 Q913770 Q466198 Q7442533 Q3193083 Q5287053 Q6438148 Q729770 Q4723295 Q1628257 Q16731685 Q21064295 Q20979203 Q5341355 Q5407439 Q4993347 Q2406622 Q521147 Q711951 Q6828570 Q11993174 Q862667 Q976575 Q1158994 Q7349841 Q520796 Q11550049 Q15623166 Q2636157 Q1385981 Q32626 Q23664047 Q1242049 Q1684901 Q7560909 Q45863 Q2302253 Q1389764 Q354026 Q16253400 Q766914 Q20738970 Q1074510 Q319283 Q16195337 Q816415 Q2422146 Q17352069 Q7437064 Q1505766 Q887444 Q5541408 Q16014088 Q773205 Q21546147 Q4058176 Q16980403 Q1268435 Q2093221 Q5739697 Q21095526 Q1688085 Q1677101 Q7088409 Q6197748 Q6208835 Q434593 Q5226226 Q76490 Q6216640 Q1499445 Q483203 Q368393 Q4805495 Q948613 Q7085792 Q1447870 Q1077452 Q15485334 Q15485332 Q1375699 Q725362 Q4978203 Q3910553 Q1900029 Q2360363 Q6173397 Q21998346 Q939947 Q23087917 Q5229670 Q5308826 Q322222 Q3386430 Q16628784 Q15055144 Q4348910 Q728180 Q1251883 Q8061695 Q488356 Q7312954 Q3167472 Q888088 Q1882285 Q1017862 Q16750622 Q921817 Q888083 Q6271683 Q5528272 Q6312250 Q3620209 Q2457409 Q16216816 Q6213861 Q1738960 Q16011730 Q1417615 Q6795701 Q11539918 Q20006878 Q355704 Q8023153 Q713939 Q1938108 Q892821 Q1444328 Q1642931 Q1526397 Q1524064 Q6858519 Q3638920 Q863242 Q615504 Q1418151 Q16216651 Q15840377 Q1063948 Q322256 Q17486660 Q2407789 Q11980543 Q5057160 Q18326739 Q709602 Q18637968 Q357529 Q2836542 Q16216606 Q6939507 Q305486 Q879827 Q1077846 Q1684832 Q727189 Q5525810 Q5393267 Q17125346 Q20740653 Q16231661 Q562148 Q4755798 Q15487893 Q1145626 Q1045448 Q5105847 Q24005208 Q2574351 Q1382416 Q710163 Q6061836 Q539944 Q11967195 Q5648486 Q5648480 Q598368 Q4802386 Q2979733 Q11978644 Q2023299 Q327053 Q338644 Q1225273 Q6773688 Q6551820 Q1559251 Q1089171 Q2491954 Q1817224 Q1739880 Q1818977 Q1878890 Q6235049 Q2394268 Q791038 Q5128891 Q343903 Q22280151 Q16996599 Q118506 Q1672319 Q15490946 Q6209163 Q493803 Q274409 Q388320 Q956634 Q4864054 Q1174421 Q719759 Q16200092 Q11553319 Q1039832 Q16730103 Q2061983 Q1001117 Q3034987 Q987934 Q5309925 Q1237564 Q185820 Q32363 Q879799 Q117525 Q5384769 Q432301 Q5259015 Q10853856 Q718819 Q1691595 Q1101593 Q5549085 Q5640914 Q3765266 Q3158885 Q816606 Q7817910 Q984085 Q2174804 Q17859782 Q6524750 Q1714736 Q5926621 Q3169713 Q3308026 Q716851 Q861962 Q2019053
(c(Q502895),P1303,Q80019) (c(Q2088357),P1303,Q80019) (c(Q502895),P1303,Q5994) (c(Q2088357),P1303,Q5994) (c(Q502895),P1303,Q46185) (c(Q2088357),P1303,Q46185) (c(Q502895),P1303,Q80019) (c(Q2088357),P1303,Q80019)
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q80019'] [{'concept': 'Q2088357'}, 'P1303', 'Q80019'] [{'concept': 'Q502895'}, 'P1303', 'Q5994'] [{'concept': 'Q2088357'}, 'P1303', 'Q5994'] [{'concept': 'Q502895'}, 'P1303', 'Q46185'] [{'concept': 'Q2088357'}, 'P1303', 'Q46185'] [{'concept': 'Q502895'}, 'P1303', 'Q80019'] [{'concept': 'Q2088357'}, 'P1303', 'Q80019']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P1303 resource:Q80019 } UNION { ?y property:P1303 resource:Q80019 } UNION { ?z property:P1303 resource:Q5994 } UNION { ?y property:P1303 resource:Q5994 } UNION { ?z property:P1303 resource:Q46185 } UNION { ?y property:P1303 resource:Q46185 } UNION { ?z property:P1303 resource:Q80019 } UNION { ?y property:P1303 resource:Q80019 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q2088357 }
Mark Morton Eugene Wright Ashley Dzerigian Don Bagley Jimmy Butts Don Thompson Teddy Smith Mário Franco Roy Wood Charlie Harris Moses Allen Beverly Peer Tine Asmundsen Renaud Garcia-Fons Aslak Hartberg Patricia Day Cecilia Zirl Amy LaVere Greg Cohen Derrick Hodge Magnus Skavhaug Nergaard Chester Zardis Jim Aton Stafford James Cleveland Eaton Eddie Khan Floyd Chance Olivier Gatto Andreas Amundsen Chris Jennings Larry Gales Patrice Caratini Missy Raines Bjørnar Andresen Eric Revis Jim Tavaré Rainer Zepperitz Albert Stinson Min Leibrook Addison Farmer Tithouan Pierre-Louis Dietsch Frode Berg Robert Dickson Raimondo Inconis Domenico Dragonetti Ole Marius Sandberg Simon Little Jerry DeVore Gene Ramey Djordje Stijepovic Bill Moring Avery Sharpe Jack Fallon Tom Gray Marius Reksjø John Miller Al McKibbon Jon Burr Robert Hurst Nedra Johnson Jimmy Garrison Terry Plumeri Squire Gersh Christian McBride Chuck Andrus Lloyd Swanton Arnold Fishkind Stan Puls Art Davis James Genus David Fletcher David Friesen Gerald Cannon Alec Dankworth Olivier Sens Jimmy Woode Nathaniel Ayers Bill Lee George Morrow Roy Mitchell-Cárdenas Oscar Pettiford Rob Wasserman John Lindberg Artie Shapiro Benjamin Levy Charles Mingus Jr. Marcin Oles Shug Fisher Svein Folkvord Quinn Wilson Marcus Shelby Chris Lightcap Per Mathisen Dave Holland Nicolas Thys Tommy Bryant Duke Groner Warren Benfield Robert Balzar Jean-Paul Celea Eddie Safranski Frantisek Kotzwara Bruno Chevillon Kim Nekroman Norman Keenan Jack Gregg Sal La Rocca Terje Gewelt Ronnie Boykins Dennis Berry Trevor Dunn David Price Monty Budwig Virtue Hampton Whitted Pascal Berne Gal Gjurin Harald Johnsen Michel Benita Lucille Dixon Robertson Pierre Jacquet Eddie Calhoun Martin Gamet Paul Kowert Ed Schuller Joe Benjamin George Duvivier David Izenzon Milt Hinton Eldee Young Bill Benford Steve Novosel Wilbur Little Mads Vinding Phil Bates Ike Sturm Alan Silva Aaron Bell Markus Fritsch Jo Berger Myhre Phil Bowler Henry Ford Jesper Lundgaard Harvie S Chuck Deardorf Olaf Kamfjord Henri Wojtkowiak Carlo Faiello Steve Brown Kristor Brødsgaard Tata Güines Torsten Mueller Makanda Ken McIntyre Andy Simpkins Tillman Franks Stanley Clarke Kent Carter John Lamb Wesley Prince Walter Buchanan Eric Judy Wendell Marshall Scotty Holt Ray Brown Bob Bushnell Stig Hvalryg Uli Trepte John Jorgenson Lyn Christie Mike Richmond Eivind Opsvik Tommy Potter Placide Adams John Simmons Skinny Dennis Walter Page Anthony Cox Bohumil Gregor Vesselin Vesselinov Curtis Counce Frank Fields Terje Venaas Don Moore Hugo Rasmussen Bob Moore Teddy Kotick Mark Kermode Serge Koussevitzky Ali Jackson Cameron Brown Dominique Lemerle Ben Tucker Peter Askim Øyvind Storesund Charlie Drayton Steve LaSpina Max Bennett Bruce Cale Teppo Hauta-aho Tim Lefebvre Michael Moore Jon Button David Chiesa Marc-Michel Le Bevillon Willie Dixon Fred Hopkins Théo Girard James Jamerson George Tucker Jorge Pescara Glen Moore Svein Olav Blindheim Tatsu Aoki Ray Campi Gary Crosby Joe Mondragon Michael Moore John Patitucci Bill Wells Buell Neidlinger Ernie Farrow Chris Wood Tommy Williams Laurent Vernerey Reggie Workman Jair-Rôhm Parker Wells Jordan O'Connor Franco Petracchi Gabriele Greco Gasparo da Salò Oscar Zimmerman William Herbert York Fantazio Willie Ruff Magne Thormodsæter Herbie Lewis Sigurd Hole Scott Owen Jimmy Bond Herbie Flowers Leonardo Valvassori Kenneth Elloway Danny Thompson Vernon Alley James Last Buddy Catlett Mark Robertson Lennie Bush Wayne Dockery Bob Cranshaw Esko Laine Harry Babasin Ray Drummond Sam Jones Ivan Kotov Caterina Palazzi William Oscar Smith Michael Lewis Jasper Høiby Olivier Magnenat Julian Euell Michael Janisch Frederick Zimmermann Roy Huskey, Jr. Jamey Aebersold Emmanuel Soudieux Bjørnar Kaldefoss Tveite Kermit Driscoll Nick Haywood Carl Frederick Tandberg Hubert Dupont Truck Parham Tiny Winters Jean-Marc Jafet Tony Levin Joseph-Arthur Boucher Chuck Berghofer Dave Green Max Stern Jiunie Booth Joëlle Léandre Peter Ind Lloyd Trotman John Clayton Sid Weiss Ralph Peña William Manuel Johnson Ingebrigt Håker Flaten Mitsuru Ono Simon Carrington Brent Harding Tony Garnier Jurek Dybal Luigi Negri Dario Rosciglione Jodi Proznick İlhan Baran John Ore Gene Taylor Coleridge Goode Povl Erik Carstensen Reid Anderson Buschi Niebergall Jazze Pha Nelson Boyd Iwahisa Kuroki Vinnie Burke Stefano Scodanibbio Brian Torff Peter Seymour Arthur Österwall Tony Archer Pops Foster Jack Bruce Konrad Kaspersen Al Hall Todd Coolman Bob Bates Johann Joseph Abert Clarence Seay Didier Levallet Palle Danielsson Vivien Garry Walter Payton Chris Minh Doky Carl Smith Thomas Winther Andersen Martin Pizzarelli Bill Daily Tim Hauff Edgar Willis Stuart Sankey Dominic Lash Henry Lewis William Parker Benny Moten Tom Abbs Mark Zubek Christian Meaas Svendsen Slam Stewart Les Claypool Peter Washington Walter Booker Buster Williams Spike Heatley Jean-Luc Fillon Guro Skumsnes Moe Wilber Morris Jean-Louis Rassinfosse Anders Jormin Philippe Aerts Fredrik Luhr Dietrichson Luděk Hulan Erik Amundsen Marshall Hawkins Mark Helias Chuck Domanico Anton Torello Bob Haggart Dylan Taylor James Singleton Jane Little Ryū Kawamura Jon Rune Strøm Spanky DeBrest Karl E. H. Seigfried Ben Wolfe François Moutin Bones Hillman Erik Moseholm Tom Fowler Bob Cunningham Jeff Johnson James Leary Imbert Imbert Jay Leonhart Red Callender Arild Andersen Neal Starkey Adrian Dearnell Peck Morrison Larry Grenadier Henri Texier Pete Briggs Loris Ceroni Jan Dismas Zelenka Jeff Clyne Sarah Murcia Athol Guy Gaston Dufresne Claude Tchamitchian Shannon Birchall Sirone Bertram Turetzky Charlie Biddle Putter Smith Rodney Whitaker Karel Vacek Lonnie Plaxico Robert Quibel Lisle Ellis Frank Proto Mats Eilertsen Artie Bernstein Norman Bates Richard Dubugnon Rodney Slatford Malachi Favors Johannes Matthias Sperger Andy McKee Audun Ellingsen Lindsay L. Cooper Victor Sproles Nat Towles Leroy Vinnegar Joe B. Mauldin Ozan Musluoğlu Viktor Krauss Barry Green Red Mitchell Marshall Grant Sandy Block Kaj Lindén Jennifer Leitham Roger Arntzen Junior Raglin Ryan Monro Sébastien Boisseau Petter Eldh Simon Brehm Dick Lammi Ferruccio Spinetti Ugonna Okegwo Scott LaFaro Eddie Jones David Shapiro Hein van de Geyn Nick Monteleone Giovanni Bottesini Louis Vola Hiroyuki Minowa Joe Fonda Pierre Michelot Michel Gaudry Ernie Newton Éric Hervé André Amellér Paul Chambers Kent Kessler Hayes Alvis Herman Wright Selcuk Sun Whitey Mitchell Luques Curtis Miroslav Vitouš Christophe Wallemme Andy Gonzalez Eric André Wyatt Ruther Vitold Rek Éric Mathot Brandi Disterheft Edgar Meyer Drew Gress Saskia Laroo Enzo Pietropaoli Jérôme Goldet Sigurd Ulveseth Bruno Destrez Tuff Green Mark Harris Emile Christian Ron Chesterman Motoharu Yoshizawa Robert Landfermann Percy Heath Mac Wiseman Nathan East Rune Nergaard Dave Swift Sean Grandillo Eric Von Essen Victor Gaskin David "Buck" Wheat Russ Savakus Ed Garland Howard Rumsey John Levy Wilbur Ware A. R. Rahman Esperanza Spalding Cecil McBee Olivier Nussbaum Israel Crosby Bob Carter Reggie Johnson Jean Bardy James Cammack Kate Davis Michał Jelonek Audun Skorgen Heiko Schramm Gary Peacock Sebastian Steinberg Karel Šejna Doc Goldberg Kristin Korb Lars Danielsson Alfred Planyavsky Riccardo Del Fra Byron Luiters Michael Oien Ben Williams Edvard Askeland Eugene Levinson Tom Kennedy Richard Parry Peter Kowald Gary Karr Michael Benjamin Nigrin Oddmund Finnseth Bill Yancey Kyle Eastwood Dan Berglund Robert Sledge Niels-Henning Ørsted Pedersen Yoshio Nagashima Andrzej Łukasik Al Morgan Gene Cherico Daniel Yvinec Torbjörn Zetterberg Alex Blake Jean-Jacques Avenel Sondre Meisfjord Ludwig Streicher Sonny Dallas George Mraz Jamil Nasser Larry Hurst Ron Mathewson Adam Ben Ezra Chip Jackson Charlie Haden Baard Slagsvold Ben Allison Big Miller Massimo Moriconi Scott Pingel Georg Riedel Bo Stief George Koller John Mosher Alcide Pavageau Patrick Chartol Rodion Azarkhin Doles Dickens Dwayne Burno Pierre Boussaguet Michael Francis Jim Hughart Jesper Bodilsen Jack Lesberg Olly Wilson Jim Richardson Joe Buck Ron Carter Daryl Runswick Helge Schneider Johannes Eick Per Zanussi Sting Eberhard Weber Ashley Kozak Eddie Gomez Ole Amund Gjersvik François Mechali Chris Laurence Morty Corb Walt Yoder Marc Johnson Louis Nelson Delisle Bruce Ridge Harry H.M. Ramakers Mark Dresser Stéphane Kerecki Jeff Bradetich Giuseppe Andreoli Jimmy Blanton Zoltán Tibay Dave Richmond Papa John Joseph François Rabbath Pierre Nicolas Diego Aguilar Bernal Klaus Bruengel John Addison Ron McClure Doug Watkins Yuriy Galkin Wellman Braud Rene Van Verseveld Jean-Marc Rollez Bob Maize Maarten Altena Butch Warren Ernest "Big" Crawford Santi Debriano Bob Magnusson Jon Thorne Gavin Shoesmith June Cole Antonio Semiglia Thelma Terry Joris Vanvinckenroye Joel Quarrington Kenny Davis Kåre Garnes Finn Guttormsen Maximilian Dimoff Yamato Moritake Richard Pite Michael Formanek Wilson Myers Gavin Bryars Steve Rodby Bonnie Wetzel Frank Tusa Hélène Labarrière Giovanni Tommaso Gilbert Rovère Millard Powers Berto Pisano Billy Taylor Scott Colley Lloyd Brevett Julius Lind Phil Donkin Charles Clark Antonio Scontrino Mojmír Smékal Louis Johnson Ketil Gutvik Cedric Wallace Simon Tailleu Roy Babbington Tim Thornton Monk Montgomery Alice Burguière Jeff Irwin Murray Wall Al Lucas Bjørn Kjellemyr Chris White Jean-François Jenny-Clark Chuck Israels Gary Raynor Ernest Hill Ted Sturgis Abe Bolar Trygve Waldemar Fiske Cachao López Andrei Gorbatenko Henry Franklin Curtis Lundy Carson Smith Chris Bates Sébastien Dubé Lee Rocker Ike Isaacs Charnett Moffett Steinar Raknes Rick Danko Ellen Andrea Wang Hank Wayland Hank Van Sickle Chubby Jackson Arvell Shaw Mark Izu Jo Skaansar Omer Avital Barre Phillips John Kirby Dikanda Marshall Lytle Linda McKnight Ken Filiano Chuck Metcalf Eddie Gibbs Len Skeat Keter Betts Leonard Gaskin Lynn Seaton John Geggie Tarik Shah József Bartók Claude Hobday Bill Crow Mark Rubin Iggy Shevak Mich Gerber Ira Coleman Eugene Cruft Joe Comfort Charles Fambrough Édouard Nanny Avishai Cohen Curley Russell Barry Buckley David Finck Henry Grimes Ellen Brekken Osamu Kawakami Carl Morten Iversen Alvin Jackson Paul Rogers Buddy Banks Dominique Bertram János Egri Ray Leatherwood Dominic Duval Bruno Tommaso Major Holley Bjørn Alterhaug Guy Pedersen Nat Reeves Saheb Sarbib Dennis Trembly Antonín Gondolán Barry Guy Joe Shulman Clint Houston Gerald Drucker Hal Robinson Giorgio Azzolini Jacques Ferrandez Ben Street Tom V. Ray Dennis Irwin Rufus Reid Yuri Goloubev Leon Lee Dorsey Jymie Merritt Hub Jean-Pierre Robert Michael Bates Richard Davis Bill Black Ole Morten Vågan
748 people and 1 musical ensembles
[{'concept': 'common name'}, 'instrument', 'double bass'] [{'concept': 'musical ensemble'}, 'instrument', 'double bass'] [{'concept': 'common name'}, 'instrument', 'piano'] [{'concept': 'musical ensemble'}, 'instrument', 'piano'] [{'concept': 'common name'}, 'instrument', 'bass guitar'] [{'concept': 'musical ensemble'}, 'instrument', 'bass guitar'] [{'concept': 'common name'}, 'instrument', 'double bass'] [{'concept': 'musical ensemble'}, 'instrument', 'double bass']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:instrument resource:double_bass } UNION { ?y property:instrument resource:double_bass } UNION { ?z property:instrument resource:piano } UNION { ?y property:instrument resource:piano } UNION { ?z property:instrument resource:bass_guitar } UNION { ?y property:instrument resource:bass_guitar } UNION { ?z property:instrument resource:double_bass } UNION { ?y property:instrument resource:double_bass } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7610883
P1411
Q4220917
USER
Which film award did Stephen Woolley receive ?
(Q7610883,P1411,c(Q4220917))
action filter_type
action find
entity Q7610883
relation P1411
type Q4220917
['Q7610883', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q4220917 . resource:Q7610883 property:P1411 ?i }
Stephen Woolley
action filter_type
action find
entity Stephen Woolley
relation nominated for
type film award
['Stephen Woolley', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:film_award . resource:Stephen_Woolley property:nominated_for ?i }
[]
film award
Q102427
SYSTEM
Academy Award for Best Picture
Q102427
(Q7610883,P1411,c(Q4220917))
action filter_type
action find
entity Q7610883
relation P1411
type Q4220917
Stephen Woolley received the [ANSWER]
['Q7610883', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q4220917 . resource:Q7610883 property:P1411 ?i }
Academy Award for Best Picture
Stephen Woolley received the Academy Award for Best Picture
Academy Award for Best Picture
action filter_type
action find
entity Stephen Woolley
relation nominated for
type film award
['Stephen Woolley', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:film_award . resource:Stephen_Woolley property:nominated_for ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7610883
P272
Q838948
USER
Which works of art had that person as the production company ?
(c(Q838948),P272,Q102427)
action filter_type
action find_reverse
entity Q7610883
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q102427']
SELECT DISTINCT ?l WHERE { ?l property:P272 resource:Q7610883 . ?l rdf:type ontology:Q838948 }
Stephen Woolley
action filter_type
action find_reverse
entity Stephen Woolley
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Academy Award for Best Picture']
SELECT DISTINCT ?l WHERE { ?l property:production_company resource:Stephen_Woolley . ?l rdf:type ontology:work_of_art }
[]
work of art
Q1528825 Q596844 Q4157670
SYSTEM
Hairspray, Waterland, Dream Demon
Q596844 Q4157670 Q1528825 Q460415
(c(Q838948),P272,Q102427)
action filter_type
action find_reverse
entity Q7610883
relation P272
type Q838948
[ANSWERS] had that person as the production company
[{'concept': 'Q838948'}, 'P272', 'Q102427']
SELECT DISTINCT ?l WHERE { ?l property:P272 resource:Q7610883 . ?l rdf:type ontology:Q838948 }
Waterland Dream Demon Hairspray The Pope Must Die
Hairspray, Waterland and Dream Demon had that person as the production company
Hairspray Waterland Dream Demon
action filter_type
action find_reverse
entity Stephen Woolley
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Academy Award for Best Picture']
SELECT DISTINCT ?l WHERE { ?l property:production_company resource:Stephen_Woolley . ?l rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22009572 Q7610883
P19
Q56061
USER
Which administrative territories are the birthplace of Stephen Woolley or Pierre Scoupreman ?
OR((Q7610883,P19,c(Q56061)), (Q22009572,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7610883
relation P19
action find
entity Q22009572
relation P19
type Q56061
{'OR': [['Q7610883', 'P19', {'concept': 'Q56061'}], ['Q22009572', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?k ) { ( resource:Q22009572 ) ( resource:Q7610883 ) } . ?k property:P19 ?s } . ?s rdf:type ontology:Q56061 }
Pierre Scoupreman Stephen Woolley
action filter_type
action union
action find
entity Stephen Woolley
relation place of birth
action find
entity Pierre Scoupreman
relation place of birth
type administrative territorial entity
{'OR': [['Stephen Woolley', 'place of birth', {'concept': 'administrative territorial entity'}], ['Pierre Scoupreman', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?k ) { ( resource:Pierre_Scoupreman ) ( resource:Stephen_Woolley ) } . ?k property:place_of_birth ?s } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q239 Q84
SYSTEM
Brussels, London
Q239 Q84
OR((Q7610883,P19,c(Q56061)), (Q22009572,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7610883
relation P19
action find
entity Q22009572
relation P19
type Q56061
[ANSWERS] are the birthplace of Stephen Woolley or Pierre Scoupreman
{'OR': [['Q7610883', 'P19', {'concept': 'Q56061'}], ['Q22009572', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?k ) { ( resource:Q22009572 ) ( resource:Q7610883 ) } . ?k property:P19 ?s } . ?s rdf:type ontology:Q56061 }
Brussels London
Brussels and London are the birthplace of Stephen Woolley or Pierre Scoupreman
Brussels London
action filter_type
action union
action find
entity Stephen Woolley
relation place of birth
action find
entity Pierre Scoupreman
relation place of birth
type administrative territorial entity
{'OR': [['Stephen Woolley', 'place of birth', {'concept': 'administrative territorial entity'}], ['Pierre Scoupreman', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?k ) { ( resource:Pierre_Scoupreman ) ( resource:Stephen_Woolley ) } . ?k property:place_of_birth ?s } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22009572
P21
Q290
USER
Which sex does Pierre Scoupreman belong to ?
(Q239,P21,c(Q290)) (Q84,P21,c(Q290))
action filter_type
action find
entity Q22009572
relation P21
type Q290
['Q239', 'P21', {'concept': 'Q290'}] ['Q84', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q22009572 property:P21 ?z }
Pierre Scoupreman
action filter_type
action find
entity Pierre Scoupreman
relation gender
type sex
['Brussels', 'gender', {'concept': 'sex'}] ['London', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Pierre_Scoupreman property:gender ?z }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q239,P21,c(Q290)) (Q84,P21,c(Q290))
action filter_type
action find
entity Q22009572
relation P21
type Q290
Pierre Scoupreman belongs to [ANSWER]
['Q239', 'P21', {'concept': 'Q290'}] ['Q84', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q22009572 property:P21 ?z }
male
Pierre Scoupreman belongs to male
male
action filter_type
action find
entity Pierre Scoupreman
relation gender
type sex
['Brussels', 'gender', {'concept': 'sex'}] ['London', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Pierre_Scoupreman property:gender ?z }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q5981519
P57 P364
Q838948
USER
Which works of art did Ian Fitzgibbon direct and have English as their original language of creation ?
AND((c(Q838948),P57,Q5981519), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q5981519
relation P57
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q5981519'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?w WHERE { ?w property:P57 resource:Q5981519 . ?w property:P364 resource:Q1860 . ?w rdf:type ontology:Q838948 }
English Ian Fitzgibbon
action filter_type
action intersection
action find_reverse
entity Ian Fitzgibbon
relation director
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Ian Fitzgibbon'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?w WHERE { ?w property:director resource:Ian_Fitzgibbon . ?w property:original_language_of_work resource:English . ?w rdf:type ontology:work_of_art }
[]
work of art
Q445427 Q970779 Q7577421 Q300405
SYSTEM
Death of a Superhero, Perrier's Bounty, Spin the Bottle, A Film with Me in It
Q445427 Q970779 Q7577421 Q300405
AND((c(Q838948),P57,Q5981519), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q5981519
relation P57
action find_reverse
entity Q1860
relation P364
type Q838948
Ian Fitzgibbon directed La [ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q5981519'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?w WHERE { ?w property:P57 resource:Q5981519 . ?w property:P364 resource:Q1860 . ?w rdf:type ontology:Q838948 }
Death of a Superhero Perrier's Bounty Spin the Bottle A Film with Me in It
Ian Fitzgibbon directed La Death of a Superhero, Perrier's Bounty, Spin the Bottle and A Film with Me in It
Death of a Superhero Perrier's Bounty Spin the Bottle A Film with Me in It
action filter_type
action intersection
action find_reverse
entity Ian Fitzgibbon
relation director
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Ian Fitzgibbon'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?w WHERE { ?w property:director resource:Ian_Fitzgibbon . ?w property:original_language_of_work resource:English . ?w rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7923233 Q5981519
P19 P27
Q15617994
USER
Which administrative territories were Ian Fitzgibbon born in or are the native countriesof Vesislav Ilchev ?
OR((Q5981519,P19,c(Q15617994)), (Q7923233,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5981519
relation P19
action find
entity Q7923233
relation P27
type Q15617994
{'OR': [['Q5981519', 'P19', {'concept': 'Q15617994'}], ['Q7923233', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q5981519 property:P19 ?m } UNION { resource:Q7923233 property:P27 ?m } } }
Vesislav Ilchev Ian Fitzgibbon
action filter_type
action union
action find
entity Ian Fitzgibbon
relation place of birth
action find
entity Vesislav Ilchev
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ian Fitzgibbon', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Vesislav Ilchev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Ian_Fitzgibbon property:place_of_birth ?m } UNION { resource:Vesislav_Ilchev property:country_of_citizenship ?m } } }
[]
designation for an administrative territorial entity
Q219 Q27
SYSTEM
Bulgaria, Ireland
Q219 Q27
OR((Q5981519,P19,c(Q15617994)), (Q7923233,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5981519
relation P19
action find
entity Q7923233
relation P27
type Q15617994
Ian Fitzgibbon were born in [ANSWERS] or are the native countriesof Vesislav Ilchev
{'OR': [['Q5981519', 'P19', {'concept': 'Q15617994'}], ['Q7923233', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q5981519 property:P19 ?m } UNION { resource:Q7923233 property:P27 ?m } } }
Bulgaria Ireland
Ian Fitzgibbon were born in Bulgaria and Ireland or are the native countriesof Vesislav Ilchev
Bulgaria Ireland
action filter_type
action union
action find
entity Ian Fitzgibbon
relation place of birth
action find
entity Vesislav Ilchev
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ian Fitzgibbon', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Vesislav Ilchev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Ian_Fitzgibbon property:place_of_birth ?m } UNION { resource:Vesislav_Ilchev property:country_of_citizenship ?m } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27
P6
Q502895
USER
Which person is that administrative territory the head of goverment of ?
(Q27,P6,c(Q502895))
action filter_type
action find
entity Q27
relation P6
type Q502895
['Q27', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q27 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Ireland
action filter_type
action find
entity Ireland
relation head of government
type common name
['Ireland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ireland property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q27
SYSTEM
Did you mean Ireland ?
Q219 Q27
(Q219,P6,c(Q502895)) (Q27,P6,c(Q502895))
[ANSWER]
['Q219', 'P6', {'concept': 'Q502895'}] ['Q27', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q27 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Bulgaria Ireland
Did you mean Ireland ?
Ireland
['Bulgaria', 'head of government', {'concept': 'common name'}] ['Ireland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ireland property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q27,P6,c(Q502895))
['Q27', 'P6', {'concept': 'Q502895'}]
['Ireland', 'head of government', {'concept': 'common name'}]
[]
Q57815
SYSTEM
Enda Kenny
Q57815
(Q27,P6,c(Q502895))
action filter_type
action find
entity Q27
relation P6
type Q502895
[ANSWER] is that administrative territory the head of goverment of
['Q27', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q27 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Enda Kenny
Enda Kenny is that administrative territory the head of goverment of
Enda Kenny
action filter_type
action find
entity Ireland
relation head of government
type common name
['Ireland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ireland property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]