Simple Question (Direct)
Simple Question
Q2834273
P641
Q349
USER
What was the sport that Pedro Florimón was a part of ?
(Q2834273,P641,c(Q349))
action filter_type
action find
entity Q2834273
relation P641
type Q349
['Q2834273', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q2834273 property:P641 ?y . ?y rdf:type ontology:Q349 }
Pedro Florimón
action filter_type
action find
entity Pedro Florimón
relation sport
type sport
['Pedro Florimón', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Pedro_Florimón property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q2834273,P641,c(Q349))
action filter_type
action find
entity Q2834273
relation P641
type Q349
The sport that Pedro Florimón was a part of was h [ANSWER]
['Q2834273', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q2834273 property:P641 ?y . ?y rdf:type ontology:Q349 }
baseball
The sport that Pedro Florimón was a part of was h baseball
baseball
action filter_type
action find
entity Pedro Florimón
relation sport
type sport
['Pedro Florimón', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Pedro_Florimón property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2834273
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q5369,P54,c(Q12973014))
action filter_type
action find
entity Q2834273
relation P54
type Q12973014
['Q5369', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { resource:Q2834273 property:P54 ?a . ?a rdf:type ontology:Q12973014 }
Pedro Florimón
action filter_type
action find
entity Pedro Florimón
relation member of sports team
type sports team
['baseball', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { resource:Pedro_Florimón property:member_of_sports_team ?a . ?a rdf:type ontology:sports_team }
[]
sports team
Q650816 Q604879 Q653772
SYSTEM
Baltimore Orioles, Minnesota Twins, Pittsburgh Pirates
Q1966948 Q650816 Q604879 Q653772
(Q5369,P54,c(Q12973014))
action filter_type
action find
entity Q2834273
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q5369', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { resource:Q2834273 property:P54 ?a . ?a rdf:type ontology:Q12973014 }
Rochester Red Wings Baltimore Orioles Minnesota Twins Pittsburgh Pirates
Baltimore Orioles, Minnesota Twins and Pittsburgh Pirates are that person a member of
Baltimore Orioles Minnesota Twins Pittsburgh Pirates
action filter_type
action find
entity Pedro Florimón
relation member of sports team
type sports team
['baseball', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { resource:Pedro_Florimón property:member_of_sports_team ?a . ?a rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q650816
P115
Q811979 Q1076486
USER
How many architectural structures and sports venues are the home venues of Baltimore Orioles ?
(Q650816,P115,c(Q811979)) (Q650816,P115,c(Q1076486))
action count
action union
action filter_type
action find
entity Q650816
relation P115
type Q811979
action filter_type
action find
entity Q650816
relation P115
type Q1076486
['Q650816', 'P115', {'concept': 'Q811979'}] ['Q650816', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } }
Baltimore Orioles
action count
action union
action filter_type
action find
entity Baltimore Orioles
relation home venue
type architectural structure
action filter_type
action find
entity Baltimore Orioles
relation home venue
type sports venue
['Baltimore Orioles', 'home venue', {'concept': 'architectural structure'}] ['Baltimore Orioles', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } }
[]
architectural structure sports venue
SYSTEM
1 architectural structures and 1 sports venues
Q2748739 Q6662766
(Q650816,P115,c(Q811979)) (Q650816,P115,c(Q1076486))
action count
action union
action filter_type
action find
entity Q650816
relation P115
type Q811979
action filter_type
action find
entity Q650816
relation P115
type Q1076486
[ANSWER]
['Q650816', 'P115', {'concept': 'Q811979'}] ['Q650816', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } }
Memorial Stadium Lloyd Street Grounds
1 architectural structures and 1 sports venues
action count
action union
action filter_type
action find
entity Baltimore Orioles
relation home venue
type architectural structure
action filter_type
action find
entity Baltimore Orioles
relation home venue
type sports venue
['Baltimore Orioles', 'home venue', {'concept': 'architectural structure'}] ['Baltimore Orioles', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7909496 Q650816
P115
Q1076486
USER
Which sports venues are the arena of Baltimore Orioles or Vale Recreation F.C. ?
OR((Q650816,P115,c(Q1076486)), (Q7909496,P115,c(Q1076486)))
action filter_type
action union
action find
entity Q650816
relation P115
action find
entity Q7909496
relation P115
type Q1076486
{'OR': [['Q650816', 'P115', {'concept': 'Q1076486'}], ['Q7909496', 'P115', {'concept': 'Q1076486'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?v ) { ( resource:Q7909496 ) ( resource:Q650816 ) } . ?v property:P115 ?j } . ?j rdf:type ontology:Q1076486 }
Vale Recreation F.C. Baltimore Orioles
action filter_type
action union
action find
entity Baltimore Orioles
relation home venue
action find
entity Vale Recreation F.C.
relation home venue
type sports venue
{'OR': [['Baltimore Orioles', 'home venue', {'concept': 'sports venue'}], ['Vale Recreation F.C.', 'home venue', {'concept': 'sports venue'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?v ) { ( resource:Vale_Recreation_F.C. ) ( resource:Baltimore_Orioles ) } . ?v property:home_venue ?j } . ?j rdf:type ontology:sports_venue }
[]
sports venue
Q2748739 Q7727601
SYSTEM
Memorial Stadium, The Corbet Field
Q2748739 Q7727601
OR((Q650816,P115,c(Q1076486)), (Q7909496,P115,c(Q1076486)))
action filter_type
action union
action find
entity Q650816
relation P115
action find
entity Q7909496
relation P115
type Q1076486
[ANSWERS] are the arena of Baltimore Orioles or Vale Recreation F.C.
{'OR': [['Q650816', 'P115', {'concept': 'Q1076486'}], ['Q7909496', 'P115', {'concept': 'Q1076486'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?v ) { ( resource:Q7909496 ) ( resource:Q650816 ) } . ?v property:P115 ?j } . ?j rdf:type ontology:Q1076486 }
Memorial Stadium The Corbet Field
Memorial Stadium and The Corbet Field are the arena of Baltimore Orioles or Vale Recreation F.C.
Memorial Stadium The Corbet Field
action filter_type
action union
action find
entity Baltimore Orioles
relation home venue
action find
entity Vale Recreation F.C.
relation home venue
type sports venue
{'OR': [['Baltimore Orioles', 'home venue', {'concept': 'sports venue'}], ['Vale Recreation F.C.', 'home venue', {'concept': 'sports venue'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?v ) { ( resource:Vale_Recreation_F.C. ) ( resource:Baltimore_Orioles ) } . ?v property:home_venue ?j } . ?j rdf:type ontology:sports_venue }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16927801 Q2748739
P495 P17
Q15617994
USER
Which administrative territories do Memorial Stadium belong to and are the origins of A Martian Christmas ?
AND((Q2748739,P17,c(Q15617994)), (Q16927801,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q2748739
relation P17
action find
entity Q16927801
relation P495
type Q15617994
{'AND': [['Q2748739', 'P17', {'concept': 'Q15617994'}], ['Q16927801', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { resource:Q2748739 property:P17 ?m . resource:Q16927801 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
A Martian Christmas Memorial Stadium
action filter_type
action intersection
action find
entity Memorial Stadium
relation country
action find
entity A Martian Christmas
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Memorial Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}], ['A Martian Christmas', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Memorial_Stadium property:country ?m . resource:A_Martian_Christmas property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q2748739,P17,c(Q15617994)), (Q16927801,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q2748739
relation P17
action find
entity Q16927801
relation P495
type Q15617994
Memorial Stadium belong to the [ANSWER] and are the origins of A Martian Christmas
{'AND': [['Q2748739', 'P17', {'concept': 'Q15617994'}], ['Q16927801', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { resource:Q2748739 property:P17 ?m . resource:Q16927801 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
United States of America
Memorial Stadium belong to the United States of America and are the origins of A Martian Christmas
United States of America
action filter_type
action intersection
action find
entity Memorial Stadium
relation country
action find
entity A Martian Christmas
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Memorial Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}], ['A Martian Christmas', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Memorial_Stadium property:country ?m . resource:A_Martian_Christmas property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16927801
P161
Q502895
USER
Which people starred in that work of art ?
(Q30,P161,c(Q502895))
action filter_type
action find
entity Q16927801
relation P161
type Q502895
['Q30', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q16927801 property:P161 ?y . ?y rdf:type ontology:Q502895 }
A Martian Christmas
action filter_type
action find
entity A Martian Christmas
relation cast member
type common name
['United States of America', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:A_Martian_Christmas property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
common name
Q5278485 Q5229264 Q2268311
SYSTEM
Dino Andrade, Dave Mallow, Katie Leigh
Q2268311 Q5120590 Q5278485 Q7273848 Q5229264 Q1445263
(Q30,P161,c(Q502895))
action filter_type
action find
entity Q16927801
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q30', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q16927801 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Katie Leigh Cindy Robinson Dino Andrade R. Martin Klein Dave Mallow David Lodge
Dino Andrade, Dave Mallow and Katie Leigh starred in that work of art
Dino Andrade Dave Mallow Katie Leigh
action filter_type
action find
entity A Martian Christmas
relation cast member
type common name
['United States of America', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:A_Martian_Christmas property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 975 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 975
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P1303 ?b . ?s rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 } GROUP BY ?b } . FILTER ( ?q = 975 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 975
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:instrument ?b . ?s rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument } GROUP BY ?b } . FILTER ( ?q = 975 ) }
[]
musical instrument common name
SYSTEM
63
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 975
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P1303 ?b . ?s rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 } GROUP BY ?b } . FILTER ( ?q = 975 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
63
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 975
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:instrument ?b . ?s rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument } GROUP BY ?b } . FILTER ( ?q = 975 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 1591 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1591
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?s = 1591 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1591
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?s = 1591 ) }
[]
musical instrument common name
Q80284 Q46185 Q80019
SYSTEM
viola, bass guitar, double bass
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1591
[ANSWERS] can approximately 1591 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?s = 1591 ) }
viola bass guitar double bass trumpet cello organ drum kit electronic keyboard
Viola, bass guitar and double bass can approximately 1591 people perform with
viola bass guitar double bass
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1591
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?s = 1591 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q618123 Q3918 Q12973014
USER
How many sports teams are a part of atleast 1 geographical objects or universities ?
(c(Q12973014),P361,c(Q618123)|c(Q3918))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q12973014
type Q618123
action find_tuple_counts
relation P361
type Q12973014
type Q3918
value 1
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q618123'}, {'concept': 'Q3918'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?x WHERE { { ?x property:P361 ?w . ?x rdf:type ontology:Q12973014 . ?w rdf:type ontology:Q618123 } UNION { ?x property:P361 ?w . ?x rdf:type ontology:Q12973014 . ?w rdf:type ontology:Q3918 } } GROUP BY ?x } . FILTER ( ?j >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation part of
type sports team
type geographical object
action find_tuple_counts
relation part of
type sports team
type university
value 1
[{'concept': 'sports team'}, 'part of', [{'concept': 'geographical object'}, {'concept': 'university'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?x WHERE { { ?x property:part_of ?w . ?x rdf:type ontology:sports_team . ?w rdf:type ontology:geographical_object } UNION { ?x property:part_of ?w . ?x rdf:type ontology:sports_team . ?w rdf:type ontology:university } } GROUP BY ?x } . FILTER ( ?j >= 1 ) }
[]
geographical object university sports team
SYSTEM
18
Q17098475 Q6686164 Q16683843 Q8383824 Q2449917 Q6686175 Q2443717 Q847701 Q2819480 Q1635382 Q949399 Q18704184 Q6827387 Q2049524 Q23760224 Q3365302 Q922432 Q18343671
(c(Q12973014),P361,c(Q618123)|c(Q3918))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q12973014
type Q618123
action find_tuple_counts
relation P361
type Q12973014
type Q3918
value 1
[ANSWER]
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q618123'}, {'concept': 'Q3918'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?x WHERE { { ?x property:P361 ?w . ?x rdf:type ontology:Q12973014 . ?w rdf:type ontology:Q618123 } UNION { ?x property:P361 ?w . ?x rdf:type ontology:Q12973014 . ?w rdf:type ontology:Q3918 } } GROUP BY ?x } . FILTER ( ?j >= 1 ) }
RK Mornar Bar Loughborough MCC University ZMC Amicitia Zürich Aris Thessaloniki B.C. Tranås AIF Hockey Loughborough Students RUFC KK Mornar Bar Olympiacos B.C. ASUL Vaulx-en-Velin Legia Warszawa Legia Warsaw Karlsruher SC II Miami RedHawks men's basketball Panionios B.C. New York Athletic Club Paris Université Club Olympiacos Water Polo Club Melli Haffari Ahvaz Basketball Club
18
action count
action atleast
action union
action find_tuple_counts
relation part of
type sports team
type geographical object
action find_tuple_counts
relation part of
type sports team
type university
value 1
[{'concept': 'sports team'}, 'part of', [{'concept': 'geographical object'}, {'concept': 'university'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?x WHERE { { ?x property:part_of ?w . ?x rdf:type ontology:sports_team . ?w rdf:type ontology:geographical_object } UNION { ?x property:part_of ?w . ?x rdf:type ontology:sports_team . ?w rdf:type ontology:university } } GROUP BY ?x } . FILTER ( ?j >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q207503 Q7909496
P466
Q1076486
USER
Which sports venues are occupied by Vale Recreation F.C. or Helsingborgs IF ?
OR((c(Q1076486),P466,Q7909496), (c(Q1076486),P466,Q207503))
action filter_type
action union
action find_reverse
entity Q7909496
relation P466
action find_reverse
entity Q207503
relation P466
type Q1076486
{'OR': [[{'concept': 'Q1076486'}, 'P466', 'Q7909496'], [{'concept': 'Q1076486'}, 'P466', 'Q207503']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Q207503 ) ( resource:Q7909496 ) } . ?h property:P466 ?a } . ?h rdf:type ontology:Q1076486 }
Helsingborgs IF Vale Recreation F.C.
action filter_type
action union
action find_reverse
entity Vale Recreation F.C.
relation occupant
action find_reverse
entity Helsingborgs IF
relation occupant
type sports venue
{'OR': [[{'concept': 'sports venue'}, 'occupant', 'Vale Recreation F.C.'], [{'concept': 'sports venue'}, 'occupant', 'Helsingborgs IF']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Helsingborgs_IF ) ( resource:Vale_Recreation_F.C. ) } . ?h property:occupant ?a } . ?h rdf:type ontology:sports_venue }
[]
sports venue
Q638087 Q7727601
SYSTEM
Olympia, The Corbet Field
Q638087 Q7727601
OR((c(Q1076486),P466,Q7909496), (c(Q1076486),P466,Q207503))
action filter_type
action union
action find_reverse
entity Q7909496
relation P466
action find_reverse
entity Q207503
relation P466
type Q1076486
[ANSWERS] are occupied by Vale Recreation F.C. or Helsingborgs IF
{'OR': [[{'concept': 'Q1076486'}, 'P466', 'Q7909496'], [{'concept': 'Q1076486'}, 'P466', 'Q207503']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Q207503 ) ( resource:Q7909496 ) } . ?h property:P466 ?a } . ?h rdf:type ontology:Q1076486 }
Olympia The Corbet Field
Olympia and The Corbet Field are occupied by Vale Recreation F.C. or Helsingborgs IF
Olympia The Corbet Field
action filter_type
action union
action find_reverse
entity Vale Recreation F.C.
relation occupant
action find_reverse
entity Helsingborgs IF
relation occupant
type sports venue
{'OR': [[{'concept': 'sports venue'}, 'occupant', 'Vale Recreation F.C.'], [{'concept': 'sports venue'}, 'occupant', 'Helsingborgs IF']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Helsingborgs_IF ) ( resource:Vale_Recreation_F.C. ) } . ?h property:occupant ?a } . ?h rdf:type ontology:sports_venue }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P138
Q2235308 Q811979
USER
How many ship types and architectural structures are named after United States of America ?
(c(Q2235308),P138,Q30) (c(Q811979),P138,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P138
type Q2235308
action filter_type
action find_reverse
entity Q30
relation P138
type Q811979
[{'concept': 'Q2235308'}, 'P138', 'Q30'] [{'concept': 'Q811979'}, 'P138', 'Q30']
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { ?f property:P138 resource:Q30 . ?f rdf:type ontology:Q2235308 } UNION { ?f property:P138 resource:Q30 . ?f rdf:type ontology:Q811979 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation named after
type ship type
action filter_type
action find_reverse
entity United States of America
relation named after
type architectural structure
[{'concept': 'ship type'}, 'named after', 'United States of America'] [{'concept': 'architectural structure'}, 'named after', 'United States of America']
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { ?f property:named_after resource:United_States_of_America . ?f rdf:type ontology:ship_type } UNION { ?f property:named_after resource:United_States_of_America . ?f rdf:type ontology:architectural_structure } }
[]
ship type architectural structure
SYSTEM
2 ship types and 1 architectural structures
Q509266 Q7408497 Q3390556
(c(Q2235308),P138,Q30) (c(Q811979),P138,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P138
type Q2235308
action filter_type
action find_reverse
entity Q30
relation P138
type Q811979
[ANSWER]
[{'concept': 'Q2235308'}, 'P138', 'Q30'] [{'concept': 'Q811979'}, 'P138', 'Q30']
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { ?f property:P138 resource:Q30 . ?f rdf:type ontology:Q2235308 } UNION { ?f property:P138 resource:Q30 . ?f rdf:type ontology:Q811979 } }
USS America USS America place des États-Unis
2 ship types and 1 architectural structures
action count
action union
action filter_type
action find_reverse
entity United States of America
relation named after
type ship type
action filter_type
action find_reverse
entity United States of America
relation named after
type architectural structure
[{'concept': 'ship type'}, 'named after', 'United States of America'] [{'concept': 'architectural structure'}, 'named after', 'United States of America']
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { ?f property:named_after resource:United_States_of_America . ?f rdf:type ontology:ship_type } UNION { ?f property:named_after resource:United_States_of_America . ?f rdf:type ontology:architectural_structure } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8355
P180
Q34379 Q1792379 Q340169
USER
How many musical instruments are expressed in lesser number of art genres and medias than violin ?
(c(Q1792379)|c(Q340169),P180,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q8355
relation P180
type Q1792379
type Q340169
[[{'concept': 'Q1792379'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P180 resource:Q8355 . { { ?l rdf:type ontology:Q1792379 } UNION { ?l rdf:type ontology:Q340169 } } } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?c ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:Q1792379 ) ( ontology:Q340169 ) } } GROUP BY ?g } }
violin
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type art genre
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
action count
action filter_multi_types
action find_reverse
entity violin
relation depicts
type art genre
type media
[[{'concept': 'art genre'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:depicts resource:violin . { { ?l rdf:type ontology:art_genre } UNION { ?l rdf:type ontology:media } } } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?c ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:art_genre ) ( ontology:media ) } } GROUP BY ?g } }
[]
musical instrument art genre media
SYSTEM
17
Q8371 Q3382191 Q201129 Q5994 Q7933058 Q81982 Q190172 Q218547 Q8338 Q1444 Q173453 Q1148709 Q1141589 Q426948 Q871633 Q3500690 Q1798603
(c(Q1792379)|c(Q340169),P180,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q8355
relation P180
type Q1792379
type Q340169
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P180 resource:Q8355 . { { ?l rdf:type ontology:Q1792379 } UNION { ?l rdf:type ontology:Q340169 } } } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?c ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:Q1792379 ) ( ontology:Q340169 ) } } GROUP BY ?g } }
cello upright piano lyre piano Viola caipira harpsichord cymbal Sigismund Bell trumpet organ wind instrument grand piano Crotales sistrum Handbell Church bell string instrument
17
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type art genre
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
action count
action filter_multi_types
action find_reverse
entity violin
relation depicts
type art genre
type media
[[{'concept': 'art genre'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:depicts resource:violin . { { ?l rdf:type ontology:art_genre } UNION { ?l rdf:type ontology:media } } } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?c ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:art_genre ) ( ontology:media ) } } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q11404
P180
Q34379 Q1792379 Q340169
USER
And what about drum?
(c(Q1792379)|c(Q340169),P180,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q11404
relation P180
type Q1792379
type Q340169
[[{'concept': 'Q1792379'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?p WHERE { VALUES ( ?m ) { ( ontology:Q1792379 ) ( ontology:Q340169 ) } . ?j rdf:type ?m } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P180 resource:Q11404 . { { ?r rdf:type ontology:Q1792379 } UNION { ?r rdf:type ontology:Q340169 } } } } . FILTER ( ?z < ?w ) }
drum
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type art genre
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
action count
action filter_multi_types
action find_reverse
entity drum
relation depicts
type art genre
type media
[[{'concept': 'art genre'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?p WHERE { VALUES ( ?m ) { ( ontology:art_genre ) ( ontology:media ) } . ?j rdf:type ?m } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:depicts resource:drum . { { ?r rdf:type ontology:art_genre } UNION { ?r rdf:type ontology:media } } } } . FILTER ( ?z < ?w ) }
[]
musical instrument art genre media
SYSTEM
17
Q8371 Q3382191 Q201129 Q5994 Q7933058 Q81982 Q190172 Q218547 Q8338 Q1444 Q173453 Q1148709 Q1141589 Q426948 Q871633 Q3500690 Q1798603
(c(Q1792379)|c(Q340169),P180,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q11404
relation P180
type Q1792379
type Q340169
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?p WHERE { VALUES ( ?m ) { ( ontology:Q1792379 ) ( ontology:Q340169 ) } . ?j rdf:type ?m } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P180 resource:Q11404 . { { ?r rdf:type ontology:Q1792379 } UNION { ?r rdf:type ontology:Q340169 } } } } . FILTER ( ?z < ?w ) }
cello upright piano lyre piano Viola caipira harpsichord cymbal Sigismund Bell trumpet organ wind instrument grand piano Crotales sistrum Handbell Church bell string instrument
17
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type art genre
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
action count
action filter_multi_types
action find_reverse
entity drum
relation depicts
type art genre
type media
[[{'concept': 'art genre'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?p WHERE { VALUES ( ?m ) { ( ontology:art_genre ) ( ontology:media ) } . ?j rdf:type ?m } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:depicts resource:drum . { { ?r rdf:type ontology:art_genre } UNION { ?r rdf:type ontology:media } } } } . FILTER ( ?z < ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q27147067
P1923
Q12973014 Q15991303 Q22348500
USER
Which sports teams contested in approximately the same number of association football leagues and cycling race classes as Trinidad and Tobago national badminton team ?
(c(Q15991303)|c(Q22348500),P1923,c(Q12973014))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action count
action filter_multi_types
action find_reverse
entity Q27147067
relation P1923
type Q15991303
type Q22348500
[[{'concept': 'Q15991303'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?p ) WHERE { { ?d property:P1923 ?x . ?d rdf:type ontology:Q15991303 . ?x rdf:type ontology:Q12973014 } UNION { ?d property:P1923 ?x . ?x rdf:type ontology:Q12973014 . ?d rdf:type ontology:Q22348500 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P1923 resource:Q27147067 . { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15991303 ) ( ontology:Q22348500 ) } } } } . FILTER ( ?p = ?r ) }
Trinidad and Tobago national badminton team
action approx
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 cycling race class defined by the International Cycling Union
action count
action filter_multi_types
action find_reverse
entity Trinidad and Tobago national badminton team
relation participating teams
type association football league
type cycling race class defined by the International Cycling Union
[[{'concept': 'association football league'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?p ) WHERE { { ?d property:participating_teams ?x . ?d rdf:type ontology:association_football_league . ?x rdf:type ontology:sports_team } UNION { ?d property:participating_teams ?x . ?x rdf:type ontology:sports_team . ?d rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:participating_teams resource:Trinidad_and_Tobago_national_badminton_team . { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:association_football_league ) ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) } } } } . FILTER ( ?p = ?r ) }
[]
sports team association football league cycling race class defined by the International Cycling Union
Q27146522 Q12872831 Q23815600
SYSTEM
Switzerland national badminton team, AEZ Zakakiou, France national badminton team
Q23674523 Q27146481 Q27146483 Q27146485 Q27146486 Q3421766 Q16295654 Q1981530 Q23887716 Q27147065 Q27147067 Q27660052 Q27146793 Q27159856 Q22956606 Q23674434 Q12872831 Q20725930 Q3500017 Q661160 Q461595 Q22132404 Q2254900 Q604617 Q22939728 Q27146762 Q27147077 Q21520147 Q22955635 Q26722120 Q27146296 Q27146511 Q747368 Q213417 Q17483961 Q812812 Q834461 Q799663 Q1342530 Q27146479 Q27146478 Q27146475 Q27146772 Q27147044 Q27147041 Q27147111 Q26722119 Q22956043 Q384639 Q750016 Q645934 Q3217856 Q1090946 Q670376 Q1107477 Q27147052 Q27147054 Q27146294 Q27147108 Q1772900 Q2177038 Q27146507 Q27146508 Q27159842 Q27147107 Q23887469 Q966632 Q15809074 Q1988831 Q957525 Q22939172 Q27146320 Q23953473 Q18171104 Q27147026 Q27147020 Q23664286 Q653772 Q27146510 Q23887753 Q22958235 Q23979109 Q23681177 Q27146516 Q721134 Q27147134 Q23663718 Q27147131 Q1395532 Q27147139 Q1723502 Q1107146 Q5461394 Q2072673 Q1265173 Q27146526 Q27146525 Q334634 Q27146522 Q27147126 Q27146520 Q27146519 Q22117386 Q27146529 Q335169 Q650855 Q23664320 Q27146543 Q22978787 Q16331496 Q22978783 Q15742001 Q27146539 Q372930 Q27146304 Q22940028 Q27146301 Q27146500 Q27147245 Q27146531 Q23900171 Q815514 Q27146788 Q2473436 Q19826622 Q23815600 Q27146307 Q22950181 Q27146496 Q27146494 Q899152 Q27146490 Q19599054 Q27146783 Q21772601 Q27146310 Q27146313 Q27146314 Q15293849 Q27146317 Q27147016 Q1270077 Q652879 Q16883477 Q491924 Q27147099 Q27147140 Q15733441 Q27146782 Q15623981 Q27146786 Q27147093
(c(Q15991303)|c(Q22348500),P1923,c(Q12973014))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action count
action filter_multi_types
action find_reverse
entity Q27147067
relation P1923
type Q15991303
type Q22348500
[ANSWERS] contested in approximately the same number of association football leagues and cycling race classes as Trinidad and Tobago national badminton team
[[{'concept': 'Q15991303'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?p ) WHERE { { ?d property:P1923 ?x . ?d rdf:type ontology:Q15991303 . ?x rdf:type ontology:Q12973014 } UNION { ?d property:P1923 ?x . ?x rdf:type ontology:Q12973014 . ?d rdf:type ontology:Q22348500 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P1923 resource:Q27147067 . { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15991303 ) ( ontology:Q22348500 ) } } } } . FILTER ( ?p = ?r ) }
Cheng-Tung-Panciatici Hungary national badminton team Iceland national badminton team Israel national badminton team Italy national badminton team Rebellion Racing Australia national badminton team 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 Sweden national badminton team Spain men's national field hockey team Bernhard-Webber-Hartley Brunei national badminton team Botswana national badminton team AMEK Kapsalou di Grassi-Duval-Jarvis Bulgaria national badminton team Austria national badminton team Romania national badminton team Germany men's national field hockey team New York Yankees Singapore national badminton team Be Pink 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 Falkland Islands national badminton team Seychelles national badminton team Ireland national badminton team Toyota Gazoo Racing China national badminton team Aston Martin Racing Argentina men's national field hockey team Larbre Compétition Japan national badminton team Arizona Diamondbacks 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 Guernsey badminton team Mauritius national badminton team RGR Sport by Morand Taiwan national badminton team Extreme Speed Motorsports AF Corse Netherlands national badminton team Porsche Team Finland national badminton team EAS Ayios Dhometios Scotland national badminton team Chile national badminton team Barbados national badminton team Ford Chip Ganassi Team UK Pittsburgh Pirates Portugal national badminton team 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 Thailand national badminton team Norfolk Island national badminton team Canada national badminton team Indonesia national badminton team Florida Gators football Peru national badminton team India national badminton team Wales national badminton team Turkey national badminton team Los Angeles Dodgers Switzerland national badminton team Uganda national badminton team Spain 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 United States national badminton team Belgium 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 Fortec Motorsport Ukraine national badminton team France national badminton team Croatia national badminton team Davidson-Buemi-Nakajima Luxembourg national badminton team Lithuania national badminton team Brazil national badminton team Latvia national badminton team KC Motorgroup Mongolia national badminton team Thiella Dromolaxia 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 Miami Marlins SMP Racing South Korea national badminton team 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
Switzerland national badminton team, AEZ Zakakiou and France national badminton team contested in approximately the same number of association football leagues and cycling race classes as Trinidad and Tobago national badminton team
Switzerland national badminton team AEZ Zakakiou France national badminton team
action approx
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 cycling race class defined by the International Cycling Union
action count
action filter_multi_types
action find_reverse
entity Trinidad and Tobago national badminton team
relation participating teams
type association football league
type cycling race class defined by the International Cycling Union
[[{'concept': 'association football league'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?p ) WHERE { { ?d property:participating_teams ?x . ?d rdf:type ontology:association_football_league . ?x rdf:type ontology:sports_team } UNION { ?d property:participating_teams ?x . ?x rdf:type ontology:sports_team . ?d rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:participating_teams resource:Trinidad_and_Tobago_national_badminton_team . { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:association_football_league ) ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) } } } } . FILTER ( ?p = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q23664320
P1923
Q12973014 Q15991303 Q22348500
USER
And what about Dempsey-Proton Racing?
(c(Q15991303)|c(Q22348500),P1923,c(Q12973014))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action count
action filter_multi_types
action find_reverse
entity Q23664320
relation P1923
type Q15991303
type Q22348500
[[{'concept': 'Q15991303'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?r WHERE { { ?b property:P1923 ?r . ?r rdf:type ontology:Q12973014 . ?b rdf:type ontology:Q15991303 } UNION { ?b property:P1923 ?r . ?r rdf:type ontology:Q12973014 . ?b rdf:type ontology:Q22348500 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P1923 resource:Q23664320 . { { ?h rdf:type ontology:Q22348500 } UNION { ?h rdf:type ontology:Q15991303 } } } } . FILTER ( ?t = ?f ) }
Dempsey-Proton Racing
action approx
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 cycling race class defined by the International Cycling Union
action count
action filter_multi_types
action find_reverse
entity Dempsey-Proton Racing
relation participating teams
type association football league
type cycling race class defined by the International Cycling Union
[[{'concept': 'association football league'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?r WHERE { { ?b property:participating_teams ?r . ?r rdf:type ontology:sports_team . ?b rdf:type ontology:association_football_league } UNION { ?b property:participating_teams ?r . ?r rdf:type ontology:sports_team . ?b rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:participating_teams resource:Dempsey-Proton_Racing . { { ?h rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } UNION { ?h rdf:type ontology:association_football_league } } } } . FILTER ( ?t = ?f ) }
[]
sports team association football league cycling race class defined by the International Cycling Union
Q27146522 Q12872831 Q23815600
SYSTEM
Switzerland national badminton team, AEZ Zakakiou, France national badminton team
Q23674523 Q27146481 Q27146483 Q27146485 Q27146486 Q3421766 Q16295654 Q1981530 Q23887716 Q27147065 Q27147067 Q27660052 Q27146793 Q27159856 Q22956606 Q23674434 Q12872831 Q20725930 Q3500017 Q661160 Q461595 Q22132404 Q2254900 Q604617 Q22939728 Q27146762 Q27147077 Q21520147 Q22955635 Q26722120 Q27146296 Q27146511 Q747368 Q213417 Q17483961 Q812812 Q834461 Q799663 Q1342530 Q27146479 Q27146478 Q27146475 Q27146772 Q27147044 Q27147041 Q27147111 Q26722119 Q22956043 Q384639 Q750016 Q645934 Q3217856 Q1090946 Q670376 Q1107477 Q27147052 Q27147054 Q27146294 Q27147108 Q1772900 Q2177038 Q27146507 Q27146508 Q27159842 Q27147107 Q23887469 Q966632 Q15809074 Q1988831 Q957525 Q22939172 Q27146320 Q23953473 Q18171104 Q27147026 Q27147020 Q23664286 Q653772 Q27146510 Q23887753 Q22958235 Q23979109 Q23681177 Q27146516 Q721134 Q27147134 Q23663718 Q27147131 Q1395532 Q27147139 Q1723502 Q1107146 Q5461394 Q2072673 Q1265173 Q27146526 Q27146525 Q334634 Q27146522 Q27147126 Q27146520 Q27146519 Q22117386 Q27146529 Q335169 Q650855 Q23664320 Q27146543 Q22978787 Q16331496 Q22978783 Q15742001 Q27146539 Q372930 Q27146304 Q22940028 Q27146301 Q27146500 Q27147245 Q27146531 Q23900171 Q815514 Q27146788 Q2473436 Q19826622 Q23815600 Q27146307 Q22950181 Q27146496 Q27146494 Q899152 Q27146490 Q19599054 Q27146783 Q21772601 Q27146310 Q27146313 Q27146314 Q15293849 Q27146317 Q27147016 Q1270077 Q652879 Q16883477 Q491924 Q27147099 Q27147140 Q15733441 Q27146782 Q15623981 Q27146786 Q27147093
(c(Q15991303)|c(Q22348500),P1923,c(Q12973014))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action count
action filter_multi_types
action find_reverse
entity Q23664320
relation P1923
type Q15991303
type Q22348500
[ANSWERS]
[[{'concept': 'Q15991303'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?r WHERE { { ?b property:P1923 ?r . ?r rdf:type ontology:Q12973014 . ?b rdf:type ontology:Q15991303 } UNION { ?b property:P1923 ?r . ?r rdf:type ontology:Q12973014 . ?b rdf:type ontology:Q22348500 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P1923 resource:Q23664320 . { { ?h rdf:type ontology:Q22348500 } UNION { ?h rdf:type ontology:Q15991303 } } } } . FILTER ( ?t = ?f ) }
Cheng-Tung-Panciatici Hungary national badminton team Iceland national badminton team Israel national badminton team Italy national badminton team Rebellion Racing Australia national badminton team 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 Sweden national badminton team Spain men's national field hockey team Bernhard-Webber-Hartley Brunei national badminton team Botswana national badminton team AMEK Kapsalou di Grassi-Duval-Jarvis Bulgaria national badminton team Austria national badminton team Romania national badminton team Germany men's national field hockey team New York Yankees Singapore national badminton team Be Pink 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 Falkland Islands national badminton team Seychelles national badminton team Ireland national badminton team Toyota Gazoo Racing China national badminton team Aston Martin Racing Argentina men's national field hockey team Larbre Compétition Japan national badminton team Arizona Diamondbacks 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 Guernsey badminton team Mauritius national badminton team RGR Sport by Morand Taiwan national badminton team Extreme Speed Motorsports AF Corse Netherlands national badminton team Porsche Team Finland national badminton team EAS Ayios Dhometios Scotland national badminton team Chile national badminton team Barbados national badminton team Ford Chip Ganassi Team UK Pittsburgh Pirates Portugal national badminton team 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 Thailand national badminton team Norfolk Island national badminton team Canada national badminton team Indonesia national badminton team Florida Gators football Peru national badminton team India national badminton team Wales national badminton team Turkey national badminton team Los Angeles Dodgers Switzerland national badminton team Uganda national badminton team Spain 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 United States national badminton team Belgium 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 Fortec Motorsport Ukraine national badminton team France national badminton team Croatia national badminton team Davidson-Buemi-Nakajima Luxembourg national badminton team Lithuania national badminton team Brazil national badminton team Latvia national badminton team KC Motorgroup Mongolia national badminton team Thiella Dromolaxia 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 Miami Marlins SMP Racing South Korea national badminton team 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
Switzerland national badminton team AEZ Zakakiou France national badminton team
action approx
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 cycling race class defined by the International Cycling Union
action count
action filter_multi_types
action find_reverse
entity Dempsey-Proton Racing
relation participating teams
type association football league
type cycling race class defined by the International Cycling Union
[[{'concept': 'association football league'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?r WHERE { { ?b property:participating_teams ?r . ?r rdf:type ontology:sports_team . ?b rdf:type ontology:association_football_league } UNION { ?b property:participating_teams ?r . ?r rdf:type ontology:sports_team . ?b rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:participating_teams resource:Dempsey-Proton_Racing . { { ?h rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } UNION { ?h rdf:type ontology:association_football_league } } } } . FILTER ( ?t = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q349 Q12973014
USER
How many sports did approximately 156 sports teams participate in ?
(c(Q12973014),P641,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 156
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P641 ?c . ?c rdf:type ontology:Q349 . ?t rdf:type ontology:Q12973014 } GROUP BY ?c } . FILTER ( ?f = 156 ) }
action count
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 156
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:sport ?c . ?c rdf:type ontology:sport . ?t rdf:type ontology:sports_team } GROUP BY ?c } . FILTER ( ?f = 156 ) }
[]
sport sports team
SYSTEM
17
Q10962 Q7707 Q171038 Q847 Q192937 Q41323 Q7291 Q136851 Q7856 Q5375 Q1455 Q2215841 Q535116 Q1734 Q1748406 Q183018 Q210778
(c(Q12973014),P641,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 156
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P641 ?c . ?c rdf:type ontology:Q349 . ?t rdf:type ontology:Q12973014 } GROUP BY ?c } . FILTER ( ?f = 156 ) }
rugby league water polo softball tennis korfball American football badminton curling rallying cricket field hockey cycle sport beach handball volleyball roller hockey (quad) bandy beach soccer
17
action count
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 156
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:sport ?c . ?c rdf:type ontology:sport . ?t rdf:type ontology:sports_team } GROUP BY ?c } . FILTER ( ?f = 156 ) }
[]