Simple Question (Direct)
Simple Question
Q18759059
P641
Q349
USER
Which sport was Juan Ulloa a part of ?
(Q18759059,P641,c(Q349))
action filter_type
action find
entity Q18759059
relation P641
type Q349
['Q18759059', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q18759059 property:P641 ?j . ?j rdf:type ontology:Q349 }
Juan Ulloa
action filter_type
action find
entity Juan Ulloa
relation sport
type sport
['Juan Ulloa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Juan_Ulloa property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q18759059,P641,c(Q349))
action filter_type
action find
entity Q18759059
relation P641
type Q349
Which sport was Juan Ulloa a part of
['Q18759059', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q18759059 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
Which sport was Juan Ulloa a part of
association football
action filter_type
action find
entity Juan Ulloa
relation sport
type sport
['Juan Ulloa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Juan_Ulloa property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18759059
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q18759059
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q18759059 property:P21 ?l . ?l rdf:type ontology:Q290 }
Juan Ulloa
action filter_type
action find
entity Juan Ulloa
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Juan_Ulloa property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q18759059
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q18759059 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Juan Ulloa
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Juan_Ulloa property:gender ?l . ?l rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6221266 Q18759059
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Juan Ulloa or John Beatty ?
OR((Q18759059,P27,c(Q15617994)), (Q6221266,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18759059
relation P27
action find
entity Q6221266
relation P27
type Q15617994
{'OR': [['Q18759059', 'P27', {'concept': 'Q15617994'}], ['Q6221266', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q18759059 property:P27 ?f } UNION { resource:Q6221266 property:P27 ?f } } }
John Beatty Juan Ulloa
action filter_type
action union
action find
entity Juan Ulloa
relation country of citizenship
action find
entity John Beatty
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Juan Ulloa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['John Beatty', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Juan_Ulloa property:country_of_citizenship ?f } UNION { resource:John_Beatty property:country_of_citizenship ?f } } }
[]
designation for an administrative territorial entity
Q30 Q800
SYSTEM
United States of America, Costa Rica
Q30 Q800
OR((Q18759059,P27,c(Q15617994)), (Q6221266,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18759059
relation P27
action find
entity Q6221266
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Juan Ulloa or John Beatty
{'OR': [['Q18759059', 'P27', {'concept': 'Q15617994'}], ['Q6221266', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q18759059 property:P27 ?f } UNION { resource:Q6221266 property:P27 ?f } } }
United States of America Costa Rica
United States of America and Costa Rica are the countries of citizenship of Juan Ulloa or John Beatty
United States of America Costa Rica
action filter_type
action union
action find
entity Juan Ulloa
relation country of citizenship
action find
entity John Beatty
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Juan Ulloa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['John Beatty', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Juan_Ulloa property:country_of_citizenship ?f } UNION { resource:John_Beatty property:country_of_citizenship ?f } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19618987 Q18759059
P276 P19
Q56061
USER
Which administrative territories were Juan Ulloa born at or are the locations of Van Bylandtpad ?
OR((Q18759059,P19,c(Q56061)), (Q19618987,P276,c(Q56061)))
action filter_type
action union
action find
entity Q18759059
relation P19
action find
entity Q19618987
relation P276
type Q56061
{'OR': [['Q18759059', 'P19', {'concept': 'Q56061'}], ['Q19618987', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q19618987 property:P276 ?b } UNION { resource:Q18759059 property:P19 ?b } } . ?b rdf:type ontology:Q56061 }
Van Bylandtpad Juan Ulloa
action filter_type
action union
action find
entity Juan Ulloa
relation place of birth
action find
entity Van Bylandtpad
relation location
type administrative territorial entity
{'OR': [['Juan Ulloa', 'place of birth', {'concept': 'administrative territorial entity'}], ['Van Bylandtpad', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Van_Bylandtpad property:location ?b } UNION { resource:Juan_Ulloa property:place_of_birth ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q9871 Q37104
SYSTEM
Tilburg, Alajuela
Q9871 Q37104
OR((Q18759059,P19,c(Q56061)), (Q19618987,P276,c(Q56061)))
action filter_type
action union
action find
entity Q18759059
relation P19
action find
entity Q19618987
relation P276
type Q56061
Juan Ulloa were born at [ANSWERS] or are the locations of Van Bylandtpad
{'OR': [['Q18759059', 'P19', {'concept': 'Q56061'}], ['Q19618987', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q19618987 property:P276 ?b } UNION { resource:Q18759059 property:P19 ?b } } . ?b rdf:type ontology:Q56061 }
Tilburg Alajuela
Juan Ulloa were born at Tilburg and Alajuela or are the locations of Van Bylandtpad
Tilburg Alajuela
action filter_type
action union
action find
entity Juan Ulloa
relation place of birth
action find
entity Van Bylandtpad
relation location
type administrative territorial entity
{'OR': [['Juan Ulloa', 'place of birth', {'concept': 'administrative territorial entity'}], ['Van Bylandtpad', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Van_Bylandtpad property:location ?b } UNION { resource:Juan_Ulloa property:place_of_birth ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q13406554 Q502895
USER
How many sports were atmost 20544 sport competitions and people a part of ?
(c(Q13406554)|c(Q502895),P641,c(Q349))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
value 20544
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:Q13406554 ) ( ontology:Q502895 ) } . ?d rdf:type ?f } GROUP BY ?s } . FILTER ( ?k <= 20544 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type common name
value 20544
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:sport_competition ) ( ontology:common_name ) } . ?d rdf:type ?f } GROUP BY ?s } . FILTER ( ?k <= 20544 ) }
[]
sport sport competition common name
SYSTEM
180
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q7291 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5372 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q13406554)|c(Q502895),P641,c(Q349))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
value 20544
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:Q13406554 ) ( ontology:Q502895 ) } . ?d rdf:type ?f } GROUP BY ?s } . FILTER ( ?k <= 20544 ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football badminton dancesport Kabaddi curling women's basketball rallying rallycross basketball cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque ice hockey shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
180
action count
action atmost
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type common name
value 20544
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:sport_competition ) ( ontology:common_name ) } . ?d rdf:type ?f } GROUP BY ?s } . FILTER ( ?k <= 20544 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have their base port as exactly 3 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?b ) WHERE { ?z property:P532 ?r . ?z rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q56061 } GROUP BY ?z } . FILTER ( ?b = 3 ) }
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?b ) WHERE { ?z property:port_of_registry ?r . ?z rdf:type ontology:ship_type . ?r rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?b = 3 ) }
[]
administrative territorial entity ship type
SYSTEM
1
Q11707059
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?b ) WHERE { ?z property:P532 ?r . ?z rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q56061 } GROUP BY ?z } . FILTER ( ?b = 3 ) }
MS Arrow
1
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?b ) WHERE { ?z property:port_of_registry ?r . ?z rdf:type ontology:ship_type . ?r rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?b = 3 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q42441
P138
Q15617994 Q55488 Q15324
USER
How many administrative territories are the origin of lesser number of railway stations and bodies of water than Cassina de' Pecchi ?
(c(Q55488)|c(Q15324),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15324
action count
action filter_multi_types
action find_reverse
entity Q42441
relation P138
type Q55488
type Q15324
[[{'concept': 'Q55488'}, {'concept': 'Q15324'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?m ) WHERE { VALUES ( ?o ) { ( ontology:Q55488 ) ( ontology:Q15324 ) } . ?h rdf:type ?o } GROUP BY ?j } . FILTER ( ?m < ?r ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { { ?c rdf:type ontology:Q15324 } UNION { ?c rdf:type ontology:Q55488 } } . ?c property:P138 resource:Q42441 } } }
Cassina de' Pecchi
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find_reverse
entity Cassina de' Pecchi
relation named after
type railway station
type body of water
[[{'concept': 'railway station'}, {'concept': 'body of water'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?m ) WHERE { VALUES ( ?o ) { ( ontology:railway_station ) ( ontology:body_of_water ) } . ?h rdf:type ?o } GROUP BY ?j } . FILTER ( ?m < ?r ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { { ?c rdf:type ontology:body_of_water } UNION { ?c rdf:type ontology:railway_station } } . ?c property:named_after resource:Cassina_de'_Pecchi } } }
[]
designation for an administrative territorial entity railway station body of water
SYSTEM
358
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q159856 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q488513 Q243311 Q503160 Q2993085 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q182248 Q20458 Q20517
(c(Q55488)|c(Q15324),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15324
action count
action filter_multi_types
action find_reverse
entity Q42441
relation P138
type Q55488
type Q15324
[ANSWER]
[[{'concept': 'Q55488'}, {'concept': 'Q15324'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?m ) WHERE { VALUES ( ?o ) { ( ontology:Q55488 ) ( ontology:Q15324 ) } . ?h rdf:type ?o } GROUP BY ?j } . FILTER ( ?m < ?r ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { { ?c rdf:type ontology:Q15324 } UNION { ?c rdf:type ontology:Q55488 } } . ?c property:P138 resource:Q42441 } } }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Duchy of Brabant Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Nordwalde Gubbio Treiso
358
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find_reverse
entity Cassina de' Pecchi
relation named after
type railway station
type body of water
[[{'concept': 'railway station'}, {'concept': 'body of water'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?m ) WHERE { VALUES ( ?o ) { ( ontology:railway_station ) ( ontology:body_of_water ) } . ?h rdf:type ?o } GROUP BY ?j } . FILTER ( ?m < ?r ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { { ?c rdf:type ontology:body_of_water } UNION { ?c rdf:type ontology:railway_station } } . ?c property:named_after resource:Cassina_de'_Pecchi } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3697039
P138
Q15617994 Q55488 Q15324
USER
And what about Crescenzago?
(c(Q55488)|c(Q15324),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15324
action count
action filter_multi_types
action find_reverse
entity Q3697039
relation P138
type Q55488
type Q15324
[[{'concept': 'Q55488'}, {'concept': 'Q15324'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?a ) WHERE { { ?s property:P138 ?l . ?l rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q55488 } UNION { ?s property:P138 ?l . ?l rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15324 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P138 resource:Q3697039 . { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:Q55488 ) ( ontology:Q15324 ) } } } } . FILTER ( ?a < ?i ) }
Crescenzago
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find_reverse
entity Crescenzago
relation named after
type railway station
type body of water
[[{'concept': 'railway station'}, {'concept': 'body of water'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?a ) WHERE { { ?s property:named_after ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:railway_station } UNION { ?s property:named_after ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:body_of_water } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:named_after resource:Crescenzago . { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:railway_station ) ( ontology:body_of_water ) } } } } . FILTER ( ?a < ?i ) }
[]
designation for an administrative territorial entity railway station body of water
SYSTEM
358
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q159856 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q488513 Q243311 Q503160 Q2993085 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q182248 Q20458 Q20517
(c(Q55488)|c(Q15324),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15324
action count
action filter_multi_types
action find_reverse
entity Q3697039
relation P138
type Q55488
type Q15324
[ANSWER]
[[{'concept': 'Q55488'}, {'concept': 'Q15324'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?a ) WHERE { { ?s property:P138 ?l . ?l rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q55488 } UNION { ?s property:P138 ?l . ?l rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15324 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P138 resource:Q3697039 . { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:Q55488 ) ( ontology:Q15324 ) } } } } . FILTER ( ?a < ?i ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Duchy of Brabant Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Nordwalde Gubbio Treiso
358
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find_reverse
entity Crescenzago
relation named after
type railway station
type body of water
[[{'concept': 'railway station'}, {'concept': 'body of water'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?a ) WHERE { { ?s property:named_after ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:railway_station } UNION { ?s property:named_after ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:body_of_water } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:named_after resource:Crescenzago . { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:railway_station ) ( ontology:body_of_water ) } } } } . FILTER ( ?a < ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q56061
USER
How many administrative territories have approximately 1 holidays or people as their patron saint ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?f WHERE { VALUES ( ?a ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?g rdf:type ?a } GROUP BY ?f } . FILTER ( ?s = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?f WHERE { VALUES ( ?a ) { ( ontology:holiday ) ( ontology:common_name ) } . ?g rdf:type ?a } GROUP BY ?f } . FILTER ( ?s = 1 ) }
[]
holiday common name administrative territorial entity
SYSTEM
95
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?f WHERE { VALUES ( ?a ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?g rdf:type ?a } GROUP BY ?f } . FILTER ( ?s = 1 ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
95
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?f WHERE { VALUES ( ?a ) { ( ontology:holiday ) ( ontology:common_name ) } . ?g rdf:type ?a } GROUP BY ?f } . FILTER ( ?s = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q5962346 Q34770 Q15617994
USER
How many administrative territories are atmost 2 classification schemes or languages associated to as the official language ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action atmost
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
value 2
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?o ) WHERE { { ?p property:P37 ?n . ?p rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q5962346 } UNION { ?p property:P37 ?n . ?n rdf:type ontology:Q34770 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } . FILTER ( ?o <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?o ) WHERE { { ?p property:official_language ?n . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:classification_scheme } UNION { ?p property:official_language ?n . ?n rdf:type ontology:language . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?o <= 2 ) }
[]
classification scheme language designation for an administrative territorial entity
SYSTEM
216
Q805 Q804 Q399 Q801 Q800 Q473259 Q709 Q398 Q668 Q414 Q142 Q1039 Q21671144 Q1948 Q32 Q12536 Q262 Q148 Q783 Q784 Q265 Q30 Q37 Q493428 Q16006 Q712 Q711 Q710 Q717 Q837 Q2003 Q252 Q2068764 Q21850324 Q403 Q657 Q258 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q673813 Q790 Q4628 Q796 Q794 Q954 Q953 Q669945 Q884 Q958 Q881 Q503181 Q986 Q219 Q826 Q247613 Q241 Q242 Q244 Q1974 Q811 Q603392 Q53381 Q33 Q921 Q31 Q101526 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q165934 Q423 Q889 Q851 Q733 Q29999 Q854 Q734 Q819 Q253445 Q424 Q55 Q730 Q1013 Q236 Q795587 Q230 Q232 Q693658 Q145 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q29 Q21853467 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q1904 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q686312 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q59118 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q243220 Q683 Q34020 Q686 Q836 Q760 Q574 Q637451 Q874 Q3365904 Q79 Q77 Q858 Q199688 Q878 Q774 Q948 Q817 Q810 Q770 Q813 Q1014 Q1016 Q1011 Q945 Q678 Q8575586 Q21848848 Q233 Q672 Q176 Q61698 Q822 Q1952 Q863 Q2023 Q869 Q1230929
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action atmost
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?o ) WHERE { { ?p property:P37 ?n . ?p rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q5962346 } UNION { ?p property:P37 ?n . ?n rdf:type ontology:Q34770 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } . FILTER ( ?o <= 2 ) }
Yemen Panama Armenia Israel Costa Rica Ammerthal Marshall Islands Bahrain India Argentina France Sao Tomé and Príncipe Mezhetchina Manitoba Luxembourg Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan United States of America Lithuania Mistretta Goch Fiji Mongolia Kiribati Venezuela Nepal Newfoundland and Labrador Indonesia Archa Darugha Gireyevo Serbia Chad South Africa Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Euratsfeld Haiti Faroe Islands Iraq Iran Zimbabwe Zambia Vorau South Korea South Sudan Vietnam Herzberg am Harz Eritrea Bulgaria Maldives Bernese Jura Cuba Belize Barbados British Columbia Nicaragua Schönwalde Tolmezzo Finland Brunei Belgium Rovetta Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Colombia Bokensdorf North Korea Afghanistan Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Kolbermoor Cambodia Netherlands Suriname Lesotho Montenegro Escuintla Georgia Kazakhstan Izabal Department United Kingdom San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Spain Romanovo Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Ontario Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Duchy of Amalfi Moldavia 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 Aappilattoq Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Rocca di Cave Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Uruguay Syria Almohad United Arab Emirates Guatemala Tunisia Kuwait Jordan Friesland Kyrgyzstan Liberia Libya Cape Verde Togo Tonga Umayyad Caliphate Lyskovo Malta Tuvalu Quebec Büsingen Lebanon Nova Scotia Tajikistan Nunavut Thailand Kesklinn
216
action count
action atmost
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?o ) WHERE { { ?p property:official_language ?n . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:classification_scheme } UNION { ?p property:official_language ?n . ?n rdf:type ontology:language . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?o <= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q337117 Q18759059
P39 P106
Q12737077
USER
Which occupations are the professions of Juan Ulloa or were a position held by Charles Falconer, Baron Falconer of Thoroton ?
OR((Q18759059,P106,c(Q12737077)), (Q337117,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q18759059
relation P106
action find
entity Q337117
relation P39
type Q12737077
{'OR': [['Q18759059', 'P106', {'concept': 'Q12737077'}], ['Q337117', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . { { resource:Q337117 property:P39 ?u } UNION { resource:Q18759059 property:P106 ?u } } }
Charles Falconer, Baron Falconer of Thoroton Juan Ulloa
action filter_type
action union
action find
entity Juan Ulloa
relation occupation
action find
entity Charles Falconer, Baron Falconer of Thoroton
relation position held
type occupation
{'OR': [['Juan Ulloa', 'occupation', {'concept': 'occupation'}], ['Charles Falconer, Baron Falconer of Thoroton', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . { { resource:Charles_Falconer,_Baron_Falconer_of_Thoroton property:position_held ?u } UNION { resource:Juan_Ulloa property:occupation ?u } } }
[]
occupation
Q7460545 Q217217 Q7444338 Q18952564 Q3477307 Q937857 Q628099 Q583809
SYSTEM
Shadow Lord Chancellor, Lord Chancellor, Secretary of State for Constitutional Affairs, Member of the House of Lords, Secretary of State for Justice, association football player, association football manager, Solicitor General for England and Wales
Q7460545 Q217217 Q7444338 Q18952564 Q3477307 Q937857 Q628099 Q583809
OR((Q18759059,P106,c(Q12737077)), (Q337117,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q18759059
relation P106
action find
entity Q337117
relation P39
type Q12737077
[ANSWERS] are the professions of Juan Ulloa or were a position held by Charles Falconer, Baron Falconer of Thoroton
{'OR': [['Q18759059', 'P106', {'concept': 'Q12737077'}], ['Q337117', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . { { resource:Q337117 property:P39 ?u } UNION { resource:Q18759059 property:P106 ?u } } }
Shadow Lord Chancellor Lord Chancellor Secretary of State for Constitutional Affairs Member of the House of Lords Secretary of State for Justice association football player association football manager Solicitor General for England and Wales
Shadow Lord Chancellor, Lord Chancellor, Secretary of State for Constitutional Affairs, Member of the House of Lords, Secretary of State for Justice, association football player, association football manager and Solicitor General for England and Wales are the professions of Juan Ulloa or were a position held by Charles Falconer, Baron Falconer of Thoroton
Shadow Lord Chancellor Lord Chancellor Secretary of State for Constitutional Affairs Member of the House of Lords Secretary of State for Justice association football player association football manager Solicitor General for England and Wales
action filter_type
action union
action find
entity Juan Ulloa
relation occupation
action find
entity Charles Falconer, Baron Falconer of Thoroton
relation position held
type occupation
{'OR': [['Juan Ulloa', 'occupation', {'concept': 'occupation'}], ['Charles Falconer, Baron Falconer of Thoroton', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . { { resource:Charles_Falconer,_Baron_Falconer_of_Thoroton property:position_held ?u } UNION { resource:Juan_Ulloa property:occupation ?u } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1172641
P417
Q502895 Q12737077
USER
How many people are the patron saint of approximately the same number of occupations as Calogerus ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1172641
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q502895 . resource:Q1172641 property:P417 ?x } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P417 ?r . ?r rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?r } }
Calogerus
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Calogerus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:common_name . resource:Calogerus property:patron_saint ?x } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:patron_saint ?r . ?r rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?r } }
[]
common name occupation
SYSTEM
266
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1172641
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q502895 . resource:Q1172641 property:P417 ?x } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P417 ?r . ?r rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?r } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
266
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Calogerus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:common_name . resource:Calogerus property:patron_saint ?x } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:patron_saint ?r . ?r rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q183240
P417
Q502895 Q12737077
USER
And also tell me about Saint Lucy?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q183240
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P417 ?f . ?a rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Q183240 property:P417 ?r . ?r rdf:type ontology:Q502895 } } . FILTER ( ?q = ?c ) }
Saint Lucy
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Lucy
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:patron_saint ?f . ?a rdf:type ontology:occupation . ?f rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Saint_Lucy property:patron_saint ?r . ?r rdf:type ontology:common_name } } . FILTER ( ?q = ?c ) }
[]
common name occupation
SYSTEM
10
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q183240
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P417 ?f . ?a rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Q183240 property:P417 ?r . ?r rdf:type ontology:Q502895 } } . FILTER ( ?q = ?c ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
10
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Lucy
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:patron_saint ?f . ?a rdf:type ontology:occupation . ?f rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Saint_Lucy property:patron_saint ?r . ?r rdf:type ontology:common_name } } . FILTER ( ?q = ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22554 Q30
P47
Q15617994
USER
Which administrative territories are bordered by United States of America or Pettenasco ?
OR((Q30,P47,c(Q15617994)), (Q22554,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P47
action find
entity Q22554
relation P47
type Q15617994
{'OR': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q22554', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q30 property:P47 ?t } UNION { resource:Q22554 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Pettenasco United States of America
action filter_type
action union
action find
entity United States of America
relation shares border with
action find
entity Pettenasco
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Pettenasco', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:United_States_of_America property:shares_border_with ?t } UNION { resource:Pettenasco property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q678 Q23662 Q159 Q786 Q710 Q22504 Q22045 Q22549 Q683
SYSTEM
Some of them are Mexico, Tonga, Omegna, Russia, Dominican Republic, Kiribati, Miasino, Armeno, Pella, Samoa
Q717 Q702 Q804 Q159 Q683 Q96 Q22549 Q786 Q241 Q17 Q22536 Q710 Q22504 Q23657 Q23662 Q678 Q22045 Q790
OR((Q30,P47,c(Q15617994)), (Q22554,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P47
action find
entity Q22554
relation P47
type Q15617994
[ANSWERS] are bordered by United States of America or Pettenasco
{'OR': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q22554', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q30 property:P47 ?t } UNION { resource:Q22554 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Venezuela Federated States of Micronesia Panama Russia Samoa Mexico Pella Dominican Republic Cuba Japan Orta San Giulio Kiribati Miasino Nonio Omegna Tonga Armeno Haiti
Mexico, Tonga, Omegna, Russia, Dominican Republic, Kiribati, Miasino, Armeno, Pella and Samoa are bordered by United States of America or Pettenasco
Mexico Tonga Omegna Russia Dominican Republic Kiribati Miasino Armeno Pella Samoa
action filter_type
action union
action find
entity United States of America
relation shares border with
action find
entity Pettenasco
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Pettenasco', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:United_States_of_America property:shares_border_with ?t } UNION { resource:Pettenasco property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19303523 Q18952564
P1001 P17
Q15617994
USER
Which administrative territories come under the supervision of Member of the House of Lords or do Kleine Venne belong to ?
OR((Q18952564,P1001,c(Q15617994)), (Q19303523,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18952564
relation P1001
action find
entity Q19303523
relation P17
type Q15617994
{'OR': [['Q18952564', 'P1001', {'concept': 'Q15617994'}], ['Q19303523', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q18952564 property:P1001 ?t } UNION { resource:Q19303523 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Kleine Venne Member of the House of Lords
action filter_type
action union
action find
entity Member of the House of Lords
relation applies to jurisdiction
action find
entity Kleine Venne
relation country
type designation for an administrative territorial entity
{'OR': [['Member of the House of Lords', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Kleine Venne', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Member_of_the_House_of_Lords property:applies_to_jurisdiction ?t } UNION { resource:Kleine_Venne property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q145
SYSTEM
Netherlands, United Kingdom
Q55 Q145
OR((Q18952564,P1001,c(Q15617994)), (Q19303523,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18952564
relation P1001
action find
entity Q19303523
relation P17
type Q15617994
[ANSWERS] come under the supervision of Member of the House of Lords or do Kleine Venne belong to
{'OR': [['Q18952564', 'P1001', {'concept': 'Q15617994'}], ['Q19303523', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q18952564 property:P1001 ?t } UNION { resource:Q19303523 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Netherlands United Kingdom
Netherlands and United Kingdom come under the supervision of Member of the House of Lords or do Kleine Venne belong to
Netherlands United Kingdom
action filter_type
action union
action find
entity Member of the House of Lords
relation applies to jurisdiction
action find
entity Kleine Venne
relation country
type designation for an administrative territorial entity
{'OR': [['Member of the House of Lords', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Kleine Venne', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Member_of_the_House_of_Lords property:applies_to_jurisdiction ?t } UNION { resource:Kleine_Venne property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]