Simple Question (Direct)
Simple Question
Q941007
P19
Q56061
USER
Which administrative territory is the birthplace of Stanislav Angelov ?
(Q941007,P19,c(Q56061))
action filter_type
action find
entity Q941007
relation P19
type Q56061
['Q941007', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q941007 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Stanislav Angelov
action filter_type
action find
entity Stanislav Angelov
relation place of birth
type administrative territorial entity
['Stanislav Angelov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Stanislav_Angelov property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q472
SYSTEM
Sofia
Q472
(Q941007,P19,c(Q56061))
action filter_type
action find
entity Q941007
relation P19
type Q56061
[ANSWER] is the birthplace of Stanislav Angelov
['Q941007', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q941007 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Sofia
Sofia is the birthplace of Stanislav Angelov
Sofia
action filter_type
action find
entity Stanislav Angelov
relation place of birth
type administrative territorial entity
['Stanislav Angelov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Stanislav_Angelov property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q941007
P54
Q1194951
USER
What is Stanislav Angelov a member of ?
(Q941007,P54,c(Q1194951))
action filter_type
action find
entity Q941007
relation P54
type Q1194951
['Q941007', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q941007 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Stanislav Angelov
action filter_type
action find
entity Stanislav Angelov
relation member of sports team
type national sports team
['Stanislav Angelov', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Stanislav_Angelov property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
national sports team
Q180845
SYSTEM
Bulgaria national football team
Q180845
(Q941007,P54,c(Q1194951))
action filter_type
action find
entity Q941007
relation P54
type Q1194951
Stanislav Angelov a member of is [ANSWER]
['Q941007', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q941007 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Bulgaria national football team
Stanislav Angelov a member of is Bulgaria national football team
Bulgaria national football team
action filter_type
action find
entity Stanislav Angelov
relation member of sports team
type national sports team
['Stanislav Angelov', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Stanislav_Angelov property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q180845
P641
Q349
USER
Which sport was that national sports team a part of ?
(Q180845,P641,c(Q349))
action filter_type
action find
entity Q180845
relation P641
type Q349
['Q180845', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q180845 property:P641 ?c . ?c rdf:type ontology:Q349 }
Bulgaria national football team
action filter_type
action find
entity Bulgaria national football team
relation sport
type sport
['Bulgaria national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Bulgaria_national_football_team property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q180845,P641,c(Q349))
action filter_type
action find
entity Q180845
relation P641
type Q349
The [ANSWER] was that national sports team a part of
['Q180845', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q180845 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
The association football was that national sports team a part of
association football
action filter_type
action find
entity Bulgaria national football team
relation sport
type sport
['Bulgaria national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Bulgaria_national_football_team property:sport ?c . ?c rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1370669 Q180845
P1344
Q15275719
USER
Which recurring events did Bulgaria national football team or Gösta Löfgren take part in ?
OR((Q180845,P1344,c(Q15275719)), (Q1370669,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q180845
relation P1344
action find
entity Q1370669
relation P1344
type Q15275719
{'OR': [['Q180845', 'P1344', {'concept': 'Q15275719'}], ['Q1370669', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?e WHERE { { ?k property:P1344 ?e . VALUES ( ?k ) { ( resource:Q1370669 ) ( resource:Q180845 ) } } . ?e rdf:type ontology:Q15275719 }
Gösta Löfgren Bulgaria national football team
action filter_type
action union
action find
entity Bulgaria national football team
relation participant of
action find
entity Gösta Löfgren
relation participant of
type recurring event
{'OR': [['Bulgaria national football team', 'participant of', {'concept': 'recurring event'}], ['Gösta Löfgren', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?e WHERE { { ?k property:participant_of ?e . VALUES ( ?k ) { ( resource:Gösta_Löfgren ) ( resource:Bulgaria_national_football_team ) } } . ?e rdf:type ontology:recurring_event }
[]
recurring event
Q166121 Q132664 Q101751 Q134202 Q46938 Q132533 Q101730 Q160813
SYSTEM
1974 FIFA World Cup, 1970 FIFA World Cup, 1994 FIFA World Cup, 1966 FIFA World Cup, 1986 FIFA World Cup, 1958 FIFA World Cup, 1998 FIFA World Cup, 1962 FIFA World Cup
Q166121 Q132664 Q101751 Q134202 Q46938 Q132533 Q101730 Q160813
OR((Q180845,P1344,c(Q15275719)), (Q1370669,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q180845
relation P1344
action find
entity Q1370669
relation P1344
type Q15275719
Part the [ANSWERS] Bulgaria national football team or Gösta Löfgren took in
{'OR': [['Q180845', 'P1344', {'concept': 'Q15275719'}], ['Q1370669', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?e WHERE { { ?k property:P1344 ?e . VALUES ( ?k ) { ( resource:Q1370669 ) ( resource:Q180845 ) } } . ?e rdf:type ontology:Q15275719 }
1974 FIFA World Cup 1970 FIFA World Cup 1994 FIFA World Cup 1966 FIFA World Cup 1986 FIFA World Cup 1958 FIFA World Cup 1998 FIFA World Cup 1962 FIFA World Cup
Part the 1974 FIFA World Cup, 1970 FIFA World Cup, 1994 FIFA World Cup, 1966 FIFA World Cup, 1986 FIFA World Cup, 1958 FIFA World Cup, 1998 FIFA World Cup and 1962 FIFA World Cup Bulgaria national football team or Gösta Löfgren took in
1974 FIFA World Cup 1970 FIFA World Cup 1994 FIFA World Cup 1966 FIFA World Cup 1986 FIFA World Cup 1958 FIFA World Cup 1998 FIFA World Cup 1962 FIFA World Cup
action filter_type
action union
action find
entity Bulgaria national football team
relation participant of
action find
entity Gösta Löfgren
relation participant of
type recurring event
{'OR': [['Bulgaria national football team', 'participant of', {'concept': 'recurring event'}], ['Gösta Löfgren', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?e WHERE { { ?k property:participant_of ?e . VALUES ( ?k ) { ( resource:Gösta_Löfgren ) ( resource:Bulgaria_national_football_team ) } } . ?e rdf:type ontology:recurring_event }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q2235308 Q39546
USER
Which sports are considered to be the main utilization of atleast 1 ship types and tools ?
(c(Q2235308)|c(Q39546),P366,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:P366 ?n . ?n rdf:type ontology:Q349 . ?f rdf:type ontology:Q2235308 } UNION { ?f property:P366 ?n . ?n rdf:type ontology:Q349 . ?f rdf:type ontology:Q39546 } } GROUP BY ?n } . FILTER ( ?s >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type tool
value 1
[[{'concept': 'ship type'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:use ?n . ?n rdf:type ontology:sport . ?f rdf:type ontology:ship_type } UNION { ?f property:use ?n . ?n rdf:type ontology:sport . ?f rdf:type ontology:tool } } GROUP BY ?n } . FILTER ( ?s >= 1 ) }
[]
sport ship type tool
Q61065 Q22857
SYSTEM
water sport, climbing
Q61065 Q22857
(c(Q2235308)|c(Q39546),P366,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
value 1
[ANSWERS] are considered to be the main utilization of atleast 1 ship types and tools
[[{'concept': 'Q2235308'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:P366 ?n . ?n rdf:type ontology:Q349 . ?f rdf:type ontology:Q2235308 } UNION { ?f property:P366 ?n . ?n rdf:type ontology:Q349 . ?f rdf:type ontology:Q39546 } } GROUP BY ?n } . FILTER ( ?s >= 1 ) }
water sport climbing
Water sport and climbing are considered to be the main utilization of atleast 1 ship types and tools
water sport climbing
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type tool
value 1
[[{'concept': 'ship type'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:use ?n . ?n rdf:type ontology:sport . ?f rdf:type ontology:ship_type } UNION { ?f property:use ?n . ?n rdf:type ontology:sport . ?f rdf:type ontology:tool } } GROUP BY ?n } . FILTER ( ?s >= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1492
P291
Q56061 Q732577 Q21114848
USER
How many administrative territories are the locations of publication of lesser number of publications and magazine genres than Barcelona ?
(c(Q732577)|c(Q21114848),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q1492
relation P291
type Q732577
type Q21114848
[[{'concept': 'Q732577'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?r WHERE { { ?o property:P291 ?r . ?o rdf:type ontology:Q21114848 . ?r rdf:type ontology:Q56061 } UNION { ?o property:P291 ?r . ?r rdf:type ontology:Q56061 . ?o rdf:type ontology:Q732577 } } GROUP BY ?r } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P291 resource:Q1492 . { { ?c rdf:type ontology:Q732577 } UNION { ?c rdf:type ontology:Q21114848 } } } } }
Barcelona
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Barcelona
relation place of publication
type publication
type magazine genre
[[{'concept': 'publication'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?r WHERE { { ?o property:place_of_publication ?r . ?o rdf:type ontology:magazine_genre . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?o property:place_of_publication ?r . ?r rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:publication } } GROUP BY ?r } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:place_of_publication resource:Barcelona . { { ?c rdf:type ontology:publication } UNION { ?c rdf:type ontology:magazine_genre } } } } }
[]
administrative territorial entity publication magazine genre
SYSTEM
346
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q1022 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q84 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q732577)|c(Q21114848),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q1492
relation P291
type Q732577
type Q21114848
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?r WHERE { { ?o property:P291 ?r . ?o rdf:type ontology:Q21114848 . ?r rdf:type ontology:Q56061 } UNION { ?o property:P291 ?r . ?r rdf:type ontology:Q56061 . ?o rdf:type ontology:Q732577 } } GROUP BY ?r } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P291 resource:Q1492 . { { ?c rdf:type ontology:Q732577 } UNION { ?c rdf:type ontology:Q21114848 } } } } }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Stuttgart Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria London Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg Prague
346
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Barcelona
relation place of publication
type publication
type magazine genre
[[{'concept': 'publication'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?r WHERE { { ?o property:place_of_publication ?r . ?o rdf:type ontology:magazine_genre . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?o property:place_of_publication ?r . ?r rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:publication } } GROUP BY ?r } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:place_of_publication resource:Barcelona . { { ?c rdf:type ontology:publication } UNION { ?c rdf:type ontology:magazine_genre } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q597
P291
Q56061 Q732577 Q21114848
USER
And how about Lisbon?
(c(Q732577)|c(Q21114848),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q597
relation P291
type Q732577
type Q21114848
[[{'concept': 'Q732577'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?g WHERE { VALUES ( ?m ) { ( ontology:Q732577 ) ( ontology:Q21114848 ) } . ?y rdf:type ?m } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P291 resource:Q597 . { { ?r rdf:type ontology:Q732577 } UNION { ?r rdf:type ontology:Q21114848 } } } } . FILTER ( ?q < ?w ) }
Lisbon
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Lisbon
relation place of publication
type publication
type magazine genre
[[{'concept': 'publication'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?g WHERE { VALUES ( ?m ) { ( ontology:publication ) ( ontology:magazine_genre ) } . ?y rdf:type ?m } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:place_of_publication resource:Lisbon . { { ?r rdf:type ontology:publication } UNION { ?r rdf:type ontology:magazine_genre } } } } . FILTER ( ?q < ?w ) }
[]
administrative territorial entity publication magazine genre
SYSTEM
287
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q484678 Q151920 Q13375 Q4093 Q2560090 Q3404679 Q23337 Q33959 Q987 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q323801 Q170497 Q41876 Q749 Q99151 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q5831 Q22889 Q12892 Q132572 Q6157 Q12411 Q1718 Q43631 Q11125 Q15283655 Q4713350 Q428829 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q15468 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q334 Q239 Q16559 Q16555 Q16557 Q486306 Q621 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q2081145 Q1024911 Q193478 Q2103 Q178093 Q191133 Q35493 Q538915 Q78 Q49111 Q2617448 Q36405 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q582121 Q16567 Q14318 Q5092 Q15090 Q134620 Q15098 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q23154 Q220 Q340 Q342 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q569661 Q2634 Q8356 Q3584 Q49179 Q1726 Q1724 Q11967 Q1729 Q3519 Q65 Q159232 Q207891 Q2028 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q15696 Q985271 Q28848 Q128306 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q34370 Q47048 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q732577)|c(Q21114848),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q597
relation P291
type Q732577
type Q21114848
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?g WHERE { VALUES ( ?m ) { ( ontology:Q732577 ) ( ontology:Q21114848 ) } . ?y rdf:type ?m } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P291 resource:Q597 . { { ?r rdf:type ontology:Q732577 } UNION { ?r rdf:type ontology:Q21114848 } } } } . FILTER ( ?q < ?w ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Berkeley Tiberias Pisa Glasgow Athol Crumlin Salt Lake City Nice New Delhi Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Nampula Gloucester Reims Groningen Ourense Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Melilla Bath Antwerp Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Lugo Elverum Alcones Caernarfon Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Badalona Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Bend Zürich Thessaloniki Tokyo Mold Vitebsk Singapore Brussels Austin Houston Dallas Pensacola Versailles Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria Milborne Port Welshpool Buda Bochum Poughkeepsie Fátima Almaty Mjölby Basel Cambridge Edinburgh Aberdeen New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Bradenton Columbus Vitoria-Gasteiz Baltimore Lleida Jyväskylä Cuenca Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Bristol Rome Montreal Quimper Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Königstein im Taunus Naples Valladolid Nový Jičín Worcester Munich Saarbrücken Huesca Erfurt Bari Los Angeles Santa Cruz Kokkola Verona San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Zamora The Dalles Saint Paul Denton Alta Waterville Athens Łódź Preveza Kajaani Oslo Rotterdam Oulu Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
287
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Lisbon
relation place of publication
type publication
type magazine genre
[[{'concept': 'publication'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?g WHERE { VALUES ( ?m ) { ( ontology:publication ) ( ontology:magazine_genre ) } . ?y rdf:type ?m } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:place_of_publication resource:Lisbon . { { ?r rdf:type ontology:publication } UNION { ?r rdf:type ontology:magazine_genre } } } } . FILTER ( ?q < ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q1002697 Q163740 Q502895
USER
Which people have been stated in exactly 1 periodical literatures or nonprofit organizations ?
(c(Q502895),P248,c(Q1002697)|c(Q163740))
action equal
action union
action find_tuple_counts
relation P248
type Q502895
type Q1002697
action find_tuple_counts
relation P248
type Q502895
type Q163740
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1002697'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?k WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1002697 ) ( ontology:Q163740 ) } } GROUP BY ?k } . FILTER ( ?b = 1 ) }
action equal
action union
action find_tuple_counts
relation stated in
type common name
type periodical literature
action find_tuple_counts
relation stated in
type common name
type nonprofit organization
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'periodical literature'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?k WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:periodical_literature ) ( ontology:nonprofit_organization ) } } GROUP BY ?k } . FILTER ( ?b = 1 ) }
[]
periodical literature nonprofit organization common name
Q6255286 Q6260652 Q5537324
SYSTEM
John Robinson, John Thompson, George Brown
Q6237320 Q6255181 Q16849502 Q6260652 Q5537319 Q5233453 Q6255286 Q6237318 Q5537324 Q5537325 Q16065563
(c(Q502895),P248,c(Q1002697)|c(Q163740))
action equal
action union
action find_tuple_counts
relation P248
type Q502895
type Q1002697
action find_tuple_counts
relation P248
type Q502895
type Q163740
value 1
[ANSWERS] have been stated in exactly 1 periodical literatures or nonprofit organizations
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1002697'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?k WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1002697 ) ( ontology:Q163740 ) } } GROUP BY ?k } . FILTER ( ?b = 1 ) }
John Hall John Roberts David Wilson John Thompson George Brown David Evans John Robinson John Hall George Brown George Brown William Thompson
John Robinson, John Thompson and George Brown have been stated in exactly 1 periodical literatures or nonprofit organizations
John Robinson John Thompson George Brown
action equal
action union
action find_tuple_counts
relation stated in
type common name
type periodical literature
action find_tuple_counts
relation stated in
type common name
type nonprofit organization
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'periodical literature'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?k WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:periodical_literature ) ( ontology:nonprofit_organization ) } } GROUP BY ?k } . FILTER ( ?b = 1 ) }
[]