Simple Question (Direct)
Simple Question
Q824873
P1344
Q16510064
USER
Which sporting event did Dávid Tóth participate in ?
(Q824873,P1344,c(Q16510064))
action filter_type
action find
entity Q824873
relation P1344
type Q16510064
['Q824873', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?w WHERE { resource:Q824873 property:P1344 ?w . ?w rdf:type ontology:Q16510064 }
Dávid Tóth
action filter_type
action find
entity Dávid Tóth
relation participant of
type sporting event
['Dávid Tóth', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?w WHERE { resource:Dávid_Tóth property:participant_of ?w . ?w rdf:type ontology:sporting_event }
[]
sporting event
Q539696
SYSTEM
Canoeing at the 2012 Summer Olympics – Men's K-4 1000 metres
Q539696
(Q824873,P1344,c(Q16510064))
action filter_type
action find
entity Q824873
relation P1344
type Q16510064
Dávid Tóth participated in [ANSWER]
['Q824873', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?w WHERE { resource:Q824873 property:P1344 ?w . ?w rdf:type ontology:Q16510064 }
Canoeing at the 2012 Summer Olympics – Men's K-4 1000 metres
Dávid Tóth participated in Canoeing at the 2012 Summer Olympics – Men's K-4 1000 metres
Canoeing at the 2012 Summer Olympics – Men's K-4 1000 metres
action filter_type
action find
entity Dávid Tóth
relation participant of
type sporting event
['Dávid Tóth', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?w WHERE { resource:Dávid_Tóth property:participant_of ?w . ?w rdf:type ontology:sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q824873
P641
Q349
USER
Which sport was that person a part of ?
(Q539696,P641,c(Q349))
action filter_type
action find
entity Q824873
relation P641
type Q349
['Q539696', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q824873 property:P641 ?y . ?y rdf:type ontology:Q349 }
Dávid Tóth
action filter_type
action find
entity Dávid Tóth
relation sport
type sport
["Canoeing at the 2012 Summer Olympics – Men's K-4 1000 metres", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Dávid_Tóth property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q213934
SYSTEM
canoeing and kayaking
Q213934
(Q539696,P641,c(Q349))
action filter_type
action find
entity Q824873
relation P641
type Q349
And [ANSWER] was that person a part of
['Q539696', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q824873 property:P641 ?y . ?y rdf:type ontology:Q349 }
canoeing and kayaking
And canoeing and kayaking was that person a part of
canoeing and kayaking
action filter_type
action find
entity Dávid Tóth
relation sport
type sport
["Canoeing at the 2012 Summer Olympics – Men's K-4 1000 metres", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Dávid_Tóth property:sport ?y . ?y rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q14405929
P641
Q349 Q500834 Q13406554
USER
Which sports were around the same number of tournaments or sport competitions a part of as high diving ?
(c(Q500834)|c(Q13406554),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q14405929
relation P641
type Q500834
type Q13406554
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } } . ?d property:P641 resource:Q14405929 } } . FILTER ( ?x = ?e ) }
high diving
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity high diving
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:tournament ) ( ontology:sport_competition ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:sport_competition ) ( ontology:tournament ) } } . ?d property:sport resource:high_diving } } . FILTER ( ?x = ?e ) }
[]
sport tournament sport competition
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 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(Q500834)|c(Q13406554),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q14405929
relation P641
type Q500834
type Q13406554
[ANSWERS] were around the same number of tournaments or sport competitions a part of as high diving
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } } . ?d property:P641 resource:Q14405929 } } . FILTER ( ?x = ?e ) }
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 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 dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport 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 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
BASE jumping, pesäpallo and floorball were around the same number of tournaments or sport competitions a part of as high diving
BASE jumping pesäpallo floorball
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity high diving
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:tournament ) ( ontology:sport_competition ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:sport_competition ) ( ontology:tournament ) } } . ?d property:sport resource:high_diving } } . FILTER ( ?x = ?e ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q2342494 Q502895
USER
How many sports are the area of more number of collectables and people than that sport ?
(c(Q2342494)|c(Q502895),P101,c(Q349))
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
sport collectable common name
Comparative|Count over More/Less|Mult. entity type|Clarification
Q809831
SYSTEM
Did you mean BASE jumping ?
(c(Q2342494)|c(Q502895),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
Did you mean BASE jumping ?
BASE jumping
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2342494)|c(Q502895),P101,c(Q349))
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
[]
SYSTEM
12
Q10962 Q43450 Q4543 Q170737 Q5375 Q1734 Q31920 Q500050 Q2736 Q201965 Q124100 Q41323
(c(Q2342494)|c(Q502895),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
rugby league gymnastics beach volleyball long jump cricket volleyball swimming cross country running association football Nordic combined bodybuilding American football
12
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8429
P276
Q1076486
USER
Where is 1968 Summer Olympics located ?
(Q8429,P276,c(Q1076486))
action filter_type
action find
entity Q8429
relation P276
type Q1076486
['Q8429', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?c WHERE { resource:Q8429 property:P276 ?c . ?c rdf:type ontology:Q1076486 }
1968 Summer Olympics
action filter_type
action find
entity 1968 Summer Olympics
relation location
type sports venue
['1968 Summer Olympics', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?c WHERE { resource:1968_Summer_Olympics property:location ?c . ?c rdf:type ontology:sports_venue }
[]
sports venue
Q767558
SYSTEM
Estadio Olímpico Universitario
Q767558
(Q8429,P276,c(Q1076486))
action filter_type
action find
entity Q8429
relation P276
type Q1076486
1968 Summer Olympics is located in [ANSWER]
['Q8429', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?c WHERE { resource:Q8429 property:P276 ?c . ?c rdf:type ontology:Q1076486 }
Estadio Olímpico Universitario
1968 Summer Olympics is located in Estadio Olímpico Universitario
Estadio Olímpico Universitario
action filter_type
action find
entity 1968 Summer Olympics
relation location
type sports venue
['1968 Summer Olympics', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?c WHERE { resource:1968_Summer_Olympics property:location ?c . ?c rdf:type ontology:sports_venue }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q500834 Q12973014
USER
How many sports were exactly 2 tournaments and sports teams a part of ?
(c(Q500834)|c(Q12973014),P641,c(Q349))
action count
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 2
[[{'concept': 'Q500834'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q500834 ) ( ontology:Q12973014 ) } } GROUP BY ?h } . FILTER ( ?w = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 2
[[{'concept': 'tournament'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:tournament ) ( ontology:sports_team ) } } GROUP BY ?h } . FILTER ( ?w = 2 ) }
[]
sport tournament sports team
SYSTEM
7
Q1109032 Q500050 Q754586 Q185851 Q130949 Q134211 Q1199515
(c(Q500834)|c(Q12973014),P641,c(Q349))
action count
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 2
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q500834 ) ( ontology:Q12973014 ) } } GROUP BY ?h } . FILTER ( ?w = 2 ) }
college football cross country running racquetball lacrosse skiing polo formula racing
7
action count
action equal
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 2
[[{'concept': 'tournament'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:tournament ) ( ontology:sports_team ) } } GROUP BY ?h } . FILTER ( ?w = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q934651
P669
Q79007 Q1076486
USER
How many streets are the locations of around the same number of sports venues as Bulevar kralja Aleksandra ?
(c(Q1076486),P669,c(Q79007))
action count
action approx
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
action count
action filter_type
action find
entity Q934651
relation P669
type Q79007
[{'concept': 'Q1076486'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P669 ?k . ?h rdf:type ontology:Q1076486 . ?k rdf:type ontology:Q79007 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:Q79007 . resource:Q934651 property:P669 ?u } } . FILTER ( ?z = ?f ) }
Bulevar kralja Aleksandra
action count
action approx
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
action count
action filter_type
action find
entity Bulevar kralja Aleksandra
relation located on street
type street
[{'concept': 'sports venue'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:located_on_street ?k . ?h rdf:type ontology:sports_venue . ?k rdf:type ontology:street } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:street . resource:Bulevar_kralja_Aleksandra property:located_on_street ?u } } . FILTER ( ?z = ?f ) }
[]
street sports venue
SYSTEM
149
Q14629242 Q550 Q2921899 Q2873884 Q2921894 Q2921891 Q2136395 Q2873605 Q3452619 Q2921959 Q2873805 Q2922034 Q2921810 Q2922032 Q2922031 Q3149343 Q2921792 Q2873769 Q2873707 Q2874166 Q2395011 Q2921888 Q2921883 Q2873923 Q2922002 Q2921960 Q2873772 Q2921805 Q790568 Q2921920 Q2874202 Q2921923 Q2921925 Q2921926 Q4099024 Q2404571 Q790581 Q4267094 Q1907324 Q3058454 Q109873 Q2873820 Q2873824 Q41068 Q5348068 Q2922016 Q2921837 Q3007468 Q790578 Q2874056 Q790573 Q2874210 Q2632681 Q2873901 Q2873906 Q2581778 Q3058441 Q2874102 Q2460215 Q2873580 Q2921981 Q2873982 Q2921988 Q2921989 Q2873657 Q2874189 Q2874022 Q2922060 Q2921907 Q2922067 Q895082 Q34441 Q382500 Q590441 Q2873598 Q2873917 Q2873916 Q2079615 Q2921993 Q895076 Q2873649 Q2584356 Q109858 Q2874131 Q2922038 Q2873992 Q2922078 Q2874032 Q2921917 Q2921850 Q934651 Q735620 Q1851236 Q2873654 Q2873874 Q2873735 Q4381087 Q2873964 Q2873967 Q2873636 Q2873739 Q2921966 Q3407377 Q2873508 Q2921844 Q6546819 Q2874182 Q1027566 Q2921775 Q10526423 Q2921772 Q16331713 Q2874151 Q2874152 Q2873862 Q2504703 Q2873974 Q2874015 Q34472 Q2874010 Q2921974 Q2921973 Q2921972 Q2921971 Q2921970 Q2921874 Q2921875 Q2921979 Q3094222 Q2873793 Q3449383 Q790562 Q2921939 Q2873818 Q2873944 Q895077 Q10679907 Q2921942 Q895078 Q2873546 Q2922026 Q3149212 Q7696225 Q2921864 Q533037 Q2921783 Q1007186 Q2384518 Q17518281
(c(Q1076486),P669,c(Q79007))
action count
action approx
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
action count
action filter_type
action find
entity Q934651
relation P669
type Q79007
[ANSWER]
[{'concept': 'Q1076486'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P669 ?k . ?h rdf:type ontology:Q1076486 . ?k rdf:type ontology:Q79007 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:Q79007 . resource:Q934651 property:P669 ?u } } . FILTER ( ?z = ?f ) }
esplanade Habib-Bourguiba avenue des Champs-Élysées boulevard Poissonnière avenue Winston-Churchill boulevard Pereire boulevard Pasteur H. C. Andersens Boulevard avenue Denfert-Rochereau rue du Trésor boulevard Vincent-Auriol avenue Philippe-Auguste boulevard de la Madeleine boulevard Edgar-Quinet boulevard de la Villette boulevard de la Somme impasse de la Poissonnerie boulevard Brune avenue Matignon avenue Jean-Jaurès avenue du Maine avenue David-Weill boulevard Morland boulevard Masséna avenue de Marigny boulevard de Strasbourg La Défense ring road avenue Maurice-d'Ocagne boulevard Diderot avenue Henri-Martin boulevard Saint-Jacques avenue Élisée-Reclus boulevard Richard-Lenoir boulevard Saint-Marcel boulevard Saint-Martin Boulevard Alexandre-Taché boulevard Saint-Denis avenue Victor-Hugo Laurier Avenue Massachusetts Avenue esplanade du 9-novembre-1989 Sixth Avenue avenue Raymond-Poincaré avenue René-Coty Paulista Avenue Eglinton Avenue boulevard de l'Hôpital boulevard Henri-IV Liteyny Avenue avenue Kléber avenue de la République avenue Mozart avenue Émile-Zola Moskovsky Prospekt avenue de Camoëns avenue de Flandre boulevard des Invalides esplanade Pierre-Vidal-Naquet avenue des Gobelins Saint Laurent Boulevard avenue Claude-Vellefaux boulevard de Clichy avenue de l'Observatoire boulevard de Montmorency boulevard de Ménilmontant avenue George V avenue du Président-Wilson avenue de la Porte-de-Charenton Boulevard du Crime boulevard Poniatowski boulevard du Palais boulevard des Italiens Bundesstraße 2 Nevsky Prospect boulevard des Capucines avenue Daumesnil avenue de France avenue de Friedland Paseo del Prado boulevard de Port-Royal boulevard Haussmann avenue Gabriel Vasilissis Sofias Avenue Fifth Avenue avenue du Colonel-Henri-Rol-Tanguy boulevard des Batignolles avenue de la Belle-Gabrielle boulevard du Montparnasse avenue de la Porte-de-Montrouge boulevard Raspail boulevard Jourdan Bulevar kralja Aleksandra avenue Montaigne boulevard du Temple avenue Gambetta avenue Victoria avenue Junot Vernadskogo Avenue avenue de Versailles avenue de Villiers avenue Franklin-D.-Roosevelt avenue Ledru-Rollin boulevard Voltaire promenade du Peyrou avenue Albert-de-Mun boulevard Jules-Ferry Ligovsky Avenue Park Avenue boulevard Montmartre boulevard Auguste-Blanqui Hornstulls strand boulevard Arago Leoforos Megalou Alexandrou avenue du Général-Leclerc avenue du Général-Lemonnier avenue Trudaine boulevard de Rochechouart avenue de Wagram avenue de la Porte-d'Auteuil Bundesstraße 13 avenue de l'Opéra boulevard de Courcelles boulevard de Charonne boulevard de Bonne-Nouvelle boulevard de Bercy boulevard de Belleville boulevard Malesherbes boulevard Macdonald boulevard de Grenelle Grote Houtstraat avenue Parmentier Patission Street avenue Foch boulevard Soult avenue Rachel avenue de Saint-Mandé boulevard de Magenta Stigbergsgatan boulevard Sérurier boulevard Saint-Michel avenue Bugeaud boulevard de la Chapelle impasse Chartière Telegraph Avenue boulevard Lannes boulevard Saint-Germain boulevard Bessières Bundesstraße 466 Independence Avenue cours Saint-Pierre
149
action count
action approx
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
action count
action filter_type
action find
entity Bulevar kralja Aleksandra
relation located on street
type street
[{'concept': 'sports venue'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:located_on_street ?k . ?h rdf:type ontology:sports_venue . ?k rdf:type ontology:street } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:street . resource:Bulevar_kralja_Aleksandra property:located_on_street ?u } } . FILTER ( ?z = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q111954 Q934651
P47 P17
Q15617994
USER
Which administrative territories are Bulevar kralja Aleksandra a part of or share the border with Santarcangelo di Romagna ?
OR((Q934651,P17,c(Q15617994)), (Q111954,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q934651
relation P17
action find
entity Q111954
relation P47
type Q15617994
{'OR': [['Q934651', 'P17', {'concept': 'Q15617994'}], ['Q111954', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q934651 property:P17 ?g } UNION { resource:Q111954 property:P47 ?g } } . ?g rdf:type ontology:Q15617994 }
Santarcangelo di Romagna Bulevar kralja Aleksandra
action filter_type
action union
action find
entity Bulevar kralja Aleksandra
relation country
action find
entity Santarcangelo di Romagna
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Bulevar kralja Aleksandra', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Santarcangelo di Romagna', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Bulevar_kralja_Aleksandra property:country ?g } UNION { resource:Santarcangelo_di_Romagna property:shares_border_with ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q99954 Q99957 Q111883 Q99944 Q403 Q111972
SYSTEM
San Mauro Pascoli, Savignano sul Rubicone, Poggio Berni, Longiano, Serbia, Verucchio
Q99954 Q99957 Q111883 Q99944 Q403 Q111972
OR((Q934651,P17,c(Q15617994)), (Q111954,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q934651
relation P17
action find
entity Q111954
relation P47
type Q15617994
[ANSWERS] are Bulevar kralja Aleksandra a part of or share the border with Santarcangelo di Romagna
{'OR': [['Q934651', 'P17', {'concept': 'Q15617994'}], ['Q111954', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q934651 property:P17 ?g } UNION { resource:Q111954 property:P47 ?g } } . ?g rdf:type ontology:Q15617994 }
San Mauro Pascoli Savignano sul Rubicone Poggio Berni Longiano Serbia Verucchio
San Mauro Pascoli, Savignano sul Rubicone, Poggio Berni, Longiano, Serbia and Verucchio are Bulevar kralja Aleksandra a part of or share the border with Santarcangelo di Romagna
San Mauro Pascoli Savignano sul Rubicone Poggio Berni Longiano Serbia Verucchio
action filter_type
action union
action find
entity Bulevar kralja Aleksandra
relation country
action find
entity Santarcangelo di Romagna
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Bulevar kralja Aleksandra', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Santarcangelo di Romagna', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Bulevar_kralja_Aleksandra property:country ?g } UNION { resource:Santarcangelo_di_Romagna property:shares_border_with ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with greater number of administrative territories than Denmark ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ontology:Q1048835 . resource:Q35 property:P530 ?v } } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?a ) WHERE { ?f property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1048835 } GROUP BY ?f } }
Denmark
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Denmark property:diplomatic_relation ?v } } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?a ) WHERE { ?f property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?f } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
4
Q40 Q183 Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ontology:Q1048835 . resource:Q35 property:P530 ?v } } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?a ) WHERE { ?f property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1048835 } GROUP BY ?f } }
Austria Germany Australia Canada
4
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Denmark property:diplomatic_relation ?v } } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?a ) WHERE { ?f property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16
P530
Q15617994 Q1048835
USER
And how about Canada?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?h ) WHERE { ?z rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 . ?z property:P530 ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q16 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?h > ?w ) }
Canada
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?h ) WHERE { ?z rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Canada property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?h > ?w ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?h ) WHERE { ?z rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 . ?z property:P530 ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q16 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?h > ?w ) }
Germany Australia
2
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?h ) WHERE { ?z rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Canada property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?h > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1030
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with less number of administrative territories than Namibia ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q1030
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P530 resource:Q1030 . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?q < ?s ) }
Namibia
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Namibia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:diplomatic_relation resource:Namibia . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q < ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q218 Q20 Q948
SYSTEM
Romania, Norway, Tunisia
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q1030
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with less number of administrative territories than Namibia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P530 resource:Q1030 . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?q < ?s ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
Romania, Norway and Tunisia have a diplomatic relationship with less number of administrative territories than Namibia
Romania Norway Tunisia
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Namibia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:diplomatic_relation resource:Namibia . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q243467
P180
Q15617994 Q11060274 Q340169
USER
How many administrative territories are depicted in around the same number of prints or medias as Subiaco ?
(c(Q11060274)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q243467
relation P180
type Q11060274
type Q340169
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { FILTER ( ?a = ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:P180 resource:Q243467 . { VALUES ( ?c ) { ( ontology:Q11060274 ) ( ontology:Q340169 ) } . ?d rdf:type ?c } } } . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:Q11060274 ) ( ontology:Q340169 ) } . ?r rdf:type ?y } GROUP BY ?f } }
Subiaco
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Subiaco
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { FILTER ( ?a = ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:depicts resource:Subiaco . { VALUES ( ?c ) { ( ontology:print ) ( ontology:media ) } . ?d rdf:type ?c } } } . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:print ) ( ontology:media ) } . ?r rdf:type ?y } GROUP BY ?f } }
[]
designation for an administrative territorial entity print media
SYSTEM
82
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q243467
relation P180
type Q11060274
type Q340169
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { FILTER ( ?a = ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:P180 resource:Q243467 . { VALUES ( ?c ) { ( ontology:Q11060274 ) ( ontology:Q340169 ) } . ?d rdf:type ?c } } } . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:Q11060274 ) ( ontology:Q340169 ) } . ?r rdf:type ?y } GROUP BY ?f } }
Catanzaro Liguria Sardinia Ariccia India France Netherlands People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe horn Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
82
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Subiaco
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { FILTER ( ?a = ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:depicts resource:Subiaco . { VALUES ( ?c ) { ( ontology:print ) ( ontology:media ) } . ?d rdf:type ?c } } } . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:print ) ( ontology:media ) } . ?r rdf:type ?y } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q26300792
P180
Q15617994 Q11060274 Q340169
USER
And how about Rhos Y Madoc?
(c(Q11060274)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q26300792
relation P180
type Q11060274
type Q340169
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:P180 ?w . ?w rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q11060274 } UNION { ?t property:P180 ?w . ?t rdf:type ontology:Q340169 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P180 resource:Q26300792 . { { ?e rdf:type ontology:Q11060274 } UNION { ?e rdf:type ontology:Q340169 } } } } . FILTER ( ?q = ?n ) }
Rhos Y Madoc
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Rhos Y Madoc
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:depicts ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:print } UNION { ?t property:depicts ?w . ?t rdf:type ontology:media . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:depicts resource:Rhos_Y_Madoc . { { ?e rdf:type ontology:print } UNION { ?e rdf:type ontology:media } } } } . FILTER ( ?q = ?n ) }
[]
designation for an administrative territorial entity print media
SYSTEM
82
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q26300792
relation P180
type Q11060274
type Q340169
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:P180 ?w . ?w rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q11060274 } UNION { ?t property:P180 ?w . ?t rdf:type ontology:Q340169 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P180 resource:Q26300792 . { { ?e rdf:type ontology:Q11060274 } UNION { ?e rdf:type ontology:Q340169 } } } } . FILTER ( ?q = ?n ) }
Catanzaro Liguria Sardinia Ariccia India France Netherlands People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe horn Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
82
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Rhos Y Madoc
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:depicts ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:print } UNION { ?t property:depicts ?w . ?t rdf:type ontology:media . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:depicts resource:Rhos_Y_Madoc . { { ?e rdf:type ontology:print } UNION { ?e rdf:type ontology:media } } } } . FILTER ( ?q = ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q403
P47
Q15617994
USER
How many administrative territories are bordered by Serbia ?
(Q403,P47,c(Q15617994))
action count
action filter_type
action find
entity Q403
relation P47
type Q15617994
['Q403', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q403 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Serbia
action count
action filter_type
action find
entity Serbia
relation shares border with
type designation for an administrative territorial entity
['Serbia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Serbia property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
8
Q225 Q224 Q222 Q221 Q218 Q219 Q236 Q28
(Q403,P47,c(Q15617994))
action count
action filter_type
action find
entity Q403
relation P47
type Q15617994
[ANSWER]
['Q403', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q403 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Bosnia and Herzegovina Croatia Albania Republic of Macedonia Romania Bulgaria Montenegro Hungary
8
action count
action filter_type
action find
entity Serbia
relation shares border with
type designation for an administrative territorial entity
['Serbia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Serbia property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q20114
P47
Q15617994
USER
And also tell me about Lequio Tanaro?
(Q20114,P47,c(Q15617994))
action count
action filter_type
action find
entity Q20114
relation P47
type Q15617994
['Q20114', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q20114 property:P47 ?b }
Lequio Tanaro
action count
action filter_type
action find
entity Lequio Tanaro
relation shares border with
type designation for an administrative territorial entity
['Lequio Tanaro', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lequio_Tanaro property:shares_border_with ?b }
[]
designation for an administrative territorial entity
SYSTEM
7
Q20037 Q20247 Q20022 Q20186 Q20355 Q18365 Q20268
(Q20114,P47,c(Q15617994))
action count
action filter_type
action find
entity Q20114
relation P47
type Q15617994
[ANSWER]
['Q20114', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q20114 property:P47 ?b }
Farigliano Narzole Dogliani Monchiero Piozzo Bene Vagienna Novello
7
action count
action filter_type
action find
entity Lequio Tanaro
relation shares border with
type designation for an administrative territorial entity
['Lequio Tanaro', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lequio_Tanaro property:shares_border_with ?b }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3918738
Q15617994
USER
And how about Nalšia?
(Q3918738,P47,c(Q15617994))
action count
action filter_type
action find
entity Q3918738
relation P47
type Q15617994
['Q3918738', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q3918738 property:P47 ?n . ?n rdf:type ontology:Q15617994 }
Nalšia
action count
action filter_type
action find
entity Nalšia
relation shares border with
type designation for an administrative territorial entity
['Nalšia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Nalšia property:shares_border_with ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
(Q3918738,P47,c(Q15617994))
action count
action filter_type
action find
entity Q3918738
relation P47
type Q15617994
[ANSWER]
['Q3918738', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q3918738 property:P47 ?n . ?n rdf:type ontology:Q15617994 }
2
action count
action filter_type
action find
entity Nalšia
relation shares border with
type designation for an administrative territorial entity
['Nalšia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Nalšia property:shares_border_with ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with min number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?f = ?k ) . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?f ) WHERE { ?t property:P530 ?r . ?t rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( MIN ( ?g ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?g ) WHERE { ?a property:P530 ?m . ?a rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?a } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?f = ?k ) . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?f ) WHERE { ?t property:diplomatic_relation ?r . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( MIN ( ?g ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?g ) WHERE { ?a property:diplomatic_relation ?m . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have diplomatic associations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?f = ?k ) . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?f ) WHERE { ?t property:P530 ?r . ?t rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( MIN ( ?g ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?g ) WHERE { ?a property:P530 ?m . ?a rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?a } } }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have diplomatic associations with min number of administrative territories
Kingdom of the Netherlands Dominican Republic Tanzania
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?f = ?k ) . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?f ) WHERE { ?t property:diplomatic_relation ?r . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( MIN ( ?g ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?g ) WHERE { ?a property:diplomatic_relation ?m . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } } }
[]