Simple Question (Direct)
Simple Question
Q3770493
P27
Q7275
USER
Which state is the native country of Giuseppe Elena ?
(Q3770493,P27,c(Q7275))
action filter_type
action find
entity Q3770493
relation P27
type Q7275
['Q3770493', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q3770493 property:P27 ?i . ?i rdf:type ontology:Q7275 }
Giuseppe Elena
action filter_type
action find
entity Giuseppe Elena
relation country of citizenship
type state
['Giuseppe Elena', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Giuseppe_Elena property:country_of_citizenship ?i . ?i rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q3770493,P27,c(Q7275))
action filter_type
action find
entity Q3770493
relation P27
type Q7275
[ANSWER] is the native country of Giuseppe Elena
['Q3770493', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q3770493 property:P27 ?i . ?i rdf:type ontology:Q7275 }
Kingdom of Italy
Kingdom of Italy is the native country of Giuseppe Elena
Kingdom of Italy
action filter_type
action find
entity Giuseppe Elena
relation country of citizenship
type state
['Giuseppe Elena', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Giuseppe_Elena property:country_of_citizenship ?i . ?i rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172579
P36
Q56061
USER
Which administrative territories are associated to that state as the capital ?
(Q172579,P36,c(Q56061))
action filter_type
action find
entity Q172579
relation P36
type Q56061
['Q172579', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q172579 property:P36 ?a . ?a rdf:type ontology:Q56061 }
Kingdom of Italy
action filter_type
action find
entity Kingdom of Italy
relation capital
type administrative territorial entity
['Kingdom of Italy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Kingdom_of_Italy property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q495 Q2044 Q220
SYSTEM
Turin, Florence, Rome
Q495 Q2044 Q220
(Q172579,P36,c(Q56061))
action filter_type
action find
entity Q172579
relation P36
type Q56061
[ANSWERS] are associated to that state as the capital
['Q172579', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q172579 property:P36 ?a . ?a rdf:type ontology:Q56061 }
Turin Florence Rome
Turin, Florence and Rome are associated to that state as the capital
Turin Florence Rome
action filter_type
action find
entity Kingdom of Italy
relation capital
type administrative territorial entity
['Kingdom of Italy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Kingdom_of_Italy property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q65 Q172579
P47 P36
Q56061
USER
Which administrative territories are associated to Kingdom of Italy as the capital or share border with Los Angeles ?
OR((Q172579,P36,c(Q56061)), (Q65,P47,c(Q56061)))
action filter_type
action union
action find
entity Q172579
relation P36
action find
entity Q65
relation P47
type Q56061
{'OR': [['Q172579', 'P36', {'concept': 'Q56061'}], ['Q65', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q65 property:P47 ?c } UNION { resource:Q172579 property:P36 ?c } } . ?c rdf:type ontology:Q56061 }
Los Angeles Kingdom of Italy
action filter_type
action union
action find
entity Kingdom of Italy
relation capital
action find
entity Los Angeles
relation shares border with
type administrative territorial entity
{'OR': [['Kingdom of Italy', 'capital', {'concept': 'administrative territorial entity'}], ['Los Angeles', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Los_Angeles property:shares_border_with ?c } UNION { resource:Kingdom_of_Italy property:capital ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q846409 Q983859 Q487119 Q984162 Q487315 Q485716 Q47164 Q39561 Q846406 Q852581
SYSTEM
Some of them are Gardena, El Segundo, Compton, Lomita, Monterey, Glendale, Santa Monica, Burbank, San Fernando, South Pasadena
Q493378 Q47164 Q2044 Q846406 Q220 Q487119 Q846409 Q846421 Q485716 Q984162 Q983859 Q39561 Q495 Q494690 Q127856 Q489197 Q852581 Q487315 Q752681 Q913346 Q621549
OR((Q172579,P36,c(Q56061)), (Q65,P47,c(Q56061)))
action filter_type
action union
action find
entity Q172579
relation P36
action find
entity Q65
relation P47
type Q56061
[ANSWERS] are associated to Kingdom of Italy as the capital or share border with Los Angeles
{'OR': [['Q172579', 'P36', {'concept': 'Q56061'}], ['Q65', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q65 property:P47 ?c } UNION { resource:Q172579 property:P36 ?c } } . ?c rdf:type ontology:Q56061 }
Culver City Santa Monica Florence San Fernando Rome Compton Gardena West Hollywood Glendale Lomita El Segundo Burbank Turin Carson Beverly Hills Torrance South Pasadena Monterey Alhambra Hidden Hills Inglewood
Gardena, El Segundo, Compton, Lomita, Monterey, Glendale, Santa Monica, Burbank, San Fernando and South Pasadena are associated to Kingdom of Italy as the capital or share border with Los Angeles
Gardena El Segundo Compton Lomita Monterey Glendale Santa Monica Burbank San Fernando South Pasadena
action filter_type
action union
action find
entity Kingdom of Italy
relation capital
action find
entity Los Angeles
relation shares border with
type administrative territorial entity
{'OR': [['Kingdom of Italy', 'capital', {'concept': 'administrative territorial entity'}], ['Los Angeles', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Los_Angeles property:shares_border_with ?c } UNION { resource:Kingdom_of_Italy property:capital ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q749
P291
Q56061 Q21114848 Q571
USER
How many administrative territories are the places of publication of more number of magazine genres or books than Groningen ?
(c(Q21114848)|c(Q571),P291,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_multi_types
action find_reverse
entity Q749
relation P291
type Q21114848
type Q571
[[{'concept': 'Q21114848'}, {'concept': 'Q571'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { VALUES ( ?i ) { ( ontology:Q21114848 ) ( ontology:Q571 ) } . ?k rdf:type ?i } . ?k property:P291 resource:Q749 } } . FILTER ( ?t > ?f ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q21114848 ) ( ontology:Q571 ) } . ?q rdf:type ?y } GROUP BY ?l } }
Groningen
action count
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_multi_types
action find_reverse
entity Groningen
relation place of publication
type magazine genre
type book
[[{'concept': 'magazine genre'}, {'concept': 'book'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { VALUES ( ?i ) { ( ontology:magazine_genre ) ( ontology:book ) } . ?k rdf:type ?i } . ?k property:place_of_publication resource:Groningen } } . FILTER ( ?t > ?f ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?l WHERE { VALUES ( ?y ) { ( ontology:magazine_genre ) ( ontology:book ) } . ?q rdf:type ?y } GROUP BY ?l } }
[]
administrative territorial entity magazine genre book
SYSTEM
118
Q909146 Q2512312 Q501661 Q982367 Q3150 Q11974 Q10305 Q23337 Q33959 Q586 Q9920 Q1757 Q1754 Q1022 Q90 Q3846 Q597 Q365 Q5836 Q8818 Q8810 Q1155 Q209055 Q3561 Q40347 Q739452 Q8678 Q490 Q495 Q2044 Q23436 Q2280 Q3141 Q671288 Q72 Q334 Q16554 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1297 Q3033 Q936183 Q1748 Q45412 Q84 Q40269 Q5112 Q2103 Q1741 Q178093 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q60 Q1931927 Q1781 Q33935 Q16567 Q1861 Q14314 Q5092 Q956 Q1492 Q437 Q1479 Q2807 Q42735 Q242478 Q220 Q10282 Q26421 Q37995 Q6761 Q761 Q2634 Q3584 Q1726 Q8717 Q3519 Q64 Q65 Q2028 Q61 Q62 Q18125 Q12439 Q470445 Q1352 Q8385 Q72259 Q19785 Q647 Q641 Q193367 Q727 Q649 Q24826 Q128306 Q997170 Q580 Q585 Q34370 Q207639 Q2066 Q100 Q3834 Q216 Q350 Q1348 Q1085
(c(Q21114848)|c(Q571),P291,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_multi_types
action find_reverse
entity Q749
relation P291
type Q21114848
type Q571
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q571'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { VALUES ( ?i ) { ( ontology:Q21114848 ) ( ontology:Q571 ) } . ?k rdf:type ?i } . ?k property:P291 resource:Q749 } } . FILTER ( ?t > ?f ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q21114848 ) ( ontology:Q571 ) } . ?q rdf:type ?y } GROUP BY ?l } }
Godalming Eppegem Schleswig Mineola Jena Las Palmas de Gran Canaria Zaragoza Salt Lake City Nice Bonn Haarlem Helsinki Stockholm Stuttgart Paris Minden Lisbon Cologne Toledo Valencia Granada Busto Arsizio Torquay Algiers Norman Garden City Rio de Janeiro Milan Turin Florence Edinburgh Minsk Melbourne Bend Zürich Singapore Denver Versailles Shanghai Tbilisi Nagpur Sydney Boulder Chicago Göttingen Tonbridge Copenhagen Coimbra London Porto Alegre Adelaide Bochum Vienna Poughkeepsie Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New York City Bracon Ash Budapest Tel Aviv Columbus Bangkok Santiago de Compostela Baltimore Beijing Barcelona Ljubljana Bordeaux Madrid Olympia Levoča Rome Pamplona Dordrecht Yangon Livorno Białystok Naples Nový Jičín Munich Seville Bari Berlin Los Angeles Verona Washington, D.C. San Francisco Manchester Detroit Prostějov Chennai Ostrava Portsmouth Harpenden Rennes Venice Porvoo Amsterdam Moscow Liverpool Denton Waterville Łódź Oslo Rotterdam Chichester Essen Boston Konstanz Vilnius Cambridge Kolkata Prague
118
action count
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_multi_types
action find_reverse
entity Groningen
relation place of publication
type magazine genre
type book
[[{'concept': 'magazine genre'}, {'concept': 'book'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { VALUES ( ?i ) { ( ontology:magazine_genre ) ( ontology:book ) } . ?k rdf:type ?i } . ?k property:place_of_publication resource:Groningen } } . FILTER ( ?t > ?f ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?l WHERE { VALUES ( ?y ) { ( ontology:magazine_genre ) ( ontology:book ) } . ?q rdf:type ?y } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P206
Q355304
USER
Which watercourses are located in the neighbourhood of Rome ?
(Q220,P206,c(Q355304))
action filter_type
action find
entity Q220
relation P206
type Q355304
['Q220', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { resource:Q220 property:P206 ?b . ?b rdf:type ontology:Q355304 }
Rome
action filter_type
action find
entity Rome
relation located next to body of water
type watercourse
['Rome', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { resource:Rome property:located_next_to_body_of_water ?b . ?b rdf:type ontology:watercourse }
[]
watercourse
Q546600 Q13712
SYSTEM
Aniene, Tiber
Q546600 Q13712
(Q220,P206,c(Q355304))
action filter_type
action find
entity Q220
relation P206
type Q355304
[ANSWERS] are located in the neighbourhood of Rome
['Q220', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { resource:Q220 property:P206 ?b . ?b rdf:type ontology:Q355304 }
Aniene Tiber
Aniene and Tiber are located in the neighbourhood of Rome
Aniene Tiber
action filter_type
action find
entity Rome
relation located next to body of water
type watercourse
['Rome', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { resource:Rome property:located_next_to_body_of_water ?b . ?b rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3004
Q355304
USER
And what about Ingolstadt?
(Q3004,P206,c(Q355304))
action filter_type
action find
entity Q3004
relation P206
type Q355304
['Q3004', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { resource:Q3004 property:P206 ?r . ?r rdf:type ontology:Q355304 }
Ingolstadt
action filter_type
action find
entity Ingolstadt
relation located next to body of water
type watercourse
['Ingolstadt', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { resource:Ingolstadt property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse }
[]
watercourse
Q1653 Q180300 Q1642801
SYSTEM
Danube, Schutter, Mailinger Bach
Q1653 Q180300 Q1642801 Q833033
(Q3004,P206,c(Q355304))
action filter_type
action find
entity Q3004
relation P206
type Q355304
[ANSWERS]
['Q3004', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { resource:Q3004 property:P206 ?r . ?r rdf:type ontology:Q355304 }
Danube Schutter Mailinger Bach Sandrach
Danube Schutter Mailinger Bach
action filter_type
action find
entity Ingolstadt
relation located next to body of water
type watercourse
['Ingolstadt', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { resource:Ingolstadt property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3004 Q363425
P190
Q15617994
USER
How many administrative territories are twin city of Ingolstadt or Ulten Valley ?
(c(Q15617994),P190,Q3004) (c(Q15617994),P190,Q363425)
action count
action union
action filter_type
action find_reverse
entity Q3004
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q363425
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q3004'] [{'concept': 'Q15617994'}, 'P190', 'Q363425']
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { ?z rdf:type ontology:Q15617994 . ?z property:P190 resource:Q3004 } UNION { ?z property:P190 resource:Q363425 . ?z rdf:type ontology:Q15617994 } }
Ingolstadt Ulten Valley
action count
action union
action filter_type
action find_reverse
entity Ingolstadt
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Ulten Valley
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Ingolstadt'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Ulten Valley']
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:sister_city resource:Ingolstadt } UNION { ?z property:sister_city resource:Ulten_Valley . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q522025 Q13372
(c(Q15617994),P190,Q3004) (c(Q15617994),P190,Q363425)
action count
action union
action filter_type
action find_reverse
entity Q3004
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q363425
relation P190
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q3004'] [{'concept': 'Q15617994'}, 'P190', 'Q363425']
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { ?z rdf:type ontology:Q15617994 . ?z property:P190 resource:Q3004 } UNION { ?z property:P190 resource:Q363425 . ?z rdf:type ontology:Q15617994 } }
Cadolzburg Carrara
2
action count
action union
action filter_type
action find_reverse
entity Ingolstadt
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Ulten Valley
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Ingolstadt'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Ulten Valley']
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:sister_city resource:Ingolstadt } UNION { ?z property:sister_city resource:Ulten_Valley . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q1841 Q47164
P140 P20
Q502895
USER
Which people have Santa Monica as the area of death and are not affiliated with Catholicism ?
AND((c(Q502895),P20,Q47164), NOT((c(Q502895),P140,Q1841)))
action filter_type
action difference
action find_reverse
entity Q47164
relation P20
action find_reverse
entity Q1841
relation P140
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q47164'], {'NOT': [[{'concept': 'Q502895'}, 'P140', 'Q1841']]}]}
SELECT DISTINCT ?n WHERE { ?n property:P20 resource:Q47164 . MINUS { ?n property:P140 resource:Q1841 } . ?n rdf:type ontology:Q502895 }
Catholicism Santa Monica
action filter_type
action difference
action find_reverse
entity Santa Monica
relation place of death
action find_reverse
entity Catholicism
relation religion
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Santa Monica'], {'NOT': [[{'concept': 'common name'}, 'religion', 'Catholicism']]}]}
SELECT DISTINCT ?n WHERE { ?n property:place_of_death resource:Santa_Monica . MINUS { ?n property:religion resource:Catholicism } . ?n rdf:type ontology:common_name }
[]
common name
Q3565549 Q6834080 Q287451 Q5623467 Q1177111 Q706993 Q519604 Q2065508 Q4886235 Q260104
SYSTEM
Some of them are Wally Boag, Michael S. Rosenfeld, Martin Ritt, Gwen Welles, David Wayne, Conrad Hall, Joi Lansing, Beryl Mercer, Ben Nye, Tatiana Nikolayeva
Q4867203 Q1820533 Q3440496 Q1370701 Q114683 Q7183256 Q15272774 Q2148362 Q3787466 Q2484213 Q2417477 Q6388254 Q83555 Q259495 Q366563 Q3808574 Q924619 Q6387413 Q18599362 Q11583226 Q506183 Q23062051 Q458994 Q7145741 Q6193620 Q3616176 Q373306 Q5648840 Q1189404 Q1750519 Q3638982 Q676226 Q1818748 Q1125938 Q120699 Q215753 Q332530 Q1790788 Q2837768 Q6491214 Q7879205 Q1677007 Q5537755 Q15483637 Q3157157 Q1301602 Q215120 Q8011037 Q448430 Q11837401 Q2918925 Q1484840 Q6297401 Q3565549 Q96606 Q669045 Q2578194 Q2065508 Q1559143 Q364135 Q2760196 Q430720 Q3752636 Q76519 Q471281 Q645627 Q5486834 Q743907 Q2960953 Q1344579 Q6262050 Q485163 Q3187230 Q444788 Q551710 Q113713 Q782154 Q53595 Q145132 Q471309 Q373115 Q354295 Q1209763 Q16019759 Q253167 Q275428 Q287451 Q7192154 Q3142355 Q7360210 Q16740205 Q7969086 Q28941 Q3048769 Q94002 Q1443747 Q374900 Q202172 Q11875570 Q3182950 Q1095431 Q16567170 Q270533 Q3453639 Q2448741 Q5340082 Q6281870 Q363783 Q3047245 Q513657 Q214066 Q1283146 Q529489 Q953504 Q3157345 Q5147185 Q3760469 Q3018855 Q93341 Q966656 Q3194023 Q5544124 Q443592 Q2565064 Q95002 Q5438916 Q233852 Q3161643 Q5571325 Q2865227 Q542823 Q3046262 Q3565682 Q6962239 Q7660070 Q1281750 Q2617176 Q862224 Q214493 Q304588 Q1443069 Q1383628 Q516035 Q3372711 Q1563125 Q145173 Q1177111 Q555092 Q3341922 Q1809148 Q1409506 Q1367973 Q862316 Q516627 Q3154600 Q602872 Q449209 Q1699139 Q7344031 Q5646570 Q3048431 Q6548154 Q868937 Q3818856 Q22575708 Q1064903 Q24680582 Q1351511 Q922734 Q4723386 Q271327 Q1452393 Q6765558 Q16089995 Q751592 Q382364 Q706993 Q1507662 Q319751 Q4664207 Q3017523 Q641197 Q6390193 Q1344495 Q3548169 Q5481423 Q7177339 Q169341 Q1765101 Q3125895 Q1660499 Q6388235 Q6491166 Q269926 Q3293660 Q1674695 Q1369906 Q6224198 Q486883 Q5115639 Q4886235 Q1372443 Q2336388 Q5416198 Q15069921 Q3783487 Q1765446 Q1431136 Q519693 Q93467 Q711664 Q6514478 Q6208696 Q3435067 Q239301 Q531035 Q1367933 Q990295 Q1436958 Q448253 Q8322786 Q1349886 Q708164 Q7326223 Q350640 Q107656 Q1370941 Q1553819 Q530522 Q329176 Q726136 Q213635 Q310111 Q3350141 Q3046403 Q113997 Q435029 Q4785132 Q654513 Q181006 Q3182090 Q3912867 Q21475369 Q232333 Q460796 Q2535855 Q3343763 Q3156109 Q738404 Q284946 Q2591160 Q1287768 Q491814 Q719427 Q6222998 Q2713545 Q1550341 Q119546 Q76480 Q166000 Q4798566 Q443585 Q3434857 Q214870 Q927542 Q708343 Q2409726 Q473475 Q5162627 Q54675 Q378727 Q4800595 Q5298628 Q271696 Q707773 Q1286383 Q1501408 Q3331615 Q861545 Q16019205 Q1209826 Q4859728 Q10308638 Q6490837 Q1144295 Q5134127 Q2646464 Q2036992 Q3431016 Q310150 Q1930698 Q110628 Q1351454 Q1338869 Q4800271 Q6137601 Q19753817 Q129252 Q3101750 Q249143 Q323781 Q3154613 Q6514618 Q1443125 Q3269588 Q4304434 Q356309 Q324956 Q3431326 Q1660382 Q6990072 Q1376744 Q452745 Q1583099 Q3172739 Q438472 Q72869 Q1293264 Q3568567 Q1379980 Q21704962 Q550784 Q773066 Q3288585 Q6761938 Q516786 Q3126164 Q232376 Q740071 Q577621 Q6114763 Q297744 Q4942291 Q2422183 Q9342427 Q7807191 Q6914852 Q349510 Q22938088 Q16023384 Q10425318 Q191716 Q728050 Q3082484 Q126455 Q1395617 Q11727866 Q555910 Q5041219 Q7781897 Q5214499 Q1700810 Q1351247 Q2964759 Q1943137 Q434304 Q3490670 Q3127801 Q1866958 Q504118 Q3568599 Q352953 Q7615194 Q3296056 Q4983933 Q4947421 Q712479 Q5623467 Q1395333 Q216118 Q1642294 Q3414957 Q2826799 Q2815496 Q11285698 Q452630 Q3809592 Q7350962 Q2480996 Q3157197 Q15455867 Q155116 Q2424447 Q5486417 Q7843949 Q6312422 Q7151931 Q17403959 Q4864021 Q439482 Q977559 Q618616 Q2276981 Q5892399 Q505353 Q331381 Q62099 Q260104 Q3569011 Q3339725 Q6896565 Q1363049 Q512957 Q1265441 Q51503 Q3175971 Q2026602 Q435347 Q108035 Q934444 Q3430707 Q137042 Q375958 Q7800506 Q816429 Q2501169 Q5077963 Q14930387 Q1997514 Q524142 Q82360 Q967938 Q75179 Q519604 Q3273768 Q2066724 Q2172039 Q3082612 Q5540696 Q5487550 Q434111 Q1609399 Q15734538 Q3797510 Q5297945 Q3624303 Q1707160 Q7152294 Q176929 Q3568402 Q526470 Q96033 Q3051811 Q15240961 Q2134019 Q3099019 Q212236 Q5662057 Q7599424 Q92623 Q967502 Q51476 Q348209 Q447353 Q18546492 Q242729 Q56093 Q153292 Q5890146 Q381495 Q7493911 Q4924883 Q313279 Q1638070 Q2979356 Q3420566 Q3856932 Q7940166 Q1767677 Q6166379 Q6947661 Q546115 Q1137861 Q16015892 Q2579103 Q6765113 Q363864 Q5571419 Q326050 Q1812027 Q7926154 Q7576059 Q180645 Q3568616 Q604524 Q959136 Q5349635 Q3194192 Q3157239 Q1606714 Q15830815 Q150651 Q2357896 Q3336709 Q2023582 Q5243551 Q3132663 Q3858098 Q527890 Q668993 Q15076456 Q3714376 Q709398 Q178716 Q471023 Q4064257 Q1753034 Q3372211 Q1977003 Q12057561 Q3431163 Q2532829 Q6834080 Q1699588 Q3811608 Q14972 Q3750943 Q1126999 Q18808777 Q104127 Q6262012 Q3992510 Q461339 Q18205964 Q3751812
AND((c(Q502895),P20,Q47164), NOT((c(Q502895),P140,Q1841)))
action filter_type
action difference
action find_reverse
entity Q47164
relation P20
action find_reverse
entity Q1841
relation P140
type Q502895
[ANSWERS] have Santa Monica as the area of death and are not affiliated with Catholicism
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q47164'], {'NOT': [[{'concept': 'Q502895'}, 'P140', 'Q1841']]}]}
SELECT DISTINCT ?n WHERE { ?n property:P20 resource:Q47164 . MINUS { ?n property:P140 resource:Q1841 } . ?n rdf:type ontology:Q502895 }
Basil Langton Les Hite Rollin S. Sturgeon Gene Lockhart Martin Kosleck Philip Bourneuf Christopher Evan Welch Rhys Williams Hugo Ballin Fred Clark Mae Laborde Ken Ober Herbert Blaché Mary Miles Minter Dick Clark Joanne Siegel Carl Epling Ken Carpenter Joseph Murdoch Kazumi Maki Andrew Marton Rolf Lindau-Schulz Yolanda King Patricia McQueeney Jim Bellows Jane Cowl Alan Napier Jack Davis Dennis O'Keefe Wendell Mayes Bess Myerson Lawrence Welk Leo Shuken Walter Henry Rothwell Alphonzo E. Bell, Jr. Ernest Gold Leo McCarey Pat O'Brien Allan Scott Larry Thor Ullrich Haupt, Sr. Jack D. Moore George Cates Joseph Ruskin Jack Cunningham Marc Brandel Cole Porter William Hawks Jeff Corey Judy Toll Simon Ramo Leland M. Ford Joyce Blair Wally Boag Paul Huldschinsky Harry Beaumont William C. Grimes Beryl Mercer Ralph Nelson Ralph Bellamy Edward Ludwig Charles Brabin Fred Karger Rudolf Carnap James Dunn Hal Mohr Frank Gerstle Richard C. Sarafian Charlotte Blake Roland Strasser John Vivyan Sonny Burke Joyce Howard Natalie Talmadge Henry Kuttner Reggie Nalder William LeBaron Pranas Brazinskas Robert Taylor Dean Jagger Winton Hoch John Paxton Dick O'Neill Donald Morton Margaux Hemingway Mary Philips Martin Ritt Pierre Couderc Hughie Mack Roland Drew Richard Wilson Ward Wood Frank Lloyd Edwin Blum Barbara Stanwyck Frank Maxwell Kenneth Tynan Walter Matthau Leo Sario Johnny Olson Joseph Lejtes Jean Howell Laura Ziskin Ruth Rose Elisabeth Risdon Edna Murphy Joseph C. Clifton Ted Koehler Eddie Boland Carol Sobieski Peter Zinner Eddy Walis Minna Gombell Dan Seymour Jack Wrather Collier Young George Coe David Swift Miles Davis Bert Granet Katherine Albert George Russell Weller Roberts Blossom Bill Bridges William Holden Fay Helm Betty Grable Jan Domela Gloria Blondell Arthur Malet Lauritz Melchior Warner Anderson Walter Baldwin Nan Wynn Sydney Omarr Meredith Willson Boots Mallory Bill Justice Gustav Glück Fay Kanin Frank Cavett George Furth Troy Donahue Pauline Curley Roy Huggins Zalman King David Wayne Joseph Kane Nina Byers Lawrence C. Phipps Phil Ohman Roy Webb Bill Melendez Wende Wagner Irvin Willat Lloyd Bochner Jocelyn Brando John Alton Robert Ellis Han Bong-soo Edward Andrews Lillian Langdon Joanna Lee Virginia Huston Eyde Byrde Wesley Ruggles Rosanna Huffman Walter Wanger Dick Martin Alfred S. Bloomingdale Janet Blair Fred Katz Maris Wrixon Robert E. Thompson Robert Hardy Andrews William Walden Rubey Conrad Hall George C. Jenkins Keith Emerson Abbot Kinney David Boehm Mabel Ballin Kenneth Hawks Sid Fleischman Ulysses S. Grant IV Francis J. Heney Peter Tomarken Walter Donaldson Paul Weston Hal Roach, Jr. Imre König Ken Niles Larry Stevenson Brenda Joyce Marion Martin Ned Tanen Henry Daniell John Byers Charles Lang Chuck Niles Ben Nye Michael Turner Stefan Gierasch Eve Southern Ralf Harolde Harry Boykoff Richard "Skeets" Gallagher Horace Winchell Magoun Vernon Duke Paul Henreid Walter Plunkett Lee Marshall Joe Bolton Robert F. McGowan Hope Lange Jack Bailey Victor Jory Mici Erdélyi Ford Rainey Alvan E. Bovay Ben Carré Robert Florey Leonard Wibberley Richard Halsey Best Walter Pidgeon Jean Simmons Susan French Guilford Wiley Wells Dorothy Ashby George J. Folsey Robert Graham Ernst Toch Christopher Isherwood Olaf Pooley Earl Moran Kurt Kasznar Clarence Brown Arcadia Bandini de Stearns Baker Ted Demme John Bowers John Milford Wenceslaus Sarmiento Allen Pomeroy Karen Black Gale Page Kevin Jarre Norman Dawn Ivan Goff Juan Gabriel Barbara Billingsley Frank Gruber W. R. Burnett Red Norvo Sam Taylor John Brascia Hal Smith Ray Collins Howard Zinn Heinrich Mann Gregg Toland Arthur Edmund Carewe Cesar Romero Robert Cornog Herbert Zipper Les Tremayne Marc Daniels Norman Foster Fredric Steinkamp Conrad Wells May Sutton Tim Buckley Arthur Wallace Dorothy Shay Bonita Granville Peter R. Hunt Edmund H. North Gene Milford Myron Selznick Richard Maltby James R. Rosenthal Dick Van Patten Barboura Morris Josie Sedgwick Larry Moss David Kenyon Webster Clinton H. Stagg Ron Miller Otho Lovering Richard Markowitz Stewart Granger Michel Colombier Richard Dysart William Hootkins Ted Post Arthur Sheekman James L. Knight E. Maurice Bloch Helen Humes George McCowan Louella Parsons Sidney Luft Irving Ludwig Lee Mullican David Bale Lynne Overman Charles Moskos Fred MacMurray Conrad Hilton Richard Whorf Ross Thomas Nelle Wilson Reagan Millard Mitchell E. C. Segar Hans Wilhelm Jean Inness Irving Thalberg Stan Laurel Edward Platt William Dozier Haskell Wexler John D. Williams Lorne Greene Sidney Franklin Stan Freberg Marian McCargo Jan Kott Halliwell Hobbes Anna May Wong Irwin Allen Barton MacLane Jack Reagan Chris Penn Bonnie Bonnell Pauline Starke Stanisław Kwaśniewski Timothy Farrell Morton Fine Kenneth McMillan Eugene Ling Augusta Anderson Anton Lada Gene Roddenberry Nigel Bruce Frank Albertson Peter Hobbs Leo Carrillo John Broderick Fred Quimby Carleton G. Young Theodore Lukits Dan Tobin John Lee Mahin Karl Struss Chris Kazan Leona Woods Evelyn Nesbit Sonny Tufts Harry Clork Lloyd Wright Jiří Weiss William F. Claxton Tom Hayden Steven Reuther Marvin Aubrey Davis Bud Sagendorf Myrna Fahey Bill Cody Gwen Welles Harve Presnell Paul László Arthur Lyon R. Dale Butts Aggie Herring Frank Wead Ernest Hilliard Mildred Davis John Russell Robert Wells Dane Clark Jack Haley, Jr. LeRoy Stone Dorothy McGuire Allen Jenkins Frank Edmund Beatty, Jr. Tris Coffin June Schofield Paul Lambert Bruce Sutherland Barry Blitzer Roy Walford Irene Ryan George Bancroft Tamara Toumanova Harold Borko Thomas Little Joe Santos Karl Freund Tatiana Nikolayeva William V. Ranous Nick Cogley Molly Dodd George McManus Noel Marshall Duncan Ferguson Franklin J. Schaffner Jeanne Bartlett Herbert Enderton Helen Traubel Else Heims Richard Maibaum Richard Derr Nat King Cole Ferde Grofé Tibor Rudas Ben Barzman Bill Morey Charles Garabedian Ada Leonard Paul Atkinson Evelyn Hooker Robert Armstrong Murray Jarvik Carl Ebert Joi Lansing Mabel Albertson Mrs. Leslie Carter Rudi Feld Frank Fay George Holt Frank Jobe Alaina Reed Hall Herbie Haymer Robert Lewin Ina Souez Doris Houck Arthur Pierson Joseph H. Lewis Paul McAllister John Dunning William B. Davidson Sam Francis Ralf D. Bode Elvia Allman Willis Ware Rayford Barnes Gaston Glass James Hill Harold Powers Stanley Adams Jon Postel Roland West Tod Browning Dom DeLuise Osa Massen Francis E. Tours Joan Blondell Blake Edwards Ben Turpin Homer Lea Oliver Henry Shoup Shelly Novack Blanche Ring Jackie Coogan Hunt Stromberg Clinton Sundberg Ray Teal Micole Mercurio Volga Hayworth Leona Roberts Jay Belasco Myles Connolly Patience Cleveland Courtney W. Hamlin Donald B. Lindsley William H. Wright Marion Byron Thomas Gomez Gloria Lloyd John Pennel Lee Tracy Victor Millan Spencer Gordon Bennet John DeCuir William Forrest Glen A. Larson Roy Harris Einar Hanson Jimmy Boyd Jack La Rue Gerald Heard Walt Whitman George Carlin Stuart Hamblen Nathan Cook Marquard Schwarz Dayton Lummis Henry Bromell Milton Wexler Cheryl Holdridge William Haines Anatoly Berkovich Dorothy Christy Lewis Allen Josie MacAvin Jimmy Durante Ramsay Ames Pete Smith Paul Sloane Nelson Gidding Nicolai Fechin Richard Rober Volney Howard Michael S. Rosenfeld John Chapman Justine Johnstone Bill Raisch Francis Powers Conrad Selvig Lila Finn Douglas Fairbanks John Vincent Tom Moore Joan Taylor Clarence Kolster Frank Forest
Wally Boag, Michael S. Rosenfeld, Martin Ritt, Gwen Welles, David Wayne, Conrad Hall, Joi Lansing, Beryl Mercer, Ben Nye and Tatiana Nikolayeva have Santa Monica as the area of death and are not affiliated with Catholicism
Wally Boag Michael S. Rosenfeld Martin Ritt Gwen Welles David Wayne Conrad Hall Joi Lansing Beryl Mercer Ben Nye Tatiana Nikolayeva
action filter_type
action difference
action find_reverse
entity Santa Monica
relation place of death
action find_reverse
entity Catholicism
relation religion
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Santa Monica'], {'NOT': [[{'concept': 'common name'}, 'religion', 'Catholicism']]}]}
SELECT DISTINCT ?n WHERE { ?n property:place_of_death resource:Santa_Monica . MINUS { ?n property:religion resource:Catholicism } . ?n rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q46185
P1303
Q34379 Q502895
USER
How many musical instruments are played by more number of people than bass guitar ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 . ?n property:P1303 ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:Q34379 . resource:Q46185 property:P1303 ?c } } . FILTER ( ?e > ?w ) }
bass guitar
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument . ?n property:instrument ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:musical_instrument . resource:bass_guitar property:instrument ?c } } . FILTER ( ?e > ?w ) }
[]
musical instrument common name
SYSTEM
5
Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 . ?n property:P1303 ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:Q34379 . resource:Q46185 property:P1303 ?c } } . FILTER ( ?e > ?w ) }
piano trumpet violin organ drum kit
5
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument . ?n property:instrument ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:musical_instrument . resource:bass_guitar property:instrument ?c } } . FILTER ( ?e > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q490054
P1303
Q34379 Q502895
USER
And how about Ondioline?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q490054
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 . ?w property:P1303 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q490054 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?t > ?x ) }
Ondioline
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Ondioline
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument . ?w property:instrument ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Ondioline property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?t > ?x ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q490054
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 . ?w property:P1303 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q490054 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?t > ?x ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Ondioline
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument . ?w property:instrument ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Ondioline property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?t > ?x ) }
[]