Simple Question (Direct)
Simple Question
Q4895074
P106
Q12737077
USER
What is the profession of Bert Gardiner ?
(Q4895074,P106,c(Q12737077))
action filter_type
action find
entity Q4895074
relation P106
type Q12737077
['Q4895074', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q4895074 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Bert Gardiner
action filter_type
action find
entity Bert Gardiner
relation occupation
type occupation
['Bert Gardiner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Bert_Gardiner property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q4895074,P106,c(Q12737077))
action filter_type
action find
entity Q4895074
relation P106
type Q12737077
The profession of Bert Gardiner is an [ANSWER]
['Q4895074', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q4895074 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
ice hockey player
The profession of Bert Gardiner is an ice hockey player
ice hockey player
action filter_type
action find
entity Bert Gardiner
relation occupation
type occupation
['Bert Gardiner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Bert_Gardiner property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4895074
P19
Q56061
USER
Which administrative territory is the place of birth of Bert Gardiner ?
(Q4895074,P19,c(Q56061))
action filter_type
action find
entity Q4895074
relation P19
type Q56061
['Q4895074', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q4895074 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Bert Gardiner
action filter_type
action find
entity Bert Gardiner
relation place of birth
type administrative territorial entity
['Bert Gardiner', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Bert_Gardiner property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10566
SYSTEM
Saskatoon
Q10566
(Q4895074,P19,c(Q56061))
action filter_type
action find
entity Q4895074
relation P19
type Q56061
[ANSWER] is the place of birth of Bert Gardiner
['Q4895074', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q4895074 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Saskatoon
Saskatoon is the place of birth of Bert Gardiner
Saskatoon
action filter_type
action find
entity Bert Gardiner
relation place of birth
type administrative territorial entity
['Bert Gardiner', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Bert_Gardiner property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10566
P47
Q56061
USER
Which administrative territory has a shared border with that one ?
(Q10566,P47,c(Q56061))
action filter_type
action find
entity Q10566
relation P47
type Q56061
['Q10566', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q10566 property:P47 ?n }
Saskatoon
action filter_type
action find
entity Saskatoon
relation shares border with
type administrative territorial entity
['Saskatoon', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Saskatoon property:shares_border_with ?n }
[]
administrative territorial entity
Q1915082
SYSTEM
Langham
Q1915082
(Q10566,P47,c(Q56061))
action filter_type
action find
entity Q10566
relation P47
type Q56061
[ANSWER] has a shared border with that one
['Q10566', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q10566 property:P47 ?n }
Langham
Langham has a shared border with that one
Langham
action filter_type
action find
entity Saskatoon
relation shares border with
type administrative territorial entity
['Saskatoon', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Saskatoon property:shares_border_with ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1915082 Q16
P17
Q1048835
USER
Is that administrative territory a part of Canada ?
(Q1915082,P17,Q16)
action is_in
entity Q16
action find
entity Q1915082
relation P17
['Q1915082', 'P17', 'Q16']
ASK WHERE { resource:Q1915082 property:P17 resource:Q16 }
Langham Canada
action is_in
entity Canada
action find
entity Langham
relation country
['Langham', 'country', 'Canada']
ASK WHERE { resource:Langham property:country resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q1915082,P17,Q16)
action is_in
entity Q16
action find
entity Q1915082
relation P17
[ANSWER]
['Q1915082', 'P17', 'Q16']
ASK WHERE { resource:Q1915082 property:P17 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Langham
relation country
['Langham', 'country', 'Canada']
ASK WHERE { resource:Langham property:country resource:Canada }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q10566 Q1648580
P17
Q1048835
USER
Does Saskatoon belong to Villar de Plasencia ?
(Q10566,P17,Q1648580)
action is_in
entity Q1648580
action find
entity Q10566
relation P17
['Q10566', 'P17', 'Q1648580']
ASK WHERE { resource:Q10566 property:P17 resource:Q1648580 }
Saskatoon Villar de Plasencia
action is_in
entity Villar de Plasencia
action find
entity Saskatoon
relation country
['Saskatoon', 'country', 'Villar de Plasencia']
ASK WHERE { resource:Saskatoon property:country resource:Villar_de_Plasencia }
[]
political territorial entity
SYSTEM
NO
(Q10566,P17,Q1648580)
action is_in
entity Q1648580
action find
entity Q10566
relation P17
[ANSWER]
['Q10566', 'P17', 'Q1648580']
ASK WHERE { resource:Q10566 property:P17 resource:Q1648580 }
No
action is_in
entity Villar de Plasencia
action find
entity Saskatoon
relation country
['Saskatoon', 'country', 'Villar de Plasencia']
ASK WHERE { resource:Saskatoon property:country resource:Villar_de_Plasencia }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q1648580
P1001 P17
Q12737077
USER
Which occupations apply to jurisdiction over Villar de Plasencia and are located in Spain ?
AND((c(Q12737077),P1001,Q1648580), (c(Q12737077),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1648580
relation P1001
action find_reverse
entity Q29
relation P17
type Q12737077
{'AND': [[{'concept': 'Q12737077'}, 'P1001', 'Q1648580'], [{'concept': 'Q12737077'}, 'P17', 'Q29']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . ?x property:P17 resource:Q29 . ?x property:P1001 resource:Q1648580 }
Spain Villar de Plasencia
action filter_type
action intersection
action find_reverse
entity Villar de Plasencia
relation applies to jurisdiction
action find_reverse
entity Spain
relation country
type occupation
{'AND': [[{'concept': 'occupation'}, 'applies to jurisdiction', 'Villar de Plasencia'], [{'concept': 'occupation'}, 'country', 'Spain']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . ?x property:country resource:Spain . ?x property:applies_to_jurisdiction resource:Villar_de_Plasencia }
[]
occupation
Q26694555
SYSTEM
mayor of Villar de Plasencia
Q26694555
AND((c(Q12737077),P1001,Q1648580), (c(Q12737077),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1648580
relation P1001
action find_reverse
entity Q29
relation P17
type Q12737077
The [ANSWER] apply to jurisdiction over Villar de Plasencia and are located in Spain
{'AND': [[{'concept': 'Q12737077'}, 'P1001', 'Q1648580'], [{'concept': 'Q12737077'}, 'P17', 'Q29']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . ?x property:P17 resource:Q29 . ?x property:P1001 resource:Q1648580 }
mayor of Villar de Plasencia
The mayor of Villar de Plasencia apply to jurisdiction over Villar de Plasencia and are located in Spain
mayor of Villar de Plasencia
action filter_type
action intersection
action find_reverse
entity Villar de Plasencia
relation applies to jurisdiction
action find_reverse
entity Spain
relation country
type occupation
{'AND': [[{'concept': 'occupation'}, 'applies to jurisdiction', 'Villar de Plasencia'], [{'concept': 'occupation'}, 'country', 'Spain']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . ?x property:country resource:Spain . ?x property:applies_to_jurisdiction resource:Villar_de_Plasencia }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q26694555 Q509173
P17
Q15617994
USER
Is that occupation present in Belum ?
(Q26694555,P17,Q509173)
action is_in
entity Q509173
action find
entity Q26694555
relation P17
['Q26694555', 'P17', 'Q509173']
ASK WHERE { resource:Q26694555 property:P17 resource:Q509173 }
mayor of Villar de Plasencia Belum
action is_in
entity Belum
action find
entity mayor of Villar de Plasencia
relation country
['mayor of Villar de Plasencia', 'country', 'Belum']
ASK WHERE { resource:mayor_of_Villar_de_Plasencia property:country resource:Belum }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q26694555,P17,Q509173)
action is_in
entity Q509173
action find
entity Q26694555
relation P17
[ANSWER]
['Q26694555', 'P17', 'Q509173']
ASK WHERE { resource:Q26694555 property:P17 resource:Q509173 }
No
action is_in
entity Belum
action find
entity mayor of Villar de Plasencia
relation country
['mayor of Villar de Plasencia', 'country', 'Belum']
ASK WHERE { resource:mayor_of_Villar_de_Plasencia property:country resource:Belum }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q10566 Q16
P17
Q1048835
USER
Is Saskatoon located in Canada ?
(Q10566,P17,Q16)
action is_in
entity Q16
action find
entity Q10566
relation P17
['Q10566', 'P17', 'Q16']
ASK WHERE { resource:Q10566 property:P17 resource:Q16 }
Saskatoon Canada
action is_in
entity Canada
action find
entity Saskatoon
relation country
['Saskatoon', 'country', 'Canada']
ASK WHERE { resource:Saskatoon property:country resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q10566,P17,Q16)
action is_in
entity Q16
action find
entity Q10566
relation P17
[ANSWER]
['Q10566', 'P17', 'Q16']
ASK WHERE { resource:Q10566 property:P17 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Saskatoon
relation country
['Saskatoon', 'country', 'Canada']
ASK WHERE { resource:Saskatoon property:country resource:Canada }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1915082 Q16 Q4422089
P17
Q1048835
USER
Is Langham present in Canada and Skolobiv ?
(Q1915082,P17,Q16) (Q1915082,P17,Q4422089)
action is_in
entity Q1915082
action intersection
action find_reverse
entity Q16
relation P17
action find_reverse
entity Q4422089
relation P17
['Q1915082', 'P17', 'Q16'] ['Q1915082', 'P17', 'Q4422089']
ASK WHERE { resource:Q1915082 property:P17 resource:Q4422089 . resource:Q1915082 property:P17 resource:Q16 }
Langham Canada Skolobiv
action is_in
entity Langham
action intersection
action find_reverse
entity Canada
relation country
action find_reverse
entity Skolobiv
relation country
['Langham', 'country', 'Canada'] ['Langham', 'country', 'Skolobiv']
ASK WHERE { resource:Langham property:country resource:Skolobiv . resource:Langham property:country resource:Canada }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q1915082,P17,Q16) (Q1915082,P17,Q4422089)
action is_in
entity Q1915082
action intersection
action find_reverse
entity Q16
relation P17
action find_reverse
entity Q4422089
relation P17
[ANSWER]
['Q1915082', 'P17', 'Q16'] ['Q1915082', 'P17', 'Q4422089']
ASK WHERE { resource:Q1915082 property:P17 resource:Q4422089 . resource:Q1915082 property:P17 resource:Q16 }
YES and NO respectively
action is_in
entity Langham
action intersection
action find_reverse
entity Canada
relation country
action find_reverse
entity Skolobiv
relation country
['Langham', 'country', 'Canada'] ['Langham', 'country', 'Skolobiv']
ASK WHERE { resource:Langham property:country resource:Skolobiv . resource:Langham property:country resource:Canada }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4895074 Q74393 Q16
P27
Q1048835
USER
Is Bert Gardiner a native of Ribeiradio and Canada ?
(Q4895074,P27,Q74393) (Q4895074,P27,Q16)
action is_in
entity Q4895074
action intersection
action find_reverse
entity Q74393
relation P27
action find_reverse
entity Q16
relation P27
['Q4895074', 'P27', 'Q74393'] ['Q4895074', 'P27', 'Q16']
ASK WHERE { resource:Q4895074 property:P27 resource:Q74393 . resource:Q4895074 property:P27 resource:Q16 }
Bert Gardiner Ribeiradio Canada
action is_in
entity Bert Gardiner
action intersection
action find_reverse
entity Ribeiradio
relation country of citizenship
action find_reverse
entity Canada
relation country of citizenship
['Bert Gardiner', 'country of citizenship', 'Ribeiradio'] ['Bert Gardiner', 'country of citizenship', 'Canada']
ASK WHERE { resource:Bert_Gardiner property:country_of_citizenship resource:Ribeiradio . resource:Bert_Gardiner property:country_of_citizenship resource:Canada }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q4895074,P27,Q74393) (Q4895074,P27,Q16)
action is_in
entity Q4895074
action intersection
action find_reverse
entity Q74393
relation P27
action find_reverse
entity Q16
relation P27
[ANSWER]
['Q4895074', 'P27', 'Q74393'] ['Q4895074', 'P27', 'Q16']
ASK WHERE { resource:Q4895074 property:P27 resource:Q74393 . resource:Q4895074 property:P27 resource:Q16 }
NO and YES respectively
action is_in
entity Bert Gardiner
action intersection
action find_reverse
entity Ribeiradio
relation country of citizenship
action find_reverse
entity Canada
relation country of citizenship
['Bert Gardiner', 'country of citizenship', 'Ribeiradio'] ['Bert Gardiner', 'country of citizenship', 'Canada']
ASK WHERE { resource:Bert_Gardiner property:country_of_citizenship resource:Ribeiradio . resource:Bert_Gardiner property:country_of_citizenship resource:Canada }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3664160 Q4895074
P54
Q12973014
USER
Which sports teams are Bert Gardiner or Cedric Henderson a member of ?
OR((Q4895074,P54,c(Q12973014)), (Q3664160,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q4895074
relation P54
action find
entity Q3664160
relation P54
type Q12973014
{'OR': [['Q4895074', 'P54', {'concept': 'Q12973014'}], ['Q3664160', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q4895074 property:P54 ?g } UNION { resource:Q3664160 property:P54 ?g } } . ?g rdf:type ontology:Q12973014 }
Cedric Henderson Bert Gardiner
action filter_type
action union
action find
entity Bert Gardiner
relation member of sports team
action find
entity Cedric Henderson
relation member of sports team
type sports team
{'OR': [['Bert Gardiner', 'member of sports team', {'concept': 'sports team'}], ['Cedric Henderson', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Bert_Gardiner property:member_of_sports_team ?g } UNION { resource:Cedric_Henderson property:member_of_sports_team ?g } } . ?g rdf:type ontology:sports_team }
[]
sports team
Q159893 Q2600783 Q169637 Q188143 Q577296 Q1076356 Q209636 Q36362 Q188984 Q194121
SYSTEM
Some of them are Atlanta Hawks, Olympique Antibes, Milwaukee Bucks, Montreal Canadiens, Quad City Thunder, Chorale Roanne Basket, Chicago Blackhawks, Olimpia Milano, New York Rangers, Boston Bruins
Q209636 Q385469 Q188143 Q159893 Q169637 Q194121 Q2600783 Q577296 Q1076356 Q36362 Q188984
OR((Q4895074,P54,c(Q12973014)), (Q3664160,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q4895074
relation P54
action find
entity Q3664160
relation P54
type Q12973014
[ANSWERS] are Bert Gardiner or Cedric Henderson a member of
{'OR': [['Q4895074', 'P54', {'concept': 'Q12973014'}], ['Q3664160', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q4895074 property:P54 ?g } UNION { resource:Q3664160 property:P54 ?g } } . ?g rdf:type ontology:Q12973014 }
Chicago Blackhawks Albany Patroons Montreal Canadiens Atlanta Hawks Milwaukee Bucks Boston Bruins Olympique Antibes Quad City Thunder Chorale Roanne Basket Olimpia Milano New York Rangers
Atlanta Hawks, Olympique Antibes, Milwaukee Bucks, Montreal Canadiens, Quad City Thunder, Chorale Roanne Basket, Chicago Blackhawks, Olimpia Milano, New York Rangers and Boston Bruins are Bert Gardiner or Cedric Henderson a member of
Atlanta Hawks Olympique Antibes Milwaukee Bucks Montreal Canadiens Quad City Thunder Chorale Roanne Basket Chicago Blackhawks Olimpia Milano New York Rangers Boston Bruins
action filter_type
action union
action find
entity Bert Gardiner
relation member of sports team
action find
entity Cedric Henderson
relation member of sports team
type sports team
{'OR': [['Bert Gardiner', 'member of sports team', {'concept': 'sports team'}], ['Cedric Henderson', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Bert_Gardiner property:member_of_sports_team ?g } UNION { resource:Cedric_Henderson property:member_of_sports_team ?g } } . ?g rdf:type ontology:sports_team }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q22978787
P1923
Q12973014 Q15991303 Q18608583
USER
Which sports teams were participants in greater number of association football leagues and recurring sporting events than G-Drive Racing #28 ?
(c(Q15991303)|c(Q18608583),P1923,c(Q12973014))
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q22978787
relation P1923
type Q15991303
type Q18608583
[[{'concept': 'Q15991303'}, {'concept': 'Q18608583'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?x WHERE { { ?z property:P1923 ?x . ?x rdf:type ontology:Q12973014 . ?z rdf:type ontology:Q18608583 } UNION { ?x rdf:type ontology:Q12973014 . ?z rdf:type ontology:Q15991303 . ?z property:P1923 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P1923 resource:Q22978787 . { { ?d rdf:type ontology:Q15991303 } UNION { ?d rdf:type ontology:Q18608583 } } } } . FILTER ( ?r > ?e ) }
G-Drive Racing #28
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity G-Drive Racing #28
relation participating teams
type association football league
type recurring sporting event
[[{'concept': 'association football league'}, {'concept': 'recurring sporting event'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?x WHERE { { ?z property:participating_teams ?x . ?x rdf:type ontology:sports_team . ?z rdf:type ontology:recurring_sporting_event } UNION { ?x rdf:type ontology:sports_team . ?z rdf:type ontology:association_football_league . ?z property:participating_teams ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:participating_teams resource:G-Drive_Racing_#28 . { { ?d rdf:type ontology:association_football_league } UNION { ?d rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?r > ?e ) }
[]
sports team association football league recurring sporting event
Q27146522 Q23815600 Q27146304
SYSTEM
Switzerland national badminton team, France national badminton team, Belgium national badminton team
Q27146481 Q27146483 Q27146485 Q27146486 Q16295654 Q1981530 Q27147065 Q27146793 Q2254900 Q26722120 Q27146296 Q27146511 Q17483961 Q834461 Q799663 Q1342530 Q27146479 Q27146478 Q27146475 Q27146772 Q27147044 Q27147111 Q26722119 Q384639 Q1090946 Q1107477 Q27147052 Q27147054 Q27146294 Q27147108 Q1772900 Q2177038 Q27146507 Q27146508 Q27147107 Q966632 Q957525 Q27146320 Q18171104 Q27147026 Q27146510 Q27146516 Q1395532 Q154053 Q1723502 Q1107146 Q19336122 Q15786 Q2072673 Q1265173 Q27146526 Q27146525 Q27146522 Q27146520 Q27146519 Q27146529 Q27146543 Q15742001 Q27146539 Q372930 Q27146304 Q27146301 Q27146500 Q27146531 Q27146788 Q19831195 Q19826622 Q19336080 Q23815600 Q27146307 Q27146496 Q27146494 Q899152 Q27146490 Q27146783 Q27146310 Q27146313 Q27146314 Q15293849 Q27146317 Q27147016 Q1270077 Q491924 Q15733441 Q15623981 Q27146786
(c(Q15991303)|c(Q18608583),P1923,c(Q12973014))
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q22978787
relation P1923
type Q15991303
type Q18608583
[ANSWERS] were participants in greater number of association football leagues and recurring sporting events than G-Drive Racing #28
[[{'concept': 'Q15991303'}, {'concept': 'Q18608583'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?x WHERE { { ?z property:P1923 ?x . ?x rdf:type ontology:Q12973014 . ?z rdf:type ontology:Q18608583 } UNION { ?x rdf:type ontology:Q12973014 . ?z rdf:type ontology:Q15991303 . ?z property:P1923 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P1923 resource:Q22978787 . { { ?d rdf:type ontology:Q15991303 } UNION { ?d rdf:type ontology:Q18608583 } } } } . FILTER ( ?r > ?e ) }
Hungary national badminton team Iceland national badminton team Israel national badminton team Italy national badminton team Australia national badminton team New Zealand national badminton team Suriname national badminton team Sri Lanka national badminton team Sweden national badminton team Bulgaria national badminton team Austria national badminton team Romania national badminton team Singapore national badminton team Germany national badminton team GDR national badminton team England national badminton team Greenland national badminton team Greece national badminton team Gibraltar national badminton team Kazakhstan national badminton team Guatemala national badminton team Seychelles national badminton team Ireland national badminton team China national badminton team Japan national badminton team Malaysia national badminton team Jamaica national badminton team Mexico national badminton team Armenia national badminton team Morocco national badminton team Nigeria national badminton team Russia national badminton team Norway national badminton team Poland national badminton team Mauritius national badminton team Taiwan national badminton team Netherlands national badminton team Finland national badminton team Scotland national badminton team Chile national badminton team Portugal national badminton team Slovakia national badminton team Thailand national badminton team Eintracht Braunschweig Canada national badminton team Indonesia national badminton team Wanty-Groupe Gobert 2015 1. FC Nürnberg Peru national badminton team India national badminton team Wales national badminton team Turkey national badminton team Switzerland national badminton team Spain national badminton team Slovenia national badminton team Vietnam national badminton team Yugoslavia national badminton team North Korea national badminton team Czechoslovakia national badminton team United States national badminton team Belgium national badminton team Belarus national badminton team Malta national badminton team USSR national badminton team Pakistan national badminton team 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 Brazil national badminton team Latvia national badminton team Mongolia national badminton team Cyprus national badminton team Czech national badminton team Estonia national badminton team Hong Kong national badminton team Faroe Islands national badminton team Argentina national badminton team Denmark national badminton team South Korea national badminton team Philippines national badminton team South Africa national badminton team Nepal national badminton team
Switzerland national badminton team, France national badminton team and Belgium national badminton team were participants in greater number of association football leagues and recurring sporting events than G-Drive Racing #28
Switzerland national badminton team France national badminton team Belgium national badminton team
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity G-Drive Racing #28
relation participating teams
type association football league
type recurring sporting event
[[{'concept': 'association football league'}, {'concept': 'recurring sporting event'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?x WHERE { { ?z property:participating_teams ?x . ?x rdf:type ontology:sports_team . ?z rdf:type ontology:recurring_sporting_event } UNION { ?x rdf:type ontology:sports_team . ?z rdf:type ontology:association_football_league . ?z property:participating_teams ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:participating_teams resource:G-Drive_Racing_#28 . { { ?d rdf:type ontology:association_football_league } UNION { ?d rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?r > ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q27147107
P1923
Q12973014 Q15991303 Q18608583
USER
And also tell me about Mauritius national badminton team?
(c(Q15991303)|c(Q18608583),P1923,c(Q12973014))
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q27147107
relation P1923
type Q15991303
type Q18608583
[[{'concept': 'Q15991303'}, {'concept': 'Q18608583'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:P1923 ?q . ?k rdf:type ontology:Q15991303 . ?q rdf:type ontology:Q12973014 } UNION { ?q rdf:type ontology:Q12973014 . ?k rdf:type ontology:Q18608583 . ?k property:P1923 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P1923 resource:Q27147107 . { { ?p rdf:type ontology:Q15991303 } UNION { ?p rdf:type ontology:Q18608583 } } } } . FILTER ( ?i > ?j ) }
Mauritius national badminton team
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Mauritius national badminton team
relation participating teams
type association football league
type recurring sporting event
[[{'concept': 'association football league'}, {'concept': 'recurring sporting event'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:participating_teams ?q . ?k rdf:type ontology:association_football_league . ?q rdf:type ontology:sports_team } UNION { ?q rdf:type ontology:sports_team . ?k rdf:type ontology:recurring_sporting_event . ?k property:participating_teams ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:participating_teams resource:Mauritius_national_badminton_team . { { ?p rdf:type ontology:association_football_league } UNION { ?p rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?i > ?j ) }
[]
sports team association football league recurring sporting event
Q27146522 Q23815600 Q27146304
SYSTEM
Switzerland national badminton team, France national badminton team, Belgium national badminton team
Q27146481 Q27146483 Q27146485 Q27146486 Q16295654 Q1981530 Q27146793 Q2254900 Q26722120 Q27146296 Q17483961 Q834461 Q1342530 Q27146475 Q27146772 Q26722119 Q384639 Q1090946 Q1107477 Q2177038 Q27146507 Q27146508 Q966632 Q957525 Q27146320 Q18171104 Q27146510 Q27146516 Q1395532 Q154053 Q1723502 Q1107146 Q19336122 Q15786 Q2072673 Q1265173 Q27146526 Q27146525 Q27146522 Q27146520 Q27146519 Q27146543 Q27146539 Q372930 Q27146304 Q27146301 Q27146500 Q27146531 Q19831195 Q19826622 Q19336080 Q23815600 Q27146496 Q27146494 Q27146490 Q27146310 Q27146313 Q27146314 Q15293849 Q1270077 Q491924 Q15623981
(c(Q15991303)|c(Q18608583),P1923,c(Q12973014))
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q27147107
relation P1923
type Q15991303
type Q18608583
[ANSWERS]
[[{'concept': 'Q15991303'}, {'concept': 'Q18608583'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:P1923 ?q . ?k rdf:type ontology:Q15991303 . ?q rdf:type ontology:Q12973014 } UNION { ?q rdf:type ontology:Q12973014 . ?k rdf:type ontology:Q18608583 . ?k property:P1923 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P1923 resource:Q27147107 . { { ?p rdf:type ontology:Q15991303 } UNION { ?p rdf:type ontology:Q18608583 } } } } . FILTER ( ?i > ?j ) }
Hungary national badminton team Iceland national badminton team Israel national badminton team Italy national badminton team Australia national badminton team New Zealand national badminton team Sri Lanka national badminton team Sweden national badminton team Bulgaria national badminton team Austria national badminton team Singapore national badminton team Germany national badminton team England national badminton team Gibraltar national badminton team Kazakhstan national badminton team Ireland national badminton team China national badminton team Japan national badminton team Malaysia national badminton team Russia national badminton team Norway national badminton team Poland national badminton team Taiwan national badminton team Netherlands national badminton team Finland national badminton team Scotland national badminton team Portugal national badminton team Slovakia national badminton team Thailand national badminton team Eintracht Braunschweig Canada national badminton team Indonesia national badminton team Wanty-Groupe Gobert 2015 1. FC Nürnberg Peru national badminton team India national badminton team Wales national badminton team Turkey national badminton team Switzerland national badminton team Spain national badminton team Slovenia national badminton team Yugoslavia national badminton team Czechoslovakia national badminton team United States national badminton team Belgium national badminton team Belarus national badminton team Malta national badminton team USSR national badminton team Roompot Oranje Peloton 2015 Ukraine national badminton team RusVelo 2015 France national badminton team Luxembourg national badminton team Lithuania national badminton team Latvia national badminton team Cyprus national badminton team Czech national badminton team Estonia national badminton team Hong Kong national badminton team Denmark national badminton team South Korea national badminton team South Africa national badminton team
Switzerland national badminton team France national badminton team Belgium national badminton team
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
action find_reverse_tuple_counts
relation participating teams
type sports team
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Mauritius national badminton team
relation participating teams
type association football league
type recurring sporting event
[[{'concept': 'association football league'}, {'concept': 'recurring sporting event'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:participating_teams ?q . ?k rdf:type ontology:association_football_league . ?q rdf:type ontology:sports_team } UNION { ?q rdf:type ontology:sports_team . ?k rdf:type ontology:recurring_sporting_event . ?k property:participating_teams ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:participating_teams resource:Mauritius_national_badminton_team . { { ?p rdf:type ontology:association_football_league } UNION { ?p rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?i > ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q593512 Q1648580
P1001
Q12737077
USER
Which occupations preside the jurisdiction over Villar de Plasencia or Sant Martí Sarroca ?
OR((c(Q12737077),P1001,Q1648580), (c(Q12737077),P1001,Q593512))
action filter_type
action union
action find_reverse
entity Q1648580
relation P1001
action find_reverse
entity Q593512
relation P1001
type Q12737077
{'OR': [[{'concept': 'Q12737077'}, 'P1001', 'Q1648580'], [{'concept': 'Q12737077'}, 'P1001', 'Q593512']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . { { ?y property:P1001 resource:Q1648580 } UNION { ?y property:P1001 resource:Q593512 } } }
Sant Martí Sarroca Villar de Plasencia
action filter_type
action union
action find_reverse
entity Villar de Plasencia
relation applies to jurisdiction
action find_reverse
entity Sant Martí Sarroca
relation applies to jurisdiction
type occupation
{'OR': [[{'concept': 'occupation'}, 'applies to jurisdiction', 'Villar de Plasencia'], [{'concept': 'occupation'}, 'applies to jurisdiction', 'Sant Martí Sarroca']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . { { ?y property:applies_to_jurisdiction resource:Villar_de_Plasencia } UNION { ?y property:applies_to_jurisdiction resource:Sant_Martí_Sarroca } } }
[]
occupation
Q26694555 Q26698893
SYSTEM
mayor of Villar de Plasencia, mayor of Sant Martí Sarroca
Q26694555 Q26698893
OR((c(Q12737077),P1001,Q1648580), (c(Q12737077),P1001,Q593512))
action filter_type
action union
action find_reverse
entity Q1648580
relation P1001
action find_reverse
entity Q593512
relation P1001
type Q12737077
[ANSWERS] preside the jurisdiction over Villar de Plasencia or Sant Martí Sarroca
{'OR': [[{'concept': 'Q12737077'}, 'P1001', 'Q1648580'], [{'concept': 'Q12737077'}, 'P1001', 'Q593512']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . { { ?y property:P1001 resource:Q1648580 } UNION { ?y property:P1001 resource:Q593512 } } }
mayor of Villar de Plasencia mayor of Sant Martí Sarroca
Mayor of Villar de Plasencia and mayor of Sant Martí Sarroca preside the jurisdiction over Villar de Plasencia or Sant Martí Sarroca
mayor of Villar de Plasencia mayor of Sant Martí Sarroca
action filter_type
action union
action find_reverse
entity Villar de Plasencia
relation applies to jurisdiction
action find_reverse
entity Sant Martí Sarroca
relation applies to jurisdiction
type occupation
{'OR': [[{'concept': 'occupation'}, 'applies to jurisdiction', 'Villar de Plasencia'], [{'concept': 'occupation'}, 'applies to jurisdiction', 'Sant Martí Sarroca']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . { { ?y property:applies_to_jurisdiction resource:Villar_de_Plasencia } UNION { ?y property:applies_to_jurisdiction resource:Sant_Martí_Sarroca } } }
[]