Simple Question (Direct)
Simple Question
Q25424998
P21
Q290
USER
Which sex does Panagiotis Mantis have ?
(Q25424998,P21,c(Q290))
action filter_type
action find
entity Q25424998
relation P21
type Q290
['Q25424998', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q25424998 property:P21 ?l }
Panagiotis Mantis
action filter_type
action find
entity Panagiotis Mantis
relation gender
type sex
['Panagiotis Mantis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Panagiotis_Mantis property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q25424998,P21,c(Q290))
action filter_type
action find
entity Q25424998
relation P21
type Q290
Panagiotis Mantis has a [ANSWER]
['Q25424998', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q25424998 property:P21 ?l }
male
Panagiotis Mantis has a male
male
action filter_type
action find
entity Panagiotis Mantis
relation gender
type sex
['Panagiotis Mantis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Panagiotis_Mantis property:gender ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25424998
P1344
Q2312410
USER
Which sport discipline did that person take part in ?
(Q6581097,P1344,c(Q2312410))
action filter_type
action find
entity Q25424998
relation P1344
type Q2312410
['Q6581097', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?f WHERE { resource:Q25424998 property:P1344 ?f . ?f rdf:type ontology:Q2312410 }
Panagiotis Mantis
action filter_type
action find
entity Panagiotis Mantis
relation participant of
type sport discipline
['male', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?f WHERE { resource:Panagiotis_Mantis property:participant_of ?f . ?f rdf:type ontology:sport_discipline }
[]
sport discipline
Q7400384
SYSTEM
sailing at the 2016 Summer Olympics
Q7400384
(Q6581097,P1344,c(Q2312410))
action filter_type
action find
entity Q25424998
relation P1344
type Q2312410
That person took in part in [ANSWER]
['Q6581097', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?f WHERE { resource:Q25424998 property:P1344 ?f . ?f rdf:type ontology:Q2312410 }
sailing at the 2016 Summer Olympics
That person took in part in sailing at the 2016 Summer Olympics
sailing at the 2016 Summer Olympics
action filter_type
action find
entity Panagiotis Mantis
relation participant of
type sport discipline
['male', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?f WHERE { resource:Panagiotis_Mantis property:participant_of ?f . ?f rdf:type ontology:sport_discipline }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1715983 Q25424998
P1344
Q2312410
USER
Or Matija Kvasina?
OR((Q25424998,P1344,c(Q2312410)), (Q1715983,P1344,c(Q2312410)))
action filter_type
action union
action find
entity Q25424998
relation P1344
action find
entity Q1715983
relation P1344
type Q2312410
{'OR': [['Q25424998', 'P1344', {'concept': 'Q2312410'}], ['Q1715983', 'P1344', {'concept': 'Q2312410'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q25424998 property:P1344 ?k } UNION { resource:Q1715983 property:P1344 ?k } } . ?k rdf:type ontology:Q2312410 }
Matija Kvasina Panagiotis Mantis
action filter_type
action union
action find
entity Panagiotis Mantis
relation participant of
action find
entity Matija Kvasina
relation participant of
type sport discipline
{'OR': [['Panagiotis Mantis', 'participant of', {'concept': 'sport discipline'}], ['Matija Kvasina', 'participant of', {'concept': 'sport discipline'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Panagiotis_Mantis property:participant_of ?k } UNION { resource:Matija_Kvasina property:participant_of ?k } } . ?k rdf:type ontology:sport_discipline }
[]
sport discipline
Q11889336 Q7400384
SYSTEM
cycling at the 2016 Summer Olympics, sailing at the 2016 Summer Olympics
Q11889336 Q7400384
OR((Q25424998,P1344,c(Q2312410)), (Q1715983,P1344,c(Q2312410)))
action filter_type
action union
action find
entity Q25424998
relation P1344
action find
entity Q1715983
relation P1344
type Q2312410
[ANSWERS]
{'OR': [['Q25424998', 'P1344', {'concept': 'Q2312410'}], ['Q1715983', 'P1344', {'concept': 'Q2312410'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q25424998 property:P1344 ?k } UNION { resource:Q1715983 property:P1344 ?k } } . ?k rdf:type ontology:Q2312410 }
cycling at the 2016 Summer Olympics sailing at the 2016 Summer Olympics
cycling at the 2016 Summer Olympics sailing at the 2016 Summer Olympics
action filter_type
action union
action find
entity Panagiotis Mantis
relation participant of
action find
entity Matija Kvasina
relation participant of
type sport discipline
{'OR': [['Panagiotis Mantis', 'participant of', {'concept': 'sport discipline'}], ['Matija Kvasina', 'participant of', {'concept': 'sport discipline'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Panagiotis_Mantis property:participant_of ?k } UNION { resource:Matija_Kvasina property:participant_of ?k } } . ?k rdf:type ontology:sport_discipline }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11874157
P115
Q1076486 Q811979 Q2312410
USER
Which sport disciplines have lesser number of sports venues and architectural structures as their home field than handball at the 2016 Summer Olympics ?
(c(Q2312410),P115,c(Q1076486)|c(Q811979))
action less
action union
action find_tuple_counts
relation P115
type Q2312410
type Q1076486
action find_tuple_counts
relation P115
type Q2312410
type Q811979
action count
action filter_multi_types
action find
entity Q11874157
relation P115
type Q1076486
type Q811979
[{'concept': 'Q2312410'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?h WHERE { { ?h property:P115 ?v . ?h rdf:type ontology:Q2312410 . ?v rdf:type ontology:Q811979 } UNION { ?h property:P115 ?v . ?h rdf:type ontology:Q2312410 . ?v rdf:type ontology:Q1076486 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q11874157 property:P115 ?n . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } } } } . FILTER ( ?s < ?b ) }
handball at the 2016 Summer Olympics
action less
action union
action find_tuple_counts
relation home venue
type sport discipline
type sports venue
action find_tuple_counts
relation home venue
type sport discipline
type architectural structure
action count
action filter_multi_types
action find
entity handball at the 2016 Summer Olympics
relation home venue
type sports venue
type architectural structure
[{'concept': 'sport discipline'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?h WHERE { { ?h property:home_venue ?v . ?h rdf:type ontology:sport_discipline . ?v rdf:type ontology:architectural_structure } UNION { ?h property:home_venue ?v . ?h rdf:type ontology:sport_discipline . ?v rdf:type ontology:sports_venue } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:handball_at_the_2016_Summer_Olympics property:home_venue ?n . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } } } } . FILTER ( ?s < ?b ) }
[]
sports venue architectural structure sport discipline
Q19706972 Q15284197 Q11896072
SYSTEM
canoeing at the 2016 Summer Olympics, fencing at the 2016 Summer Olympics, synchronized swimming at the 2016 Summer Olympics
Q11901844 Q15284197 Q11896072 Q19706972 Q5392247 Q11867321 Q11894270 Q18416810 Q11886402 Q7400384 Q19710306 Q18564445 Q11884985 Q11899349 Q18020584
(c(Q2312410),P115,c(Q1076486)|c(Q811979))
action less
action union
action find_tuple_counts
relation P115
type Q2312410
type Q1076486
action find_tuple_counts
relation P115
type Q2312410
type Q811979
action count
action filter_multi_types
action find
entity Q11874157
relation P115
type Q1076486
type Q811979
[ANSWERS] have lesser number of sports venues and architectural structures as their home field than handball at the 2016 Summer Olympics
[{'concept': 'Q2312410'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?h WHERE { { ?h property:P115 ?v . ?h rdf:type ontology:Q2312410 . ?v rdf:type ontology:Q811979 } UNION { ?h property:P115 ?v . ?h rdf:type ontology:Q2312410 . ?v rdf:type ontology:Q1076486 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q11874157 property:P115 ?n . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } } } } . FILTER ( ?s < ?b ) }
gymnastics at the 2016 Summer Olympics fencing at the 2016 Summer Olympics synchronized swimming at the 2016 Summer Olympics canoeing at the 2016 Summer Olympics table tennis at the 2016 Summer Olympics judo at the 2016 Summer Olympics rowing at the 2016 Summer Olympics triathlon at the 2016 Summer Olympics wrestling at the 2016 Summer Olympics sailing at the 2016 Summer Olympics taekwondo at the 2016 Summer Olympics weightlifting at the 2016 Summer Olympics boxing at the 2016 Summer Olympics diving at the 2016 Summer Olympics shooting at the 2016 Summer Olympics
Canoeing at the 2016 Summer Olympics, fencing at the 2016 Summer Olympics and synchronized swimming at the 2016 Summer Olympics have lesser number of sports venues and architectural structures as their home field than handball at the 2016 Summer Olympics
canoeing at the 2016 Summer Olympics fencing at the 2016 Summer Olympics synchronized swimming at the 2016 Summer Olympics
action less
action union
action find_tuple_counts
relation home venue
type sport discipline
type sports venue
action find_tuple_counts
relation home venue
type sport discipline
type architectural structure
action count
action filter_multi_types
action find
entity handball at the 2016 Summer Olympics
relation home venue
type sports venue
type architectural structure
[{'concept': 'sport discipline'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?h WHERE { { ?h property:home_venue ?v . ?h rdf:type ontology:sport_discipline . ?v rdf:type ontology:architectural_structure } UNION { ?h property:home_venue ?v . ?h rdf:type ontology:sport_discipline . ?v rdf:type ontology:sports_venue } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:handball_at_the_2016_Summer_Olympics property:home_venue ?n . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } } } } . FILTER ( ?s < ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11889336
P361
Q16510064
USER
Which sporting events are a part of cycling at the 2016 Summer Olympics ?
(c(Q16510064),P361,Q11889336)
action filter_type
action find_reverse
entity Q11889336
relation P361
type Q16510064
[{'concept': 'Q16510064'}, 'P361', 'Q11889336']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q11889336 . ?z rdf:type ontology:Q16510064 }
cycling at the 2016 Summer Olympics
action filter_type
action find_reverse
entity cycling at the 2016 Summer Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', 'cycling at the 2016 Summer Olympics']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:cycling_at_the_2016_Summer_Olympics . ?z rdf:type ontology:sporting_event }
[]
sporting event
Q24761058 Q24760634 Q24906800
SYSTEM
Cycling at the 2016 Summer Olympics – Women's individual road race, Cycling at the 2016 Summer Olympics – Men's individual road race, Cycling at the 2016 Summer Olympics – Men's road time trial
Q24906800 Q25476845 Q24761058 Q24760634 Q24906792
(c(Q16510064),P361,Q11889336)
action filter_type
action find_reverse
entity Q11889336
relation P361
type Q16510064
Cycling at the 2016 Summer Olympics – Women's individual road race, cycling at the 2016 Summer Olympics – Men's individual road race and cycling at the 2016 Summer Olympics – Men's road time trial are a part of cycling at the 2016 Summer Olympics
[{'concept': 'Q16510064'}, 'P361', 'Q11889336']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q11889336 . ?z rdf:type ontology:Q16510064 }
Cycling at the 2016 Summer Olympics – Men's road time trial Cycling at the 2016 Summer Olympics – Men's cross-country Cycling at the 2016 Summer Olympics – Women's individual road race Cycling at the 2016 Summer Olympics – Men's individual road race Cycling at the 2016 Summer Olympics – Women's road time trial
Cycling at the 2016 Summer Olympics – Women's individual road race, cycling at the 2016 Summer Olympics – Men's individual road race and cycling at the 2016 Summer Olympics – Men's road time trial are a part of cycling at the 2016 Summer Olympics
Cycling at the 2016 Summer Olympics – Women's individual road race Cycling at the 2016 Summer Olympics – Men's individual road race Cycling at the 2016 Summer Olympics – Men's road time trial
action filter_type
action find_reverse
entity cycling at the 2016 Summer Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', 'cycling at the 2016 Summer Olympics']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:cycling_at_the_2016_Summer_Olympics . ?z rdf:type ontology:sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q24761058 Q24760634 Q24906800
P641
Q31629
USER
What types of sport were those sporting events a part of ?
(Q24761058,P641,c(Q31629)) (Q24760634,P641,c(Q31629)) (Q24906800,P641,c(Q31629))
action filter_type
action find
entity prev_answer
relation P641
type Q31629
['Q24761058', 'P641', {'concept': 'Q31629'}] ['Q24760634', 'P641', {'concept': 'Q31629'}] ['Q24906800', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { ?t property:P641 ?r . ?r rdf:type ontology:Q31629 . VALUES ( ?t ) { ( resource:Q24906800 ) ( resource:Q25476845 ) ( resource:Q24761058 ) } }
Cycling at the 2016 Summer Olympics – Women's individual road race Cycling at the 2016 Summer Olympics – Men's individual road race Cycling at the 2016 Summer Olympics – Men's road time trial
action filter_type
action find
entity prev_answer
relation sport
type type of sport
["Cycling at the 2016 Summer Olympics – Women's individual road race", 'sport', {'concept': 'type of sport'}] ["Cycling at the 2016 Summer Olympics – Men's individual road race", 'sport', {'concept': 'type of sport'}] ["Cycling at the 2016 Summer Olympics – Men's road time trial", 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { ?t property:sport ?r . ?r rdf:type ontology:type_of_sport . VALUES ( ?t ) { ( resource:Cycling_at_the_2016_Summer_Olympics_–_Men's_road_time_trial ) ( resource:Cycling_at_the_2016_Summer_Olympics_–_Men's_cross-country ) ( resource:Cycling_at_the_2016_Summer_Olympics_–_Women's_individual_road_race ) } }
[]
type of sport
Q3609 Q3609 Q3609
SYSTEM
road bicycle racing
Q3609 Q3609 Q3609
(Q24761058,P641,c(Q31629)) (Q24760634,P641,c(Q31629)) (Q24906800,P641,c(Q31629))
action filter_type
action find
entity prev_answer
relation P641
type Q31629
[ANSWER], [ANSWER] and [ANSWER] were those sporting events a part of
['Q24761058', 'P641', {'concept': 'Q31629'}] ['Q24760634', 'P641', {'concept': 'Q31629'}] ['Q24906800', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { ?t property:P641 ?r . ?r rdf:type ontology:Q31629 . VALUES ( ?t ) { ( resource:Q24906800 ) ( resource:Q25476845 ) ( resource:Q24761058 ) } }
road bicycle racing road bicycle racing road bicycle racing
Road bicycle racing, road bicycle racing and road bicycle racing were those sporting events a part of
road bicycle racing road bicycle racing road bicycle racing
action filter_type
action find
entity prev_answer
relation sport
type type of sport
["Cycling at the 2016 Summer Olympics – Women's individual road race", 'sport', {'concept': 'type of sport'}] ["Cycling at the 2016 Summer Olympics – Men's individual road race", 'sport', {'concept': 'type of sport'}] ["Cycling at the 2016 Summer Olympics – Men's road time trial", 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { ?t property:sport ?r . ?r rdf:type ontology:type_of_sport . VALUES ( ?t ) { ( resource:Cycling_at_the_2016_Summer_Olympics_–_Men's_road_time_trial ) ( resource:Cycling_at_the_2016_Summer_Olympics_–_Men's_cross-country ) ( resource:Cycling_at_the_2016_Summer_Olympics_–_Women's_individual_road_race ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24761058
P17
Q15617994
USER
Which administrative territory does Cycling at the 2016 Summer Olympics – Women's individual road race belong to ?
(Q24761058,P17,c(Q15617994))
action filter_type
action find
entity Q24761058
relation P17
type Q15617994
['Q24761058', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q24761058 property:P17 ?x }
Cycling at the 2016 Summer Olympics – Women's individual road race
action filter_type
action find
entity Cycling at the 2016 Summer Olympics – Women's individual road race
relation country
type designation for an administrative territorial entity
["Cycling at the 2016 Summer Olympics – Women's individual road race", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cycling_at_the_2016_Summer_Olympics_–_Women's_individual_road_race property:country ?x }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q24761058,P17,c(Q15617994))
action filter_type
action find
entity Q24761058
relation P17
type Q15617994
[ANSWER] cycles at the 2016 Summer Olympics – Women's individual road race belong to
['Q24761058', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q24761058 property:P17 ?x }
Brazil
Brazil cycles at the 2016 Summer Olympics – Women's individual road race belong to
Brazil
action filter_type
action find
entity Cycling at the 2016 Summer Olympics – Women's individual road race
relation country
type designation for an administrative territorial entity
["Cycling at the 2016 Summer Olympics – Women's individual road race", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cycling_at_the_2016_Summer_Olympics_–_Women's_individual_road_race property:country ?x }
[]