Simple Question (Direct)
Simple Question
Q506606
P641
Q349
USER
Which sport was Mark Edmondson a part of ?
(Q506606,P641,c(Q349))
action filter_type
action find
entity Q506606
relation P641
type Q349
['Q506606', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q506606 property:P641 ?c . ?c rdf:type ontology:Q349 }
Mark Edmondson
action filter_type
action find
entity Mark Edmondson
relation sport
type sport
['Mark Edmondson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Mark_Edmondson property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q847
SYSTEM
tennis
Q847
(Q506606,P641,c(Q349))
action filter_type
action find
entity Q506606
relation P641
type Q349
The [ANSWER] was Mark Edmondson a part of
['Q506606', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q506606 property:P641 ?c . ?c rdf:type ontology:Q349 }
tennis
The tennis was Mark Edmondson a part of
tennis
action filter_type
action find
entity Mark Edmondson
relation sport
type sport
['Mark Edmondson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Mark_Edmondson property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q506606
P21
Q290
USER
Which sex does that person belong to ?
(Q847,P21,c(Q290))
action filter_type
action find
entity Q506606
relation P21
type Q290
['Q847', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q506606 property:P21 ?x . ?x rdf:type ontology:Q290 }
Mark Edmondson
action filter_type
action find
entity Mark Edmondson
relation gender
type sex
['tennis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Mark_Edmondson property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q847,P21,c(Q290))
action filter_type
action find
entity Q506606
relation P21
type Q290
That person belongs to [ANSWER]
['Q847', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q506606 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Mark Edmondson
relation gender
type sex
['tennis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Mark_Edmondson property:gender ?x . ?x rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q22342681 Q506606
P21
Q290
USER
Or Andreas Nagel?
OR((Q506606,P21,c(Q290)), (Q22342681,P21,c(Q290)))
action filter_type
action union
action find
entity Q506606
relation P21
action find
entity Q22342681
relation P21
type Q290
{'OR': [['Q506606', 'P21', {'concept': 'Q290'}], ['Q22342681', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . { { resource:Q506606 property:P21 ?o } UNION { resource:Q22342681 property:P21 ?o } } }
Andreas Nagel Mark Edmondson
action filter_type
action union
action find
entity Mark Edmondson
relation gender
action find
entity Andreas Nagel
relation gender
type sex
{'OR': [['Mark Edmondson', 'gender', {'concept': 'sex'}], ['Andreas Nagel', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . { { resource:Mark_Edmondson property:gender ?o } UNION { resource:Andreas_Nagel property:gender ?o } } }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q506606,P21,c(Q290)), (Q22342681,P21,c(Q290)))
action filter_type
action union
action find
entity Q506606
relation P21
action find
entity Q22342681
relation P21
type Q290
[ANSWER]
{'OR': [['Q506606', 'P21', {'concept': 'Q290'}], ['Q22342681', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . { { resource:Q506606 property:P21 ?o } UNION { resource:Q22342681 property:P21 ?o } } }
male
male
action filter_type
action union
action find
entity Mark Edmondson
relation gender
action find
entity Andreas Nagel
relation gender
type sex
{'OR': [['Mark Edmondson', 'gender', {'concept': 'sex'}], ['Andreas Nagel', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . { { resource:Mark_Edmondson property:gender ?o } UNION { resource:Andreas_Nagel property:gender ?o } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q506606
P106
Q12737077
USER
Which occupation is the profession of Mark Edmondson ?
(Q506606,P106,c(Q12737077))
action filter_type
action find
entity Q506606
relation P106
type Q12737077
['Q506606', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q506606 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Mark Edmondson
action filter_type
action find
entity Mark Edmondson
relation occupation
type occupation
['Mark Edmondson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Mark_Edmondson property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q10833314
SYSTEM
tennis player
Q10833314
(Q506606,P106,c(Q12737077))
action filter_type
action find
entity Q506606
relation P106
type Q12737077
[ANSWER] is the profession of Mark Edmondson
['Q506606', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q506606 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
tennis player
Tennis player is the profession of Mark Edmondson
tennis player
action filter_type
action find
entity Mark Edmondson
relation occupation
type occupation
['Mark Edmondson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Mark_Edmondson property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6796671
Q12737077
USER
And also tell me about Maya Bond?
(Q6796671,P106,c(Q12737077))
action filter_type
action find
entity Q6796671
relation P106
type Q12737077
['Q6796671', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q6796671 property:P106 ?n }
Maya Bond
action filter_type
action find
entity Maya Bond
relation occupation
type occupation
['Maya Bond', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Maya_Bond property:occupation ?n }
[]
occupation
Q36834 Q486748 Q183945
SYSTEM
composer, pianist, record producer
Q36834 Q486748 Q183945 Q488205 Q177220
(Q6796671,P106,c(Q12737077))
action filter_type
action find
entity Q6796671
relation P106
type Q12737077
[ANSWERS]
['Q6796671', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q6796671 property:P106 ?n }
composer pianist record producer singer-songwriter singer
composer pianist record producer
action filter_type
action find
entity Maya Bond
relation occupation
type occupation
['Maya Bond', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Maya_Bond property:occupation ?n }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q22857
P366
Q349 Q6671777 Q2424752
USER
Which sports are the main uses of around the same number of structures and products as climbing ?
(c(Q6671777)|c(Q2424752),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q22857
relation P366
type Q6671777
type Q2424752
[[{'concept': 'Q6671777'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?f WHERE { { ?j property:P366 ?f . ?f rdf:type ontology:Q349 . ?j rdf:type ontology:Q6671777 } UNION { ?j property:P366 ?f . ?f rdf:type ontology:Q349 . ?j rdf:type ontology:Q2424752 } } GROUP BY ?f } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2424752 ) ( ontology:Q6671777 ) } } . ?q property:P366 resource:Q22857 } } }
climbing
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type product
action count
action filter_multi_types
action find_reverse
entity climbing
relation use
type structure
type product
[[{'concept': 'structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?f WHERE { { ?j property:use ?f . ?f rdf:type ontology:sport . ?j rdf:type ontology:structure } UNION { ?j property:use ?f . ?f rdf:type ontology:sport . ?j rdf:type ontology:product } } GROUP BY ?f } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:product ) ( ontology:structure ) } } . ?q property:use resource:climbing } } }
[]
sport structure product
Q36908 Q1875777 Q22857
SYSTEM
mountaineering, air racing, climbing
Q36908 Q1875777 Q22857
(c(Q6671777)|c(Q2424752),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q22857
relation P366
type Q6671777
type Q2424752
[ANSWERS] are the main uses of around the same number of structures and products as climbing
[[{'concept': 'Q6671777'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?f WHERE { { ?j property:P366 ?f . ?f rdf:type ontology:Q349 . ?j rdf:type ontology:Q6671777 } UNION { ?j property:P366 ?f . ?f rdf:type ontology:Q349 . ?j rdf:type ontology:Q2424752 } } GROUP BY ?f } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2424752 ) ( ontology:Q6671777 ) } } . ?q property:P366 resource:Q22857 } } }
mountaineering air racing climbing
Mountaineering, air racing and climbing are the main uses of around the same number of structures and products as climbing
mountaineering air racing climbing
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type product
action count
action filter_multi_types
action find_reverse
entity climbing
relation use
type structure
type product
[[{'concept': 'structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?f WHERE { { ?j property:use ?f . ?f rdf:type ontology:sport . ?j rdf:type ontology:structure } UNION { ?j property:use ?f . ?f rdf:type ontology:sport . ?j rdf:type ontology:product } } GROUP BY ?f } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:product ) ( ontology:structure ) } } . ?q property:use resource:climbing } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1345388
P366
Q349 Q6671777 Q2424752
USER
And also tell me about greyhound racing?
(c(Q6671777)|c(Q2424752),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q1345388
relation P366
type Q6671777
type Q2424752
[[{'concept': 'Q6671777'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?l WHERE { VALUES ( ?f ) { ( ontology:Q6671777 ) ( ontology:Q2424752 ) } . ?w rdf:type ?f } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P366 resource:Q1345388 . { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q6671777 ) ( ontology:Q2424752 ) } } } } . FILTER ( ?d = ?v ) }
greyhound racing
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type product
action count
action filter_multi_types
action find_reverse
entity greyhound racing
relation use
type structure
type product
[[{'concept': 'structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?l WHERE { VALUES ( ?f ) { ( ontology:structure ) ( ontology:product ) } . ?w rdf:type ?f } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:use resource:greyhound_racing . { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:structure ) ( ontology:product ) } } } } . FILTER ( ?d = ?v ) }
[]
sport structure product
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q6671777)|c(Q2424752),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q1345388
relation P366
type Q6671777
type Q2424752
[ANSWERS]
[[{'concept': 'Q6671777'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?l WHERE { VALUES ( ?f ) { ( ontology:Q6671777 ) ( ontology:Q2424752 ) } . ?w rdf:type ?f } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P366 resource:Q1345388 . { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q6671777 ) ( ontology:Q2424752 ) } } } } . FILTER ( ?d = ?v ) }
rallying basketball handball volleyball shooting sport skating bandy cross country running archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
floorball handball bandy
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type product
action count
action filter_multi_types
action find_reverse
entity greyhound racing
relation use
type structure
type product
[[{'concept': 'structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?l WHERE { VALUES ( ?f ) { ( ontology:structure ) ( ontology:product ) } . ?w rdf:type ?f } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:use resource:greyhound_racing . { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:structure ) ( ontology:product ) } } } } . FILTER ( ?d = ?v ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1142002
P641
Q12973014
USER
Does HV71 play those sports ?
(Q1142002,P641,Q206763) (Q1142002,P641,Q8418) (Q1142002,P641,Q183018)
action is_in
entity prev_answer
action find
entity Q1142002
relation P641
['Q1142002', 'P641', 'Q206763'] ['Q1142002', 'P641', 'Q8418'] ['Q1142002', 'P641', 'Q183018']
ASK WHERE { VALUES ( ?d ) { ( resource:Q7856 ) ( resource:Q5372 ) ( resource:Q8418 ) } . resource:Q1142002 property:P641 ?d }
HV71
action is_in
entity prev_answer
action find
entity HV71
relation sport
['HV71', 'sport', 'floorball'] ['HV71', 'sport', 'handball'] ['HV71', 'sport', 'bandy']
ASK WHERE { VALUES ( ?d ) { ( resource:rallying ) ( resource:basketball ) ( resource:handball ) } . resource:HV71 property:sport ?d }
[]
sports team
SYSTEM
NO
(Q1142002,P641,Q206763) (Q1142002,P641,Q8418) (Q1142002,P641,Q183018)
action is_in
entity prev_answer
action find
entity Q1142002
relation P641
[ANSWER]
['Q1142002', 'P641', 'Q206763'] ['Q1142002', 'P641', 'Q8418'] ['Q1142002', 'P641', 'Q183018']
ASK WHERE { VALUES ( ?d ) { ( resource:Q7856 ) ( resource:Q5372 ) ( resource:Q8418 ) } . resource:Q1142002 property:P641 ?d }
No
action is_in
entity prev_answer
action find
entity HV71
relation sport
['HV71', 'sport', 'floorball'] ['HV71', 'sport', 'handball'] ['HV71', 'sport', 'bandy']
ASK WHERE { VALUES ( ?d ) { ( resource:rallying ) ( resource:basketball ) ( resource:handball ) } . resource:HV71 property:sport ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q206763
P641
Q12973014
USER
How many sports teams are involved in playing floorball ?
(c(Q12973014),P641,Q206763)
action count
action filter_type
action find_reverse
entity Q206763
relation P641
type Q12973014
[{'concept': 'Q12973014'}, 'P641', 'Q206763']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P641 resource:Q206763 . ?j rdf:type ontology:Q12973014 }
floorball
action count
action filter_type
action find_reverse
entity floorball
relation sport
type sports team
[{'concept': 'sports team'}, 'sport', 'floorball']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:sport resource:floorball . ?j rdf:type ontology:sports_team }
[]
sports team
SYSTEM
6
Q15944684 Q15944683 Q10709573 Q1538282 Q217601 Q1361449
(c(Q12973014),P641,Q206763)
action count
action filter_type
action find_reverse
entity Q206763
relation P641
type Q12973014
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', 'Q206763']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P641 resource:Q206763 . ?j rdf:type ontology:Q12973014 }
Sweden U19 women's national floorball team Sweden U19 men's national floorball team Hungary women's national floorball team Huddinge IK Drøbak-Frogn IL HIFK
6
action count
action filter_type
action find_reverse
entity floorball
relation sport
type sports team
[{'concept': 'sports team'}, 'sport', 'floorball']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:sport resource:floorball . ?j rdf:type ontology:sports_team }
[]