Simple Question (Direct)
Simple Question
Q5524589
P106
Q151885
USER
Which concept has Gary Alexander as his/her 's career ?
(Q5524589,P106,c(Q151885))
action filter_type
action find
entity Q5524589
relation P106
type Q151885
['Q5524589', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?t WHERE { resource:Q5524589 property:P106 ?t . ?t rdf:type ontology:Q151885 }
Gary Alexander
action filter_type
action find
entity Gary Alexander
relation occupation
type concept
['Gary Alexander', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?t WHERE { resource:Gary_Alexander property:occupation ?t . ?t rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q5524589,P106,c(Q151885))
action filter_type
action find
entity Q5524589
relation P106
type Q151885
Player [ANSWER] has Gary Alexander as his/her 's career
['Q5524589', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?t WHERE { resource:Q5524589 property:P106 ?t . ?t rdf:type ontology:Q151885 }
baseball player
Player baseball player has Gary Alexander as his/her 's career
baseball player
action filter_type
action find
entity Gary Alexander
relation occupation
type concept
['Gary Alexander', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?t WHERE { resource:Gary_Alexander property:occupation ?t . ?t rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5524589
P54
Q12973014
USER
Which sports teams are Gary Alexander a member of ?
(Q5524589,P54,c(Q12973014))
action filter_type
action find
entity Q5524589
relation P54
type Q12973014
['Q5524589', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?o WHERE { resource:Q5524589 property:P54 ?o . ?o rdf:type ontology:Q12973014 }
Gary Alexander
action filter_type
action find
entity Gary Alexander
relation member of sports team
type sports team
['Gary Alexander', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?o WHERE { resource:Gary_Alexander property:member_of_sports_team ?o . ?o rdf:type ontology:sports_team }
[]
sports team
Q653772 Q308966 Q642553
SYSTEM
Pittsburgh Pirates, San Francisco Giants, Cleveland Indians
Q653772 Q504339 Q308966 Q642553
(Q5524589,P54,c(Q12973014))
action filter_type
action find
entity Q5524589
relation P54
type Q12973014
The [ANSWERS] are Gary Alexander a member of
['Q5524589', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?o WHERE { resource:Q5524589 property:P54 ?o . ?o rdf:type ontology:Q12973014 }
Pittsburgh Pirates Oakland Athletics San Francisco Giants Cleveland Indians
The Pittsburgh Pirates, San Francisco Giants and Cleveland Indians are Gary Alexander a member of
Pittsburgh Pirates San Francisco Giants Cleveland Indians
action filter_type
action find
entity Gary Alexander
relation member of sports team
type sports team
['Gary Alexander', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?o WHERE { resource:Gary_Alexander property:member_of_sports_team ?o . ?o rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q653772
P647
Q502895
USER
Who was that sports team drafted by ?
(c(Q502895),P647,Q653772)
action filter_type
action find_reverse
entity Q653772
relation P647
type Q502895
[{'concept': 'Q502895'}, 'P647', 'Q653772']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P647 resource:Q653772 }
Pittsburgh Pirates
action filter_type
action find_reverse
entity Pittsburgh Pirates
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Pittsburgh Pirates']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:drafted_by resource:Pittsburgh_Pirates }
[]
common name
Clarification for simple ques.
Q642553
SYSTEM
Did you mean Cleveland Indians ?
Q653772 Q308966 Q642553
(c(Q502895),P647,Q653772) (c(Q502895),P647,Q308966) (c(Q502895),P647,Q642553)
[ANSWER]
[{'concept': 'Q502895'}, 'P647', 'Q653772'] [{'concept': 'Q502895'}, 'P647', 'Q308966'] [{'concept': 'Q502895'}, 'P647', 'Q642553']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P647 resource:Q653772 }
Pittsburgh Pirates San Francisco Giants Cleveland Indians
Did you mean Cleveland Indians ?
Cleveland Indians
[{'concept': 'common name'}, 'drafted by', 'Pittsburgh Pirates'] [{'concept': 'common name'}, 'drafted by', 'San Francisco Giants'] [{'concept': 'common name'}, 'drafted by', 'Cleveland Indians']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:drafted_by resource:Pittsburgh_Pirates }
[]
Simple Question (Coreferenced)
USER
No, I meant Pittsburgh Pirates. Could you tell me the answer for that?
(c(Q502895),P647,Q653772)
Q653772
[{'concept': 'Q502895'}, 'P647', 'Q653772']
[{'concept': 'common name'}, 'drafted by', 'Pittsburgh Pirates']
[]
Q2964905
SYSTEM
Chris Young
Q2964905
(c(Q502895),P647,Q653772)
action filter_type
action find_reverse
entity Q653772
relation P647
type Q502895
That sports team was drafted by the [ANSWER]
[{'concept': 'Q502895'}, 'P647', 'Q653772']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P647 resource:Q653772 }
Chris Young
That sports team was drafted by the Chris Young
Chris Young
action filter_type
action find_reverse
entity Pittsburgh Pirates
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Pittsburgh Pirates']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:drafted_by resource:Pittsburgh_Pirates }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2964905 Q2755547 Q7589580
P641
Q349
USER
Is that person known to play individual sport and St. Louis Cardinals Hall of Fame Museum ?
(Q2964905,P641,Q2755547) (Q2964905,P641,Q7589580)
action is_in
entity Q2964905
action intersection
action find_reverse
entity Q2755547
relation P641
action find_reverse
entity Q7589580
relation P641
['Q2964905', 'P641', 'Q2755547'] ['Q2964905', 'P641', 'Q7589580']
ASK WHERE { resource:Q2964905 property:P641 resource:Q7589580 . resource:Q2964905 property:P641 resource:Q2755547 }
Chris Young individual sport St. Louis Cardinals Hall of Fame Museum
action is_in
entity Chris Young
action intersection
action find_reverse
entity individual sport
relation sport
action find_reverse
entity St. Louis Cardinals Hall of Fame Museum
relation sport
['Chris Young', 'sport', 'individual sport'] ['Chris Young', 'sport', 'St. Louis Cardinals Hall of Fame Museum']
ASK WHERE { resource:Chris_Young property:sport resource:St._Louis_Cardinals_Hall_of_Fame_Museum . resource:Chris_Young property:sport resource:individual_sport }
[]
sport
SYSTEM
NO
(Q2964905,P641,Q2755547) (Q2964905,P641,Q7589580)
action is_in
entity Q2964905
action intersection
action find_reverse
entity Q2755547
relation P641
action find_reverse
entity Q7589580
relation P641
[ANSWER]
['Q2964905', 'P641', 'Q2755547'] ['Q2964905', 'P641', 'Q7589580']
ASK WHERE { resource:Q2964905 property:P641 resource:Q7589580 . resource:Q2964905 property:P641 resource:Q2755547 }
No
action is_in
entity Chris Young
action intersection
action find_reverse
entity individual sport
relation sport
action find_reverse
entity St. Louis Cardinals Hall of Fame Museum
relation sport
['Chris Young', 'sport', 'individual sport'] ['Chris Young', 'sport', 'St. Louis Cardinals Hall of Fame Museum']
ASK WHERE { resource:Chris_Young property:sport resource:St._Louis_Cardinals_Hall_of_Fame_Museum . resource:Chris_Young property:sport resource:individual_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2964905
P69
Q163740
USER
Which nonprofit organization was that person educated at ?
action filter_type
action find
entity Q2964905
relation P69
type Q163740
SELECT DISTINCT ?q WHERE { resource:Q2964905 property:P69 ?q . ?q rdf:type ontology:Q163740 }
Chris Young
action filter_type
action find
entity Chris Young
relation educated at
type nonprofit organization
SELECT DISTINCT ?q WHERE { resource:Chris_Young property:educated_at ?q . ?q rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q21578
SYSTEM
Princeton University
Q21578
action filter_type
action find
entity Q2964905
relation P69
type Q163740
That person was educated at [ANSWER]
SELECT DISTINCT ?q WHERE { resource:Q2964905 property:P69 ?q . ?q rdf:type ontology:Q163740 }
Princeton University
That person was educated at Princeton University
Princeton University
action filter_type
action find
entity Chris Young
relation educated at
type nonprofit organization
SELECT DISTINCT ?q WHERE { resource:Chris_Young property:educated_at ?q . ?q rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q6247172 Q2964905
P69
Q163740
USER
And also John Matteson
AND((Q2964905,P69,c(Q163740)), (Q6247172,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q2964905
relation P69
action find
entity Q6247172
relation P69
type Q163740
{'AND': [['Q2964905', 'P69', {'concept': 'Q163740'}], ['Q6247172', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q163740 . resource:Q2964905 property:P69 ?v . resource:Q6247172 property:P69 ?v }
John Matteson Chris Young
action filter_type
action intersection
action find
entity Chris Young
relation educated at
action find
entity John Matteson
relation educated at
type nonprofit organization
{'AND': [['Chris Young', 'educated at', {'concept': 'nonprofit organization'}], ['John Matteson', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:nonprofit_organization . resource:Chris_Young property:educated_at ?v . resource:John_Matteson property:educated_at ?v }
[]
nonprofit organization
Q21578
SYSTEM
Princeton University
Q21578
AND((Q2964905,P69,c(Q163740)), (Q6247172,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q2964905
relation P69
action find
entity Q6247172
relation P69
type Q163740
[ANSWER]
{'AND': [['Q2964905', 'P69', {'concept': 'Q163740'}], ['Q6247172', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q163740 . resource:Q2964905 property:P69 ?v . resource:Q6247172 property:P69 ?v }
Princeton University
Princeton University
action filter_type
action intersection
action find
entity Chris Young
relation educated at
action find
entity John Matteson
relation educated at
type nonprofit organization
{'AND': [['Chris Young', 'educated at', {'concept': 'nonprofit organization'}], ['John Matteson', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:nonprofit_organization . resource:Chris_Young property:educated_at ?v . resource:John_Matteson property:educated_at ?v }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q22978783
P1923
Q12973014 Q18608583 Q15991303
USER
Which sports teams took part in around the same number of recurring sporting events or association football leagues as G-Drive Racing #26 ?
(c(Q18608583)|c(Q15991303),P1923,c(Q12973014))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action count
action filter_multi_types
action find_reverse
entity Q22978783
relation P1923
type Q18608583
type Q15991303
[[{'concept': 'Q18608583'}, {'concept': 'Q15991303'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?w WHERE { { ?t property:P1923 ?w . ?t rdf:type ontology:Q15991303 . ?w rdf:type ontology:Q12973014 } UNION { ?t property:P1923 ?w . ?w rdf:type ontology:Q12973014 . ?t rdf:type ontology:Q18608583 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P1923 resource:Q22978783 . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:Q18608583 ) ( ontology:Q15991303 ) } } } } . FILTER ( ?q = ?d ) }
G-Drive Racing #26
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
action count
action filter_multi_types
action find_reverse
entity G-Drive Racing #26
relation participating teams
type recurring sporting event
type association football league
[[{'concept': 'recurring sporting event'}, {'concept': 'association football league'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?w WHERE { { ?t property:participating_teams ?w . ?t rdf:type ontology:association_football_league . ?w rdf:type ontology:sports_team } UNION { ?t property:participating_teams ?w . ?w rdf:type ontology:sports_team . ?t rdf:type ontology:recurring_sporting_event } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:participating_teams resource:G-Drive_Racing_#26 . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:recurring_sporting_event ) ( ontology:association_football_league ) } } } } . FILTER ( ?q = ?d ) }
[]
sports team recurring sporting event association football league
Q12872831 Q27146516 Q27146539
SYSTEM
AEZ Zakakiou, Slovakia national badminton team, Czechoslovakia national badminton team
Q23674523 Q3421766 Q1981530 Q23887716 Q27147065 Q27147067 Q27660052 Q27146793 Q27159856 Q22956606 Q23674434 Q12872831 Q20725930 Q3500017 Q661160 Q461595 Q22132404 Q604617 Q22939728 Q27146762 Q27147077 Q21520147 Q22955635 Q27146511 Q747368 Q213417 Q17483961 Q812812 Q799663 Q27146479 Q27146478 Q27146475 Q27146772 Q27147044 Q27147041 Q27147111 Q22956043 Q750016 Q645934 Q3217856 Q670376 Q27147052 Q27147054 Q27146294 Q27147108 Q1772900 Q27159842 Q27147107 Q23887469 Q15809074 Q1988831 Q22939172 Q23953473 Q27147026 Q27147020 Q23664286 Q653772 Q23887753 Q22958235 Q23979109 Q23681177 Q27146516 Q721134 Q27147134 Q23663718 Q27147131 Q27147139 Q1723502 Q5461394 Q2072673 Q27146525 Q334634 Q27147126 Q27146519 Q22117386 Q27146529 Q335169 Q650855 Q23664320 Q27146543 Q22978787 Q16331496 Q22978783 Q15742001 Q27146539 Q22940028 Q27146301 Q27146500 Q27147245 Q27146531 Q23900171 Q815514 Q27146788 Q19831195 Q2473436 Q19336080 Q27146307 Q22950181 Q27146494 Q899152 Q27146490 Q19599054 Q27146783 Q21772601 Q27146317 Q27147016 Q652879 Q16883477 Q27147099 Q27147140 Q15733441 Q27146782 Q15623981 Q27146786 Q27147093
(c(Q18608583)|c(Q15991303),P1923,c(Q12973014))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action count
action filter_multi_types
action find_reverse
entity Q22978783
relation P1923
type Q18608583
type Q15991303
[ANSWERS] took part in around the same number of recurring sporting events or association football leagues as G-Drive Racing #26
[[{'concept': 'Q18608583'}, {'concept': 'Q15991303'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?w WHERE { { ?t property:P1923 ?w . ?t rdf:type ontology:Q15991303 . ?w rdf:type ontology:Q12973014 } UNION { ?t property:P1923 ?w . ?w rdf:type ontology:Q12973014 . ?t rdf:type ontology:Q18608583 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P1923 resource:Q22978783 . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:Q18608583 ) ( ontology:Q15991303 ) } } } } . FILTER ( ?q = ?d ) }
Cheng-Tung-Panciatici Rebellion Racing New Zealand national badminton team Gulf Racing Suriname national badminton team Trinidad and Tobago national badminton team Northern Ireland national badminton team Sri Lanka national badminton team Jersey badminton team Lotterer-Tréluyer-Fässler ByKolles AEZ Zakakiou G-Drive Racing Strakka Racing Netherlands men's national field hockey team Atlanta Braves Manor Racing Spain men's national field hockey team Bernhard-Webber-Hartley Brunei national badminton team Botswana national badminton team AMEK Kapsalou di Grassi-Duval-Jarvis Romania national badminton team Germany men's national field hockey team New York Yankees Singapore national badminton team Be Pink GDR national badminton team Greenland national badminton team Greece national badminton team Gibraltar national badminton team Kazakhstan national badminton team Guatemala national badminton team Falkland Islands national badminton team Seychelles national badminton team Toyota Gazoo Racing Aston Martin Racing Argentina men's national field hockey team Larbre Compétition Arizona Diamondbacks Jamaica national badminton team Mexico national badminton team Armenia national badminton team Morocco national badminton team Nigeria national badminton team Guernsey badminton team Mauritius national badminton team RGR Sport by Morand Extreme Speed Motorsports AF Corse Porsche Team EAS Ayios Dhometios Chile national badminton team Barbados national badminton team Ford Chip Ganassi Team UK Pittsburgh Pirates Abu Dhabi-Proton Racing Conway-Sarrazin-Wurz Atlas Aglandjias Signatech #36 Slovakia national badminton team San Diego Padres Fiji national badminton team Audi Sport Team Joest Zimbabwe national badminton team Norfolk Island national badminton team Canada national badminton team Florida Gators football Peru national badminton team Turkey national badminton team Los Angeles Dodgers Uganda national badminton team Slovenia national badminton team UniSA-Australia 2016 Vietnam national badminton team Chicago White Sox Detroit Tigers Dempsey-Proton Racing Yugoslavia national badminton team G-Drive Racing #28 Elpida Astromeriti G-Drive Racing #26 North Korea national badminton team Czechoslovakia national badminton team Dumas-Jani-Lieb Belarus national badminton team Malta national badminton team Isle of Man national badminton team USSR national badminton team Parnassos Strovolou Belgium men's national field hockey team Pakistan national badminton team Roompot Oranje Peloton 2015 Fortec Motorsport RusVelo 2015 Croatia national badminton team Davidson-Buemi-Nakajima Lithuania national badminton team Brazil national badminton team Latvia national badminton team KC Motorgroup Mongolia national badminton team Thiella Dromolaxia Faroe Islands national badminton team Argentina national badminton team Miami Marlins SMP Racing Kenya national badminton team Samoa national badminton team Philippines national badminton team Maldives national badminton team South Africa national badminton team Nepal national badminton team Ghana national badminton team
AEZ Zakakiou, Slovakia national badminton team and Czechoslovakia national badminton team took part in around the same number of recurring sporting events or association football leagues as G-Drive Racing #26
AEZ Zakakiou Slovakia national badminton team Czechoslovakia national badminton team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
action count
action filter_multi_types
action find_reverse
entity G-Drive Racing #26
relation participating teams
type recurring sporting event
type association football league
[[{'concept': 'recurring sporting event'}, {'concept': 'association football league'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?w WHERE { { ?t property:participating_teams ?w . ?t rdf:type ontology:association_football_league . ?w rdf:type ontology:sports_team } UNION { ?t property:participating_teams ?w . ?w rdf:type ontology:sports_team . ?t rdf:type ontology:recurring_sporting_event } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:participating_teams resource:G-Drive_Racing_#26 . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:recurring_sporting_event ) ( ontology:association_football_league ) } } } } . FILTER ( ?q = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15786
P1923
Q12973014 Q18608583 Q15991303
USER
And how about 1. FC Nürnberg?
(c(Q18608583)|c(Q15991303),P1923,c(Q12973014))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action count
action filter_multi_types
action find_reverse
entity Q15786
relation P1923
type Q18608583
type Q15991303
[[{'concept': 'Q18608583'}, {'concept': 'Q15991303'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?h WHERE { VALUES ( ?x ) { ( ontology:Q18608583 ) ( ontology:Q15991303 ) } . ?t rdf:type ?x } GROUP BY ?h } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P1923 resource:Q15786 . { { ?b rdf:type ontology:Q18608583 } UNION { ?b rdf:type ontology:Q15991303 } } } } }
1. FC Nürnberg
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
action count
action filter_multi_types
action find_reverse
entity 1. FC Nürnberg
relation participating teams
type recurring sporting event
type association football league
[[{'concept': 'recurring sporting event'}, {'concept': 'association football league'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?h WHERE { VALUES ( ?x ) { ( ontology:recurring_sporting_event ) ( ontology:association_football_league ) } . ?t rdf:type ?x } GROUP BY ?h } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:participating_teams resource:1._FC_Nürnberg . { { ?b rdf:type ontology:recurring_sporting_event } UNION { ?b rdf:type ontology:association_football_league } } } } }
[]
sports team recurring sporting event association football league
Q27146296 Q834461 Q27146526
SYSTEM
Austria national badminton team, Germany national badminton team, Wales national badminton team
Q27146483 Q27146485 Q27146486 Q2254900 Q26722120 Q27146296 Q834461 Q1342530 Q26722119 Q2177038 Q27146507 Q27146508 Q957525 Q27146320 Q18171104 Q27146510 Q154053 Q15786 Q27146526 Q27146520 Q19826622 Q27146313 Q1270077
(c(Q18608583)|c(Q15991303),P1923,c(Q12973014))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action count
action filter_multi_types
action find_reverse
entity Q15786
relation P1923
type Q18608583
type Q15991303
[ANSWERS]
[[{'concept': 'Q18608583'}, {'concept': 'Q15991303'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?h WHERE { VALUES ( ?x ) { ( ontology:Q18608583 ) ( ontology:Q15991303 ) } . ?t rdf:type ?x } GROUP BY ?h } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P1923 resource:Q15786 . { { ?b rdf:type ontology:Q18608583 } UNION { ?b rdf:type ontology:Q15991303 } } } } }
Iceland national badminton team Israel national badminton team Italy national badminton team 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 Eintracht Braunschweig 1. FC Nürnberg Wales national badminton team Spain national badminton team Ukraine national badminton team Czech national badminton team Denmark national badminton team
Austria national badminton team Germany national badminton team Wales national badminton team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
action count
action filter_multi_types
action find_reverse
entity 1. FC Nürnberg
relation participating teams
type recurring sporting event
type association football league
[[{'concept': 'recurring sporting event'}, {'concept': 'association football league'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?h WHERE { VALUES ( ?x ) { ( ontology:recurring_sporting_event ) ( ontology:association_football_league ) } . ?t rdf:type ?x } GROUP BY ?h } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:participating_teams resource:1._FC_Nürnberg . { { ?b rdf:type ontology:recurring_sporting_event } UNION { ?b rdf:type ontology:association_football_league } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q10871364 Q11752620
P641
Q31629
USER
How many types of sport were baseball player or Lahden Hiihtoseura a part of ?
(Q10871364,P641,c(Q31629)) (Q11752620,P641,c(Q31629))
action count
action union
action filter_type
action find
entity Q10871364
relation P641
type Q31629
action filter_type
action find
entity Q11752620
relation P641
type Q31629
['Q10871364', 'P641', {'concept': 'Q31629'}] ['Q11752620', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { resource:Q10871364 property:P641 ?m . ?m rdf:type ontology:Q31629 } UNION { resource:Q11752620 property:P641 ?m . ?m rdf:type ontology:Q31629 } }
baseball player Lahden Hiihtoseura
action count
action union
action filter_type
action find
entity baseball player
relation sport
type type of sport
action filter_type
action find
entity Lahden Hiihtoseura
relation sport
type type of sport
['baseball player', 'sport', {'concept': 'type of sport'}] ['Lahden Hiihtoseura', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { resource:baseball_player property:sport ?m . ?m rdf:type ontology:type_of_sport } UNION { resource:Lahden_Hiihtoseura property:sport ?m . ?m rdf:type ontology:type_of_sport } }
[]
type of sport
SYSTEM
4
Q179687 Q166788 Q189472 Q178131
(Q10871364,P641,c(Q31629)) (Q11752620,P641,c(Q31629))
action count
action union
action filter_type
action find
entity Q10871364
relation P641
type Q31629
action filter_type
action find
entity Q11752620
relation P641
type Q31629
[ANSWER]
['Q10871364', 'P641', {'concept': 'Q31629'}] ['Q11752620', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { resource:Q10871364 property:P641 ?m . ?m rdf:type ontology:Q31629 } UNION { resource:Q11752620 property:P641 ?m . ?m rdf:type ontology:Q31629 } }
cross-country skiing biathlon freestyle skiing snowboarding
4
action count
action union
action filter_type
action find
entity baseball player
relation sport
type type of sport
action filter_type
action find
entity Lahden Hiihtoseura
relation sport
type type of sport
['baseball player', 'sport', {'concept': 'type of sport'}] ['Lahden Hiihtoseura', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { resource:baseball_player property:sport ?m . ?m rdf:type ontology:type_of_sport } UNION { resource:Lahden_Hiihtoseura property:sport ?m . ?m rdf:type ontology:type_of_sport } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q658131 Q12872831
P1344
Q13406554
USER
Which sport competitions did AEZ Zakakiou or Alki Larnaca F.C. compete in ?
OR((Q12872831,P1344,c(Q13406554)), (Q658131,P1344,c(Q13406554)))
action filter_type
action union
action find
entity Q12872831
relation P1344
action find
entity Q658131
relation P1344
type Q13406554
{'OR': [['Q12872831', 'P1344', {'concept': 'Q13406554'}], ['Q658131', 'P1344', {'concept': 'Q13406554'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q12872831 property:P1344 ?c } UNION { resource:Q658131 property:P1344 ?c } } . ?c rdf:type ontology:Q13406554 }
Alki Larnaca F.C. AEZ Zakakiou
action filter_type
action union
action find
entity AEZ Zakakiou
relation participant of
action find
entity Alki Larnaca F.C.
relation participant of
type sport competition
{'OR': [['AEZ Zakakiou', 'participant of', {'concept': 'sport competition'}], ['Alki Larnaca F.C.', 'participant of', {'concept': 'sport competition'}]]}
SELECT DISTINCT ?c WHERE { { { resource:AEZ_Zakakiou property:participant_of ?c } UNION { resource:Alki_Larnaca_F.C. property:participant_of ?c } } . ?c rdf:type ontology:sport_competition }
[]
sport competition
Q28097 Q2697875 Q27870 Q549546 Q2697864 Q577945 Q17593535 Q12879873 Q17126799 Q28894
SYSTEM
Some of them are 1970-71 Cypriot Cup, 1989–90 Cypriot First Division, 1989–90 Cypriot Cup, 1977–78 Cypriot First Division, 1984–85 Cypriot First Division, 1976–77 Cypriot First Division, 1981–82 Cypriot Second Division, 2009–10 Cypriot Cup for lower divisions, 1994–95 Cypriot Second Division, 1962-63 Cypriot Cup
Q3953945 Q20645820 Q28916 Q2638370 Q2697864 Q2698214 Q16332090 Q2640431 Q28109 Q2635672 Q17142678 Q980671 Q3953936 Q28686 Q2736753 Q12874825 Q2698220 Q2698226 Q12879873 Q23756432 Q738504 Q26285285 Q2697412 Q28857 Q27866 Q17130578 Q2736728 Q2698239 Q16080980 Q24328195 Q17142659 Q27870 Q3953946 Q2697320 Q2635714 Q3953942 Q3953940 Q3953941 Q28680 Q19905070 Q28684 Q3561900 Q18204752 Q12155813 Q28829 Q1782589 Q28748 Q28826 Q2637917 Q26285066 Q26281752 Q2060397 Q3692897 Q12874817 Q1637070 Q28032 Q28033 Q3692891 Q16332099 Q2697885 Q12874819 Q2697882 Q28039 Q26266359 Q17442744 Q17437083 Q28133 Q577945 Q28811 Q2697902 Q3692889 Q17593535 Q26282762 Q28894 Q4623544 Q28024 Q17130598 Q2371372 Q28023 Q2635982 Q549546 Q28145 Q28945 Q28948 Q16332104 Q2698249 Q3692894 Q2697856 Q28645 Q28647 Q28035 Q28090 Q3692892 Q28760 Q28097 Q3953937 Q28011 Q28012 Q26285531 Q28015 Q3953931 Q28018 Q2635725 Q3953939 Q17126197 Q2697589 Q2705118 Q2636009 Q15094037 Q2697584 Q2705112 Q2698244 Q28670 Q963385 Q2736766 Q2736760 Q29252 Q28678 Q17433542 Q12874826 Q17128248 Q16081015 Q12874823 Q2698273 Q12874827 Q2805565 Q28009 Q26284730 Q28005 Q12874824 Q2635699 Q17126799 Q28743 Q28906 Q28275 Q2697875 Q28902 Q605592 Q28985 Q3692895 Q26278084 Q27921 Q13494021 Q28127 Q604313 Q26270250 Q738126
OR((Q12872831,P1344,c(Q13406554)), (Q658131,P1344,c(Q13406554)))
action filter_type
action union
action find
entity Q12872831
relation P1344
action find
entity Q658131
relation P1344
type Q13406554
AEZ Zakakiou or Alki Larnaca F.C. competed in [ANSWERS]
{'OR': [['Q12872831', 'P1344', {'concept': 'Q13406554'}], ['Q658131', 'P1344', {'concept': 'Q13406554'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q12872831 property:P1344 ?c } UNION { resource:Q658131 property:P1344 ?c } } . ?c rdf:type ontology:Q13406554 }
2005–06 Cypriot Second Division 2015–16 Cypriot Cup 1966-67 Cypriot Cup 1969–70 Cypriot First Division 1984–85 Cypriot First Division 2004–05 Cypriot First Division 1997–98 Cypriot Third Division 1968–69 Cypriot First Division 1969-70 Cypriot Cup 1962–63 Cypriot First Division 1990–91 Cypriot Third Division 1970–71 Cypriot First Division 1996–97 Cypriot Second Division 1988–89 Cypriot Cup 1973–74 Cypriot First Division 2005–06 Cypriot Third Division 1999–2000 Cypriot First Division 1995–96 Cypriot First Division 2009–10 Cypriot Cup for lower divisions 2016–17 Cypriot First Division 2007–08 Cypriot First Division 1957–58 Cypriot Second Division (Limassol-Larnaca-Paphos Group) 1987–88 Cypriot First Division 1998–99 Cypriot Cup 1991–92 Cypriot Cup 1992–93 Cypriot Second Division 1975–76 Cypriot First Division 2002–03 Cypriot First Division 2010–11 Cypriot Cup for lower divisions 2016–17 Cypriot Cup 1988–89 Cypriot Second Division 1989–90 Cypriot Cup 2006–07 Cypriot Second Division 1978–79 Cypriot First Division 1965–66 Cypriot First Division 2003–04 Cypriot Second Division 2000–01 Cypriot Second Division 2001–02 Cypriot Second Division 1987–88 Cypriot Cup 2015–16 Cypriot Second Division 2005–06 Cypriot Cup 1961-62 Cypriot Cup 2014–15 Cypriot Cup 2012–13 Cypriot Second Division 2010–11 Cypriot Cup 2011–12 Cypriot First Division 1995-96 Cypriot Cup 2009–10 Cypriot Cup 1971–72 Cypriot First Division 1956–57 Cypriot Second Division (Nicosia-Famagusta-Larnaca-Kyrenia Group) 2013–14 Cypriot Second Division (B2 Division) 2009–10 Cypriot Second Division 1985–86 Cypriot Cup 2004–05 Cypriot Third Division 2012–13 Cypriot First Division 1992–93 Cypriot Cup 2001-02 Cypriot Cup 1975-76 Cypriot Cup 2003–04 Cypriot Third Division 1990–91 Cypriot First Division 2006–07 Cypriot Third Division 1985–86 Cypriot First Division 1986–87 Cypriot Cup 1985–86 Cypriot Fourth Division (Limassol-Paphos Group) 2014–15 Cypriot Second Division 1988–89 Cypriot Third Division 1972-73 Cypriot Cup 1976–77 Cypriot First Division 2011–12 Cypriot Cup 1986–87 Cypriot First Division 1973-74 Cypriot Cup 1981–82 Cypriot Second Division 1954–55 Cypriot Second Division (Larnaca-Famagusta Group) 1962-63 Cypriot Cup 2011–12 Cypriot Third Division 1999–2000 Cypriot Cup 1992–93 Cypriot Third Division 1963–64 Cypriot First Division 1965-66 Cypriot Cup 1966–67 Cypriot First Division 1977–78 Cypriot First Division 1979-80 Cypriot Cup 1978-79 Cypriot Cup 1977-78 Cypriot Cup 2009–10 Cypriot Third Division 1998–99 Cypriot First Division 1983–84 Cypriot Cup 1991–92 Cypriot First Division 2008–09 Cypriot Cup 1994-95 Cypriot Cup 2003-04 Cypriot Cup 1974-75 Cypriot Cup 1976-77 Cypriot Cup 1958-59 Cypriot Cup 1970-71 Cypriot Cup 1998–99 Cypriot Second Division 1964-65 Cypriot Cup 1990–91 Cypriot Cup 1959–60 Cypriot Second Division (Limassol-Larnaca-Paphos Group) 2002-03 Cypriot Cup 1989–90 Cypriot Second Division 1997–98 Cypriot Cup 1964–65 Cypriot First Division 1999–2000 Cypriot Second Division 1995–96 Cypriot Second Division 1982–83 Cypriot First Division 1997–98 Cypriot First Division 1967–68 Cypriot First Division 2013–14 Cypriot Cup 1983–84 Cypriot First Division 2008–09 Cypriot First Division 1996–97 Cypriot First Division 1980–81 Cypriot Cup 2010–11 Cypriot First Division 1974–75 Cypriot First Division 1972–73 Cypriot First Division 1967-68 Cypriot Cup 1993–94 Cypriot Cup 1987–88 Cypriot Third Division 2002–03 Cypriot Third Division 1993–94 Cypriot Second Division 2011–12 Cypriot Cup for lower divisions 2010–11 Cypriot Third Division 2001–02 Cypriot First Division 2007–08 Cypriot Third Division 2012–13 Cypriot Cup 2004-05 Cypriot Cup 1955–56 Cypriot Second Division (Nicosia-Larnaca-Kyrenia Group) 1981–82 Cypriot Cup 2008–09 Cypriot Third Division 1960–61 Cypriot First Division 1994–95 Cypriot Second Division 1996–97 Cypriot Cup 1982–83 Cypriot Cup 2006–07 Cypriot Cup 1989–90 Cypriot First Division 1968-69 Cypriot Cup 1961–62 Cypriot First Division 2007–08 Cypriot Cup 1984–85 Cypriot Cup 1991–92 Cypriot Fourth Division (Limassol-Paphos Group) 2000-01 Cypriot Cup 2013–14 Cypriot First Division 1971-72 Cypriot Cup 1980–81 Cypriot First Division 1986–87 Cypriot Fourth Division (Limassol-Paphos Group) 1979–80 Cypriot First Division
AEZ Zakakiou or Alki Larnaca F.C. competed in 1970-71 Cypriot Cup, 1989–90 Cypriot First Division, 1989–90 Cypriot Cup, 1977–78 Cypriot First Division, 1984–85 Cypriot First Division, 1976–77 Cypriot First Division, 1981–82 Cypriot Second Division, 2009–10 Cypriot Cup for lower divisions, 1994–95 Cypriot Second Division and 1962-63 Cypriot Cup
1970-71 Cypriot Cup 1989–90 Cypriot First Division 1989–90 Cypriot Cup 1977–78 Cypriot First Division 1984–85 Cypriot First Division 1976–77 Cypriot First Division 1981–82 Cypriot Second Division 2009–10 Cypriot Cup for lower divisions 1994–95 Cypriot Second Division 1962-63 Cypriot Cup
action filter_type
action union
action find
entity AEZ Zakakiou
relation participant of
action find
entity Alki Larnaca F.C.
relation participant of
type sport competition
{'OR': [['AEZ Zakakiou', 'participant of', {'concept': 'sport competition'}], ['Alki Larnaca F.C.', 'participant of', {'concept': 'sport competition'}]]}
SELECT DISTINCT ?c WHERE { { { resource:AEZ_Zakakiou property:participant_of ?c } UNION { resource:Alki_Larnaca_F.C. property:participant_of ?c } } . ?c rdf:type ontology:sport_competition }
[]