Simple Question (Direct)
Simple Question
Q713009
P735
Q82799
USER
What is forename of Terry Griffiths ?
(Q713009,P735,c(Q82799))
action filter_type
action find
entity Q713009
relation P735
type Q82799
['Q713009', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q713009 property:P735 ?t . ?t rdf:type ontology:Q82799 }
Terry Griffiths
action filter_type
action find
entity Terry Griffiths
relation given name
type name
['Terry Griffiths', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Terry_Griffiths property:given_name ?t . ?t rdf:type ontology:name }
[]
name
Q10514602
SYSTEM
Terry
Q10514602
(Q713009,P735,c(Q82799))
action filter_type
action find
entity Q713009
relation P735
type Q82799
Forename of [ANSWER] Griffiths is of [ANSWER]
['Q713009', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q713009 property:P735 ?t . ?t rdf:type ontology:Q82799 }
Terry
Forename of Terry Griffiths is of Terry
Terry
action filter_type
action find
entity Terry Griffiths
relation given name
type name
['Terry Griffiths', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Terry_Griffiths property:given_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q713009
P1346
Q500834
USER
Which tournaments were that person decalred as a victor of ?
(c(Q500834),P1346,Q10514602)
action filter_type
action find_reverse
entity Q713009
relation P1346
type Q500834
[{'concept': 'Q500834'}, 'P1346', 'Q10514602']
SELECT DISTINCT ?l WHERE { ?l property:P1346 resource:Q713009 . ?l rdf:type ontology:Q500834 }
Terry Griffiths
action filter_type
action find_reverse
entity Terry Griffiths
relation winner
type tournament
[{'concept': 'tournament'}, 'winner', 'Terry']
SELECT DISTINCT ?l WHERE { ?l property:winner resource:Terry_Griffiths . ?l rdf:type ontology:tournament }
[]
tournament
Q4508994 Q511739
SYSTEM
1982 UK Championship, 1979 World Snooker Championship
Q4508994 Q511739
(c(Q500834),P1346,Q10514602)
action filter_type
action find_reverse
entity Q713009
relation P1346
type Q500834
That person were decalred as a victor of the [ANSWERS]
[{'concept': 'Q500834'}, 'P1346', 'Q10514602']
SELECT DISTINCT ?l WHERE { ?l property:P1346 resource:Q713009 . ?l rdf:type ontology:Q500834 }
1982 UK Championship 1979 World Snooker Championship
That person were decalred as a victor of the 1982 UK Championship and 1979 World Snooker Championship
1982 UK Championship 1979 World Snooker Championship
action filter_type
action find_reverse
entity Terry Griffiths
relation winner
type tournament
[{'concept': 'tournament'}, 'winner', 'Terry']
SELECT DISTINCT ?l WHERE { ?l property:winner resource:Terry_Griffiths . ?l rdf:type ontology:tournament }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1346
Q502895 Q500834
USER
How many tournaments were lesser number of people decalred as a champion of than that tournament ?
(c(Q500834),P1346,c(Q502895))
[{'concept': 'Q500834'}, 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q18560095 ?y . ?z rdf:type ontology:Q2461450 . ?y rdf:type ontology:Q502895 }
[{'concept': 'tournament'}, 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:winner ?y . ?z rdf:type ontology:tournament . ?y rdf:type ontology:common_name }
[]
common name tournament
Comparative|Count over More/Less|Single entity type|Clarification
Q511739
SYSTEM
Did you mean 1979 World Snooker Championship ?
(c(Q500834),P1346,c(Q502895))
[ANSWER]
[{'concept': 'Q500834'}, 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q18560095 ?y . ?z rdf:type ontology:Q2461450 . ?y rdf:type ontology:Q502895 }
Did you mean 1979 World Snooker Championship ?
1979 World Snooker Championship
[{'concept': 'tournament'}, 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:winner ?y . ?z rdf:type ontology:tournament . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant 1982 UK Championship. Could you tell me the answer for that?
(c(Q500834),P1346,c(Q502895))
Q4508994
[{'concept': 'Q500834'}, 'P1346', {'concept': 'Q502895'}]
[{'concept': 'tournament'}, 'winner', {'concept': 'common name'}]
[]
SYSTEM
147
Q4565294 Q4563898 Q1149730 Q929976 Q1051846 Q1187726 Q4559547 Q1187392 Q1144500 Q590944 Q4558903 Q4564356 Q4559376 Q13418292 Q6144497 Q4572071 Q2062194 Q2364101 Q928053 Q4630084 Q4564126 Q24906838 Q845650 Q845655 Q4295887 Q1559938 Q4243844 Q1568891 Q4243843 Q1207242 Q922550 Q4562311 Q20020387 Q2947972 Q1316802 Q892516 Q1322777 Q16667762 Q1984672 Q155391 Q845534 Q1317331 Q1129985 Q4559717 Q22026422 Q4560101 Q2092944 Q17514457 Q393491 Q1751166 Q2438937 Q845627 Q1983730 Q4565127 Q11185501 Q2394742 Q1568875 Q19853438 Q1316734 Q1984700 Q4564790 Q4560393 Q20648402 Q4564598 Q1538028 Q845665 Q4563675 Q4561782 Q1071224 Q3132683 Q1569265 Q16746050 Q2947948 Q2947949 Q1316770 Q4562126 Q17985163 Q518033 Q928040 Q4559915 Q4295890 Q4295892 Q4295893 Q4295895 Q4295896 Q4295898 Q4295899 Q1322713 Q6145292 Q1188429 Q1190373 Q1983763 Q1581759 Q1316792 Q270736 Q4558571 Q846852 Q1452638 Q3511282 Q3511287 Q3511285 Q1130017 Q636375 Q690482 Q1526568 Q4560543 Q4565836 Q6147072 Q1341797 Q4564977 Q4561067 Q1051837 Q4560258 Q11227920 Q845607 Q845603 Q1141048 Q2947951 Q2947953 Q2947952 Q2947957 Q2947956 Q2947959 Q2947958 Q3130846 Q987878 Q4561415 Q4565612 Q4295885 Q4295884 Q846529 Q861018 Q4561243 Q4565447 Q4558742 Q1568575 Q869082 Q4562486 Q1983703 Q4563287 Q4563471 Q4561593 Q845599 Q846847 Q2947969 Q2947960 Q4562895
(c(Q500834),P1346,c(Q502895))
[ANSWER]
[{'concept': 'Q500834'}, 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q18560095 ?y . ?z rdf:type ontology:Q2461450 . ?y rdf:type ontology:Q502895 }
1943 World Series 1936 World Series 2008 World Series 2006 World Series 1961 World Series 2002 World Series 1912 World Series 2003 World Series 1969 World Series 1991 World Series 1908 World Series 1938 World Series 1911 World Series 2013–14 European Challenge Cup 1910 World Series 1965 World Series 1993 World Series 1955 World Series 2004–05 European Challenge Cup 2013 World Series 1937 World Series 2016 World Series 1977 World Series 1978 World Series 1964 World Series 1985 World Series 2008 Russian Railways Cup 1903 World Series 2007 Russian Railways Cup 2001 World Series 2000 World Series 1928 World Series 2015–16 Cupa României 2012–13 European Challenge Cup 1996 World Series 1974 World Series 1987 Rugby World Cup 1998 Far East Club Championship 1982 World Series 2009 World Series 1950 World Series 1997 World Series 2015 Copa América 1913 World Series Palingenesis Cup 1915 World Series 1992 World Series 2014 World Series 2015 Rugby World Cup 2009–10 European Challenge Cup 2010–11 European Challenge Cup 1947 World Series 1979 World Series 1942 World Series 1930 World Series 2002–03 European Challenge Cup 1986 World Series 2015–16 European Rugby Challenge Cup 1998 World Series 1972 World Series 1940 World Series 1917 World Series 2015 World Series 1939 World Series 1980 World Series 1958 World Series 1935 World Series 1925 World Series 2007 World Series 1926 World Series 1987 World Series 2014–15 European Rugby Challenge Cup 1996–97 European Challenge Cup 1997–98 European Challenge Cup 1999 World Series 1927 World Series 1968 Southern Conference Men's Basketball Tournament 1984 World Series 2010 World Series 1914 World Series 1966 World Series 1967 World Series 1968 World Series 1970 World Series 1971 World Series 1976 World Series 1975 World Series 1991 Rugby World Cup 1951 World Series 2011 World Series 2012 World Series 1981 World Series 1983 World Series 2005 World Series 2011 Rugby World Cup 1906 World Series 1905 World Series 2008–09 European Challenge Cup 1920 World Series 1954 World Series 1948 World Series 1995 Rugby World Cup 1995 World Series Uhrencup 1988 World Series 1918 World Series 1946 World Series 1932 World Series 2004 World Series 1941 World Series 1921 World Series 1962 World Series 1916 World Series 2015 Six Nations Championship 1953 World Series 1952 World Series 1999 Rugby World Cup 1998–99 European Challenge Cup 2000–01 European Challenge Cup 1999–2000 European Challenge Cup 2003–04 European Challenge Cup 2001–02 Parker Pen Shield 2005–06 European Challenge Cup 2006–07 European Challenge Cup 1949 World Series 1957 World Series 1923 World Series 1945 World Series 1963 World Series 1959 World Series 1919 World Series 2003 Rugby World Cup 1922 World Series 1944 World Series 1907 World Series 1990 World Series 1960 World Series 1929 World Series 1973 World Series 1933 World Series 1934 World Series 1924 World Series 1956 World Series 1909 World Series 2011–12 European Challenge Cup 2007–08 European Challenge Cup 1931 World Series
147
[{'concept': 'tournament'}, 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:winner ?y . ?z rdf:type ontology:tournament . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P641
Q349 Q500834
USER
Which sports were max number of tournaments a part of ?
(c(Q500834),P641,Q429006)
action argmax
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
[{'concept': 'Q500834'}, 'P641', 'Q429006']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?a ) { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P641 ?o . ?o rdf:type ontology:Q349 . ?u rdf:type ontology:Q500834 } GROUP BY ?o } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P641 ?x . ?x rdf:type ontology:Q349 . ?c rdf:type ontology:Q500834 } GROUP BY ?x } . FILTER ( ?n = ?a ) }
action argmax
action find_reverse_tuple_counts
relation sport
type sport
type tournament
[{'concept': 'tournament'}, 'sport', 'Duathlon']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?a ) { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:sport ?o . ?o rdf:type ontology:sport . ?u rdf:type ontology:tournament } GROUP BY ?o } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:sport ?x . ?x rdf:type ontology:sport . ?c rdf:type ontology:tournament } GROUP BY ?x } . FILTER ( ?n = ?a ) }
[]
sport tournament
Q847
SYSTEM
tennis
Q847
(c(Q500834),P641,Q429006)
action argmax
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
[ANSWER] was max number of tournaments a part of
[{'concept': 'Q500834'}, 'P641', 'Q429006']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?a ) { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P641 ?o . ?o rdf:type ontology:Q349 . ?u rdf:type ontology:Q500834 } GROUP BY ?o } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P641 ?x . ?x rdf:type ontology:Q349 . ?c rdf:type ontology:Q500834 } GROUP BY ?x } . FILTER ( ?n = ?a ) }
tennis
Tennis was max number of tournaments a part of
tennis
action argmax
action find_reverse_tuple_counts
relation sport
type sport
type tournament
[{'concept': 'tournament'}, 'sport', 'Duathlon']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?a ) { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:sport ?o . ?o rdf:type ontology:sport . ?u rdf:type ontology:tournament } GROUP BY ?o } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:sport ?x . ?x rdf:type ontology:sport . ?c rdf:type ontology:tournament } GROUP BY ?x } . FILTER ( ?n = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1358545
P641
Q349 Q500834
USER
Which sports did approximately the same number of tournaments participate in as arena football ?
(c(Q500834),P641,c(Q349))
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q1358545
relation P641
type Q349
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c rdf:type ontology:Q349 . resource:Q1358545 property:P641 ?c } } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?o ) WHERE { ?x rdf:type ontology:Q349 . ?l rdf:type ontology:Q500834 . ?l property:P641 ?x } GROUP BY ?x } }
arena football
action approx
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity arena football
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c rdf:type ontology:sport . resource:arena_football property:sport ?c } } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?o ) WHERE { ?x rdf:type ontology:sport . ?l rdf:type ontology:tournament . ?l property:sport ?x } GROUP BY ?x } }
[]
sport tournament
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
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 Q41323 Q7291 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5372 Q5375 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 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),P641,c(Q349))
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q1358545
relation P641
type Q349
[ANSWERS] approximately the same number of tournaments participated in as arena football
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c rdf:type ontology:Q349 . resource:Q1358545 property:P641 ?c } } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?o ) WHERE { ?x rdf:type ontology:Q349 . ?l rdf:type ontology:Q500834 . ?l property:P641 ?x } GROUP BY ?x } }
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 American football badminton dancesport Kabaddi curling women's basketball rallying rallycross basketball cricket shooting sport baseball 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 ice hockey 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
BASE jumping, pesäpallo and floorball approximately the same number of tournaments participated in as arena football
BASE jumping pesäpallo floorball
action approx
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity arena football
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c rdf:type ontology:sport . resource:arena_football property:sport ?c } } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?o ) WHERE { ?x rdf:type ontology:sport . ?l rdf:type ontology:tournament . ?l property:sport ?x } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1055193
P641
Q349 Q500834
USER
And how about pallone?
(c(Q500834),P641,c(Q349))
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q1055193
relation P641
type Q349
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P641 ?d . ?d rdf:type ontology:Q349 . ?q rdf:type ontology:Q500834 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:Q1055193 property:P641 ?h . ?h rdf:type ontology:Q349 } } . FILTER ( ?s = ?j ) }
pallone
action approx
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity pallone
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:sport ?d . ?d rdf:type ontology:sport . ?q rdf:type ontology:tournament } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:pallone property:sport ?h . ?h rdf:type ontology:sport } } . FILTER ( ?s = ?j ) }
[]
sport tournament
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
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 Q41323 Q7291 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5372 Q5375 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 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),P641,c(Q349))
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q1055193
relation P641
type Q349
[ANSWERS]
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P641 ?d . ?d rdf:type ontology:Q349 . ?q rdf:type ontology:Q500834 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:Q1055193 property:P641 ?h . ?h rdf:type ontology:Q349 } } . FILTER ( ?s = ?j ) }
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 American football badminton dancesport Kabaddi curling women's basketball rallying rallycross basketball cricket shooting sport baseball 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 ice hockey 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
BASE jumping pesäpallo floorball
action approx
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity pallone
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:sport ?d . ?d rdf:type ontology:sport . ?q rdf:type ontology:tournament } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:pallone property:sport ?h . ?h rdf:type ontology:sport } } . FILTER ( ?s = ?j ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q2342494
USER
How many sports are the field of work of greater number of people or collectables than that sport ?
(c(Q502895)|c(Q2342494),P101,c(Q349))
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
sport common name collectable
Comparative|Count over More/Less|Mult. entity type|Clarification
Q206763
SYSTEM
Did you mean floorball ?
(c(Q502895)|c(Q2342494),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
Did you mean floorball ?
floorball
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant BASE jumping. Could you tell me the answer for that?
(c(Q502895)|c(Q2342494),P101,c(Q349))
Q809831
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
[]
SYSTEM
12
Q10962 Q43450 Q4543 Q170737 Q5375 Q1734 Q31920 Q500050 Q2736 Q201965 Q124100 Q41323
(c(Q502895)|c(Q2342494),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
rugby league gymnastics beach volleyball long jump cricket volleyball swimming cross country running association football Nordic combined bodybuilding American football
12
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q809831
P138
Q11019
USER
Which machine is BASE jumping named after ?
(Q809831,P138,c(Q11019))
action filter_type
action find
entity Q809831
relation P138
type Q11019
['Q809831', 'P138', {'concept': 'Q11019'}]
SELECT DISTINCT ?s WHERE { resource:Q809831 property:P138 ?s . ?s rdf:type ontology:Q11019 }
BASE jumping
action filter_type
action find
entity BASE jumping
relation named after
type machine
['BASE jumping', 'named after', {'concept': 'machine'}]
SELECT DISTINCT ?s WHERE { resource:BASE_jumping property:named_after ?s . ?s rdf:type ontology:machine }
[]
machine
Q131214
SYSTEM
antenna
Q131214
(Q809831,P138,c(Q11019))
action filter_type
action find
entity Q809831
relation P138
type Q11019
[ANSWER]
['Q809831', 'P138', {'concept': 'Q11019'}]
SELECT DISTINCT ?s WHERE { resource:Q809831 property:P138 ?s . ?s rdf:type ontology:Q11019 }
antenna
antenna
action filter_type
action find
entity BASE jumping
relation named after
type machine
['BASE jumping', 'named after', {'concept': 'machine'}]
SELECT DISTINCT ?s WHERE { resource:BASE_jumping property:named_after ?s . ?s rdf:type ontology:machine }
[]