Simple Question (Direct)
Simple Question
Q688826
P19
Q5119
USER
Where was Beat Hefti born ?
(Q688826,P19,c(Q5119))
action filter_type
action find
entity Q688826
relation P19
type Q5119
['Q688826', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q5119 . resource:Q688826 property:P19 ?z }
Beat Hefti
action filter_type
action find
entity Beat Hefti
relation place of birth
type capital
['Beat Hefti', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:capital . resource:Beat_Hefti property:place_of_birth ?z }
[]
capital
Q63970
SYSTEM
Herisau
Q63970
(Q688826,P19,c(Q5119))
action filter_type
action find
entity Q688826
relation P19
type Q5119
Beat Hefti was born in [ANSWER]
['Q688826', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q5119 . resource:Q688826 property:P19 ?z }
Herisau
Beat Hefti was born in Herisau
Herisau
action filter_type
action find
entity Beat Hefti
relation place of birth
type capital
['Beat Hefti', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:capital . resource:Beat_Hefti property:place_of_birth ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q688826
P21
Q290
USER
What is the sex of Beat Hefti ?
(Q688826,P21,c(Q290))
action filter_type
action find
entity Q688826
relation P21
type Q290
['Q688826', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q688826 property:P21 ?c . ?c rdf:type ontology:Q290 }
Beat Hefti
action filter_type
action find
entity Beat Hefti
relation gender
type sex
['Beat Hefti', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Beat_Hefti property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q688826,P21,c(Q290))
action filter_type
action find
entity Q688826
relation P21
type Q290
The sex of Beat Hefti is the [ANSWER]
['Q688826', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q688826 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of Beat Hefti is the male
male
action filter_type
action find
entity Beat Hefti
relation gender
type sex
['Beat Hefti', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Beat_Hefti property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q688826
P1344
Q15900616
USER
Which event sequences did Beat Hefti compete in ?
(Q688826,P1344,c(Q15900616))
action filter_type
action find
entity Q688826
relation P1344
type Q15900616
['Q688826', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?o WHERE { resource:Q688826 property:P1344 ?o . ?o rdf:type ontology:Q15900616 }
Beat Hefti
action filter_type
action find
entity Beat Hefti
relation participant of
type event sequence
['Beat Hefti', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?o WHERE { resource:Beat_Hefti property:participant_of ?o . ?o rdf:type ontology:event_sequence }
[]
event sequence
Q9678 Q9672 Q9674
SYSTEM
2014 Winter Olympics, 2006 Winter Olympics, 2010 Winter Olympics
Q9678 Q9672 Q9674 Q9668
(Q688826,P1344,c(Q15900616))
action filter_type
action find
entity Q688826
relation P1344
type Q15900616
Beat Hefti competed in [ANSWERS]
['Q688826', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?o WHERE { resource:Q688826 property:P1344 ?o . ?o rdf:type ontology:Q15900616 }
2014 Winter Olympics 2006 Winter Olympics 2010 Winter Olympics 2002 Winter Olympics
Beat Hefti competed in 2014 Winter Olympics, 2006 Winter Olympics and 2010 Winter Olympics
2014 Winter Olympics 2006 Winter Olympics 2010 Winter Olympics
action filter_type
action find
entity Beat Hefti
relation participant of
type event sequence
['Beat Hefti', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?o WHERE { resource:Beat_Hefti property:participant_of ?o . ?o rdf:type ontology:event_sequence }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q688826
Q16510064
USER
And which sporting event?
(Q688826,P1344,c(Q16510064))
action filter_type
action find
entity Q688826
relation P1344
type Q16510064
['Q688826', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q16510064 . resource:Q688826 property:P1344 ?s }
Beat Hefti
action filter_type
action find
entity Beat Hefti
relation participant of
type sporting event
['Beat Hefti', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sporting_event . resource:Beat_Hefti property:participant_of ?s }
[]
sporting event
Q15055978 Q426261 Q967155
SYSTEM
Two-man Bobsleigh at the 2014 Winter Olympics, Two-man Bobsleigh at the 2006 Winter Olympics, Four-man Bobsleigh at the 2006 Winter Olympics
Q15055978 Q426261 Q967155 Q1005460
(Q688826,P1344,c(Q16510064))
action filter_type
action find
entity Q688826
relation P1344
type Q16510064
[ANSWERS]
['Q688826', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q16510064 . resource:Q688826 property:P1344 ?s }
Two-man Bobsleigh at the 2014 Winter Olympics Two-man Bobsleigh at the 2006 Winter Olympics Four-man Bobsleigh at the 2006 Winter Olympics Two-man Bobsleigh at the 2002 Winter Olympics
Two-man Bobsleigh at the 2014 Winter Olympics Two-man Bobsleigh at the 2006 Winter Olympics Four-man Bobsleigh at the 2006 Winter Olympics
action filter_type
action find
entity Beat Hefti
relation participant of
type sporting event
['Beat Hefti', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sporting_event . resource:Beat_Hefti property:participant_of ?s }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P115
Q811979 Q1076486 Q16510064
USER
Which sporting events have min number of architectural structures and sports venues as their arena ?
(c(Q16510064),P115,c(Q811979)|c(Q1076486))
action argmin
action union
action find_tuple_counts
relation P115
type Q16510064
type Q811979
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?u ) WHERE { { ?t property:P115 ?l . ?l rdf:type ontology:Q811979 . ?t rdf:type ontology:Q16510064 } UNION { ?t property:P115 ?l . ?t rdf:type ontology:Q16510064 . ?l rdf:type ontology:Q1076486 } } GROUP BY ?t } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( MIN ( ?v ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?v ) WHERE { { ?n property:P115 ?s . ?n rdf:type ontology:Q16510064 . ?s rdf:type ontology:Q1076486 } UNION { ?n rdf:type ontology:Q16510064 . ?s rdf:type ontology:Q811979 . ?n property:P115 ?s } } GROUP BY ?n } } }
action argmin
action union
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
action find_tuple_counts
relation home venue
type sporting event
type sports venue
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?u ) WHERE { { ?t property:home_venue ?l . ?l rdf:type ontology:architectural_structure . ?t rdf:type ontology:sporting_event } UNION { ?t property:home_venue ?l . ?t rdf:type ontology:sporting_event . ?l rdf:type ontology:sports_venue } } GROUP BY ?t } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( MIN ( ?v ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?v ) WHERE { { ?n property:home_venue ?s . ?n rdf:type ontology:sporting_event . ?s rdf:type ontology:sports_venue } UNION { ?n rdf:type ontology:sporting_event . ?s rdf:type ontology:architectural_structure . ?n property:home_venue ?s } } GROUP BY ?n } } }
[]
architectural structure sports venue sporting event
Q16612104 Q18395725
SYSTEM
Volleyball at the 2016 Summer Olympics – Men's tournament, Volleyball at the 2016 Summer Olympics – Women's tournament
Q16612104 Q18395725
(c(Q16510064),P115,c(Q811979)|c(Q1076486))
action argmin
action union
action find_tuple_counts
relation P115
type Q16510064
type Q811979
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
[ANSWERS] have min number of architectural structures and sports venues as their arena
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?u ) WHERE { { ?t property:P115 ?l . ?l rdf:type ontology:Q811979 . ?t rdf:type ontology:Q16510064 } UNION { ?t property:P115 ?l . ?t rdf:type ontology:Q16510064 . ?l rdf:type ontology:Q1076486 } } GROUP BY ?t } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( MIN ( ?v ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?v ) WHERE { { ?n property:P115 ?s . ?n rdf:type ontology:Q16510064 . ?s rdf:type ontology:Q1076486 } UNION { ?n rdf:type ontology:Q16510064 . ?s rdf:type ontology:Q811979 . ?n property:P115 ?s } } GROUP BY ?n } } }
Volleyball at the 2016 Summer Olympics – Men's tournament Volleyball at the 2016 Summer Olympics – Women's tournament
Volleyball at the 2016 Summer Olympics – Men's tournament and Volleyball at the 2016 Summer Olympics – Women's tournament have min number of architectural structures and sports venues as their arena
Volleyball at the 2016 Summer Olympics – Men's tournament Volleyball at the 2016 Summer Olympics – Women's tournament
action argmin
action union
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
action find_tuple_counts
relation home venue
type sporting event
type sports venue
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?u ) WHERE { { ?t property:home_venue ?l . ?l rdf:type ontology:architectural_structure . ?t rdf:type ontology:sporting_event } UNION { ?t property:home_venue ?l . ?t rdf:type ontology:sporting_event . ?l rdf:type ontology:sports_venue } } GROUP BY ?t } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( MIN ( ?v ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?v ) WHERE { { ?n property:home_venue ?s . ?n rdf:type ontology:sporting_event . ?s rdf:type ontology:sports_venue } UNION { ?n rdf:type ontology:sporting_event . ?s rdf:type ontology:architectural_structure . ?n property:home_venue ?s } } GROUP BY ?n } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16612104
P641
Q349
USER
What did Volleyball at the 2016 Summer Olympics – Men's tournament participate in ?
(Q16612104,P641,c(Q349))
action filter_type
action find
entity Q16612104
relation P641
type Q349
['Q16612104', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q16612104 property:P641 ?a . ?a rdf:type ontology:Q349 }
Volleyball at the 2016 Summer Olympics – Men's tournament
action filter_type
action find
entity Volleyball at the 2016 Summer Olympics – Men's tournament
relation sport
type sport
["Volleyball at the 2016 Summer Olympics – Men's tournament", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Volleyball_at_the_2016_Summer_Olympics_–_Men's_tournament property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q1734
SYSTEM
volleyball
Q1734
(Q16612104,P641,c(Q349))
action filter_type
action find
entity Q16612104
relation P641
type Q349
[ANSWER] at the 2016 Summer Olympics did the [ANSWER]
['Q16612104', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q16612104 property:P641 ?a . ?a rdf:type ontology:Q349 }
volleyball
Volleyball at the 2016 Summer Olympics did the volleyball
volleyball
action filter_type
action find
entity Volleyball at the 2016 Summer Olympics – Men's tournament
relation sport
type sport
["Volleyball at the 2016 Summer Olympics – Men's tournament", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Volleyball_at_the_2016_Summer_Olympics_–_Men's_tournament property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16612104
P361
Q2312410
USER
What is Volleyball at the 2016 Summer Olympics – Men's tournament a portion of ?
(Q16612104,P361,c(Q2312410))
action filter_type
action find
entity Q16612104
relation P361
type Q2312410
['Q16612104', 'P361', {'concept': 'Q2312410'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2312410 . resource:Q16612104 property:P361 ?j }
Volleyball at the 2016 Summer Olympics – Men's tournament
action filter_type
action find
entity Volleyball at the 2016 Summer Olympics – Men's tournament
relation part of
type sport discipline
["Volleyball at the 2016 Summer Olympics – Men's tournament", 'part of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport_discipline . resource:Volleyball_at_the_2016_Summer_Olympics_–_Men's_tournament property:part_of ?j }
[]
sport discipline
Q18395722
SYSTEM
volleyball at the 2016 Summer Olympics
Q18395722
(Q16612104,P361,c(Q2312410))
action filter_type
action find
entity Q16612104
relation P361
type Q2312410
[ANSWER] – [ANSWER] is
['Q16612104', 'P361', {'concept': 'Q2312410'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2312410 . resource:Q16612104 property:P361 ?j }
volleyball at the 2016 Summer Olympics
Volleyball at the 2016 Summer Olympics – Volleyball at the 2016 Summer Olympics is
volleyball at the 2016 Summer Olympics
action filter_type
action find
entity Volleyball at the 2016 Summer Olympics – Men's tournament
relation part of
type sport discipline
["Volleyball at the 2016 Summer Olympics – Men's tournament", 'part of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport_discipline . resource:Volleyball_at_the_2016_Summer_Olympics_–_Men's_tournament property:part_of ?j }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q23058801
P115
Q1076486 Q811979 Q16510064
USER
Which sporting events have greater number of sports venues and architectural structures as their ground than Basketball at the 2016 Summer Olympics – Women's tournament ?
(c(Q16510064),P115,c(Q1076486)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
action find_tuple_counts
relation P115
type Q16510064
type Q811979
action count
action filter_multi_types
action find
entity Q23058801
relation P115
type Q1076486
type Q811979
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } . ?r rdf:type ?v } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Q23058801 property:P115 ?p . { { ?p rdf:type ontology:Q1076486 } UNION { ?p rdf:type ontology:Q811979 } } } } . FILTER ( ?n > ?k ) }
Basketball at the 2016 Summer Olympics – Women's tournament
action greater
action union
action find_tuple_counts
relation home venue
type sporting event
type sports venue
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
action count
action filter_multi_types
action find
entity Basketball at the 2016 Summer Olympics – Women's tournament
relation home venue
type sports venue
type architectural structure
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } . ?r rdf:type ?v } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Basketball_at_the_2016_Summer_Olympics_–_Women's_tournament property:home_venue ?p . { { ?p rdf:type ontology:sports_venue } UNION { ?p rdf:type ontology:architectural_structure } } } } . FILTER ( ?n > ?k ) }
[]
sports venue architectural structure sporting event
Q18479845 Q18479838
SYSTEM
Football at the 2016 Summer Olympics – Men's tournament‎, Football at the 2016 Summer Olympics – Women's tournament
Q18479845 Q18479838
(c(Q16510064),P115,c(Q1076486)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
action find_tuple_counts
relation P115
type Q16510064
type Q811979
action count
action filter_multi_types
action find
entity Q23058801
relation P115
type Q1076486
type Q811979
[ANSWERS] have greater number of sports venues and architectural structures as their ground than Basketball at the 2016 Summer Olympics – Women's tournament
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } . ?r rdf:type ?v } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Q23058801 property:P115 ?p . { { ?p rdf:type ontology:Q1076486 } UNION { ?p rdf:type ontology:Q811979 } } } } . FILTER ( ?n > ?k ) }
Football at the 2016 Summer Olympics – Men's tournament‎ Football at the 2016 Summer Olympics – Women's tournament
Football at the 2016 Summer Olympics – Men's tournament‎ and Football at the 2016 Summer Olympics – Women's tournament have greater number of sports venues and architectural structures as their ground than Basketball at the 2016 Summer Olympics – Women's tournament
Football at the 2016 Summer Olympics – Men's tournament‎ Football at the 2016 Summer Olympics – Women's tournament
action greater
action union
action find_tuple_counts
relation home venue
type sporting event
type sports venue
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
action count
action filter_multi_types
action find
entity Basketball at the 2016 Summer Olympics – Women's tournament
relation home venue
type sports venue
type architectural structure
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } . ?r rdf:type ?v } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Basketball_at_the_2016_Summer_Olympics_–_Women's_tournament property:home_venue ?p . { { ?p rdf:type ontology:sports_venue } UNION { ?p rdf:type ontology:architectural_structure } } } } . FILTER ( ?n > ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q18395725
P115
Q1076486 Q811979 Q16510064
USER
And what about Volleyball at the 2016 Summer Olympics – Women's tournament?
(c(Q16510064),P115,c(Q1076486)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
action find_tuple_counts
relation P115
type Q16510064
type Q811979
action count
action filter_multi_types
action find
entity Q18395725
relation P115
type Q1076486
type Q811979
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?p WHERE { VALUES ( ?c ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } . ?r rdf:type ?c } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q18395725 property:P115 ?w . { VALUES ( ?o ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?w rdf:type ?o } } } . FILTER ( ?l > ?e ) }
Volleyball at the 2016 Summer Olympics – Women's tournament
action greater
action union
action find_tuple_counts
relation home venue
type sporting event
type sports venue
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
action count
action filter_multi_types
action find
entity Volleyball at the 2016 Summer Olympics – Women's tournament
relation home venue
type sports venue
type architectural structure
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?p WHERE { VALUES ( ?c ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } . ?r rdf:type ?c } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Volleyball_at_the_2016_Summer_Olympics_–_Women's_tournament property:home_venue ?w . { VALUES ( ?o ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?w rdf:type ?o } } } . FILTER ( ?l > ?e ) }
[]
sports venue architectural structure sporting event
Q18355214 Q18479845 Q18479838
SYSTEM
Field hockey at the 2016 Summer Olympics – Men's tournament, Football at the 2016 Summer Olympics – Men's tournament‎, Football at the 2016 Summer Olympics – Women's tournament
Q18355236 Q25163142 Q23776822 Q23776821 Q7378331 Q23949489 Q23949488 Q24995398 Q18355214 Q24825467 Q18416654 Q18479845 Q23058801 Q18479838 Q25162542
(c(Q16510064),P115,c(Q1076486)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
action find_tuple_counts
relation P115
type Q16510064
type Q811979
action count
action filter_multi_types
action find
entity Q18395725
relation P115
type Q1076486
type Q811979
[ANSWERS]
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?p WHERE { VALUES ( ?c ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } . ?r rdf:type ?c } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q18395725 property:P115 ?w . { VALUES ( ?o ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?w rdf:type ?o } } } . FILTER ( ?l > ?e ) }
Field hockey at the 2016 Summer Olympics – Women's tournament Rugby sevens at the 2016 Summer Olympics – Women's tournament Water polo at the 2016 Summer Olympics – Men's tournament Water polo at the 2016 Summer Olympics – Women's tournament rugby Sevens at the 2016 Summer Olympics Handball at the 2016 Summer Olympics – Women's tournament Handball at the 2016 Summer Olympics – Men's tournament Beach volleyball at the 2016 Summer Olympics – Women's tournament Field hockey at the 2016 Summer Olympics – Men's tournament Beach volleyball at the 2016 Summer Olympics – Men's tournament Basketball at the 2016 Summer Olympics – Men's tournament Football at the 2016 Summer Olympics – Men's tournament‎ Basketball at the 2016 Summer Olympics – Women's tournament Football at the 2016 Summer Olympics – Women's tournament Rugby sevens at the 2016 Summer Olympics – Men's tournament
Field hockey at the 2016 Summer Olympics – Men's tournament Football at the 2016 Summer Olympics – Men's tournament‎ Football at the 2016 Summer Olympics – Women's tournament
action greater
action union
action find_tuple_counts
relation home venue
type sporting event
type sports venue
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
action count
action filter_multi_types
action find
entity Volleyball at the 2016 Summer Olympics – Women's tournament
relation home venue
type sports venue
type architectural structure
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?p WHERE { VALUES ( ?c ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } . ?r rdf:type ?c } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Volleyball_at_the_2016_Summer_Olympics_–_Women's_tournament property:home_venue ?w . { VALUES ( ?o ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?w rdf:type ?o } } } . FILTER ( ?l > ?e ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20685700 Q688826
P27
Q15617994
USER
Which administrative territories are the native countriesof Beat Hefti or Jadunath Supakar ?
OR((Q688826,P27,c(Q15617994)), (Q20685700,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q688826
relation P27
action find
entity Q20685700
relation P27
type Q15617994
{'OR': [['Q688826', 'P27', {'concept': 'Q15617994'}], ['Q20685700', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q688826 property:P27 ?o } UNION { resource:Q20685700 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Jadunath Supakar Beat Hefti
action filter_type
action union
action find
entity Beat Hefti
relation country of citizenship
action find
entity Jadunath Supakar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Beat Hefti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jadunath Supakar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Beat_Hefti property:country_of_citizenship ?o } UNION { resource:Jadunath_Supakar property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q668
SYSTEM
Switzerland, India
Q39 Q668
OR((Q688826,P27,c(Q15617994)), (Q20685700,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q688826
relation P27
action find
entity Q20685700
relation P27
type Q15617994
[ANSWERS] are the native countriesof Beat Hefti or Jadunath Supakar
{'OR': [['Q688826', 'P27', {'concept': 'Q15617994'}], ['Q20685700', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q688826 property:P27 ?o } UNION { resource:Q20685700 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Switzerland India
Switzerland and India are the native countriesof Beat Hefti or Jadunath Supakar
Switzerland India
action filter_type
action union
action find
entity Beat Hefti
relation country of citizenship
action find
entity Jadunath Supakar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Beat Hefti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jadunath Supakar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Beat_Hefti property:country_of_citizenship ?o } UNION { resource:Jadunath_Supakar property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q39
P1532
Q502895
USER
Which people represent that administrative territory ?
(c(Q502895),P1532,Q39)
action filter_type
action find_reverse
entity Q39
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q39']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P1532 resource:Q39 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Switzerland']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:country_for_sport resource:Switzerland }
[]
common name
Clarification for simple ques.
Q39
SYSTEM
Did you mean Switzerland ?
Q39 Q668
(c(Q502895),P1532,Q39) (c(Q502895),P1532,Q668)
[ANSWER]
[{'concept': 'Q502895'}, 'P1532', 'Q39'] [{'concept': 'Q502895'}, 'P1532', 'Q668']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P1532 resource:Q39 }
Switzerland India
Did you mean Switzerland ?
Switzerland
[{'concept': 'common name'}, 'country for sport', 'Switzerland'] [{'concept': 'common name'}, 'country for sport', 'India']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:country_for_sport resource:Switzerland }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P1532,Q39)
[{'concept': 'Q502895'}, 'P1532', 'Q39']
[{'concept': 'common name'}, 'country for sport', 'Switzerland']
[]
Q26111355 Q275989 Q22409675
SYSTEM
Sara Wüest, Marianne Kaufmann-Abderhalden, Martha Grossenbacher
Q26111355 Q275989 Q26396190 Q22409675
(c(Q502895),P1532,Q39)
action filter_type
action find_reverse
entity Q39
relation P1532
type Q502895
[ANSWERS] represent that administrative territory
[{'concept': 'Q502895'}, 'P1532', 'Q39']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P1532 resource:Q39 }
Sara Wüest Marianne Kaufmann-Abderhalden Salomé Kora Martha Grossenbacher
Sara Wüest, Marianne Kaufmann-Abderhalden and Martha Grossenbacher represent that administrative territory
Sara Wüest Marianne Kaufmann-Abderhalden Martha Grossenbacher
action filter_type
action find_reverse
entity Switzerland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Switzerland']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:country_for_sport resource:Switzerland }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7022540 Q18479845
P17
Q15617994
USER
Which administrative territories do Football at the 2016 Summer Olympics – Men's tournament‎ or Ngongonding Forest Park belong to ?
OR((Q18479845,P17,c(Q15617994)), (Q7022540,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18479845
relation P17
action find
entity Q7022540
relation P17
type Q15617994
{'OR': [['Q18479845', 'P17', {'concept': 'Q15617994'}], ['Q7022540', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q18479845 property:P17 ?h } UNION { resource:Q7022540 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Ngongonding Forest Park Football at the 2016 Summer Olympics – Men's tournament‎
action filter_type
action union
action find
entity Football at the 2016 Summer Olympics – Men's tournament‎
relation country
action find
entity Ngongonding Forest Park
relation country
type designation for an administrative territorial entity
{'OR': [["Football at the 2016 Summer Olympics – Men's tournament\u200e", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ngongonding Forest Park', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Football_at_the_2016_Summer_Olympics_–_Men's_tournament‎ property:country ?h } UNION { resource:Ngongonding_Forest_Park property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q1005
SYSTEM
Brazil, Gambia
Q155 Q1005
OR((Q18479845,P17,c(Q15617994)), (Q7022540,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18479845
relation P17
action find
entity Q7022540
relation P17
type Q15617994
[ANSWERS] football at the 2016 Summer Olympics – Men's tournament‎ or Ngongonding Forest Park belong to
{'OR': [['Q18479845', 'P17', {'concept': 'Q15617994'}], ['Q7022540', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q18479845 property:P17 ?h } UNION { resource:Q7022540 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Brazil Gambia
Brazil and Gambia football at the 2016 Summer Olympics – Men's tournament‎ or Ngongonding Forest Park belong to
Brazil Gambia
action filter_type
action union
action find
entity Football at the 2016 Summer Olympics – Men's tournament‎
relation country
action find
entity Ngongonding Forest Park
relation country
type designation for an administrative territorial entity
{'OR': [["Football at the 2016 Summer Olympics – Men's tournament\u200e", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ngongonding Forest Park', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Football_at_the_2016_Summer_Olympics_–_Men's_tournament‎ property:country ?h } UNION { resource:Ngongonding_Forest_Park property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]