Simple Question (Direct)
Simple Question
Q551265
P54
Q12973014
USER
Which sports teams are Kevin Schindler a member of ?
(Q551265,P54,c(Q12973014))
action filter_type
action find
entity Q551265
relation P54
type Q12973014
['Q551265', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?g WHERE { resource:Q551265 property:P54 ?g . ?g rdf:type ontology:Q12973014 }
Kevin Schindler
action filter_type
action find
entity Kevin Schindler
relation member of sports team
type sports team
['Kevin Schindler', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?g WHERE { resource:Kevin_Schindler property:member_of_sports_team ?g . ?g rdf:type ontology:sports_team }
[]
sports team
Q314851 Q316497 Q324854
SYSTEM
Germany national under-21 football team, Germany national under-20 football team, Germany national under-19 football team
Q314851 Q316497 Q324854
(Q551265,P54,c(Q12973014))
action filter_type
action find
entity Q551265
relation P54
type Q12973014
The [ANSWERS] are Kevin Schindler a member of
['Q551265', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?g WHERE { resource:Q551265 property:P54 ?g . ?g rdf:type ontology:Q12973014 }
Germany national under-21 football team Germany national under-20 football team Germany national under-19 football team
The Germany national under-21 football team, Germany national under-20 football team and Germany national under-19 football team are Kevin Schindler a member of
Germany national under-21 football team Germany national under-20 football team Germany national under-19 football team
action filter_type
action find
entity Kevin Schindler
relation member of sports team
type sports team
['Kevin Schindler', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?g WHERE { resource:Kevin_Schindler property:member_of_sports_team ?g . ?g rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q314851 Q316497 Q324854
P641
Q349
USER
What sports were those sports teams a part of ?
(Q314851,P641,c(Q349)) (Q316497,P641,c(Q349)) (Q324854,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
['Q314851', 'P641', {'concept': 'Q349'}] ['Q316497', 'P641', {'concept': 'Q349'}] ['Q324854', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Q314851 ) ( resource:Q316497 ) ( resource:Q324854 ) } . ?j rdf:type ontology:Q349 . ?b property:P641 ?j }
Germany national under-21 football team Germany national under-20 football team Germany national under-19 football team
action filter_type
action find
entity prev_answer
relation sport
type sport
['Germany national under-21 football team', 'sport', {'concept': 'sport'}] ['Germany national under-20 football team', 'sport', {'concept': 'sport'}] ['Germany national under-19 football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Germany_national_under-21_football_team ) ( resource:Germany_national_under-20_football_team ) ( resource:Germany_national_under-19_football_team ) } . ?j rdf:type ontology:sport . ?b property:sport ?j }
[]
sport
Q2736 Q2736 Q2736
SYSTEM
association football
Q2736 Q2736 Q2736
(Q314851,P641,c(Q349)) (Q316497,P641,c(Q349)) (Q324854,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
What sports were those sports teams a part of
['Q314851', 'P641', {'concept': 'Q349'}] ['Q316497', 'P641', {'concept': 'Q349'}] ['Q324854', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Q314851 ) ( resource:Q316497 ) ( resource:Q324854 ) } . ?j rdf:type ontology:Q349 . ?b property:P641 ?j }
association football association football association football
What sports were those sports teams a part of
association football association football association football
action filter_type
action find
entity prev_answer
relation sport
type sport
['Germany national under-21 football team', 'sport', {'concept': 'sport'}] ['Germany national under-20 football team', 'sport', {'concept': 'sport'}] ['Germany national under-19 football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Germany_national_under-21_football_team ) ( resource:Germany_national_under-20_football_team ) ( resource:Germany_national_under-19_football_team ) } . ?j rdf:type ontology:sport . ?b property:sport ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q551265
P19
Q1418640
USER
Which local government in Germany is the birthplace of Kevin Schindler ?
(Q551265,P19,c(Q1418640))
action filter_type
action find
entity Q551265
relation P19
type Q1418640
['Q551265', 'P19', {'concept': 'Q1418640'}]
SELECT DISTINCT ?p WHERE { resource:Q551265 property:P19 ?p . ?p rdf:type ontology:Q1418640 }
Kevin Schindler
action filter_type
action find
entity Kevin Schindler
relation place of birth
type local government in Germany
['Kevin Schindler', 'place of birth', {'concept': 'local government in Germany'}]
SELECT DISTINCT ?p WHERE { resource:Kevin_Schindler property:place_of_birth ?p . ?p rdf:type ontology:local_government_in_Germany }
[]
local government in Germany
Q3907
SYSTEM
Delmenhorst
Q3907
(Q551265,P19,c(Q1418640))
action filter_type
action find
entity Q551265
relation P19
type Q1418640
[ANSWER] is the birthplace of Kevin Schindler
['Q551265', 'P19', {'concept': 'Q1418640'}]
SELECT DISTINCT ?p WHERE { resource:Q551265 property:P19 ?p . ?p rdf:type ontology:Q1418640 }
Delmenhorst
Delmenhorst is the birthplace of Kevin Schindler
Delmenhorst
action filter_type
action find
entity Kevin Schindler
relation place of birth
type local government in Germany
['Kevin Schindler', 'place of birth', {'concept': 'local government in Germany'}]
SELECT DISTINCT ?p WHERE { resource:Kevin_Schindler property:place_of_birth ?p . ?p rdf:type ontology:local_government_in_Germany }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1084922
Q1418640
USER
And how about Christoph Friedrich Zilliger?
(Q1084922,P19,c(Q1418640))
action filter_type
action find
entity Q1084922
relation P19
type Q1418640
['Q1084922', 'P19', {'concept': 'Q1418640'}]
SELECT DISTINCT ?c WHERE { resource:Q1084922 property:P19 ?c . ?c rdf:type ontology:Q1418640 }
Christoph Friedrich Zilliger
action filter_type
action find
entity Christoph Friedrich Zilliger
relation place of birth
type local government in Germany
['Christoph Friedrich Zilliger', 'place of birth', {'concept': 'local government in Germany'}]
SELECT DISTINCT ?c WHERE { resource:Christoph_Friedrich_Zilliger property:place_of_birth ?c . ?c rdf:type ontology:local_government_in_Germany }
[]
local government in Germany
Q6938
SYSTEM
Hof
Q6938
(Q1084922,P19,c(Q1418640))
action filter_type
action find
entity Q1084922
relation P19
type Q1418640
[ANSWER]
['Q1084922', 'P19', {'concept': 'Q1418640'}]
SELECT DISTINCT ?c WHERE { resource:Q1084922 property:P19 ?c . ?c rdf:type ontology:Q1418640 }
Hof
Hof
action filter_type
action find
entity Christoph Friedrich Zilliger
relation place of birth
type local government in Germany
['Christoph Friedrich Zilliger', 'place of birth', {'concept': 'local government in Germany'}]
SELECT DISTINCT ?c WHERE { resource:Christoph_Friedrich_Zilliger property:place_of_birth ?c . ?c rdf:type ontology:local_government_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6938
P127
Q483110
USER
Which stadium is under posessision of that local government in Germany ?
(c(Q483110),P127,Q6938)
action filter_type
action find_reverse
entity Q6938
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q6938']
SELECT DISTINCT ?a WHERE { ?a property:P127 resource:Q6938 . ?a rdf:type ontology:Q483110 }
Hof
action filter_type
action find_reverse
entity Hof
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Hof']
SELECT DISTINCT ?a WHERE { ?a property:owned_by resource:Hof . ?a rdf:type ontology:stadium }
[]
stadium
Q2326067
SYSTEM
Stadion Grüne Au
Q2326067
(c(Q483110),P127,Q6938)
action filter_type
action find_reverse
entity Q6938
relation P127
type Q483110
[ANSWER] is under posessision of that local government in Germany
[{'concept': 'Q483110'}, 'P127', 'Q6938']
SELECT DISTINCT ?a WHERE { ?a property:P127 resource:Q6938 . ?a rdf:type ontology:Q483110 }
Stadion Grüne Au
Stadion Grüne Au is under posessision of that local government in Germany
Stadion Grüne Au
action filter_type
action find_reverse
entity Hof
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Hof']
SELECT DISTINCT ?a WHERE { ?a property:owned_by resource:Hof . ?a rdf:type ontology:stadium }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3339101
P115
Q483110 Q874405
USER
Which social groups have approximately the same number of stadia as their arena as Newcastle Knights ?
(c(Q874405),P115,c(Q483110))
action approx
action find_tuple_counts
relation P115
type Q874405
type Q483110
action count
action filter_type
action find
entity Q3339101
relation P115
type Q874405
[{'concept': 'Q874405'}, 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?w ) WHERE { ?q property:P115 ?l . ?q rdf:type ontology:Q874405 . ?l rdf:type ontology:Q483110 } GROUP BY ?q } . FILTER ( ?w = ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q3339101 property:P115 ?m . ?m rdf:type ontology:Q874405 } } }
Newcastle Knights
action approx
action find_tuple_counts
relation home venue
type social group
type stadium
action count
action filter_type
action find
entity Newcastle Knights
relation home venue
type social group
[{'concept': 'social group'}, 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?w ) WHERE { ?q property:home_venue ?l . ?q rdf:type ontology:social_group . ?l rdf:type ontology:stadium } GROUP BY ?q } . FILTER ( ?w = ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Newcastle_Knights property:home_venue ?m . ?m rdf:type ontology:social_group } } }
[]
stadium social group
Q3286027 Q3567556 Q3339101
SYSTEM
Manly-Warringah Sea Eagles, Wests Tigers, Newcastle Knights
Q3286027 Q2573367 Q1574487 Q3567556 Q3339101 Q3366024 Q3003720 Q2936194 Q3495259 Q665111 Q3374818 Q3344159 Q1134319 Q3109995 Q896965 Q2936583
(c(Q874405),P115,c(Q483110))
action approx
action find_tuple_counts
relation P115
type Q874405
type Q483110
action count
action filter_type
action find
entity Q3339101
relation P115
type Q874405
[ANSWERS] have approximately the same number of stadia as their arena as Newcastle Knights
[{'concept': 'Q874405'}, 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?w ) WHERE { ?q property:P115 ?l . ?q rdf:type ontology:Q874405 . ?l rdf:type ontology:Q483110 } GROUP BY ?q } . FILTER ( ?w = ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q3339101 property:P115 ?m . ?m rdf:type ontology:Q874405 } } }
Manly-Warringah Sea Eagles Sydney Roosters Melbourne Storm Wests Tigers Newcastle Knights Parramatta Eels Cronulla-Sutherland Sharks Canberra Raiders St. George Illawarra Dragons Brisbane Broncos Penrith Panthers North Queensland Cowboys St Helens RLFC Gold Coast Titans Bradford Park Avenue A.F.C. Canterbury-Bankstown Bulldogs
Manly-Warringah Sea Eagles, Wests Tigers and Newcastle Knights have approximately the same number of stadia as their arena as Newcastle Knights
Manly-Warringah Sea Eagles Wests Tigers Newcastle Knights
action approx
action find_tuple_counts
relation home venue
type social group
type stadium
action count
action filter_type
action find
entity Newcastle Knights
relation home venue
type social group
[{'concept': 'social group'}, 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?w ) WHERE { ?q property:home_venue ?l . ?q rdf:type ontology:social_group . ?l rdf:type ontology:stadium } GROUP BY ?q } . FILTER ( ?w = ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Newcastle_Knights property:home_venue ?m . ?m rdf:type ontology:social_group } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1210267
P115
Q483110 Q874405
USER
And how about Wigan Warriors?
(c(Q874405),P115,c(Q483110))
action approx
action find_tuple_counts
relation P115
type Q874405
type Q483110
action count
action filter_type
action find
entity Q1210267
relation P115
type Q874405
[{'concept': 'Q874405'}, 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?z ) WHERE { ?n property:P115 ?j . ?n rdf:type ontology:Q874405 . ?j rdf:type ontology:Q483110 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ontology:Q874405 . resource:Q1210267 property:P115 ?w } } . FILTER ( ?z = ?d ) }
Wigan Warriors
action approx
action find_tuple_counts
relation home venue
type social group
type stadium
action count
action filter_type
action find
entity Wigan Warriors
relation home venue
type social group
[{'concept': 'social group'}, 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?z ) WHERE { ?n property:home_venue ?j . ?n rdf:type ontology:social_group . ?j rdf:type ontology:stadium } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ontology:social_group . resource:Wigan_Warriors property:home_venue ?w } } . FILTER ( ?z = ?d ) }
[]
stadium social group
Q3339085 Q1210267
SYSTEM
New Zealand Warriors, Wigan Warriors
Q3339085 Q1210267
(c(Q874405),P115,c(Q483110))
action approx
action find_tuple_counts
relation P115
type Q874405
type Q483110
action count
action filter_type
action find
entity Q1210267
relation P115
type Q874405
[ANSWERS]
[{'concept': 'Q874405'}, 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?z ) WHERE { ?n property:P115 ?j . ?n rdf:type ontology:Q874405 . ?j rdf:type ontology:Q483110 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ontology:Q874405 . resource:Q1210267 property:P115 ?w } } . FILTER ( ?z = ?d ) }
New Zealand Warriors Wigan Warriors
New Zealand Warriors Wigan Warriors
action approx
action find_tuple_counts
relation home venue
type social group
type stadium
action count
action filter_type
action find
entity Wigan Warriors
relation home venue
type social group
[{'concept': 'social group'}, 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?z ) WHERE { ?n property:home_venue ?j . ?n rdf:type ontology:social_group . ?j rdf:type ontology:stadium } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ontology:social_group . resource:Wigan_Warriors property:home_venue ?w } } . FILTER ( ?z = ?d ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3470563
P54
Q502895
USER
Does Sam Tomkins play for the team named those social groups ?
(Q3470563,P54,Q3339085) (Q3470563,P54,Q1210267)
action is_in
entity prev_answer
action find
entity Q3470563
relation P54
['Q3470563', 'P54', 'Q3339085'] ['Q3470563', 'P54', 'Q1210267']
ASK WHERE { VALUES ( ?g ) { ( resource:Q3339085 ) ( resource:Q1210267 ) } . resource:Q3470563 property:P54 ?g }
Sam Tomkins
action is_in
entity prev_answer
action find
entity Sam Tomkins
relation member of sports team
['Sam Tomkins', 'member of sports team', 'New Zealand Warriors'] ['Sam Tomkins', 'member of sports team', 'Wigan Warriors']
ASK WHERE { VALUES ( ?g ) { ( resource:New_Zealand_Warriors ) ( resource:Wigan_Warriors ) } . resource:Sam_Tomkins property:member_of_sports_team ?g }
[]
common name
SYSTEM
YES
(Q3470563,P54,Q3339085) (Q3470563,P54,Q1210267)
action is_in
entity prev_answer
action find
entity Q3470563
relation P54
[ANSWER]
['Q3470563', 'P54', 'Q3339085'] ['Q3470563', 'P54', 'Q1210267']
ASK WHERE { VALUES ( ?g ) { ( resource:Q3339085 ) ( resource:Q1210267 ) } . resource:Q3470563 property:P54 ?g }
Yes
action is_in
entity prev_answer
action find
entity Sam Tomkins
relation member of sports team
['Sam Tomkins', 'member of sports team', 'New Zealand Warriors'] ['Sam Tomkins', 'member of sports team', 'Wigan Warriors']
ASK WHERE { VALUES ( ?g ) { ( resource:New_Zealand_Warriors ) ( resource:Wigan_Warriors ) } . resource:Sam_Tomkins property:member_of_sports_team ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q324854 Q1046099 Q4154252
P1532
Q1048835
USER
Does Germany national under-19 football team represent Carvalhal Benfeito and Dalnie ?
(Q324854,P1532,Q1046099) (Q324854,P1532,Q4154252)
action is_in
entity Q324854
action intersection
action find_reverse
entity Q1046099
relation P1532
action find_reverse
entity Q4154252
relation P1532
['Q324854', 'P1532', 'Q1046099'] ['Q324854', 'P1532', 'Q4154252']
ASK WHERE { resource:Q324854 property:P1532 resource:Q1046099 . resource:Q324854 property:P1532 resource:Q4154252 }
Germany national under-19 football team Carvalhal Benfeito Dalnie
action is_in
entity Germany national under-19 football team
action intersection
action find_reverse
entity Carvalhal Benfeito
relation country for sport
action find_reverse
entity Dalnie
relation country for sport
['Germany national under-19 football team', 'country for sport', 'Carvalhal Benfeito'] ['Germany national under-19 football team', 'country for sport', 'Dalnie']
ASK WHERE { resource:Germany_national_under-19_football_team property:country_for_sport resource:Carvalhal_Benfeito . resource:Germany_national_under-19_football_team property:country_for_sport resource:Dalnie }
[]
political territorial entity
SYSTEM
NO
(Q324854,P1532,Q1046099) (Q324854,P1532,Q4154252)
action is_in
entity Q324854
action intersection
action find_reverse
entity Q1046099
relation P1532
action find_reverse
entity Q4154252
relation P1532
[ANSWER]
['Q324854', 'P1532', 'Q1046099'] ['Q324854', 'P1532', 'Q4154252']
ASK WHERE { resource:Q324854 property:P1532 resource:Q1046099 . resource:Q324854 property:P1532 resource:Q4154252 }
No
action is_in
entity Germany national under-19 football team
action intersection
action find_reverse
entity Carvalhal Benfeito
relation country for sport
action find_reverse
entity Dalnie
relation country for sport
['Germany national under-19 football team', 'country for sport', 'Carvalhal Benfeito'] ['Germany national under-19 football team', 'country for sport', 'Dalnie']
ASK WHERE { resource:Germany_national_under-19_football_team property:country_for_sport resource:Carvalhal_Benfeito . resource:Germany_national_under-19_football_team property:country_for_sport resource:Dalnie }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15841332
P361
Q1785271 Q618123 Q12973014
USER
How many sports teams are a portion of more number of cycling teams or geographical objects than Qinghai Tianyoude 2012 ?
(c(Q12973014),P361,c(Q1785271)|c(Q618123))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q12973014
type Q1785271
action find_tuple_counts
relation P361
type Q12973014
type Q618123
action count
action filter_multi_types
action find
entity Q15841332
relation P361
type Q1785271
type Q618123
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q1785271'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?p WHERE { { ?p property:P361 ?s . ?p rdf:type ontology:Q12973014 . ?s rdf:type ontology:Q1785271 } UNION { ?s rdf:type ontology:Q618123 . ?p rdf:type ontology:Q12973014 . ?p property:P361 ?s } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q15841332 property:P361 ?a . { VALUES ( ?l ) { ( ontology:Q1785271 ) ( ontology:Q618123 ) } . ?a rdf:type ?l } } } . FILTER ( ?d > ?h ) }
Qinghai Tianyoude 2012
action count
action greater
action union
action find_tuple_counts
relation part of
type sports team
type cycling team
action find_tuple_counts
relation part of
type sports team
type geographical object
action count
action filter_multi_types
action find
entity Qinghai Tianyoude 2012
relation part of
type cycling team
type geographical object
[{'concept': 'sports team'}, 'part of', [{'concept': 'cycling team'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?p WHERE { { ?p property:part_of ?s . ?p rdf:type ontology:sports_team . ?s rdf:type ontology:cycling_team } UNION { ?s rdf:type ontology:geographical_object . ?p rdf:type ontology:sports_team . ?p property:part_of ?s } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Qinghai_Tianyoude_2012 property:part_of ?a . { VALUES ( ?l ) { ( ontology:cycling_team ) ( ontology:geographical_object ) } . ?a rdf:type ?l } } } . FILTER ( ?d > ?h ) }
[]
cycling team geographical object sports team
SYSTEM
18
Q17098475 Q16683843 Q8383824 Q2449917 Q2443717 Q847701 Q2819480 Q20311917 Q1635382 Q949399 Q18704184 Q18345717 Q2049524 Q23760224 Q3365302 Q922432 Q18343671 Q17512706
(c(Q12973014),P361,c(Q1785271)|c(Q618123))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q12973014
type Q1785271
action find_tuple_counts
relation P361
type Q12973014
type Q618123
action count
action filter_multi_types
action find
entity Q15841332
relation P361
type Q1785271
type Q618123
[ANSWER]
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q1785271'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?p WHERE { { ?p property:P361 ?s . ?p rdf:type ontology:Q12973014 . ?s rdf:type ontology:Q1785271 } UNION { ?s rdf:type ontology:Q618123 . ?p rdf:type ontology:Q12973014 . ?p property:P361 ?s } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q15841332 property:P361 ?a . { VALUES ( ?l ) { ( ontology:Q1785271 ) ( ontology:Q618123 ) } . ?a rdf:type ?l } } } . FILTER ( ?d > ?h ) }
RK Mornar Bar ZMC Amicitia Zürich Aris Thessaloniki B.C. Tranås AIF Hockey KK Mornar Bar Olympiacos B.C. ASUL Vaulx-en-Velin 2008 AA-Drink Cycling Team season Legia Warszawa Legia Warsaw Karlsruher SC II 2011 AA Drink-leontien.nl season Panionios B.C. New York Athletic Club Paris Université Club Olympiacos Water Polo Club Melli Haffari Ahvaz Basketball Club 2012 AA Drink-leontien.nl season
18
action count
action greater
action union
action find_tuple_counts
relation part of
type sports team
type cycling team
action find_tuple_counts
relation part of
type sports team
type geographical object
action count
action filter_multi_types
action find
entity Qinghai Tianyoude 2012
relation part of
type cycling team
type geographical object
[{'concept': 'sports team'}, 'part of', [{'concept': 'cycling team'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?p WHERE { { ?p property:part_of ?s . ?p rdf:type ontology:sports_team . ?s rdf:type ontology:cycling_team } UNION { ?s rdf:type ontology:geographical_object . ?p rdf:type ontology:sports_team . ?p property:part_of ?s } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Qinghai_Tianyoude_2012 property:part_of ?a . { VALUES ( ?l ) { ( ontology:cycling_team ) ( ontology:geographical_object ) } . ?a rdf:type ?l } } } . FILTER ( ?d > ?h ) }
[]