Simple Question (Direct)
Simple Question
Q1905445
P641
Q349
USER
What did Angie Bainbridge participate in ?
(Q1905445,P641,c(Q349))
action filter_type
action find
entity Q1905445
relation P641
type Q349
['Q1905445', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q1905445 property:P641 ?e . ?e rdf:type ontology:Q349 }
Angie Bainbridge
action filter_type
action find
entity Angie Bainbridge
relation sport
type sport
['Angie Bainbridge', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Angie_Bainbridge property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q31920
SYSTEM
swimming
Q31920
(Q1905445,P641,c(Q349))
action filter_type
action find
entity Q1905445
relation P641
type Q349
Angie Bainbridge participated in [ANSWER]
['Q1905445', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q1905445 property:P641 ?e . ?e rdf:type ontology:Q349 }
swimming
Angie Bainbridge participated in swimming
swimming
action filter_type
action find
entity Angie Bainbridge
relation sport
type sport
['Angie Bainbridge', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Angie_Bainbridge property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1905445
P21
Q290
USER
Which sex does that person belong to ?
(Q31920,P21,c(Q290))
action filter_type
action find
entity Q1905445
relation P21
type Q290
['Q31920', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1905445 property:P21 ?s . ?s rdf:type ontology:Q290 }
Angie Bainbridge
action filter_type
action find
entity Angie Bainbridge
relation gender
type sex
['swimming', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Angie_Bainbridge property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q31920,P21,c(Q290))
action filter_type
action find
entity Q1905445
relation P21
type Q290
That person belongs to [ANSWER]
['Q31920', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1905445 property:P21 ?s . ?s rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Angie Bainbridge
relation gender
type sex
['swimming', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Angie_Bainbridge property:gender ?s . ?s rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q21261811 Q1905445
P21
Q290
USER
And also Ingeborg Krägeloh-Mann
AND((Q1905445,P21,c(Q290)), (Q21261811,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1905445
relation P21
action find
entity Q21261811
relation P21
type Q290
{'AND': [['Q1905445', 'P21', {'concept': 'Q290'}], ['Q21261811', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?z WHERE { resource:Q1905445 property:P21 ?z . resource:Q21261811 property:P21 ?z . ?z rdf:type ontology:Q290 }
Ingeborg Krägeloh-Mann Angie Bainbridge
action filter_type
action intersection
action find
entity Angie Bainbridge
relation gender
action find
entity Ingeborg Krägeloh-Mann
relation gender
type sex
{'AND': [['Angie Bainbridge', 'gender', {'concept': 'sex'}], ['Ingeborg Krägeloh-Mann', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?z WHERE { resource:Angie_Bainbridge property:gender ?z . resource:Ingeborg_Krägeloh-Mann property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
AND((Q1905445,P21,c(Q290)), (Q21261811,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1905445
relation P21
action find
entity Q21261811
relation P21
type Q290
[ANSWER]
{'AND': [['Q1905445', 'P21', {'concept': 'Q290'}], ['Q21261811', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?z WHERE { resource:Q1905445 property:P21 ?z . resource:Q21261811 property:P21 ?z . ?z rdf:type ontology:Q290 }
female
female
action filter_type
action intersection
action find
entity Angie Bainbridge
relation gender
action find
entity Ingeborg Krägeloh-Mann
relation gender
type sex
{'AND': [['Angie Bainbridge', 'gender', {'concept': 'sex'}], ['Ingeborg Krägeloh-Mann', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?z WHERE { resource:Angie_Bainbridge property:gender ?z . resource:Ingeborg_Krägeloh-Mann property:gender ?z . ?z rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1905445 Q951620
P1412
Q34770
USER
How many languages do Angie Bainbridge or Café Tacuba speak in ?
(Q1905445,P1412,c(Q34770)) (Q951620,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q1905445
relation P1412
type Q34770
action filter_type
action find
entity Q951620
relation P1412
type Q34770
['Q1905445', 'P1412', {'concept': 'Q34770'}] ['Q951620', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?e property:P1412 ?z . VALUES ( ?e ) { ( resource:Q1905445 ) ( resource:Q951620 ) } }
Angie Bainbridge Café Tacuba
action count
action union
action filter_type
action find
entity Angie Bainbridge
relation languages spoken, written or signed
type language
action filter_type
action find
entity Café Tacuba
relation languages spoken, written or signed
type language
['Angie Bainbridge', 'languages spoken, written or signed', {'concept': 'language'}] ['Café Tacuba', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?e property:languages_spoken,_written_or_signed ?z . VALUES ( ?e ) { ( resource:Angie_Bainbridge ) ( resource:Café_Tacuba ) } }
[]
language
SYSTEM
2
Q1860 Q1321
(Q1905445,P1412,c(Q34770)) (Q951620,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q1905445
relation P1412
type Q34770
action filter_type
action find
entity Q951620
relation P1412
type Q34770
[ANSWER]
['Q1905445', 'P1412', {'concept': 'Q34770'}] ['Q951620', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?e property:P1412 ?z . VALUES ( ?e ) { ( resource:Q1905445 ) ( resource:Q951620 ) } }
English Spanish
2
action count
action union
action filter_type
action find
entity Angie Bainbridge
relation languages spoken, written or signed
type language
action filter_type
action find
entity Café Tacuba
relation languages spoken, written or signed
type language
['Angie Bainbridge', 'languages spoken, written or signed', {'concept': 'language'}] ['Café Tacuba', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?e property:languages_spoken,_written_or_signed ?z . VALUES ( ?e ) { ( resource:Angie_Bainbridge ) ( resource:Café_Tacuba ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1905445
P734
Q82799
USER
Who has the surname Angie Bainbridge ?
(Q1905445,P734,c(Q82799))
action filter_type
action find
entity Q1905445
relation P734
type Q82799
['Q1905445', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1905445 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Angie Bainbridge
action filter_type
action find
entity Angie Bainbridge
relation family name
type name
['Angie Bainbridge', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Angie_Bainbridge property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q27037178
SYSTEM
Bainbridge
Q27037178
(Q1905445,P734,c(Q82799))
action filter_type
action find
entity Q1905445
relation P734
type Q82799
[ANSWER] has the surname Angie [ANSWER]
['Q1905445', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1905445 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Bainbridge
Bainbridge has the surname Angie Bainbridge
Bainbridge
action filter_type
action find
entity Angie Bainbridge
relation family name
type name
['Angie Bainbridge', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Angie_Bainbridge property:family_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27037178
P361
Q853614
USER
Which identifier is that name a component of ?
(Q27037178,P361,c(Q853614))
action filter_type
action find
entity Q27037178
relation P361
type Q853614
['Q27037178', 'P361', {'concept': 'Q853614'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q853614 . resource:Q27037178 property:P361 ?k }
Bainbridge
action filter_type
action find
entity Bainbridge
relation part of
type identifier
['Bainbridge', 'part of', {'concept': 'identifier'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:identifier . resource:Bainbridge property:part_of ?k }
[]
identifier
Q16274995
SYSTEM
Bainbridge
Q16274995
(Q27037178,P361,c(Q853614))
action filter_type
action find
entity Q27037178
relation P361
type Q853614
Bridge [ANSWER] is that name a component of
['Q27037178', 'P361', {'concept': 'Q853614'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q853614 . resource:Q27037178 property:P361 ?k }
Bainbridge
Bridge Bainbridge is that name a component of
Bainbridge
action filter_type
action find
entity Bainbridge
relation part of
type identifier
['Bainbridge', 'part of', {'concept': 'identifier'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:identifier . resource:Bainbridge property:part_of ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2439
Q34770 Q853614
USER
How many languages are linked with around 1 identifier ?
(c(Q853614),P2439,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q853614
value 1
[{'concept': 'Q853614'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P2439 ?d . ?d rdf:type ontology:Q34770 . ?p rdf:type ontology:Q853614 } GROUP BY ?d } . FILTER ( ?l = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation language
type language
type identifier
value 1
[{'concept': 'identifier'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:language ?d . ?d rdf:type ontology:language . ?p rdf:type ontology:identifier } GROUP BY ?d } . FILTER ( ?l = 1 ) }
[]
language identifier
SYSTEM
2
Q1860 Q1321
(c(Q853614),P2439,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q853614
value 1
[ANSWER]
[{'concept': 'Q853614'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P2439 ?d . ?d rdf:type ontology:Q34770 . ?p rdf:type ontology:Q853614 } GROUP BY ?d } . FILTER ( ?l = 1 ) }
English Spanish
2
action count
action approx
action find_reverse_tuple_counts
relation language
type language
type identifier
value 1
[{'concept': 'identifier'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:language ?d . ?d rdf:type ontology:language . ?p rdf:type ontology:identifier } GROUP BY ?d } . FILTER ( ?l = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q483693
P641
Q349 Q500834 Q13406554
USER
How many sports were around the same number of tournaments and sport competitions a part of as parkour ?
(c(Q500834)|c(Q13406554),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q483693
relation P641
type Q500834
type Q13406554
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } . ?c rdf:type ?o } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P641 resource:Q483693 . { { ?n rdf:type ontology:Q500834 } UNION { ?n rdf:type ontology:Q13406554 } } } } . FILTER ( ?y = ?q ) }
parkour
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity parkour
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:tournament ) ( ontology:sport_competition ) } . ?c rdf:type ?o } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:sport resource:parkour . { { ?n rdf:type ontology:tournament } UNION { ?n rdf:type ontology:sport_competition } } } } . FILTER ( ?y = ?q ) }
[]
sport tournament sport competition
SYSTEM
174
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q500834)|c(Q13406554),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q483693
relation P641
type Q500834
type Q13406554
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } . ?c rdf:type ?o } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P641 resource:Q483693 . { { ?n rdf:type ontology:Q500834 } UNION { ?n rdf:type ontology:Q13406554 } } } } . FILTER ( ?y = ?q ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
174
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity parkour
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:tournament ) ( ontology:sport_competition ) } . ?c rdf:type ?o } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:sport resource:parkour . { { ?n rdf:type ontology:tournament } UNION { ?n rdf:type ontology:sport_competition } } } } . FILTER ( ?y = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q41466
P641
Q349 Q500834 Q13406554
USER
And also tell me about ice hockey?
(c(Q500834)|c(Q13406554),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P641
type Q500834
type Q13406554
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:P641 ?k . ?e rdf:type ontology:Q500834 . ?k rdf:type ontology:Q349 } UNION { ?e property:P641 ?k . ?k rdf:type ontology:Q349 . ?e rdf:type ontology:Q13406554 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:P641 resource:Q41466 . { { ?g rdf:type ontology:Q13406554 } UNION { ?g rdf:type ontology:Q500834 } } } } . FILTER ( ?q = ?w ) }
ice hockey
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:sport ?k . ?e rdf:type ontology:tournament . ?k rdf:type ontology:sport } UNION { ?e property:sport ?k . ?k rdf:type ontology:sport . ?e rdf:type ontology:sport_competition } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:sport resource:ice_hockey . { { ?g rdf:type ontology:sport_competition } UNION { ?g rdf:type ontology:tournament } } } } . FILTER ( ?q = ?w ) }
[]
sport tournament sport competition
SYSTEM
5
Q847 Q7291 Q5372 Q5369 Q41466
(c(Q500834)|c(Q13406554),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P641
type Q500834
type Q13406554
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:P641 ?k . ?e rdf:type ontology:Q500834 . ?k rdf:type ontology:Q349 } UNION { ?e property:P641 ?k . ?k rdf:type ontology:Q349 . ?e rdf:type ontology:Q13406554 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:P641 resource:Q41466 . { { ?g rdf:type ontology:Q13406554 } UNION { ?g rdf:type ontology:Q500834 } } } } . FILTER ( ?q = ?w ) }
tennis badminton basketball baseball ice hockey
5
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:sport ?k . ?e rdf:type ontology:tournament . ?k rdf:type ontology:sport } UNION { ?e property:sport ?k . ?k rdf:type ontology:sport . ?e rdf:type ontology:sport_competition } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:sport resource:ice_hockey . { { ?g rdf:type ontology:sport_competition } UNION { ?g rdf:type ontology:tournament } } } } . FILTER ( ?q = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1905445
P1344
Q16510064
USER
What did Angie Bainbridge participate in ?
(Q1905445,P1344,c(Q16510064))
action filter_type
action find
entity Q1905445
relation P1344
type Q16510064
['Q1905445', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?o WHERE { resource:Q1905445 property:P1344 ?o . ?o rdf:type ontology:Q16510064 }
Angie Bainbridge
action filter_type
action find
entity Angie Bainbridge
relation participant of
type sporting event
['Angie Bainbridge', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?o WHERE { resource:Angie_Bainbridge property:participant_of ?o . ?o rdf:type ontology:sporting_event }
[]
sporting event
Q2297370 Q1203903
SYSTEM
Swimming at the 2012 Summer Olympics – Women's 4 × 200 metre freestyle relay, Swimming at the 2008 Summer Olympics – Women's 4 × 200 metre freestyle relay
Q2297370 Q1203903
(Q1905445,P1344,c(Q16510064))
action filter_type
action find
entity Q1905445
relation P1344
type Q16510064
Angie Bainbridge participated in [ANSWERS]
['Q1905445', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?o WHERE { resource:Q1905445 property:P1344 ?o . ?o rdf:type ontology:Q16510064 }
Swimming at the 2012 Summer Olympics – Women's 4 × 200 metre freestyle relay Swimming at the 2008 Summer Olympics – Women's 4 × 200 metre freestyle relay
Angie Bainbridge participated in Swimming at the 2012 Summer Olympics – Women's 4 × 200 metre freestyle relay and Swimming at the 2008 Summer Olympics – Women's 4 × 200 metre freestyle relay
Swimming at the 2012 Summer Olympics – Women's 4 × 200 metre freestyle relay Swimming at the 2008 Summer Olympics – Women's 4 × 200 metre freestyle relay
action filter_type
action find
entity Angie Bainbridge
relation participant of
type sporting event
['Angie Bainbridge', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?o WHERE { resource:Angie_Bainbridge property:participant_of ?o . ?o rdf:type ontology:sporting_event }
[]