Simple Question (Direct)
Simple Question
Q5534175
P641
Q349
USER
What was the sport that Geoff Hudson was a part of ?
(Q5534175,P641,c(Q349))
action filter_type
action find
entity Q5534175
relation P641
type Q349
['Q5534175', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q5534175 property:P641 ?i . ?i rdf:type ontology:Q349 }
Geoff Hudson
action filter_type
action find
entity Geoff Hudson
relation sport
type sport
['Geoff Hudson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Geoff_Hudson property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5534175,P641,c(Q349))
action filter_type
action find
entity Q5534175
relation P641
type Q349
The sport that Geoff Hudson was a part of was [ANSWER]
['Q5534175', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q5534175 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
The sport that Geoff Hudson was a part of was association football
association football
action filter_type
action find
entity Geoff Hudson
relation sport
type sport
['Geoff Hudson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Geoff_Hudson property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5534175
P54
Q874405
USER
Which sports team has Geoff Hudson as its member ?
(Q5534175,P54,c(Q874405))
action filter_type
action find
entity Q5534175
relation P54
type Q874405
['Q5534175', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q874405 . resource:Q5534175 property:P54 ?n }
Geoff Hudson
action filter_type
action find
entity Geoff Hudson
relation member of sports team
type social group
['Geoff Hudson', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:social_group . resource:Geoff_Hudson property:member_of_sports_team ?n }
[]
social group
Q896965
SYSTEM
Bradford Park Avenue A.F.C.
Q896965
(Q5534175,P54,c(Q874405))
action filter_type
action find
entity Q5534175
relation P54
type Q874405
[ANSWER] has Geoff Hudson as its member
['Q5534175', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q874405 . resource:Q5534175 property:P54 ?n }
Bradford Park Avenue A.F.C.
Bradford Park Avenue A.F.C. has Geoff Hudson as its member
Bradford Park Avenue A.F.C.
action filter_type
action find
entity Geoff Hudson
relation member of sports team
type social group
['Geoff Hudson', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:social_group . resource:Geoff_Hudson property:member_of_sports_team ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5534175
P106
Q12737077
USER
What is the job of that person ?
(Q896965,P106,c(Q12737077))
action filter_type
action find
entity Q5534175
relation P106
type Q12737077
['Q896965', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q5534175 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Geoff Hudson
action filter_type
action find
entity Geoff Hudson
relation occupation
type occupation
['Bradford Park Avenue A.F.C.', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Geoff_Hudson property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q896965,P106,c(Q12737077))
action filter_type
action find
entity Q5534175
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q896965', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q5534175 property:P106 ?u . ?u 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 Geoff Hudson
relation occupation
type occupation
['Bradford Park Avenue A.F.C.', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Geoff_Hudson property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q896965
P115
Q1076486
USER
Where is the home field of Bradford Park Avenue A.F.C. ?
(Q896965,P115,c(Q1076486))
action filter_type
action find
entity Q896965
relation P115
type Q1076486
['Q896965', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?c WHERE { resource:Q896965 property:P115 ?c . ?c rdf:type ontology:Q1076486 }
Bradford Park Avenue A.F.C.
action filter_type
action find
entity Bradford Park Avenue A.F.C.
relation home venue
type sports venue
['Bradford Park Avenue A.F.C.', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?c WHERE { resource:Bradford_Park_Avenue_A.F.C. property:home_venue ?c . ?c rdf:type ontology:sports_venue }
[]
sports venue
Q618950
SYSTEM
Horsfall Stadium
Q618950
(Q896965,P115,c(Q1076486))
action filter_type
action find
entity Q896965
relation P115
type Q1076486
The home field of Bradford Park Avenue A.F. C. is called [ANSWER]
['Q896965', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?c WHERE { resource:Q896965 property:P115 ?c . ?c rdf:type ontology:Q1076486 }
Horsfall Stadium
The home field of Bradford Park Avenue A.F. C. is called Horsfall Stadium
Horsfall Stadium
action filter_type
action find
entity Bradford Park Avenue A.F.C.
relation home venue
type sports venue
['Bradford Park Avenue A.F.C.', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?c WHERE { resource:Bradford_Park_Avenue_A.F.C. property:home_venue ?c . ?c rdf:type ontology:sports_venue }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q618950 Q1614228
P17
Q15617994
USER
Is that sports venue a part of Niederlibbach ?
(Q618950,P17,Q1614228)
action is_in
entity Q1614228
action find
entity Q618950
relation P17
['Q618950', 'P17', 'Q1614228']
ASK WHERE { resource:Q618950 property:P17 resource:Q1614228 }
Horsfall Stadium Niederlibbach
action is_in
entity Niederlibbach
action find
entity Horsfall Stadium
relation country
['Horsfall Stadium', 'country', 'Niederlibbach']
ASK WHERE { resource:Horsfall_Stadium property:country resource:Niederlibbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q618950,P17,Q1614228)
action is_in
entity Q1614228
action find
entity Q618950
relation P17
[ANSWER]
['Q618950', 'P17', 'Q1614228']
ASK WHERE { resource:Q618950 property:P17 resource:Q1614228 }
No
action is_in
entity Niederlibbach
action find
entity Horsfall Stadium
relation country
['Horsfall Stadium', 'country', 'Niederlibbach']
ASK WHERE { resource:Horsfall_Stadium property:country resource:Niederlibbach }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2564928 Q5534175
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Geoff Hudson or Mike Vincent ?
OR((Q5534175,P27,c(Q15617994)), (Q2564928,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5534175
relation P27
action find
entity Q2564928
relation P27
type Q15617994
{'OR': [['Q5534175', 'P27', {'concept': 'Q15617994'}], ['Q2564928', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Q5534175 ) ( resource:Q2564928 ) } . ?v property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
Mike Vincent Geoff Hudson
action filter_type
action union
action find
entity Geoff Hudson
relation country of citizenship
action find
entity Mike Vincent
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Geoff Hudson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mike Vincent', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Geoff_Hudson ) ( resource:Mike_Vincent ) } . ?v property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q145
SYSTEM
Netherlands, United Kingdom
Q55 Q145
OR((Q5534175,P27,c(Q15617994)), (Q2564928,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5534175
relation P27
action find
entity Q2564928
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Geoff Hudson or Mike Vincent
{'OR': [['Q5534175', 'P27', {'concept': 'Q15617994'}], ['Q2564928', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Q5534175 ) ( resource:Q2564928 ) } . ?v property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
Netherlands United Kingdom
Netherlands and United Kingdom are the countries of citizenship of Geoff Hudson or Mike Vincent
Netherlands United Kingdom
action filter_type
action union
action find
entity Geoff Hudson
relation country of citizenship
action find
entity Mike Vincent
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Geoff Hudson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mike Vincent', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Geoff_Hudson ) ( resource:Mike_Vincent ) } . ?v property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2966325
P21
Q290
USER
Which sex does Christophe Kinet belong to ?
(Q2966325,P21,c(Q290))
action filter_type
action find
entity Q2966325
relation P21
type Q290
['Q2966325', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q2966325 property:P21 ?k . ?k rdf:type ontology:Q290 }
Christophe Kinet
action filter_type
action find
entity Christophe Kinet
relation gender
type sex
['Christophe Kinet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Christophe_Kinet property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2966325,P21,c(Q290))
action filter_type
action find
entity Q2966325
relation P21
type Q290
Christophe Kinet belongs to [ANSWER]
['Q2966325', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q2966325 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Christophe Kinet belongs to male
male
action filter_type
action find
entity Christophe Kinet
relation gender
type sex
['Christophe Kinet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Christophe_Kinet property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26838399
Q290
USER
And how about Kwadwo Akyampon?
(Q26838399,P21,c(Q290))
action filter_type
action find
entity Q26838399
relation P21
type Q290
['Q26838399', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q26838399 property:P21 ?o . ?o rdf:type ontology:Q290 }
Kwadwo Akyampon
action filter_type
action find
entity Kwadwo Akyampon
relation gender
type sex
['Kwadwo Akyampon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Kwadwo_Akyampon property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q26838399,P21,c(Q290))
action filter_type
action find
entity Q26838399
relation P21
type Q290
[ANSWER]
['Q26838399', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q26838399 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Kwadwo Akyampon
relation gender
type sex
['Kwadwo Akyampon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Kwadwo_Akyampon property:gender ?o . ?o rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1165409
P366
Q31629 Q349 Q1076486
USER
How many sports venues are mainly used as less number of types of sport and sports than Swedbank Park ?
(c(Q1076486),P366,c(Q31629)|c(Q349))
action count
action less
action union
action find_tuple_counts
relation P366
type Q1076486
type Q31629
action find_tuple_counts
relation P366
type Q1076486
type Q349
action count
action filter_multi_types
action find
entity Q1165409
relation P366
type Q31629
type Q349
[{'concept': 'Q1076486'}, 'P366', [{'concept': 'Q31629'}, {'concept': 'Q349'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?x WHERE { { ?x property:P366 ?i . ?x rdf:type ontology:Q1076486 . ?i rdf:type ontology:Q349 } UNION { ?x property:P366 ?i . ?x rdf:type ontology:Q1076486 . ?i rdf:type ontology:Q31629 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q1165409 property:P366 ?f . { { ?f rdf:type ontology:Q31629 } UNION { ?f rdf:type ontology:Q349 } } } } . FILTER ( ?z < ?r ) }
Swedbank Park
action count
action less
action union
action find_tuple_counts
relation use
type sports venue
type type of sport
action find_tuple_counts
relation use
type sports venue
type sport
action count
action filter_multi_types
action find
entity Swedbank Park
relation use
type type of sport
type sport
[{'concept': 'sports venue'}, 'use', [{'concept': 'type of sport'}, {'concept': 'sport'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?x WHERE { { ?x property:use ?i . ?x rdf:type ontology:sports_venue . ?i rdf:type ontology:sport } UNION { ?x property:use ?i . ?x rdf:type ontology:sports_venue . ?i rdf:type ontology:type_of_sport } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Swedbank_Park property:use ?f . { { ?f rdf:type ontology:type_of_sport } UNION { ?f rdf:type ontology:sport } } } } . FILTER ( ?z < ?r ) }
[]
type of sport sport sports venue
SYSTEM
2
Q1109069 Q8524
(c(Q1076486),P366,c(Q31629)|c(Q349))
action count
action less
action union
action find_tuple_counts
relation P366
type Q1076486
type Q31629
action find_tuple_counts
relation P366
type Q1076486
type Q349
action count
action filter_multi_types
action find
entity Q1165409
relation P366
type Q31629
type Q349
[ANSWER]
[{'concept': 'Q1076486'}, 'P366', [{'concept': 'Q31629'}, {'concept': 'Q349'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?x WHERE { { ?x property:P366 ?i . ?x rdf:type ontology:Q1076486 . ?i rdf:type ontology:Q349 } UNION { ?x property:P366 ?i . ?x rdf:type ontology:Q1076486 . ?i rdf:type ontology:Q31629 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q1165409 property:P366 ?f . { { ?f rdf:type ontology:Q31629 } UNION { ?f rdf:type ontology:Q349 } } } } . FILTER ( ?z < ?r ) }
ski jumping hill association football pitch
2
action count
action less
action union
action find_tuple_counts
relation use
type sports venue
type type of sport
action find_tuple_counts
relation use
type sports venue
type sport
action count
action filter_multi_types
action find
entity Swedbank Park
relation use
type type of sport
type sport
[{'concept': 'sports venue'}, 'use', [{'concept': 'type of sport'}, {'concept': 'sport'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?x WHERE { { ?x property:use ?i . ?x rdf:type ontology:sports_venue . ?i rdf:type ontology:sport } UNION { ?x property:use ?i . ?x rdf:type ontology:sports_venue . ?i rdf:type ontology:type_of_sport } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Swedbank_Park property:use ?f . { { ?f rdf:type ontology:type_of_sport } UNION { ?f rdf:type ontology:sport } } } } . FILTER ( ?z < ?r ) }
[]