Simple Question (Direct)
Simple Question
Q10401461
P641
Q349
USER
Which sport was Jon Sheffield a part of ?
(Q10401461,P641,c(Q349))
action filter_type
action find
entity Q10401461
relation P641
type Q349
['Q10401461', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q10401461 property:P641 ?d . ?d rdf:type ontology:Q349 }
Jon Sheffield
action filter_type
action find
entity Jon Sheffield
relation sport
type sport
['Jon Sheffield', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Jon_Sheffield property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10401461,P641,c(Q349))
action filter_type
action find
entity Q10401461
relation P641
type Q349
Which sport was Jon Sheffield a part of
['Q10401461', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q10401461 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
Which sport was Jon Sheffield a part of
association football
action filter_type
action find
entity Jon Sheffield
relation sport
type sport
['Jon Sheffield', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Jon_Sheffield property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10401461
P106
Q12737077
USER
What is the job of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q10401461
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q10401461 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Jon Sheffield
action filter_type
action find
entity Jon Sheffield
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Jon_Sheffield property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q10401461
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q10401461 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Jon Sheffield
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Jon_Sheffield property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10401461
P21
Q290
USER
Which sex does that person have ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q10401461
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q10401461 property:P21 ?u . ?u rdf:type ontology:Q290 }
Jon Sheffield
action filter_type
action find
entity Jon Sheffield
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Jon_Sheffield property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q10401461
relation P21
type Q290
That person has a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q10401461 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Jon Sheffield
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Jon_Sheffield property:gender ?u . ?u rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P21
Q216353 Q167170
USER
How many titles and multi-sport events are a that sex ?
(c(Q216353),P21,Q6581097) (c(Q167170),P21,Q6581097) (c(Q216353),P21,Q6581097) (c(Q167170),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q216353
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q167170
[{'concept': 'Q216353'}, 'P21', 'Q6581097'] [{'concept': 'Q167170'}, 'P21', 'Q6581097'] [{'concept': 'Q216353'}, 'P21', 'Q6581097'] [{'concept': 'Q167170'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q216353 } UNION { ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q167170 } }
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type title
action filter_type
action find_reverse
entity male
relation gender
type multi-sport event
[{'concept': 'title'}, 'gender', 'male'] [{'concept': 'multi-sport event'}, 'gender', 'male'] [{'concept': 'title'}, 'gender', 'male'] [{'concept': 'multi-sport event'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:gender resource:male . ?g rdf:type ontology:title } UNION { ?g property:gender resource:male . ?g rdf:type ontology:multi-sport_event } }
[]
title multi-sport event
SYSTEM
13 titles and 1 multi-sport events
Q27772497 Q19843245 Q2189227 Q5191884 Q13127386 Q15889358 Q11928032 Q2639769 Q175833 Q7401183 Q11934996 Q19999854 Q200608 Q3819001
(c(Q216353),P21,Q6581097) (c(Q167170),P21,Q6581097) (c(Q216353),P21,Q6581097) (c(Q167170),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q216353
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q167170
[ANSWER]
[{'concept': 'Q216353'}, 'P21', 'Q6581097'] [{'concept': 'Q167170'}, 'P21', 'Q6581097'] [{'concept': 'Q216353'}, 'P21', 'Q6581097'] [{'concept': 'Q167170'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q216353 } UNION { ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q167170 } }
Jorge Luis Martínez Antonino Natoli Trijang Rinpoche Cuauhtototzin Cristiolus Brynjulf Björnsson Joan de Tessalònica el Vell Raidas Wenceslaus I of Bohemia Saint Donatian Manuel Ruiz and his 10 companions Fèlix "in Pincis" Ephrem the Syrian Nicasius of Sicily
13 titles and 1 multi-sport events
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type title
action filter_type
action find_reverse
entity male
relation gender
type multi-sport event
[{'concept': 'title'}, 'gender', 'male'] [{'concept': 'multi-sport event'}, 'gender', 'male'] [{'concept': 'title'}, 'gender', 'male'] [{'concept': 'multi-sport event'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:gender resource:male . ?g rdf:type ontology:title } UNION { ?g property:gender resource:male . ?g rdf:type ontology:multi-sport_event } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1875777
P366
Q349 Q1076486 Q2235308
USER
Which sports represent the main use of greater number of sports venues and ship types than air racing ?
(c(Q1076486)|c(Q2235308),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q1875777
relation P366
type Q1076486
type Q2235308
[[{'concept': 'Q1076486'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?k WHERE { { ?z property:P366 ?k . ?k rdf:type ontology:Q349 . ?z rdf:type ontology:Q1076486 } UNION { ?z property:P366 ?k . ?k rdf:type ontology:Q349 . ?z rdf:type ontology:Q2235308 } } GROUP BY ?k } . FILTER ( ?w > ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P366 resource:Q1875777 . { { ?f rdf:type ontology:Q2235308 } UNION { ?f rdf:type ontology:Q1076486 } } } } }
air racing
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity air racing
relation use
type sports venue
type ship type
[[{'concept': 'sports venue'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?k WHERE { { ?z property:use ?k . ?k rdf:type ontology:sport . ?z rdf:type ontology:sports_venue } UNION { ?z property:use ?k . ?k rdf:type ontology:sport . ?z rdf:type ontology:ship_type } } GROUP BY ?k } . FILTER ( ?w > ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:use resource:air_racing . { { ?f rdf:type ontology:ship_type } UNION { ?f rdf:type ontology:sports_venue } } } } }
[]
sport sports venue ship type
Q183018 Q2736 Q61065
SYSTEM
bandy, association football, water sport
Q183018 Q2736 Q61065 Q41466 Q1194269
(c(Q1076486)|c(Q2235308),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q1875777
relation P366
type Q1076486
type Q2235308
[ANSWERS] represent the main use of greater number of sports venues and ship types than air racing
[[{'concept': 'Q1076486'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?k WHERE { { ?z property:P366 ?k . ?k rdf:type ontology:Q349 . ?z rdf:type ontology:Q1076486 } UNION { ?z property:P366 ?k . ?k rdf:type ontology:Q349 . ?z rdf:type ontology:Q2235308 } } GROUP BY ?k } . FILTER ( ?w > ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P366 resource:Q1875777 . { { ?f rdf:type ontology:Q2235308 } UNION { ?f rdf:type ontology:Q1076486 } } } } }
bandy association football water sport ice hockey harness racing
Bandy, association football and water sport represent the main use of greater number of sports venues and ship types than air racing
bandy association football water sport
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity air racing
relation use
type sports venue
type ship type
[[{'concept': 'sports venue'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?k WHERE { { ?z property:use ?k . ?k rdf:type ontology:sport . ?z rdf:type ontology:sports_venue } UNION { ?z property:use ?k . ?k rdf:type ontology:sport . ?z rdf:type ontology:ship_type } } GROUP BY ?k } . FILTER ( ?w > ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:use resource:air_racing . { { ?f rdf:type ontology:ship_type } UNION { ?f rdf:type ontology:sports_venue } } } } }
[]