Simple Question (Direct)
Simple Question
Q509630
P21
Q290
USER
Which sex does Ricardo Villarraga have ?
(Q509630,P21,c(Q290))
action filter_type
action find
entity Q509630
relation P21
type Q290
['Q509630', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q509630 property:P21 ?h . ?h rdf:type ontology:Q290 }
Ricardo Villarraga
action filter_type
action find
entity Ricardo Villarraga
relation gender
type sex
['Ricardo Villarraga', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Ricardo_Villarraga property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q509630,P21,c(Q290))
action filter_type
action find
entity Q509630
relation P21
type Q290
Ricardo Villarraga has 1 [ANSWER]
['Q509630', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q509630 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Ricardo Villarraga has 1 male
male
action filter_type
action find
entity Ricardo Villarraga
relation gender
type sex
['Ricardo Villarraga', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Ricardo_Villarraga property:gender ?h . ?h rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q35798 Q7275
USER
How many people are the heads of state of approximately 3 executive branches or states ?
(c(Q35798)|c(Q7275),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
value 3
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?z WHERE { { ?r property:P35 ?z . ?z rdf:type ontology:Q502895 . ?r rdf:type ontology:Q7275 } UNION { ?r property:P35 ?z . ?r rdf:type ontology:Q35798 . ?z rdf:type ontology:Q502895 } } GROUP BY ?z } . FILTER ( ?b = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type state
value 3
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?z WHERE { { ?r property:head_of_state ?z . ?z rdf:type ontology:common_name . ?r rdf:type ontology:state } UNION { ?r property:head_of_state ?z . ?r rdf:type ontology:executive_branch . ?z rdf:type ontology:common_name } } GROUP BY ?z } . FILTER ( ?b = 3 ) }
[]
common name executive branch state
SYSTEM
146
Q19830768 Q19830761 Q189732 Q1428924 Q154952 Q297950 Q19464383 Q214029 Q152511 Q19830715 Q152335 Q16105901 Q57319 Q152274 Q312557 Q57258 Q162269 Q151667 Q167724 Q157651 Q237951 Q19831439 Q78492 Q19831437 Q19831432 Q259331 Q151087 Q19810371 Q167699 Q472323 Q400961 Q187149 Q855252 Q3956186 Q1245 Q1240 Q188214 Q42939 Q16849387 Q2503364 Q295212 Q2610 Q19831452 Q29207 Q179858 Q34105 Q7747 Q152306 Q379203 Q299152 Q36233 Q154936 Q334851 Q555531 Q57488 Q290786 Q773874 Q886786 Q7244117 Q6127060 Q2112764 Q2646 Q76437 Q93427 Q19830746 Q76 Q280856 Q57502 Q44329 Q157099 Q332709 Q34464 Q334923 Q235454 Q57295 Q4631 Q562209 Q8467 Q2601 Q2602 Q2607 Q39619 Q153832 Q163945 Q30487 Q223183 Q213791 Q336913 Q156502 Q257425 Q468847 Q173347 Q13593432 Q160318 Q355053 Q210329 Q205993 Q157068 Q57232 Q6127112 Q19831185 Q19831184 Q19831183 Q157121 Q399998 Q81215 Q19831457 Q327203 Q156494 Q152463 Q455854 Q212188 Q273228 Q371854 Q661663 Q19861344 Q7726 Q150620 Q6225811 Q310000 Q57464 Q2667 Q156349 Q332157 Q159585 Q4715 Q37731 Q43915 Q334111 Q19628885 Q296054 Q57526 Q352 Q130834 Q57261 Q14257286 Q150652 Q150712 Q229300 Q19831445 Q1224 Q57338 Q174662 Q65917 Q2628 Q19831449
(c(Q35798)|c(Q7275),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
value 3
[ANSWER]
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?z WHERE { { ?r property:P35 ?z . ?z rdf:type ontology:Q502895 . ?r rdf:type ontology:Q7275 } UNION { ?r property:P35 ?z . ?r rdf:type ontology:Q35798 . ?z rdf:type ontology:Q502895 } } GROUP BY ?z } . FILTER ( ?b = 3 ) }
Thomas Currie Jonathan Lambert Leonid Kravchuk Nicola Mancino Willem-Alexander of the Netherlands R. Venkataraman John Woolley Kaarlo Juho Ståhlberg Eddie Fenech Adami Robert Ben Madison László Sólyom Paul Delprat Norodom Sihamoni Edvard Beneš V. V. Giri Ivo Josipović Jefferson Davis Ferdinand I of Bulgaria Guido de Marco Gustáv Husák Douglas Hyde Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Giuseppe Bertoleoni Yusof bin Ishak Jérôme Bonaparte Vít Jedlička Ugo Mifsud Bonnici Ranasinghe Premadasa Ahmad bin Yahya Umberto II of Italy Bhumibol Adulyadej Sergio Mattarella Enrico De Nicola Antonio Segni Mary Robinson Bronisław Komorowski Jam Nizamuddin II Pietro Grasso Rosen Plevneliev Willi Stoph Carlo II Bertoleoni Sauli Niinistö Urho Kekkonen Hosni Mubarak Vladimir Putin Carl Gustaf Emil Mannerheim Khieu Samphan Emil Constantinescu Václav Havel Arnulf of Carinthia Zail Singh Paddy Roy Bates Jakaya Kikwete Stefan Dragutin Maria I of Portugal Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Jam Feruzudin Nicos Anastasiades Friedrich Ebert Karl Dönitz Archduke John of Austria King Louis I of Talossa Barack Obama George VI George Abela Bashar al-Assad Louis the Child Giovanni Spadolini Philip III of Spain Abu Bakr K. R. Narayanan Ivan Gašparovič Mohamed Morsi Cesare Merzagora Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Alī ibn Abī Ṭālib Alcide De Gasperi Yahya Muhammad Hamid ed-Din Mikhail Gorbachev Peter II of Yugoslavia Eric Bloodaxe Neelam Sanjiva Reddy Emil Hácha Gojong of the Korean Empire Oswiu of Northumbria Éamon de Valera Adly Mansour Norodom Sihanouk Michael Jeffery Yuan Shikai William Gopallawa Lord Mountbatten Sabine Bergmann-Pohl Jam Unar Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Conrad I of Germany Wee Kim Wee Petar Stoyanov Tonino Bertoleoni Seán T. O'Kelly Antonín Novotný Louis the German Reuven Rivlin S. R. Nathan Amintore Fanfani Antonín Zápotocký Stephen Vladislav II of Syrmia Niels Vermeersch Joseph Bonaparte Henry I the Fowler John Charlton Rudge Ludvík Svoboda Abdullah II of Jordan Paul von Hindenburg Sarvepalli Radhakrishnan Shankar Dayal Sharma Boris III of Bulgaria Moncef Marzouki Uthman ibn Affan Otto I the Great Sunjong of the Korean Empire Michael Bates Klement Gottwald Bujar Nishani Adolf Hitler Francis I of Austria Georgi Parvanov Mamnoon Hussain Wilhelm I of Germany Charles the Fat Quentin Bryce Mariangela Bertoleoni Carlo Azeglio Ciampi Mahinda Rajapaksa Mary McAleese Wilhelm Pieck Walter Ulbricht Paolo II Bertoleoni
146
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type state
value 3
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?z WHERE { { ?r property:head_of_state ?z . ?z rdf:type ontology:common_name . ?r rdf:type ontology:state } UNION { ?r property:head_of_state ?z . ?r rdf:type ontology:executive_branch . ?z rdf:type ontology:common_name } } GROUP BY ?z } . FILTER ( ?b = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q509630
P1412
Q34770
USER
Which language is Ricardo Villarraga capable of writing ?
(Q509630,P1412,c(Q34770))
action filter_type
action find
entity Q509630
relation P1412
type Q34770
['Q509630', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q509630 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Ricardo Villarraga
action filter_type
action find
entity Ricardo Villarraga
relation languages spoken, written or signed
type language
['Ricardo Villarraga', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Ricardo_Villarraga property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q509630,P1412,c(Q34770))
action filter_type
action find
entity Q509630
relation P1412
type Q34770
[ANSWER] is Ricardo Villarraga capable of writing
['Q509630', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q509630 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Spanish
Spanish is Ricardo Villarraga capable of writing
Spanish
action filter_type
action find
entity Ricardo Villarraga
relation languages spoken, written or signed
type language
['Ricardo Villarraga', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Ricardo_Villarraga property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q509630
P641
Q349
USER
Which sport was Ricardo Villarraga a part of ?
(Q509630,P641,c(Q349))
action filter_type
action find
entity Q509630
relation P641
type Q349
['Q509630', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q509630 property:P641 ?x }
Ricardo Villarraga
action filter_type
action find
entity Ricardo Villarraga
relation sport
type sport
['Ricardo Villarraga', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Ricardo_Villarraga property:sport ?x }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q509630,P641,c(Q349))
action filter_type
action find
entity Q509630
relation P641
type Q349
Which sport was Ricardo Villarraga a part of
['Q509630', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q509630 property:P641 ?x }
association football
Which sport was Ricardo Villarraga a part of
association football
action filter_type
action find
entity Ricardo Villarraga
relation sport
type sport
['Ricardo Villarraga', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Ricardo_Villarraga property:sport ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18660594
Q349
USER
And what about Sam Lofquist?
(Q18660594,P641,c(Q349))
action filter_type
action find
entity Q18660594
relation P641
type Q349
['Q18660594', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q349 . resource:Q18660594 property:P641 ?a }
Sam Lofquist
action filter_type
action find
entity Sam Lofquist
relation sport
type sport
['Sam Lofquist', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sport . resource:Sam_Lofquist property:sport ?a }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q18660594,P641,c(Q349))
action filter_type
action find
entity Q18660594
relation P641
type Q349
[ANSWER]
['Q18660594', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q349 . resource:Q18660594 property:P641 ?a }
ice hockey
ice hockey
action filter_type
action find
entity Sam Lofquist
relation sport
type sport
['Sam Lofquist', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sport . resource:Sam_Lofquist property:sport ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18660594
P54
Q12973014
USER
What is that person a member of ?
(Q41466,P54,c(Q12973014))
action filter_type
action find
entity Q18660594
relation P54
type Q12973014
['Q41466', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q18660594 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
Sam Lofquist
action filter_type
action find
entity Sam Lofquist
relation member of sports team
type sports team
['ice hockey', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Sam_Lofquist property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
sports team
Q1753439
SYSTEM
SaiPa
Q1753439
(Q41466,P54,c(Q12973014))
action filter_type
action find
entity Q18660594
relation P54
type Q12973014
That person a member of is the [ANSWER]
['Q41466', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q18660594 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
SaiPa
That person a member of is the SaiPa
SaiPa
action filter_type
action find
entity Sam Lofquist
relation member of sports team
type sports team
['ice hockey', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Sam_Lofquist property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18660594
P106
Q12737077
USER
What does Sam Lofquist do for a living ?
(Q18660594,P106,c(Q12737077))
action filter_type
action find
entity Q18660594
relation P106
type Q12737077
['Q18660594', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q18660594 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Sam Lofquist
action filter_type
action find
entity Sam Lofquist
relation occupation
type occupation
['Sam Lofquist', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Sam_Lofquist property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q18660594,P106,c(Q12737077))
action filter_type
action find
entity Q18660594
relation P106
type Q12737077
Sam Lofquist does for a living as [ANSWER]
['Q18660594', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q18660594 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
ice hockey player
Sam Lofquist does for a living as ice hockey player
ice hockey player
action filter_type
action find
entity Sam Lofquist
relation occupation
type occupation
['Sam Lofquist', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Sam_Lofquist property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1753439
P466
Q41176
USER
What was inhabited by SaiPa ?
(c(Q41176),P466,Q1753439)
action filter_type
action find_reverse
entity Q1753439
relation P466
type Q41176
[{'concept': 'Q41176'}, 'P466', 'Q1753439']
SELECT DISTINCT ?i WHERE { ?i property:P466 resource:Q1753439 . ?i rdf:type ontology:Q41176 }
SaiPa
action filter_type
action find_reverse
entity SaiPa
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'SaiPa']
SELECT DISTINCT ?i WHERE { ?i property:occupant resource:SaiPa . ?i rdf:type ontology:building }
[]
building
Q476400
SYSTEM
Kisapuisto
Q476400
(c(Q41176),P466,Q1753439)
action filter_type
action find_reverse
entity Q1753439
relation P466
type Q41176
[ANSWER] was inhabited by SaiPa
[{'concept': 'Q41176'}, 'P466', 'Q1753439']
SELECT DISTINCT ?i WHERE { ?i property:P466 resource:Q1753439 . ?i rdf:type ontology:Q41176 }
Kisapuisto
Kisapuisto was inhabited by SaiPa
Kisapuisto
action filter_type
action find_reverse
entity SaiPa
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'SaiPa']
SELECT DISTINCT ?i WHERE { ?i property:occupant resource:SaiPa . ?i rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q476400
P115
Q12973014
USER
Which sports team has that building as its ground ?
(c(Q12973014),P115,Q476400)
action filter_type
action find_reverse
entity Q476400
relation P115
type Q12973014
[{'concept': 'Q12973014'}, 'P115', 'Q476400']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12973014 . ?n property:P115 resource:Q476400 }
Kisapuisto
action filter_type
action find_reverse
entity Kisapuisto
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'Kisapuisto']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sports_team . ?n property:home_venue resource:Kisapuisto }
[]
sports team
Q1753439
SYSTEM
SaiPa
Q1753439
(c(Q12973014),P115,Q476400)
action filter_type
action find_reverse
entity Q476400
relation P115
type Q12973014
[ANSWER] has that building as its ground
[{'concept': 'Q12973014'}, 'P115', 'Q476400']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12973014 . ?n property:P115 resource:Q476400 }
SaiPa
SaiPa has that building as its ground
SaiPa
action filter_type
action find_reverse
entity Kisapuisto
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'Kisapuisto']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sports_team . ?n property:home_venue resource:Kisapuisto }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P115
Q811979 Q1076486 Q12973014
USER
How many sports teams have greater number of architectural structures and sports venues as their arena than that sports team ?
(c(Q12973014),P115,c(Q811979)|c(Q1076486))
action count
action greater
action union
action find_tuple_counts
relation P115
type Q12973014
type Q811979
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
action count
action filter_multi_types
action find
entity Q1753439
relation P115
type Q811979
type Q1076486
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { VALUES ( ?l ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?r rdf:type ?l } GROUP BY ?c } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q1753439 property:P115 ?m . { VALUES ( ?a ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?m rdf:type ?a } } } }
action count
action greater
action union
action find_tuple_counts
relation home venue
type sports team
type architectural structure
action find_tuple_counts
relation home venue
type sports team
type sports venue
action count
action filter_multi_types
action find
entity SaiPa
relation home venue
type architectural structure
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { VALUES ( ?l ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?r rdf:type ?l } GROUP BY ?c } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:SaiPa property:home_venue ?m . { VALUES ( ?a ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?m rdf:type ?a } } } }
[]
architectural structure sports venue sports team
SYSTEM
26
Q166105 Q247577 Q1328038 Q796358 Q193643 Q604879 Q1375077 Q129164 Q461595 Q484151 Q974277 Q1148233 Q325819 Q1194023 Q194116 Q161345 Q3259700 Q1069384 Q653772 Q205973 Q209961 Q650816 Q5461416 Q538747 Q2825666 Q1727656
(c(Q12973014),P115,c(Q811979)|c(Q1076486))
action count
action greater
action union
action find_tuple_counts
relation P115
type Q12973014
type Q811979
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
action count
action filter_multi_types
action find
entity Q1753439
relation P115
type Q811979
type Q1076486
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { VALUES ( ?l ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?r rdf:type ?l } GROUP BY ?c } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q1753439 property:P115 ?m . { VALUES ( ?a ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?m rdf:type ?a } } } }
Sacramento Kings Hiroshima Toyo Carp Orix Buffaloes Chicago Sky Pittsburgh Penguins Minnesota Twins Tohoku Rakuten Golden Eagles Fukuoka SoftBank Hawks Atlanta Braves Chiba Lotte Marines Hokkaido Nippon-Ham Fighters Montreal Expos Saitama Seibu Lions Yokohama DeNA BayStars Detroit Red Wings Houston Rockets Los Angeles Angels Osaka Kintetsu Buffaloes Pittsburgh Pirates Edmonton Oilers Chunichi Dragons Baltimore Orioles Florida Gators track and field Scarlets Akron RubberDucks New York Golden Blades
26
action count
action greater
action union
action find_tuple_counts
relation home venue
type sports team
type architectural structure
action find_tuple_counts
relation home venue
type sports team
type sports venue
action count
action filter_multi_types
action find
entity SaiPa
relation home venue
type architectural structure
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { VALUES ( ?l ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?r rdf:type ?l } GROUP BY ?c } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:SaiPa property:home_venue ?m . { VALUES ( ?a ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?m rdf:type ?a } } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q18608583 Q500834
USER
Which sports did atleast 635 recurring sporting events and tournaments participate in ?
(c(Q18608583)|c(Q500834),P641,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
value 635
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { { ?p property:P641 ?l . ?l rdf:type ontology:Q349 . ?p rdf:type ontology:Q18608583 } UNION { ?p property:P641 ?l . ?l rdf:type ontology:Q349 . ?p rdf:type ontology:Q500834 } } GROUP BY ?l } . FILTER ( ?a >= 635 ) }
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
value 635
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { { ?p property:sport ?l . ?l rdf:type ontology:sport . ?p rdf:type ontology:recurring_sporting_event } UNION { ?p property:sport ?l . ?l rdf:type ontology:sport . ?p rdf:type ontology:tournament } } GROUP BY ?l } . FILTER ( ?a >= 635 ) }
[]
sport recurring sporting event tournament
Q847 Q7291
SYSTEM
tennis, badminton
Q847 Q7291
(c(Q18608583)|c(Q500834),P641,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
value 635
[ANSWERS] atleast 635 recurred sporting events and tournaments participate in
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { { ?p property:P641 ?l . ?l rdf:type ontology:Q349 . ?p rdf:type ontology:Q18608583 } UNION { ?p property:P641 ?l . ?l rdf:type ontology:Q349 . ?p rdf:type ontology:Q500834 } } GROUP BY ?l } . FILTER ( ?a >= 635 ) }
tennis badminton
Tennis and badminton atleast 635 recurred sporting events and tournaments participate in
tennis badminton
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
value 635
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { { ?p property:sport ?l . ?l rdf:type ontology:sport . ?p rdf:type ontology:recurring_sporting_event } UNION { ?p property:sport ?l . ?l rdf:type ontology:sport . ?p rdf:type ontology:tournament } } GROUP BY ?l } . FILTER ( ?a >= 635 ) }
[]