Simple Question (Direct)
Simple Question
Q365510
P54
Q12973014
USER
Which sports teams are John Slaney a member of ?
(Q365510,P54,c(Q12973014))
action filter_type
action find
entity Q365510
relation P54
type Q12973014
['Q365510', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { resource:Q365510 property:P54 ?q . ?q rdf:type ontology:Q12973014 }
John Slaney
action filter_type
action find
entity John Slaney
relation member of sports team
type sports team
['John Slaney', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { resource:John_Slaney property:member_of_sports_team ?q . ?q rdf:type ontology:sports_team }
[]
sports team
Q193643 Q192083 Q207980
SYSTEM
Pittsburgh Penguins, Philadelphia Flyers, Nashville Predators
Q207980 Q206312 Q203008 Q204627 Q193643 Q192083 Q695832 Q206297
(Q365510,P54,c(Q12973014))
action filter_type
action find
entity Q365510
relation P54
type Q12973014
The [ANSWERS] are John Slaney a member of
['Q365510', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { resource:Q365510 property:P54 ?q . ?q rdf:type ontology:Q12973014 }
Nashville Predators Arizona Coyotes Los Angeles Kings Washington Capitals Pittsburgh Penguins Philadelphia Flyers Frankfurt Lions Colorado Avalanche
The Pittsburgh Penguins, Philadelphia Flyers and Nashville Predators are John Slaney a member of
Pittsburgh Penguins Philadelphia Flyers Nashville Predators
action filter_type
action find
entity John Slaney
relation member of sports team
type sports team
['John Slaney', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { resource:John_Slaney property:member_of_sports_team ?q . ?q rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q365510
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q193643,P27,c(Q1048835)) (Q192083,P27,c(Q1048835)) (Q207980,P27,c(Q1048835))
action filter_type
action find
entity Q365510
relation P27
type Q1048835
['Q193643', 'P27', {'concept': 'Q1048835'}] ['Q192083', 'P27', {'concept': 'Q1048835'}] ['Q207980', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q365510 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
John Slaney
action filter_type
action find
entity John Slaney
relation country of citizenship
type political territorial entity
['Pittsburgh Penguins', 'country of citizenship', {'concept': 'political territorial entity'}] ['Philadelphia Flyers', 'country of citizenship', {'concept': 'political territorial entity'}] ['Nashville Predators', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:John_Slaney property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q193643,P27,c(Q1048835)) (Q192083,P27,c(Q1048835)) (Q207980,P27,c(Q1048835))
action filter_type
action find
entity Q365510
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q193643', 'P27', {'concept': 'Q1048835'}] ['Q192083', 'P27', {'concept': 'Q1048835'}] ['Q207980', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q365510 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Canada
Canada is that person a civilian of
Canada
action filter_type
action find
entity John Slaney
relation country of citizenship
type political territorial entity
['Pittsburgh Penguins', 'country of citizenship', {'concept': 'political territorial entity'}] ['Philadelphia Flyers', 'country of citizenship', {'concept': 'political territorial entity'}] ['Nashville Predators', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:John_Slaney property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q365510
P106
Q12737077
USER
Which occupation is the profession of John Slaney ?
(Q365510,P106,c(Q12737077))
action filter_type
action find
entity Q365510
relation P106
type Q12737077
['Q365510', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q365510 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
John Slaney
action filter_type
action find
entity John Slaney
relation occupation
type occupation
['John Slaney', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:John_Slaney property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q365510,P106,c(Q12737077))
action filter_type
action find
entity Q365510
relation P106
type Q12737077
Player [ANSWER] is the profession of John Slaney
['Q365510', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q365510 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
ice hockey player
Player ice hockey player is the profession of John Slaney
ice hockey player
action filter_type
action find
entity John Slaney
relation occupation
type occupation
['John Slaney', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:John_Slaney property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193643
P641
Q349
USER
What was the sport that Pittsburgh Penguins was a part of ?
(Q193643,P641,c(Q349))
action filter_type
action find
entity Q193643
relation P641
type Q349
['Q193643', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q193643 property:P641 ?t }
Pittsburgh Penguins
action filter_type
action find
entity Pittsburgh Penguins
relation sport
type sport
['Pittsburgh Penguins', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Pittsburgh_Penguins property:sport ?t }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q193643,P641,c(Q349))
action filter_type
action find
entity Q193643
relation P641
type Q349
The sport that Pittsburgh Penguins was a part of was h [ANSWER]
['Q193643', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q193643 property:P641 ?t }
ice hockey
The sport that Pittsburgh Penguins was a part of was h ice hockey
ice hockey
action filter_type
action find
entity Pittsburgh Penguins
relation sport
type sport
['Pittsburgh Penguins', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Pittsburgh_Penguins property:sport ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193643
P115
Q1076486
USER
Where is the home field of that sports team ?
(Q41466,P115,c(Q1076486))
action filter_type
action find
entity Q193643
relation P115
type Q1076486
['Q41466', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?s WHERE { resource:Q193643 property:P115 ?s . ?s rdf:type ontology:Q1076486 }
Pittsburgh Penguins
action filter_type
action find
entity Pittsburgh Penguins
relation home venue
type sports venue
['ice hockey', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?s WHERE { resource:Pittsburgh_Penguins property:home_venue ?s . ?s rdf:type ontology:sports_venue }
[]
sports venue
Q595460
SYSTEM
PPG Paints Arena
Q595460
(Q41466,P115,c(Q1076486))
action filter_type
action find
entity Q193643
relation P115
type Q1076486
The home field of that sports team is the [ANSWER]
['Q41466', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?s WHERE { resource:Q193643 property:P115 ?s . ?s rdf:type ontology:Q1076486 }
PPG Paints Arena
The home field of that sports team is the PPG Paints Arena
PPG Paints Arena
action filter_type
action find
entity Pittsburgh Penguins
relation home venue
type sports venue
['ice hockey', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?s WHERE { resource:Pittsburgh_Penguins property:home_venue ?s . ?s rdf:type ontology:sports_venue }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q79007 Q1076486
USER
How many streets are the locations of atmost 1 sports venue ?
(c(Q1076486),P669,c(Q79007))
action count
action atmost
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
value 1
[{'concept': 'Q1076486'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P669 ?z . ?z rdf:type ontology:Q79007 . ?e rdf:type ontology:Q1076486 } GROUP BY ?z } . FILTER ( ?d <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
value 1
[{'concept': 'sports venue'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:located_on_street ?z . ?z rdf:type ontology:street . ?e rdf:type ontology:sports_venue } GROUP BY ?z } . FILTER ( ?d <= 1 ) }
[]
street sports venue
SYSTEM
152
Q14629242 Q550 Q2921899 Q2873884 Q2921894 Q2921891 Q2136395 Q2873605 Q3452619 Q2921959 Q2873805 Q2922034 Q2921810 Q2922032 Q2922031 Q3149343 Q2921792 Q2873769 Q2873707 Q2874166 Q2395011 Q2874160 Q2921888 Q2921883 Q2873923 Q2922002 Q2921960 Q2873772 Q2391303 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 Q2921965 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 atmost
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
value 1
[ANSWER]
[{'concept': 'Q1076486'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P669 ?z . ?z rdf:type ontology:Q79007 . ?e rdf:type ontology:Q1076486 } GROUP BY ?z } . FILTER ( ?d <= 1 ) }
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 avenue du Général-Sarrail boulevard Morland boulevard Masséna avenue de Marigny boulevard de Strasbourg La Défense ring road avenue Maurice-d'Ocagne avenue de la Porte-Molitor 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 d'Auteuil 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
152
action count
action atmost
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
value 1
[{'concept': 'sports venue'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:located_on_street ?z . ?z rdf:type ontology:street . ?e rdf:type ontology:sports_venue } GROUP BY ?z } . FILTER ( ?d <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q2342494 Q3516658
USER
How many occupations are expressed in around 1 collectables and heraldic symbols ?
(c(Q2342494)|c(Q3516658),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?u WHERE { { ?p property:P180 ?u . ?u rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q2342494 } UNION { ?p property:P180 ?u . ?p rdf:type ontology:Q3516658 . ?u rdf:type ontology:Q12737077 } } GROUP BY ?u } . FILTER ( ?j = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 1
[[{'concept': 'collectable'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?u WHERE { { ?p property:depicts ?u . ?u rdf:type ontology:occupation . ?p rdf:type ontology:collectable } UNION { ?p property:depicts ?u . ?p rdf:type ontology:heraldic_symbol . ?u rdf:type ontology:occupation } } GROUP BY ?u } . FILTER ( ?j = 1 ) }
[]
occupation collectable heraldic symbol
SYSTEM
4
Q1250916 Q11900058 Q843281 Q170779
(c(Q2342494)|c(Q3516658),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 1
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?u WHERE { { ?p property:P180 ?u . ?u rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q2342494 } UNION { ?p property:P180 ?u . ?p rdf:type ontology:Q3516658 . ?u rdf:type ontology:Q12737077 } } GROUP BY ?u } . FILTER ( ?j = 1 ) }
warrior explorer hobo Kassandra
4
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 1
[[{'concept': 'collectable'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?u WHERE { { ?p property:depicts ?u . ?u rdf:type ontology:occupation . ?p rdf:type ontology:collectable } UNION { ?p property:depicts ?u . ?p rdf:type ontology:heraldic_symbol . ?u rdf:type ontology:occupation } } GROUP BY ?u } . FILTER ( ?j = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q6671777 Q811979
USER
How many sports are considered as the main functionality of atleast 1 structures and architectural structures ?
(c(Q6671777)|c(Q811979),P366,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
value 1
[[{'concept': 'Q6671777'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?t WHERE { { ?t rdf:type ontology:Q349 . ?p rdf:type ontology:Q6671777 . ?p property:P366 ?t } UNION { ?p property:P366 ?t . ?t rdf:type ontology:Q349 . ?p rdf:type ontology:Q811979 } } GROUP BY ?t } . FILTER ( ?j >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
value 1
[[{'concept': 'structure'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?t WHERE { { ?t rdf:type ontology:sport . ?p rdf:type ontology:structure . ?p property:use ?t } UNION { ?p property:use ?t . ?t rdf:type ontology:sport . ?p rdf:type ontology:architectural_structure } } GROUP BY ?t } . FILTER ( ?j >= 1 ) }
[]
sport structure architectural structure
SYSTEM
8
Q5372 Q8418 Q1734 Q36908 Q624161 Q1345388 Q206763 Q22857
(c(Q6671777)|c(Q811979),P366,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
value 1
[ANSWER]
[[{'concept': 'Q6671777'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?t WHERE { { ?t rdf:type ontology:Q349 . ?p rdf:type ontology:Q6671777 . ?p property:P366 ?t } UNION { ?p property:P366 ?t . ?t rdf:type ontology:Q349 . ?p rdf:type ontology:Q811979 } } GROUP BY ?t } . FILTER ( ?j >= 1 ) }
basketball handball volleyball mountaineering gliding greyhound racing floorball climbing
8
action count
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
value 1
[[{'concept': 'structure'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?t WHERE { { ?t rdf:type ontology:sport . ?p rdf:type ontology:structure . ?p property:use ?t } UNION { ?p property:use ?t . ?t rdf:type ontology:sport . ?p rdf:type ontology:architectural_structure } } GROUP BY ?t } . FILTER ( ?j >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q12973014 Q13406554 Q18608583
USER
How many sports teams took part in atleast 21 sport competitions or recurring sporting events ?
(c(Q13406554)|c(Q18608583),P1923,c(Q12973014))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
value 21
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?q ) WHERE { { ?j rdf:type ontology:Q12973014 . ?b rdf:type ontology:Q18608583 . ?b property:P1923 ?j } UNION { ?b property:P1923 ?j . ?j rdf:type ontology:Q12973014 . ?b rdf:type ontology:Q13406554 } } GROUP BY ?j } . FILTER ( ?q >= 21 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
value 21
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?q ) WHERE { { ?j rdf:type ontology:sports_team . ?b rdf:type ontology:recurring_sporting_event . ?b property:participating_teams ?j } UNION { ?b property:participating_teams ?j . ?j rdf:type ontology:sports_team . ?b rdf:type ontology:sport_competition } } GROUP BY ?j } . FILTER ( ?q >= 21 ) }
[]
sports team sport competition recurring sporting event
SYSTEM
30
Q27146481 Q27146483 Q27146485 Q27146486 Q12872831 Q2254900 Q26722120 Q27146296 Q834461 Q1342530 Q26722119 Q2177038 Q27146507 Q27146508 Q957525 Q27146320 Q18171104 Q27146510 Q27146516 Q27146526 Q27146522 Q27146520 Q27146539 Q27146304 Q19826622 Q23815600 Q27146310 Q27146313 Q27146314 Q1270077
(c(Q13406554)|c(Q18608583),P1923,c(Q12973014))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
value 21
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?q ) WHERE { { ?j rdf:type ontology:Q12973014 . ?b rdf:type ontology:Q18608583 . ?b property:P1923 ?j } UNION { ?b property:P1923 ?j . ?j rdf:type ontology:Q12973014 . ?b rdf:type ontology:Q13406554 } } GROUP BY ?j } . FILTER ( ?q >= 21 ) }
Hungary national badminton team Iceland national badminton team Israel national badminton team Italy national badminton team AEZ Zakakiou Sweden national badminton team Bulgaria national badminton team Austria national badminton team Germany national badminton team England national badminton team Ireland national badminton team Russia national badminton team Norway national badminton team Poland national badminton team Netherlands national badminton team Finland national badminton team Scotland national badminton team Portugal national badminton team Slovakia national badminton team Wales national badminton team Switzerland national badminton team Spain national badminton team Czechoslovakia national badminton team Belgium national badminton team Ukraine national badminton team France national badminton team Cyprus national badminton team Czech national badminton team Estonia national badminton team Denmark national badminton team
30
action count
action atleast
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
value 21
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?q ) WHERE { { ?j rdf:type ontology:sports_team . ?b rdf:type ontology:recurring_sporting_event . ?b property:participating_teams ?j } UNION { ?b property:participating_teams ?j . ?j rdf:type ontology:sports_team . ?b rdf:type ontology:sport_competition } } GROUP BY ?j } . FILTER ( ?q >= 21 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3620286 Q193643
P19 P17
Q15617994
USER
Which administrative territories are Pittsburgh Penguins a part of or are the birthplace of Antonio Tuveri ?
OR((Q193643,P17,c(Q15617994)), (Q3620286,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q193643
relation P17
action find
entity Q3620286
relation P19
type Q15617994
{'OR': [['Q193643', 'P17', {'concept': 'Q15617994'}], ['Q3620286', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q193643 property:P17 ?e } UNION { resource:Q3620286 property:P19 ?e } } . ?e rdf:type ontology:Q15617994 }
Antonio Tuveri Pittsburgh Penguins
action filter_type
action union
action find
entity Pittsburgh Penguins
relation country
action find
entity Antonio Tuveri
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Pittsburgh Penguins', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Antonio Tuveri', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Pittsburgh_Penguins property:country ?e } UNION { resource:Antonio_Tuveri property:place_of_birth ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q287900
SYSTEM
United States of America, Pabillonis
Q30 Q287900
OR((Q193643,P17,c(Q15617994)), (Q3620286,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q193643
relation P17
action find
entity Q3620286
relation P19
type Q15617994
[ANSWERS] are Pittsburgh Penguins a part of or are the birthplace of Antonio Tuveri
{'OR': [['Q193643', 'P17', {'concept': 'Q15617994'}], ['Q3620286', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q193643 property:P17 ?e } UNION { resource:Q3620286 property:P19 ?e } } . ?e rdf:type ontology:Q15617994 }
United States of America Pabillonis
United States of America and Pabillonis are Pittsburgh Penguins a part of or are the birthplace of Antonio Tuveri
United States of America Pabillonis
action filter_type
action union
action find
entity Pittsburgh Penguins
relation country
action find
entity Antonio Tuveri
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Pittsburgh Penguins', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Antonio Tuveri', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Pittsburgh_Penguins property:country ?e } UNION { resource:Antonio_Tuveri property:place_of_birth ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]