Simple Question (Direct)
Simple Question
Q59391
P58
Q502895
USER
Which person wrote the script for Barbara Frietchie ?
(Q59391,P58,c(Q502895))
action filter_type
action find
entity Q59391
relation P58
type Q502895
['Q59391', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q59391 property:P58 ?a . ?a rdf:type ontology:Q502895 }
Barbara Frietchie
action filter_type
action find
entity Barbara Frietchie
relation screenwriter
type common name
['Barbara Frietchie', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Barbara_Frietchie property:screenwriter ?a . ?a rdf:type ontology:common_name }
[]
common name
Q542941
SYSTEM
Lambert Hillyer
Q542941
(Q59391,P58,c(Q502895))
action filter_type
action find
entity Q59391
relation P58
type Q502895
The [ANSWER] wrote the script for Barbara Frietchie
['Q59391', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q59391 property:P58 ?a . ?a rdf:type ontology:Q502895 }
Lambert Hillyer
The Lambert Hillyer wrote the script for Barbara Frietchie
Lambert Hillyer
action filter_type
action find
entity Barbara Frietchie
relation screenwriter
type common name
['Barbara Frietchie', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Barbara_Frietchie property:screenwriter ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q542941
P57
Q838948
USER
Which works of art have that person as their director ?
(c(Q838948),P57,Q542941)
action filter_type
action find_reverse
entity Q542941
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q542941']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . ?s property:P57 resource:Q542941 }
Lambert Hillyer
action filter_type
action find_reverse
entity Lambert Hillyer
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Lambert Hillyer']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . ?s property:director resource:Lambert_Hillyer }
[]
work of art
Q282276 Q4121019 Q451717
SYSTEM
Dracula's Daughter, Bombardier, The Invisible Ray
Q22000785 Q21527538 Q5166545 Q451717 Q15707396 Q18914882 Q1526797 Q21527761 Q4121019 Q15706503 Q15706480 Q205575 Q282276 Q21869404 Q5520907 Q21869283 Q18915060 Q7091946 Q18162760 Q15706447 Q21869540 Q6503055 Q16924868 Q16253059 Q20814664 Q16250376 Q16679637 Q15704010 Q19363715 Q15707462 Q19363946 Q21999946 Q21527508 Q19363988 Q7959648 Q19363985 Q19363888 Q7731243 Q19363932 Q23035622 Q22350733 Q19363802
(c(Q838948),P57,Q542941)
action filter_type
action find_reverse
entity Q542941
relation P57
type Q838948
[ANSWERS] have that person as their director
[{'concept': 'Q838948'}, 'P57', 'Q542941']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . ?s property:P57 resource:Q542941 }
The Most Precious Thing in Life Chain Lightning Convict's Code The Invisible Ray Trails End Breed of Men Girls Can Play South of the Rio Grande Bombardier Gun Runner Riders of the Dusk Batman Dracula's Daughter Her Second Chance Gang Bullets The Defense Rests John Petticoats Once to Every Woman Beau Bandit Haunted Trails The Lone Star Ranger Law Men Three Word Brand The Medico of Painted Springs My Old Kentucky Home Fighting Frontier The Knockout Range Land O'Malley of the Mounted Gun Law Justice Travelin' On Border Bandits The Branded Sombrero White Oak Wagon Tracks The Whistle The Testing Block The Durango Kid The Toll Gate South of the Rio Grande Dangerous Waters Sand!
Dracula's Daughter, Bombardier and The Invisible Ray have that person as their director
Dracula's Daughter Bombardier The Invisible Ray
action filter_type
action find_reverse
entity Lambert Hillyer
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Lambert Hillyer']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . ?s property:director resource:Lambert_Hillyer }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q172980 Q542941
P136 P57
Q838948
USER
Which works of art did Lambert Hillyer direct and do not have genre named Western ?
AND((c(Q838948),P57,Q542941), NOT((c(Q838948),P136,Q172980)))
action filter_type
action difference
action find_reverse
entity Q542941
relation P57
action find_reverse
entity Q172980
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q542941'], {'NOT': [[{'concept': 'Q838948'}, 'P136', 'Q172980']]}]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P57 resource:Q542941 . MINUS { ?w property:P136 resource:Q172980 } }
Western Lambert Hillyer
action filter_type
action difference
action find_reverse
entity Lambert Hillyer
relation director
action find_reverse
entity Western
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Lambert Hillyer'], {'NOT': [[{'concept': 'work of art'}, 'genre', 'Western']]}]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:director resource:Lambert_Hillyer . MINUS { ?w property:genre resource:Western } }
[]
work of art
Q21527761 Q23035622 Q21999946 Q20814664 Q22000785 Q15706447 Q21869540 Q7959648 Q16679637 Q15706480
SYSTEM
Some of them are South of the Rio Grande, South of the Rio Grande, Border Bandits, My Old Kentucky Home, The Most Precious Thing in Life, Haunted Trails, The Lone Star Ranger, Wagon Tracks, The Knockout, Riders of the Dusk
Q22000785 Q21527538 Q5166545 Q451717 Q15707396 Q1526797 Q21527761 Q4121019 Q15706503 Q15706480 Q205575 Q282276 Q21869404 Q5520907 Q21869283 Q18915060 Q7091946 Q18162760 Q15706447 Q21869540 Q16924868 Q22350733 Q20814664 Q16679637 Q15704010 Q15707462 Q21999946 Q21527508 Q7959648 Q19363985 Q23035622
AND((c(Q838948),P57,Q542941), NOT((c(Q838948),P136,Q172980)))
action filter_type
action difference
action find_reverse
entity Q542941
relation P57
action find_reverse
entity Q172980
relation P136
type Q838948
Lambert Hillyer directed The [ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q542941'], {'NOT': [[{'concept': 'Q838948'}, 'P136', 'Q172980']]}]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P57 resource:Q542941 . MINUS { ?w property:P136 resource:Q172980 } }
The Most Precious Thing in Life Chain Lightning Convict's Code The Invisible Ray Trails End Girls Can Play South of the Rio Grande Bombardier Gun Runner Riders of the Dusk Batman Dracula's Daughter Her Second Chance Gang Bullets The Defense Rests John Petticoats Once to Every Woman Beau Bandit Haunted Trails The Lone Star Ranger Three Word Brand Dangerous Waters My Old Kentucky Home The Knockout Range Land Gun Law Justice Border Bandits The Branded Sombrero Wagon Tracks The Whistle South of the Rio Grande
Lambert Hillyer directed The South of the Rio Grande, South of the Rio Grande, Border Bandits, My Old Kentucky Home, The Most Precious Thing in Life, Haunted Trails, The Lone Star Ranger, Wagon Tracks, The Knockout and Riders of the Dusk
South of the Rio Grande South of the Rio Grande Border Bandits My Old Kentucky Home The Most Precious Thing in Life Haunted Trails The Lone Star Ranger Wagon Tracks The Knockout Riders of the Dusk
action filter_type
action difference
action find_reverse
entity Lambert Hillyer
relation director
action find_reverse
entity Western
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Lambert Hillyer'], {'NOT': [[{'concept': 'work of art'}, 'genre', 'Western']]}]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:director resource:Lambert_Hillyer . MINUS { ?w property:genre resource:Western } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3764237 Q22000785
P19 P495
Q15617994
USER
Which administrative territories are the origins of The Most Precious Thing in Life or are the birthplace of Gilberto Mancini ?
OR((Q22000785,P495,c(Q15617994)), (Q3764237,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q22000785
relation P495
action find
entity Q3764237
relation P19
type Q15617994
{'OR': [['Q22000785', 'P495', {'concept': 'Q15617994'}], ['Q3764237', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q22000785 property:P495 ?u } UNION { resource:Q3764237 property:P19 ?u } } }
Gilberto Mancini The Most Precious Thing in Life
action filter_type
action union
action find
entity The Most Precious Thing in Life
relation country of origin
action find
entity Gilberto Mancini
relation place of birth
type designation for an administrative territorial entity
{'OR': [['The Most Precious Thing in Life', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Gilberto Mancini', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:The_Most_Precious_Thing_in_Life property:country_of_origin ?u } UNION { resource:Gilberto_Mancini property:place_of_birth ?u } } }
[]
designation for an administrative territorial entity
Q30 Q73552
SYSTEM
United States of America, Castelraimondo
Q30 Q73552
OR((Q22000785,P495,c(Q15617994)), (Q3764237,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q22000785
relation P495
action find
entity Q3764237
relation P19
type Q15617994
[ANSWERS] are the origins of The Most Precious Thing in Life or are the birthplace of Gilberto Mancini
{'OR': [['Q22000785', 'P495', {'concept': 'Q15617994'}], ['Q3764237', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q22000785 property:P495 ?u } UNION { resource:Q3764237 property:P19 ?u } } }
United States of America Castelraimondo
United States of America and Castelraimondo are the origins of The Most Precious Thing in Life or are the birthplace of Gilberto Mancini
United States of America Castelraimondo
action filter_type
action union
action find
entity The Most Precious Thing in Life
relation country of origin
action find
entity Gilberto Mancini
relation place of birth
type designation for an administrative territorial entity
{'OR': [['The Most Precious Thing in Life', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Gilberto Mancini', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:The_Most_Precious_Thing_in_Life property:country_of_origin ?u } UNION { resource:Gilberto_Mancini property:place_of_birth ?u } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q213081
P144
Q838948 Q1001378 Q2342494
USER
How many works of art are less number of cinematic techniques and collectables based on than Star Trek ?
(c(Q1001378)|c(Q2342494),P144,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q1001378
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q213081
relation P144
type Q1001378
type Q2342494
[[{'concept': 'Q1001378'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1001378 ) ( ontology:Q2342494 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P144 resource:Q213081 . { VALUES ( ?g ) { ( ontology:Q1001378 ) ( ontology:Q2342494 ) } . ?q rdf:type ?g } } } . FILTER ( ?a < ?d ) }
Star Trek
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type work of art
type cinematic technique
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity Star Trek
relation based on
type cinematic technique
type collectable
[[{'concept': 'cinematic technique'}, {'concept': 'collectable'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:cinematic_technique ) ( ontology:collectable ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:based_on resource:Star_Trek . { VALUES ( ?g ) { ( ontology:cinematic_technique ) ( ontology:collectable ) } . ?q rdf:type ?g } } } . FILTER ( ?a < ?d ) }
[]
work of art cinematic technique collectable
SYSTEM
791
Q451831 Q86440 Q12104191 Q546217 Q83495 Q23011501 Q5153308 Q3536188 Q7621410 Q7225547 Q3548839 Q3536183 Q1077690 Q872657 Q535550 Q2421167 Q3142909 Q106506 Q1169421 Q193570 Q18177125 Q1330429 Q196004 Q137754 Q830501 Q583525 Q164103 Q6738028 Q7106320 Q1233645 Q114819 Q7726966 Q5331173 Q2603395 Q7070653 Q7784189 Q3793880 Q130283 Q512415 Q5216129 Q7457308 Q673381 Q494367 Q4655659 Q46717 Q49003 Q25043 Q783365 Q215750 Q17449805 Q3232036 Q642842 Q146673 Q224964 Q637180 Q1404323 Q475025 Q5095462 Q7756461 Q2908497 Q13274870 Q19801071 Q463126 Q7749348 Q2714218 Q212495 Q842106 Q176801 Q4747092 Q3213184 Q148643 Q205028 Q838013 Q208204 Q7757862 Q4997326 Q794306 Q4135545 Q537407 Q1125010 Q1400547 Q386714 Q7435380 Q4892107 Q332368 Q2609145 Q206400 Q180098 Q7750649 Q2946853 Q219155 Q1757188 Q1137583 Q27762482 Q618430 Q151737 Q110043 Q425992 Q6167503 Q6530171 Q5264340 Q28891 Q467254 Q10271148 Q7548351 Q17582392 Q5741412 Q7781385 Q3523126 Q9202 Q7830959 Q570041 Q931337 Q15268063 Q5484826 Q1347946 Q26694404 Q2314364 Q51416 Q1197293 Q2364240 Q7396410 Q606930 Q753517 Q7764480 Q372514 Q103474 Q319783 Q5887360 Q606830 Q652011 Q16107901 Q434718 Q27808408 Q627942 Q426538 Q1146552 Q907387 Q5466695 Q4312939 Q156911 Q2944381 Q641378 Q8119109 Q2104352 Q7233054 Q7754860 Q2554694 Q237222 Q7557410 Q1466657 Q1138438 Q303312 Q11893849 Q1639545 Q2044488 Q7722470 Q6785027 Q1049771 Q5036736 Q2345 Q464933 Q7741868 Q7751488 Q1760522 Q649562 Q1332299 Q7170475 Q1156447 Q3221232 Q7760871 Q583705 Q1056859 Q1315888 Q1773498 Q8881030 Q3203979 Q5272020 Q5380166 Q736969 Q20736738 Q3519924 Q7615565 Q212792 Q1989636 Q379913 Q844836 Q1774700 Q6043996 Q8050748 Q369393 Q1140649 Q1232349 Q7929598 Q1754611 Q7738192 Q1170100 Q2837516 Q13382550 Q3520548 Q105387 Q649165 Q188000 Q2294393 Q3987496 Q5246920 Q320423 Q3822364 Q1257118 Q4763098 Q662065 Q7714736 Q7759830 Q7736299 Q1532993 Q3820016 Q110138 Q655315 Q3039787 Q496255 Q1248928 Q6745304 Q7540177 Q451434 Q631855 Q637787 Q20342716 Q1164094 Q630855 Q2735164 Q179215 Q255260 Q1895210 Q6670999 Q26862216 Q191100 Q23809198 Q2297900 Q5504131 Q7679313 Q2725345 Q3497625 Q4154359 Q106571 Q1215038 Q174284 Q16386982 Q327312 Q329434 Q18405 Q17893055 Q1654459 Q1467214 Q2371841 Q2337685 Q1193969 Q130851 Q707986 Q1131733 Q7388676 Q11388020 Q102448 Q200299 Q3133377 Q212145 Q6506677 Q7713385 Q210182 Q7715789 Q3130121 Q17105272 Q11078886 Q652182 Q1102396 Q1987832 Q6494843 Q998396 Q485011 Q1125255 Q4019256 Q160071 Q3423702 Q1316093 Q8027789 Q1144983 Q4937000 Q4952670 Q1048916 Q820862 Q6398057 Q934251 Q650063 Q7783672 Q83767 Q637290 Q24669476 Q623051 Q432923 Q1753731 Q837070 Q4802580 Q7717399 Q18156075 Q3085278 Q185658 Q1211843 Q3136222 Q1457304 Q1351911 Q181803 Q7973096 Q19089 Q619135 Q1338889 Q726215 Q693088 Q1437026 Q1243029 Q637200 Q207916 Q4356912 Q3520516 Q41567 Q3203362 Q19069 Q540161 Q128518 Q144344 Q6044091 Q7728887 Q18177124 Q7762267 Q24871 Q669694 Q753907 Q3101494 Q3299026 Q1051032 Q20475 Q458629 Q5002712 Q232009 Q5966593 Q1195373 Q4150068 Q12993457 Q2738813 Q2063494 Q163872 Q785087 Q165325 Q925855 Q10339524 Q5827036 Q1143075 Q484442 Q1634966 Q1496227 Q22807426 Q15867625 Q1219814 Q12899834 Q7776285 Q180416 Q1472110 Q327604 Q7441863 Q626483 Q3235769 Q26833 Q7441771 Q7754314 Q7757020 Q167726 Q885189 Q2620500 Q16058325 Q16976180 Q13452941 Q3233538 Q7728250 Q211009 Q1138156 Q176465 Q665446 Q5229540 Q477823 Q244604 Q217552 Q17042085 Q1183443 Q5674228 Q3696430 Q245172 Q8317666 Q104814 Q624720 Q627533 Q627438 Q337078 Q408623 Q3561870 Q6132330 Q783069 Q13115187 Q1889422 Q3417226 Q7769365 Q217020 Q1138659 Q5582426 Q1056698 Q8074219 Q7740119 Q7745183 Q7637526 Q549263 Q852493 Q969098 Q2595865 Q32228 Q7517709 Q160215 Q286381 Q3400728 Q607524 Q102225 Q251908 Q538042 Q7496617 Q105624 Q945342 Q528296 Q1518287 Q1217608 Q274167 Q4659998 Q577474 Q467262 Q3612365 Q208344 Q4986064 Q181795 Q6167382 Q241077 Q4114270 Q506505 Q1122971 Q129253 Q29478 Q11621 Q232042 Q124612 Q1511153 Q138373 Q332387 Q1196012 Q6946391 Q3481943 Q7991351 Q1131202 Q4025147 Q25999972 Q6803085 Q1433065 Q4692983 Q2574548 Q7835633 Q330612 Q1218665 Q1759328 Q496266 Q2961533 Q321047 Q14772351 Q7823738 Q5526304 Q523227 Q7726748 Q4003988 Q1213356 Q2849443 Q4685705 Q1257189 Q6945075 Q2568542 Q1952295 Q196184 Q7727842 Q7749005 Q208094 Q678832 Q7797624 Q632743 Q1994701 Q778696 Q3486978 Q1141504 Q21051525 Q6361536 Q1246408 Q255328 Q24207180 Q1620069 Q7749910 Q1530069 Q3931988 Q797471 Q1056925 Q3225990 Q17071855 Q6781058 Q272169 Q498408 Q1962764 Q2315152 Q579928 Q574196 Q586880 Q1518701 Q72962 Q2895945 Q179900 Q3211241 Q4305148 Q5501958 Q7719764 Q108745 Q7761697 Q5372480 Q6013361 Q646389 Q18155702 Q294001 Q1170179 Q7877011 Q27777105 Q4085748 Q5308061 Q21047251 Q381028 Q16985017 Q3428688 Q19032697 Q753298 Q3408612 Q4140606 Q3519909 Q1219315 Q909910 Q7597248 Q19168705 Q128610 Q3530081 Q7916121 Q7722086 Q1438893 Q7766107 Q6712439 Q4928740 Q7130648 Q7754681 Q2621769 Q7233425 Q778772 Q465773 Q657215 Q500093 Q796472 Q1888486 Q102438 Q7837980 Q375073 Q2819997 Q5453353 Q14250549 Q893665 Q661693 Q2567084 Q6417032 Q19871 Q16985096 Q3966013 Q3740328 Q7756900 Q714057 Q24130898 Q1434818 Q4363241 Q5509373 Q1633629 Q315732 Q4781780 Q834530 Q7739052 Q3230989 Q19358269 Q466123 Q41132 Q471306 Q3332723 Q339804 Q1528825 Q3026044 Q7731616 Q24514267 Q3989443 Q901140 Q3212044 Q15725220 Q2021440 Q13424336 Q248775 Q7760384 Q994724 Q4656219 Q309048 Q2180740 Q1056820 Q15729024 Q7738564 Q221211 Q1254421 Q1753343 Q2543870 Q1575490 Q1921112 Q673620 Q105801 Q286132 Q3292828 Q7737991 Q813050 Q1144850 Q4315458 Q7491996 Q39970 Q371456 Q7300646 Q17738 Q2072045 Q471066 Q543347 Q143688 Q369908 Q102235 Q189540 Q7775597 Q21518458 Q2517513 Q104871 Q3536743 Q2364697 Q503343 Q5744208 Q3815650 Q202548 Q18153530 Q1136305 Q154003 Q886597 Q3208366 Q237572 Q495954 Q2421650 Q733065 Q1537077 Q221491 Q7920632 Q5553253 Q3770524 Q1212719 Q7484826 Q6431690 Q3211925 Q2920309 Q12049615 Q506403 Q7508172 Q506400 Q6807834 Q675618 Q1400390 Q7715299 Q9013673 Q1249536 Q22341213 Q909071 Q2697979 Q7744670 Q1136400 Q1861290 Q161678 Q4409901 Q6983620 Q3562484 Q1199684 Q1604118 Q672059 Q475044 Q5151111 Q276022 Q1754013 Q990857 Q7763712 Q1169767 Q1233770 Q16857406 Q316761 Q186900 Q1646944 Q300532 Q1049545 Q1248248 Q1584406 Q10986313 Q7684489 Q7762401 Q129936 Q5908841 Q2549073 Q16643896 Q5170708 Q1057360 Q7395650 Q641346 Q8052391 Q746818 Q2364343 Q26700535 Q466611 Q688919 Q1305319 Q1380376 Q2117963 Q17442691 Q204191 Q47703 Q3066349 Q6411990 Q3203961 Q2335348 Q3066270 Q374591 Q309086 Q223163 Q1238847 Q7111592 Q49729 Q2171533 Q5989482 Q217182 Q21914456 Q1211829 Q691788 Q4127103 Q5436218 Q784444 Q7923787 Q860129 Q2737320 Q7810940 Q21914445 Q1127184 Q504697 Q102244 Q465762 Q1537343 Q303719 Q4190252 Q3265982 Q7729550 Q6545243 Q1232053 Q7756991 Q195219 Q1257031 Q7990850 Q16835993 Q4379900 Q549927 Q2255134 Q27776089 Q6778696 Q375248 Q1137831 Q7091933 Q46239 Q466884 Q732498 Q5116170
(c(Q1001378)|c(Q2342494),P144,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q1001378
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q213081
relation P144
type Q1001378
type Q2342494
[ANSWER]
[[{'concept': 'Q1001378'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1001378 ) ( ontology:Q2342494 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P144 resource:Q213081 . { VALUES ( ?g ) { ( ontology:Q1001378 ) ( ontology:Q2342494 ) } . ?q rdf:type ?g } } } . FILTER ( ?a < ?d ) }
Amadeus The Tempest The Brig Polyeucte The Matrix Norma, ou L'infanticide Common Clay Nuvvostanante Nenoddantana Strange Interlude Polladhavan A Month in the Country Bommarillu The Odd Couple Episode Super Mario Bros. Personal Column Eight Women The Fifth Element Chapter Two Sunset Boulevard Perinthia The Lower Depths From Dusk till Dawn Once The Importance of Being Earnest Here Comes Mr. Jordan A Beautiful Mind Major Barbara Oscar Wilde Andria Dune The Coming of Stork Easy Virtue La Chienne Nuvvu Nenu Thillu Mullu Doubt: A Parable Macbeth Macross Frontier Dangerous Obsession Seven Keys to Baldpate Bánk bán The Deep A Bronx Tale Pirates of the Caribbean: The Curse of the Black Pearl Ghost Monty Python and the Holy Grail THX 1138 Julius Caesar Antinous-Osiris The Two Orphans Dracula Basic Instinct The Blob Heaven Can Wait Nine Queens Amphitryon Chicago The Pee-wee Herman Show Boeing-Boeing Rock Drill Napoleon Crossing the Alps Coriolanus The Madness of George III The Trickster of Seville and the Stone Guest The Threepenny Opera A Streetcar Named Desire The Silent House Amma Nanna O Tamila Ammayi La Totale! Oedipus Rex Iron Man 2 Les Visiteurs Finding Neverland The Post Office Bumper Offer The Ladykillers Henry IV (play) Mulan The Maid of Orleans LOL (Laughing Out Loud) Count Dracula Scorpio Nights Berkeley Square A View to a Kill Love in the Afternoon The Merchant of Venice Ben-Hur The Matchmaker The Conscript Dawn of the Dead The Four Seasons Pulgasari Parfumerie Long Day's Journey into Night Nathalie... The Birds The Day the Earth Stood Still Jayam Les liaisons dangereuses Design for Living Wreck-It Ralph Cactus Flower El método Grönholm Snow White and the Seven Dwarfs Lady Godiva Hermes Ludovisi Thenkasipattanam The Twilight of the Golds Statue of Liberty Toys in the Attic Pioneers in Ingolstadt Chaos Fack ju Göhte Quartet Equus La houppelande Captain Pantoja and the Special Services Men in Black Le Jour Se Lève Capuan Venus Sabrina Fair Cat on a Hot Tin Roof Limitless The Singular Life of Albert Nobbs RoboCop 2001: A Space Odyssey Rambo: First Blood Part II Guardians of the Galaxy Antony and Cleopatra Richard III Kolax Assault on Precinct 13 Burning Blue Gloria Simpatico Point Break Equestrian Statue of Marcus Aurelius For Colored Girls Who Have Considered Suicide When the Rainbow Is Enuf Attack of the 60 Foot Centerfold Wings of Desire August: Osage County The Master Builder Sardanapalus Grey Gardens Posh The Old Lady Shows Her Medals Lucifer Blood Simple Soldiers and Sailors Monument 9 to 5 The Italian Straw Hat (play) Elling Skavabölen pojat The Dance of Death Le Miroir à deux faces The Children's Hour "Master Harold"...and the Boys Ōoku: The Inner Chambers Captain Mike Across America 12 Angry Men Ocean's 11 The Indian Queen The Millionairess Lansdowne portrait Richard II Pete's Dragon Personal Appearance Le Père Noël est une ordure The Miserly Knight The Rise and Fall of Little Voice La Celestina Himizu New Dragon Gate Inn The Sky Calls Nihon Chinbotsu L'Idiote Diary of a Mad Black Woman Enter Laughing Guess Who's Coming to Dinner Kullervo The Belles of St Trinian's Stevie Bolt Ivan Vasilievich Closer The Merry Wives of Windsor The Pillars of Society No te ofendas, Beatriz Ye Maaya Chesave The Tragedy of Man The Wicker Man Henry IV, Part 2 Vikramarkudu Seven Days in May The Green Pastures The Philadelphia Experiment All My Sons Ghetto The Debt Independence Day Being John Malkovich Crash Sarcophagus of the Spouses The Heart of Maryland Dear Octopus The Spy Who Loved Me La figlia di Iorio Three Men and a Cradle Angels in the Outfield Everyman The Assumption of Hannele The Recruiting Officer The Ghost Train One Missed Call The Man with the Flower in His Mouth Top Gun Le Dîner de Cons Glengarry Glen Ross Dial M for Murder The Admirable Crichton Mama Loves Papa Sleuth La Jetée Henry IV, Part 1 Le Cid St Patrick's Day R.U.R. Love in the Afternoon The Girlfriend Experience Indiana Jones and the Temple of Doom A Tale of Two Sisters Planeta Bur London Wall Virineya Transformers: Revenge of the Fallen Penny Arcade Exiles Friends Tales of Common Insanity Becket Equestrian Statue of Louis XIV The Phantom Lady From Russia with Love Adventures in Babysitting Raiders of the Lost Ark Merrily We Roll Along Cellular A Nightmare on Elm Street Nights of Cabiria Magic Mike XXL Arsenic and Old Lace Miracle on 34th Street Little Miss Marker Angels in America: A Gay Fantasia on National Themes God of Carnage Much Ado About Nothing The Diary of Anne Frank Tokyo Daigaku Monogatari The Reunion Genroku Chūshingura Harry Potter and the Prisoner of Azkaban All About Eve The Toolbox Murders The World Is Not Enough Le Chandelier The Amazons La Piscine The Bat Reykjavík-Rotterdam Piraeus Athena Put Down Your Whip Pelléas and Mélisande That Darn Cat! Amphitryon Last of the Red Hot Lovers L'emmerdeur Il Mare Hernani What Every Woman Knows Twilight I Am a Camera Antarctica Wit Animal Kingdom Bodyguard Boys Life 5 Cyrano de Bergerac Death of a Salesman Key Largo Bedazzled The Seagull They Came Back The Blue Lagoon Cobra The Dark at the Top of the Stairs Night of the Living Dead Old Heidelberg Hedwig and the Angry Inch Smiles of a Summer Night Arya The Better Angels Dying Eurydice Ruy Blas Indiana Jones and the Last Crusade Pandora's Box Madame Sans-Gêne (play) Novecento Fame Star Wars Episode VI: Return of the Jedi Watch on the Rhine GoldenEye Apollo Belvedere The Heartbreak Kid Taxi Le Prix du Danger Two Half Times in Hell Friday the 13th Pygmalion Tomorrow Never Dies Black Ice The Dark Tower Hamlet The Exception and the Rule The Magnificent Seven Electra Gladiator The House in Montevideo Nobleza gaucha The Danton Case Andria The Sapphires Avatar A Doll's House Lysistrata La Cage aux Folles Children of a Lesser God The Italian Job Yojimbo Billy Elliot Butley Harry Potter and the Deathly Hallows – Part 2 I'm Not Rappaport The Man Who Never Was The Storm Kick The Field Crouching Venus The Dark Knight The Witches of Eastwick Kill Bill Volume 1 The Sunshine Boys O Pagador de Promessas El verdugo de Sevilla An Ideal Husband Spider-Man Four Steps in the Clouds Love Aaj Kal Tom & Viv Sumnjivo lice The Sons of Katie Elder Eunouchos The Wrecker Das Experiment The Beggar's Opera The Evil Dead Season's Greetings Tron Monsieur Gangster Othello The Makropulos Affair The Normal Heart The Piano Lesson Jurassic Park Blood: The Last Vampire The Inhabited Island buste of Charles Garnier Dollar equestrian statue of Joan of Arc Rivals The Crucifer of Blood Van Helsing Dossier 51 Hedda Gabler Measure for Measure Stolen Summer Three Sisters Minority Report X-Men Origins: Wolverine The Flowering Peach The Crucible Anacleto se divorcia Craig's Wife Prince of Persia: The Sands of Time Dubravka, Ivan Gundulić Aliens Natalka Poltavka Footloose Arthur The Big Lebowski Capitoline Wolf Inherit the Wind Samayou Yaiba Black Christmas Salt N' Pepper The Odd Couple Zanjeer The Time of the Cuckoo Thor Street Fighter Good Newsies Zoot Suit The Honest Whore The Lady of Lyons Summer of the Seventeenth Doll The Last Exorcism La Tosca Phèdre A Few Good Men The Nutty Professor Simhadri King Kong Medea Blithe Spirit Destry Rides Again Harry Potter and the Goblet of Fire Chhatrapati Urban Cowboy Shikshanachya Aaicha Gho The Bourne Identity Trachiniae 3 Godfathers La Mer The Wild Duck The Exorcist A Taste of Honey Scorched Cactus Flower Come Blow Your Horn Armageddon Bug The Empire Strikes Back Jay and Seth vs. The Apocalypse Antigone The Voyevoda The Comedy of Errors The Warriors Pygmalion Faust E.T. the Extra-Terrestrial The Two Gentlemen of Verona Creature from the Black Lagoon Sweet Bird of Youth The Millionairess The Taming of the Shrew Britannicus My Sister Eileen Sherlock Holmes What Price Glory? P.S. Your Cat Is Dead Either Way Islam in The Heart of The People The 92 Minutes of Mr. Baum The World of Henry Orient Agneepath Thoroughly Modern Millie Trapped in the Closet Dragonheart The Longest Yard Insomnia Charade Chatterton Abie's Irish Rose Batman v Superman: Dawn of Justice Tony n' Tina's Wedding Gas Light Iphigenia in Tauris The Colleen Bawn A Patriot for Me Dragon Gate Inn Angelo, Tyrant of Padua Adrienne Lecouvreur Bob le flambeur My Boy Jack Frost/Nixon The Letter Pulse The Courier of Lyons The Love of the Nightingale Peer Gynt The Glass Menagerie Three Men on a Horse The Barber of Seville Horses of Saint Mark La Cage aux Folles Smile The Last House on the Left Dancing at Lughnasa Kandireega Alcestis The Adventures of Priscilla, Queen of the Desert The Butter and Egg Man Love Affair The Man Who Came to Dinner School for Scoundrels Regisole Baal A Lady Without Passport The Trial of Mary Dugan Mouna Guru Maryada Ramanna Titus Andronicus Don Carlos La bonne année Sredni Vashtar The SpongeBob SquarePants Movie Anthony Zimmer Vanishing Point The Return of Godzilla Reservoir Dogs Benito Cereno David Night of January 16th Mozart and Salieri French Without Tears The Boys in the Band Ghostbusters The Royal Hunt of the Sun Thunderstorm Inadmissible Evidence Hook Mercury Riding Pegasus Oedipus at Colonus Lifeboat Udayananu Tharam Two for the Seesaw Without a Dowry Driving Miss Daisy The Ritz Paranormal Activity Staircase Hero Peter Pan, or The Boy Who Wouldn't Grow Up Uncle Vanya The Duchess of Malfi Heat The Beauty Inside Death Takes a Holiday Mackennas Gold Stalin Ivanov Love's Labour's Lost Manichitrathazhu Varsham The Changeling Silent Night, Deadly Night The Squatter's Daughter M. Butterfly Blue/Orange Pandippada The Octoroon L'Argent Possible Worlds Odd Man Out The Wages of Fear Woyzeck Legally Blonde Spider's Web Antropophagus Harry Potter and the Philosopher's Stone Trelawny of the 'Wells' Maniac Aadavari Matalaku Arthale Verule First Monday in October Rabbit Hole Boris Godunov Anything for Her Sphinx Kiss Them for Me Waiting for Godot Streamers Sparkle The Cat and the Canary The Philadelphia Story Infernal Affairs Tovarich Ghosts Feast in Time of Plague Funny Money Crimes of the Heart The Producers Appu The Fearless Vampire Killers The Haves and the Have Nots Les Belles-sœurs Venus lying Death and the Maiden Barbarella Scarface Médée Children of Heaven Hairspray The Balcony The Effect of Gamma Rays on Man-in-the-Moon Marigolds Boy Asleep in his High Chair The Squaw Man The Day of the Jackal A Flea in Her Ear Shesha Shrabana Humanoids from the Deep Carmen Jones Mad Max The Return The Hills Have Eyes A Cup of Kindness King Kong Jeppe på bjerget And Now Tomorrow In Order of Disappearance The Guys Twelfth Night Dracula The Laramie Project Tribute A Farewell to Arms Susannah of the Mounties The Last of Mrs. Cheyney Stargate Red Corner Marie Tudor The Great White Hope The Beastmaster Father of the Bride Don't Live as You Like She Has a Name Buffy the Vampire Slayer Fright Night Ready Star Wars Episode IV: A New Hope The Devil's Disciple The Government Inspector Attack of the 50 Foot Woman The Stone Guest La Fille du Puisatier Harry Potter and the Order of the Phoenix Seven Samurai The Women You in Your Small Corner Rosencrantz and Guildenstern Are Dead A Midsummer Night's Dream Thevar Magan Fingers Westworld Agnes of God Kismet Vertigo Fame Riding Pegasus Doryphoros The Breasts of Tiresias The Texas Chain Saw Massacre War Memorial As You Like It Henry V A Cage of Nightingales Dabangg I Spit on Your Grave The Thin Red Line Venus in Fur Gertrud The Front Page The Lady from the Sea The Lantern The King and I Proof Noodle Four-Cornered Hat The Lost Boys Siddhu +2 Red Dawn Meet the Browns The Eye Out of the Past The Bad Seed American Hustle The Scarlet Pimpernel Some Girl(s) The Mummy Alone The Kings of the Kilburn High Road Open Your Eyes Vinnaithaandi Varuvaayaa Harry Potter and the Deathly Hallows – Part 1 The Wedding Naši furianti The White Disease The Marriage of Figaro Shirley Valentine Henry VIII Amphitryon Come Back to the Five and Dime, Jimmy Dean, Jimmy Dean Quality Street The Sunset Limited Brothers The Shaughraun The Miracle Iphigenia in Aulis The Jungle Book Pusher 13 Tzameti Suddenly, Last Summer A Raisin in the Sun Clash of the Titans Liliom Harakiri Kanchana Sita (play) Tape The Scarecrow The Wood Demon Hospitality Suite Spring Awakening No Sex Please, We're British Coriolanus The Man in the Iron Mask Saamy A Better Tomorrow Yentl Esther Destry Têtes rondes et Cavaliers The Incredible Hulk The Visit An Enemy of the People Waitress The Disappearance of Alice Creed Neapolitan fisherboy It's a Wonderful Life The Godfather Fando and Lis King René's Daughter L'Hôtel du libre échange Noises Off Florodora Farnese Hercules Licence to Kill The Emperor's New Groove Don Out of Order The Housemaid Rubber Madrugada Edward Scissorhands Blanche et Montcassin, ou Les Vénitiens The Bad News Bears House of 1000 Corpses Time, Forward! Farragut North G-Force Vettai Charging Bull Ghajini To Gillian on Her 37th Birthday Fernande Splash WarGames Harry Potter and the Chamber of Secrets Laocoön and His Sons Re-Animator An Affair to Remember Green Grow the Lilacs Lucrèce Borgia The Deep Blue Sea Life of Riley The Mistress of the Inn The Phoney Civilization Edward II Beau Geste What's Wrong With Angry? Autumn Crocus The Rainmaker Epicœne, or The silent woman The Trial of Mary Dugan Home of the Brave Mary, Mary Cutie Honey Parenthood Once in a Lifetime Statue of Zeus at Olympia The Net Loft We of the Never Never
791
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type work of art
type cinematic technique
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity Star Trek
relation based on
type cinematic technique
type collectable
[[{'concept': 'cinematic technique'}, {'concept': 'collectable'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:cinematic_technique ) ( ontology:collectable ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:based_on resource:Star_Trek . { VALUES ( ?g ) { ( ontology:cinematic_technique ) ( ontology:collectable ) } . ?q rdf:type ?g } } } . FILTER ( ?a < ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1691611 Q213081
P161 P57
Q502895
USER
Which people directed Star Trek or were casted in Joe Strummer: The Future Is Unwritten ?
OR((Q213081,P57,c(Q502895)), (Q1691611,P161,c(Q502895)))
action filter_type
action union
action find
entity Q213081
relation P57
action find
entity Q1691611
relation P161
type Q502895
{'OR': [['Q213081', 'P57', {'concept': 'Q502895'}], ['Q1691611', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q213081 property:P57 ?d } UNION { resource:Q1691611 property:P161 ?d } } }
Joe Strummer: The Future Is Unwritten Star Trek
action filter_type
action union
action find
entity Star Trek
relation director
action find
entity Joe Strummer: The Future Is Unwritten
relation cast member
type common name
{'OR': [['Star Trek', 'director', {'concept': 'common name'}], ['Joe Strummer: The Future Is Unwritten', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:Star_Trek property:director ?d } UNION { resource:Joe_Strummer:_The_Future_Is_Unwritten property:cast_member ?d } } }
[]
common name
Q983530 Q104061 Q2136220 Q41148 Q202859 Q310052 Q357310 Q540440 Q37175 Q106175
SYSTEM
Some of them are Don Letts, Steve Buscemi, Dik Evans, Martin Scorsese, Flea, Joe Strummer, Mick Jones, Topper Headon, Johnny Depp, John Cusack
Q347986 Q466088 Q202859 Q191755 Q357310 Q2248119 Q2136220 Q106175 Q310052 Q834621 Q540440 Q37175 Q188137 Q2261564 Q104061 Q41148 Q204751 Q983530 Q193070
OR((Q213081,P57,c(Q502895)), (Q1691611,P161,c(Q502895)))
action filter_type
action union
action find
entity Q213081
relation P57
action find
entity Q1691611
relation P161
type Q502895
[ANSWERS] directed Star Trek or were casted in Joe Strummer: The Future is Unwritten
{'OR': [['Q213081', 'P57', {'concept': 'Q502895'}], ['Q1691611', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q213081 property:P57 ?d } UNION { resource:Q1691611 property:P161 ?d } } }
Steve Jones Terry Chimes Flea Jim Jarmusch Mick Jones Bobby Gillespie Dik Evans John Cusack Joe Strummer Bono Topper Headon Johnny Depp J. J. Abrams Bernard Rhodes Steve Buscemi Martin Scorsese Anthony Kiedis Don Letts Matt Dillon
Don Letts, Steve Buscemi, Dik Evans, Martin Scorsese, Flea, Joe Strummer, Mick Jones, Topper Headon, Johnny Depp and John Cusack directed Star Trek or were casted in Joe Strummer: The Future is Unwritten
Don Letts Steve Buscemi Dik Evans Martin Scorsese Flea Joe Strummer Mick Jones Topper Headon Johnny Depp John Cusack
action filter_type
action union
action find
entity Star Trek
relation director
action find
entity Joe Strummer: The Future Is Unwritten
relation cast member
type common name
{'OR': [['Star Trek', 'director', {'concept': 'common name'}], ['Joe Strummer: The Future Is Unwritten', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:Star_Trek property:director ?d } UNION { resource:Joe_Strummer:_The_Future_Is_Unwritten property:cast_member ?d } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 7270 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7270
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { FILTER ( ?y <= 7270 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?k } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7270
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { FILTER ( ?y <= 7270 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?k } }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7270
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { FILTER ( ?y <= 7270 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?k } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7270
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { FILTER ( ?y <= 7270 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q165325
P144
Q838948 Q1001378 Q5398426
USER
Which works of art are greater number of cinematic techniques and television series adapted from than Kill Bill Volume 1 ?
(c(Q1001378)|c(Q5398426),P144,c(Q838948))
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q1001378
action find_reverse_tuple_counts
relation P144
type Q838948
type Q5398426
action count
action filter_multi_types
action find_reverse
entity Q165325
relation P144
type Q1001378
type Q5398426
[[{'concept': 'Q1001378'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:P144 resource:Q165325 . { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1001378 ) ( ontology:Q5398426 ) } } } } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:P144 ?y . ?y rdf:type ontology:Q838948 . ?m rdf:type ontology:Q5398426 } UNION { ?m property:P144 ?y . ?y rdf:type ontology:Q838948 . ?m rdf:type ontology:Q1001378 } } GROUP BY ?y } }
Kill Bill Volume 1
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type cinematic technique
action find_reverse_tuple_counts
relation based on
type work of art
type television series
action count
action filter_multi_types
action find_reverse
entity Kill Bill Volume 1
relation based on
type cinematic technique
type television series
[[{'concept': 'cinematic technique'}, {'concept': 'television series'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:based_on resource:Kill_Bill_Volume_1 . { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:cinematic_technique ) ( ontology:television_series ) } } } } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:based_on ?y . ?y rdf:type ontology:work_of_art . ?m rdf:type ontology:television_series } UNION { ?m property:based_on ?y . ?y rdf:type ontology:work_of_art . ?m rdf:type ontology:cinematic_technique } } GROUP BY ?y } }
[]
work of art cinematic technique television series
Q1415194 Q83186 Q502153
SYSTEM
Kin-dza-dza!, Romeo and Juliet, The Snow Maiden
Q1415194 Q83186 Q2337685 Q4379473 Q502153
(c(Q1001378)|c(Q5398426),P144,c(Q838948))
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q1001378
action find_reverse_tuple_counts
relation P144
type Q838948
type Q5398426
action count
action filter_multi_types
action find_reverse
entity Q165325
relation P144
type Q1001378
type Q5398426
[ANSWERS] are greater number of cinematic techniques and television series adapted from than Kill Bill Volume 1
[[{'concept': 'Q1001378'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:P144 resource:Q165325 . { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1001378 ) ( ontology:Q5398426 ) } } } } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:P144 ?y . ?y rdf:type ontology:Q838948 . ?m rdf:type ontology:Q5398426 } UNION { ?m property:P144 ?y . ?y rdf:type ontology:Q838948 . ?m rdf:type ontology:Q1001378 } } GROUP BY ?y } }
Kin-dza-dza! Romeo and Juliet Angels in America: A Gay Fantasia on National Themes The Tale of Fedot the Strelets The Snow Maiden
Kin-dza-dza!, Romeo and Juliet and The Snow Maiden are greater number of cinematic techniques and television series adapted from than Kill Bill Volume 1
Kin-dza-dza! Romeo and Juliet The Snow Maiden
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type cinematic technique
action find_reverse_tuple_counts
relation based on
type work of art
type television series
action count
action filter_multi_types
action find_reverse
entity Kill Bill Volume 1
relation based on
type cinematic technique
type television series
[[{'concept': 'cinematic technique'}, {'concept': 'television series'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:based_on resource:Kill_Bill_Volume_1 . { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:cinematic_technique ) ( ontology:television_series ) } } } } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:based_on ?y . ?y rdf:type ontology:work_of_art . ?m rdf:type ontology:television_series } UNION { ?m property:based_on ?y . ?y rdf:type ontology:work_of_art . ?m rdf:type ontology:cinematic_technique } } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q669694
P144
Q838948 Q1001378 Q5398426
USER
And what about A Doll's House?
(c(Q1001378)|c(Q5398426),P144,c(Q838948))
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q1001378
action find_reverse_tuple_counts
relation P144
type Q838948
type Q5398426
action count
action filter_multi_types
action find_reverse
entity Q669694
relation P144
type Q1001378
type Q5398426
[[{'concept': 'Q1001378'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:Q5398426 ) ( ontology:Q1001378 ) } } GROUP BY ?b } . FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { { ?u rdf:type ontology:Q1001378 } UNION { ?u rdf:type ontology:Q5398426 } } . ?u property:P144 resource:Q669694 } } }
A Doll's House
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type cinematic technique
action find_reverse_tuple_counts
relation based on
type work of art
type television series
action count
action filter_multi_types
action find_reverse
entity A Doll's House
relation based on
type cinematic technique
type television series
[[{'concept': 'cinematic technique'}, {'concept': 'television series'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:television_series ) ( ontology:cinematic_technique ) } } GROUP BY ?b } . FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { { ?u rdf:type ontology:cinematic_technique } UNION { ?u rdf:type ontology:television_series } } . ?u property:based_on resource:A_Doll's_House } } }
[]
work of art cinematic technique television series
Q1415194 Q83186 Q502153
SYSTEM
Kin-dza-dza!, Romeo and Juliet, The Snow Maiden
Q1415194 Q83186 Q2337685 Q4379473 Q502153
(c(Q1001378)|c(Q5398426),P144,c(Q838948))
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q1001378
action find_reverse_tuple_counts
relation P144
type Q838948
type Q5398426
action count
action filter_multi_types
action find_reverse
entity Q669694
relation P144
type Q1001378
type Q5398426
[ANSWERS]
[[{'concept': 'Q1001378'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:Q5398426 ) ( ontology:Q1001378 ) } } GROUP BY ?b } . FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { { ?u rdf:type ontology:Q1001378 } UNION { ?u rdf:type ontology:Q5398426 } } . ?u property:P144 resource:Q669694 } } }
Kin-dza-dza! Romeo and Juliet Angels in America: A Gay Fantasia on National Themes The Tale of Fedot the Strelets The Snow Maiden
Kin-dza-dza! Romeo and Juliet The Snow Maiden
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type cinematic technique
action find_reverse_tuple_counts
relation based on
type work of art
type television series
action count
action filter_multi_types
action find_reverse
entity A Doll's House
relation based on
type cinematic technique
type television series
[[{'concept': 'cinematic technique'}, {'concept': 'television series'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:television_series ) ( ontology:cinematic_technique ) } } GROUP BY ?b } . FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { { ?u rdf:type ontology:cinematic_technique } UNION { ?u rdf:type ontology:television_series } } . ?u property:based_on resource:A_Doll's_House } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q73552
P47 P421
Q15617994
USER
Which administrative territories share border with Castelraimondo and have UTC+01:00 as their time zone ?
AND((c(Q15617994),P47,Q73552), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q73552
relation P47
action find_reverse
entity Q6655
relation P421
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q73552'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?z WHERE { ?z property:P47 resource:Q73552 . ?z property:P421 resource:Q6655 . ?z rdf:type ontology:Q15617994 }
UTC+01:00 Castelraimondo
action filter_type
action intersection
action find_reverse
entity Castelraimondo
relation shares border with
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Castelraimondo'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?z WHERE { ?z property:shares_border_with resource:Castelraimondo . ?z property:located_in_time_zone resource:UTC+01:00 . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q73831 Q83056 Q95037 Q94955 Q83344 Q73863
SYSTEM
Fiuminata, Matelica, Serrapetrona, San Severino Marche, Pioraco, Gagliole
Q73831 Q83056 Q95037 Q94955 Q83344 Q73863
AND((c(Q15617994),P47,Q73552), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q73552
relation P47
action find_reverse
entity Q6655
relation P421
type Q15617994
[ANSWERS] share border with Castelraimondo and have UTC+01:00 as their time zone
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q73552'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?z WHERE { ?z property:P47 resource:Q73552 . ?z property:P421 resource:Q6655 . ?z rdf:type ontology:Q15617994 }
Fiuminata Matelica Serrapetrona San Severino Marche Pioraco Gagliole
Fiuminata, Matelica, Serrapetrona, San Severino Marche, Pioraco and Gagliole share border with Castelraimondo and have UTC+01:00 as their time zone
Fiuminata Matelica Serrapetrona San Severino Marche Pioraco Gagliole
action filter_type
action intersection
action find_reverse
entity Castelraimondo
relation shares border with
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Castelraimondo'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?z WHERE { ?z property:shares_border_with resource:Castelraimondo . ?z property:located_in_time_zone resource:UTC+01:00 . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q213
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with less number of administrative territories than Czech Republic ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q213
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P530 ?p . ?k rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?b < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P530 resource:Q213 . ?j rdf:type ontology:Q15617994 } } }
Czech Republic
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Czech Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:diplomatic_relation ?p . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?b < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:diplomatic_relation resource:Czech_Republic . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
132
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q213
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P530 ?p . ?k rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?b < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P530 resource:Q213 . ?j rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Czech Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:diplomatic_relation ?p . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?b < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:diplomatic_relation resource:Czech_Republic . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q869
P530
Q15617994 Q15617994
USER
And how about Thailand?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q869
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P530 resource:Q869 . ?m rdf:type ontology:Q15617994 } } }
Thailand
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Thailand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:diplomatic_relation resource:Thailand . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q869
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P530 resource:Q869 . ?m rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Thailand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:diplomatic_relation resource:Thailand . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature is the legislative body for United States of America ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q11204 . resource:Q30 property:P194 ?r }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:legislature . resource:United_States_of_America property:legislative_body ?r }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
The [ANSWER] is the legislative body for United States of America
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q11204 . resource:Q30 property:P194 ?r }
United States Congress
The United States Congress is the legislative body for United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:legislature . resource:United_States_of_America property:legislative_body ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P85
Q484692
USER
Which hymn is the anthem for that administrative territory ?
(Q11268,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
['Q11268', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q484692 . resource:Q30 property:P85 ?i }
United States of America
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States Congress', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:hymn . resource:United_States_of_America property:anthem ?i }
[]
hymn
Q44696
SYSTEM
The Star-Spangled Banner
Q44696
(Q11268,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
Banner [ANSWER] is the anthem for that administrative territory
['Q11268', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q484692 . resource:Q30 property:P85 ?i }
The Star-Spangled Banner
Banner The Star-Spangled Banner is the anthem for that administrative territory
The Star-Spangled Banner
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States Congress', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:hymn . resource:United_States_of_America property:anthem ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people are United States of America the head of goverment of ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { resource:Q30 property:P6 ?n . ?n rdf:type ontology:Q502895 }
United States of America
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { resource:United_States_of_America property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { resource:Q30 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { resource:United_States_of_America property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q617119
P6
Q502895
USER
And also tell me about Ponteareas?
(Q617119,P6,c(Q502895))
action count
action filter_type
action find
entity Q617119
relation P6
type Q502895
['Q617119', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Q617119 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Ponteareas
action count
action filter_type
action find
entity Ponteareas
relation head of government
type common name
['Ponteareas', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Ponteareas property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q20535729
(Q617119,P6,c(Q502895))
action count
action filter_type
action find
entity Q617119
relation P6
type Q502895
[ANSWER]
['Q617119', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Q617119 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Xosé Represas Giráldez
1
action count
action filter_type
action find
entity Ponteareas
relation head of government
type common name
['Ponteareas', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Ponteareas property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]