Simple Question (Direct)
Simple Question
Q1138508
P106
Q12737077
USER
Which occupation is the profession of Craig Billington ?
(Q1138508,P106,c(Q12737077))
action filter_type
action find
entity Q1138508
relation P106
type Q12737077
['Q1138508', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1138508 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Craig Billington
action filter_type
action find
entity Craig Billington
relation occupation
type occupation
['Craig Billington', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Craig_Billington property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q1138508,P106,c(Q12737077))
action filter_type
action find
entity Q1138508
relation P106
type Q12737077
The [ANSWER] is the profession of Craig Billington
['Q1138508', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1138508 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
ice hockey player
The ice hockey player is the profession of Craig Billington
ice hockey player
action filter_type
action find
entity Craig Billington
relation occupation
type occupation
['Craig Billington', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Craig_Billington property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1138508
P21
Q290
USER
Which sex does that person have ?
(Q11774891,P21,c(Q290))
action filter_type
action find
entity Q1138508
relation P21
type Q290
['Q11774891', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q1138508 property:P21 ?a }
Craig Billington
action filter_type
action find
entity Craig Billington
relation gender
type sex
['ice hockey player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Craig_Billington property:gender ?a }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11774891,P21,c(Q290))
action filter_type
action find
entity Q1138508
relation P21
type Q290
That person has a [ANSWER]
['Q11774891', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q1138508 property:P21 ?a }
male
That person has a male
male
action filter_type
action find
entity Craig Billington
relation gender
type sex
['ice hockey player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Craig_Billington property:gender ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1138508
P641
Q349
USER
Which sport was Craig Billington a part of ?
(Q1138508,P641,c(Q349))
action filter_type
action find
entity Q1138508
relation P641
type Q349
['Q1138508', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q1138508 property:P641 ?p . ?p rdf:type ontology:Q349 }
Craig Billington
action filter_type
action find
entity Craig Billington
relation sport
type sport
['Craig Billington', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Craig_Billington property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q1138508,P641,c(Q349))
action filter_type
action find
entity Q1138508
relation P641
type Q349
Craig Billington was in [ANSWER]
['Q1138508', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q1138508 property:P641 ?p . ?p rdf:type ontology:Q349 }
ice hockey
Craig Billington was in ice hockey
ice hockey
action filter_type
action find
entity Craig Billington
relation sport
type sport
['Craig Billington', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Craig_Billington property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1138508
P54
Q12973014
USER
Which sports teams are Craig Billington a member of ?
(Q1138508,P54,c(Q12973014))
action filter_type
action find
entity Q1138508
relation P54
type Q12973014
['Q1138508', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?c WHERE { resource:Q1138508 property:P54 ?c . ?c rdf:type ontology:Q12973014 }
Craig Billington
action filter_type
action find
entity Craig Billington
relation member of sports team
type sports team
['Craig Billington', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?c WHERE { resource:Craig_Billington property:member_of_sports_team ?c . ?c rdf:type ontology:sports_team }
[]
sports team
Q194121 Q204627 Q206297
SYSTEM
Boston Bruins, Washington Capitals, Colorado Avalanche
Q194121 Q204627 Q206297 Q192081
(Q1138508,P54,c(Q12973014))
action filter_type
action find
entity Q1138508
relation P54
type Q12973014
[ANSWERS] are Craig Billington a member of
['Q1138508', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?c WHERE { resource:Q1138508 property:P54 ?c . ?c rdf:type ontology:Q12973014 }
Boston Bruins Washington Capitals Colorado Avalanche New Jersey Devils
Boston Bruins, Washington Capitals and Colorado Avalanche are Craig Billington a member of
Boston Bruins Washington Capitals Colorado Avalanche
action filter_type
action find
entity Craig Billington
relation member of sports team
type sports team
['Craig Billington', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?c WHERE { resource:Craig_Billington property:member_of_sports_team ?c . ?c rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2436526
Q12973014
USER
And also tell me about Earl Calloway?
(Q2436526,P54,c(Q12973014))
action filter_type
action find
entity Q2436526
relation P54
type Q12973014
['Q2436526', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { resource:Q2436526 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
Earl Calloway
action filter_type
action find
entity Earl Calloway
relation member of sports team
type sports team
['Earl Calloway', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { resource:Earl_Calloway property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
sports team
Q916967 Q1438822 Q54930
SYSTEM
KK Cibona, Fort Wayne Mad Ants, CB Sevilla
Q54930 Q916967 Q1438822 Q54910
(Q2436526,P54,c(Q12973014))
action filter_type
action find
entity Q2436526
relation P54
type Q12973014
[ANSWERS]
['Q2436526', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { resource:Q2436526 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
CB Sevilla KK Cibona Fort Wayne Mad Ants Baloncesto Málaga
KK Cibona Fort Wayne Mad Ants CB Sevilla
action filter_type
action find
entity Earl Calloway
relation member of sports team
type sports team
['Earl Calloway', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { resource:Earl_Calloway property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P118
Q623109 Q12973014
USER
How many sports teams participate in greater number of sports leagues than that sports team ?
(c(Q12973014),P118,c(Q623109))
[{'concept': 'Q12973014'}, 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q660818 ?y . ?z rdf:type ontology:Q12973014 . ?y rdf:type ontology:Q623109 }
[{'concept': 'sports team'}, 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:league ?y . ?z rdf:type ontology:sports_team . ?y rdf:type ontology:sports_league }
[]
sports league sports team
Comparative|Count over More/Less|Single entity type|Clarification
Q916967
SYSTEM
Did you mean KK Cibona ?
(c(Q12973014),P118,c(Q623109))
[ANSWER]
[{'concept': 'Q12973014'}, 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q660818 ?y . ?z rdf:type ontology:Q12973014 . ?y rdf:type ontology:Q623109 }
Did you mean KK Cibona ?
KK Cibona
[{'concept': 'sports team'}, 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:league ?y . ?z rdf:type ontology:sports_team . ?y rdf:type ontology:sports_league }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Fort Wayne Mad Ants. Could you tell me the answer for that?
(c(Q12973014),P118,c(Q623109))
Q1438822
[{'concept': 'Q12973014'}, 'P118', {'concept': 'Q623109'}]
[{'concept': 'sports team'}, 'league', {'concept': 'sports league'}]
[]
SYSTEM
45
Q1857064 Q1417287 Q6133550 Q1865460 Q4349700 Q1019345 Q4827520 Q431412 Q1022912 Q596985 Q1090574 Q2383402 Q217601 Q665920 Q1071691 Q2735937 Q964957 Q325238 Q297901 Q521129 Q331650 Q154053 Q15786 Q162289 Q5425090 Q1387142 Q1140373 Q7879955 Q1126167 Q15055309 Q812713 Q636019 Q4816008 Q1473374 Q1422627 Q2483534 Q21189793 Q374981 Q4683227 Q538747 Q5971834 Q17182219 Q3625508 Q1361449 Q1361000
(c(Q12973014),P118,c(Q623109))
[ANSWER]
[{'concept': 'Q12973014'}, 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q660818 ?y . ?z rdf:type ontology:Q12973014 . ?y rdf:type ontology:Q623109 }
RC Toulonnais Panserraikos F.C. Sri Lanka Air Force Sports Club Union Bordeaux Bègles Grankulla IFK Bærum SK Avaldsnes IL Stade Toulousain CA Brive Montpellier Hérault Rugby Vancouver Whitecaps Íþróttafélagið Grótta Drøbak-Frogn IL VfB Lübeck Leicester Tigers Libertad de Sunchales Castres Olympique TSV Altenholz ASM Clermont Auvergne Benetton Rugby Treviso FBK Kaunas Eintracht Braunschweig 1. FC Nürnberg 1. FC Köln Frauen FC Oțelul II Galați FC Grenoble Munster Rugby Ulster F.C. Connacht Rugby Section Paloise Al-Wehda Club Oyonnax Rugby Atlanta Beat Leinster Rugby SU Agen Lot-et-Garonne IF Fram Larvik Swope Park Rangers Glasgow Warriors FC Rapid II București Scarlets IL Flint Louisville City FC 9 de Julio de Río Tercero HIFK Montauban ,Stade Français,racing clubnarbonne FCC Auch
45
[{'concept': 'sports team'}, 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:league ?y . ?z rdf:type ontology:sports_team . ?y rdf:type ontology:sports_league }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q12973014 Q1785271 Q12973014
USER
Which sports teams are a component of atleast 2 sports teams or cycling teams ?
(c(Q12973014),P361,c(Q12973014)|c(Q1785271))
action atleast
action union
action find_tuple_counts
relation P361
type Q12973014
type Q12973014
action find_tuple_counts
relation P361
type Q12973014
type Q1785271
value 2
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q12973014'}, {'concept': 'Q1785271'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:Q12973014 ) ( ontology:Q1785271 ) } . ?w rdf:type ?s } GROUP BY ?e } . FILTER ( ?d >= 2 ) }
action atleast
action union
action find_tuple_counts
relation part of
type sports team
type sports team
action find_tuple_counts
relation part of
type sports team
type cycling team
value 2
[{'concept': 'sports team'}, 'part of', [{'concept': 'sports team'}, {'concept': 'cycling team'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:sports_team ) ( ontology:cycling_team ) } . ?w rdf:type ?s } GROUP BY ?e } . FILTER ( ?d >= 2 ) }
[]
sports team cycling team sports team
Q23663718
SYSTEM
Audi Sport Team Joest
Q23663718
(c(Q12973014),P361,c(Q12973014)|c(Q1785271))
action atleast
action union
action find_tuple_counts
relation P361
type Q12973014
type Q12973014
action find_tuple_counts
relation P361
type Q12973014
type Q1785271
value 2
[ANSWER] is a component of atleast 2 sports teams or cycling teams
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q12973014'}, {'concept': 'Q1785271'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:Q12973014 ) ( ontology:Q1785271 ) } . ?w rdf:type ?s } GROUP BY ?e } . FILTER ( ?d >= 2 ) }
Audi Sport Team Joest
Audi Sport Team Joest is a component of atleast 2 sports teams or cycling teams
Audi Sport Team Joest
action atleast
action union
action find_tuple_counts
relation part of
type sports team
type sports team
action find_tuple_counts
relation part of
type sports team
type cycling team
value 2
[{'concept': 'sports team'}, 'part of', [{'concept': 'sports team'}, {'concept': 'cycling team'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:sports_team ) ( ontology:cycling_team ) } . ?w rdf:type ?s } GROUP BY ?e } . FILTER ( ?d >= 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q27146788
P1923
Q12973014 Q13406554 Q22348500
USER
How many sports teams took part in more number of sport competitions or cycling race classes than Pakistan national badminton team ?
(c(Q13406554)|c(Q22348500),P1923,c(Q12973014))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action count
action filter_multi_types
action find_reverse
entity Q27146788
relation P1923
type Q13406554
type Q22348500
[[{'concept': 'Q13406554'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:Q13406554 ) ( ontology:Q22348500 ) } } . ?f property:P1923 resource:Q27146788 } } . FILTER ( ?k > ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:Q22348500 ) ( ontology:Q13406554 ) } . ?z rdf:type ?g } GROUP BY ?i } }
Pakistan national badminton team
action count
action greater
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 cycling race class defined by the International Cycling Union
action count
action filter_multi_types
action find_reverse
entity Pakistan national badminton team
relation participating teams
type sport competition
type cycling race class defined by the International Cycling Union
[[{'concept': 'sport competition'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:sport_competition ) ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) } } . ?f property:participating_teams resource:Pakistan_national_badminton_team } } . FILTER ( ?k > ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) ( ontology:sport_competition ) } . ?z rdf:type ?g } GROUP BY ?i } }
[]
sports team sport competition cycling race class defined by the International Cycling Union
SYSTEM
58
Q27146481 Q27146483 Q27146485 Q27146486 Q12872831 Q2254900 Q21520147 Q26722120 Q27146296 Q27146511 Q812812 Q834461 Q799663 Q1342530 Q27146478 Q26722119 Q27146294 Q2177038 Q27146507 Q27146508 Q957525 Q27146320 Q23953473 Q18171104 Q27146510 Q23979109 Q27146516 Q154053 Q19336122 Q15786 Q27146526 Q27146525 Q27146522 Q27146520 Q27146519 Q22117386 Q27146543 Q16331496 Q27146539 Q27146304 Q27146301 Q27146500 Q27146531 Q23900171 Q19831195 Q19826622 Q19336080 Q23815600 Q27146307 Q27146496 Q27146494 Q27146490 Q21772601 Q27146310 Q27146313 Q27146314 Q27146317 Q1270077
(c(Q13406554)|c(Q22348500),P1923,c(Q12973014))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action count
action filter_multi_types
action find_reverse
entity Q27146788
relation P1923
type Q13406554
type Q22348500
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:Q13406554 ) ( ontology:Q22348500 ) } } . ?f property:P1923 resource:Q27146788 } } . FILTER ( ?k > ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:Q22348500 ) ( ontology:Q13406554 ) } . ?z rdf:type ?g } GROUP BY ?i } }
Hungary national badminton team Iceland national badminton team Israel national badminton team Italy national badminton team AEZ Zakakiou Sweden national badminton team AMEK Kapsalou Bulgaria national badminton team Austria national badminton team Romania national badminton team Be Pink Germany national badminton team GDR national badminton team England national badminton team Greece national badminton team Ireland national badminton team Armenia national badminton team Russia national badminton team Norway national badminton team Poland national badminton team Netherlands national badminton team Finland national badminton team EAS Ayios Dhometios Scotland national badminton team Portugal national badminton team Atlas Aglandjias Slovakia national badminton team Eintracht Braunschweig Wanty-Groupe Gobert 2015 1. FC Nürnberg Wales national badminton team Turkey national badminton team Switzerland national badminton team Spain national badminton team Slovenia national badminton team UniSA-Australia 2016 Yugoslavia national badminton team Elpida Astromeriti Czechoslovakia national badminton team Belgium national badminton team Belarus national badminton team Malta national badminton team USSR national badminton team Parnassos Strovolou Roompot Oranje Peloton 2015 Ukraine national badminton team RusVelo 2015 France national badminton team Croatia national badminton team Luxembourg national badminton team Lithuania national badminton team Latvia national badminton team Thiella Dromolaxia Cyprus national badminton team Czech national badminton team Estonia national badminton team Faroe Islands national badminton team Denmark national badminton team
58
action count
action greater
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 cycling race class defined by the International Cycling Union
action count
action filter_multi_types
action find_reverse
entity Pakistan national badminton team
relation participating teams
type sport competition
type cycling race class defined by the International Cycling Union
[[{'concept': 'sport competition'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:sport_competition ) ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) } } . ?f property:participating_teams resource:Pakistan_national_badminton_team } } . FILTER ( ?k > ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) ( ontology:sport_competition ) } . ?z rdf:type ?g } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q27146510
P1923
Q12973014 Q13406554 Q22348500
USER
And what about Portugal national badminton team?
(c(Q13406554)|c(Q22348500),P1923,c(Q12973014))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action count
action filter_multi_types
action find_reverse
entity Q27146510
relation P1923
type Q13406554
type Q22348500
[[{'concept': 'Q13406554'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { ?y property:P1923 resource:Q27146510 . { { ?y rdf:type ontology:Q13406554 } UNION { ?y rdf:type ontology:Q22348500 } } } } . FILTER ( ?k > ?z ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?k ) WHERE { { ?e property:P1923 ?c . ?c rdf:type ontology:Q12973014 . ?e rdf:type ontology:Q13406554 } UNION { ?e property:P1923 ?c . ?e rdf:type ontology:Q22348500 . ?c rdf:type ontology:Q12973014 } } GROUP BY ?c } }
Portugal national badminton team
action count
action greater
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 cycling race class defined by the International Cycling Union
action count
action filter_multi_types
action find_reverse
entity Portugal national badminton team
relation participating teams
type sport competition
type cycling race class defined by the International Cycling Union
[[{'concept': 'sport competition'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { ?y property:participating_teams resource:Portugal_national_badminton_team . { { ?y rdf:type ontology:sport_competition } UNION { ?y rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } } } . FILTER ( ?k > ?z ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?k ) WHERE { { ?e property:participating_teams ?c . ?c rdf:type ontology:sports_team . ?e rdf:type ontology:sport_competition } UNION { ?e property:participating_teams ?c . ?e rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?c rdf:type ontology:sports_team } } GROUP BY ?c } }
[]
sports team sport competition cycling race class defined by the International Cycling Union
SYSTEM
20
Q27146481 Q27146483 Q27146486 Q12872831 Q26722120 Q27146296 Q834461 Q26722119 Q27146507 Q27146508 Q957525 Q27146320 Q19336122 Q27146526 Q27146522 Q27146520 Q27146304 Q19831195 Q23815600 Q27146313
(c(Q13406554)|c(Q22348500),P1923,c(Q12973014))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action count
action filter_multi_types
action find_reverse
entity Q27146510
relation P1923
type Q13406554
type Q22348500
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { ?y property:P1923 resource:Q27146510 . { { ?y rdf:type ontology:Q13406554 } UNION { ?y rdf:type ontology:Q22348500 } } } } . FILTER ( ?k > ?z ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?k ) WHERE { { ?e property:P1923 ?c . ?c rdf:type ontology:Q12973014 . ?e rdf:type ontology:Q13406554 } UNION { ?e property:P1923 ?c . ?e rdf:type ontology:Q22348500 . ?c rdf:type ontology:Q12973014 } } GROUP BY ?c } }
Hungary national badminton team Iceland national badminton team Italy national badminton team AEZ Zakakiou Bulgaria national badminton team Austria national badminton team Germany national badminton team Ireland national badminton team Norway national badminton team Poland national badminton team Netherlands national badminton team Finland national badminton team Wanty-Groupe Gobert 2015 Wales national badminton team Switzerland national badminton team Spain national badminton team Belgium national badminton team Roompot Oranje Peloton 2015 France national badminton team Czech national badminton team
20
action count
action greater
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 cycling race class defined by the International Cycling Union
action count
action filter_multi_types
action find_reverse
entity Portugal national badminton team
relation participating teams
type sport competition
type cycling race class defined by the International Cycling Union
[[{'concept': 'sport competition'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { ?y property:participating_teams resource:Portugal_national_badminton_team . { { ?y rdf:type ontology:sport_competition } UNION { ?y rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } } } . FILTER ( ?k > ?z ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?k ) WHERE { { ?e property:participating_teams ?c . ?c rdf:type ontology:sports_team . ?e rdf:type ontology:sport_competition } UNION { ?e property:participating_teams ?c . ?e rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?c rdf:type ontology:sports_team } } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23663718
P1344
Q1079023
USER
What did Audi Sport Team Joest participate in ?
(Q23663718,P1344,c(Q1079023))
action filter_type
action find
entity Q23663718
relation P1344
type Q1079023
['Q23663718', 'P1344', {'concept': 'Q1079023'}]
SELECT DISTINCT ?c WHERE { resource:Q23663718 property:P1344 ?c . ?c rdf:type ontology:Q1079023 }
Audi Sport Team Joest
action filter_type
action find
entity Audi Sport Team Joest
relation participant of
type championship
['Audi Sport Team Joest', 'participant of', {'concept': 'championship'}]
SELECT DISTINCT ?c WHERE { resource:Audi_Sport_Team_Joest property:participant_of ?c . ?c rdf:type ontology:championship }
[]
championship
Q23722211
SYSTEM
2012 Manufacturers' World Endurance Championship
Q23722211
(Q23663718,P1344,c(Q1079023))
action filter_type
action find
entity Q23663718
relation P1344
type Q1079023
Audi Sport Team Joest participated in [ANSWER]
['Q23663718', 'P1344', {'concept': 'Q1079023'}]
SELECT DISTINCT ?c WHERE { resource:Q23663718 property:P1344 ?c . ?c rdf:type ontology:Q1079023 }
2012 Manufacturers' World Endurance Championship
Audi Sport Team Joest participated in 2012 Manufacturers' World Endurance Championship
2012 Manufacturers' World Endurance Championship
action filter_type
action find
entity Audi Sport Team Joest
relation participant of
type championship
['Audi Sport Team Joest', 'participant of', {'concept': 'championship'}]
SELECT DISTINCT ?c WHERE { resource:Audi_Sport_Team_Joest property:participant_of ?c . ?c rdf:type ontology:championship }
[]