Simple Question (Direct)
Simple Question
Q6521683
P21
Q290
USER
Which sex does Len Birks have ?
(Q6521683,P21,c(Q290))
action filter_type
action find
entity Q6521683
relation P21
type Q290
['Q6521683', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q6521683 property:P21 ?l }
Len Birks
action filter_type
action find
entity Len Birks
relation gender
type sex
['Len Birks', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Len_Birks property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6521683,P21,c(Q290))
action filter_type
action find
entity Q6521683
relation P21
type Q290
Len Birks has a [ANSWER]
['Q6521683', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q6521683 property:P21 ?l }
male
Len Birks has a male
male
action filter_type
action find
entity Len Birks
relation gender
type sex
['Len Birks', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Len_Birks property:gender ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6521683
P641
Q349
USER
What was the sport that Len Birks was a part of ?
(Q6521683,P641,c(Q349))
action filter_type
action find
entity Q6521683
relation P641
type Q349
['Q6521683', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q6521683 property:P641 ?i . ?i rdf:type ontology:Q349 }
Len Birks
action filter_type
action find
entity Len Birks
relation sport
type sport
['Len Birks', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Len_Birks property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6521683,P641,c(Q349))
action filter_type
action find
entity Q6521683
relation P641
type Q349
The sport that Len Birks was a part of was the [ANSWER]
['Q6521683', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q6521683 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
The sport that Len Birks was a part of was the association football
association football
action filter_type
action find
entity Len Birks
relation sport
type sport
['Len Birks', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Len_Birks property:sport ?i . ?i rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2736 Q132241
P264
Q2031291
USER
How many releases have association football or festival as their record brand ?
(c(Q2031291),P264,Q2736) (c(Q2031291),P264,Q132241)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P264
type Q2031291
action filter_type
action find_reverse
entity Q132241
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q2736'] [{'concept': 'Q2031291'}, 'P264', 'Q132241']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { VALUES ( ?o ) { ( resource:Q2736 ) ( resource:Q132241 ) } . ?e property:P264 ?o }
association football festival
action count
action union
action filter_type
action find_reverse
entity association football
relation record label
type release
action filter_type
action find_reverse
entity festival
relation record label
type release
[{'concept': 'release'}, 'record label', 'association football'] [{'concept': 'release'}, 'record label', 'festival']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { VALUES ( ?o ) { ( resource:association_football ) ( resource:festival ) } . ?e property:record_label ?o }
[]
release
SYSTEM
2
Q8052504 Q6075468
(c(Q2031291),P264,Q2736) (c(Q2031291),P264,Q132241)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P264
type Q2031291
action filter_type
action find_reverse
entity Q132241
relation P264
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P264', 'Q2736'] [{'concept': 'Q2031291'}, 'P264', 'Q132241']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { VALUES ( ?o ) { ( resource:Q2736 ) ( resource:Q132241 ) } . ?e property:P264 ?o }
Yeovil True Is My Head Still On?
2
action count
action union
action filter_type
action find_reverse
entity association football
relation record label
type release
action filter_type
action find_reverse
entity festival
relation record label
type release
[{'concept': 'release'}, 'record label', 'association football'] [{'concept': 'release'}, 'record label', 'festival']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { VALUES ( ?o ) { ( resource:association_football ) ( resource:festival ) } . ?e property:record_label ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6521683
P19
Q56061
USER
Which administrative territory is the place of birth of Len Birks ?
(Q6521683,P19,c(Q56061))
action filter_type
action find
entity Q6521683
relation P19
type Q56061
['Q6521683', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q6521683 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Len Birks
action filter_type
action find
entity Len Birks
relation place of birth
type administrative territorial entity
['Len Birks', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Len_Birks property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q580766
SYSTEM
Fenton
Q580766
(Q6521683,P19,c(Q56061))
action filter_type
action find
entity Q6521683
relation P19
type Q56061
[ANSWER] is the place of birth of Len Birks
['Q6521683', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q6521683 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Fenton
Fenton is the place of birth of Len Birks
Fenton
action filter_type
action find
entity Len Birks
relation place of birth
type administrative territorial entity
['Len Birks', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Len_Birks property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q580766
P20
Q502895
USER
Who died in that administrative territory ?
(c(Q502895),P20,Q580766)
action filter_type
action find_reverse
entity Q580766
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q580766']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P20 resource:Q580766 }
Fenton
action filter_type
action find_reverse
entity Fenton
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Fenton']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:place_of_death resource:Fenton }
[]
common name
Q4709722
SYSTEM
Albert Beech
Q4709722
(c(Q502895),P20,Q580766)
action filter_type
action find_reverse
entity Q580766
relation P20
type Q502895
[ANSWER] died in that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q580766']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P20 resource:Q580766 }
Albert Beech
Albert Beech died in that administrative territory
Albert Beech
action filter_type
action find_reverse
entity Fenton
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Fenton']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:place_of_death resource:Fenton }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q8205328 Q39546
USER
Which sports are the main uses of min number of artefacts or tools ?
(c(Q8205328)|c(Q39546),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
[[{'concept': 'Q8205328'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?w WHERE { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:Q39546 ) ( ontology:Q8205328 ) } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?p WHERE { VALUES ( ?r ) { ( ontology:Q8205328 ) ( ontology:Q39546 ) } . ?b rdf:type ?r } GROUP BY ?p } . FILTER ( ?i = ?g ) }
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type tool
[[{'concept': 'artefact'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?w WHERE { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:tool ) ( ontology:artefact ) } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?p WHERE { VALUES ( ?r ) { ( ontology:artefact ) ( ontology:tool ) } . ?b rdf:type ?r } GROUP BY ?p } . FILTER ( ?i = ?g ) }
[]
sport artefact tool
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q183018 Q36908 Q500050 Q1875777 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q8205328)|c(Q39546),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
[ANSWERS] are the main uses of min number of artefacts or tools
[[{'concept': 'Q8205328'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?w WHERE { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:Q39546 ) ( ontology:Q8205328 ) } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?p WHERE { VALUES ( ?r ) { ( ontology:Q8205328 ) ( ontology:Q39546 ) } . ?b rdf:type ?r } GROUP BY ?p } . FILTER ( ?i = ?g ) }
rallying basketball handball volleyball shooting sport bandy mountaineering cross country running air racing gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
Floorball, handball and bandy are the main uses of min number of artefacts or tools
floorball handball bandy
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type tool
[[{'concept': 'artefact'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?w WHERE { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:tool ) ( ontology:artefact ) } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?p WHERE { VALUES ( ?r ) { ( ontology:artefact ) ( ontology:tool ) } . ?b rdf:type ?r } GROUP BY ?p } . FILTER ( ?i = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6521683
P27
Q15617994
USER
How many administrative territories do Len Birks belong to ?
(Q6521683,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6521683
relation P27
type Q15617994
['Q6521683', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Q6521683 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Len Birks
action count
action filter_type
action find
entity Len Birks
relation country of citizenship
type designation for an administrative territorial entity
['Len Birks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Len_Birks property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q6521683,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6521683
relation P27
type Q15617994
[ANSWER]
['Q6521683', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Q6521683 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Len Birks
relation country of citizenship
type designation for an administrative territorial entity
['Len Birks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Len_Birks property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6521683
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
action filter_type
action find
entity Q6521683
relation P27
type Q15617994
SELECT DISTINCT ?g WHERE { resource:Q6521683 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Len Birks
action filter_type
action find
entity Len Birks
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?g WHERE { resource:Len_Birks property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
action filter_type
action find
entity Q6521683
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
SELECT DISTINCT ?g WHERE { resource:Q6521683 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person an inhabitant of
United Kingdom
action filter_type
action find
entity Len Birks
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?g WHERE { resource:Len_Birks property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q145 Q15432620
P27
Q502895
USER
Is Madison Jones a civilian of that administrative territory ?
(Q15432620,P27,Q145)
action is_in
entity Q15432620
action find
entity Q145
relation P27
['Q15432620', 'P27', 'Q145']
ASK WHERE { resource:Q145 property:P27 resource:Q15432620 }
United Kingdom Madison Jones
action is_in
entity Madison Jones
action find
entity United Kingdom
relation country of citizenship
['Madison Jones', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:United_Kingdom property:country_of_citizenship resource:Madison_Jones }
[]
common name
SYSTEM
NO
(Q15432620,P27,Q145)
action is_in
entity Q15432620
action find
entity Q145
relation P27
[ANSWER]
['Q15432620', 'P27', 'Q145']
ASK WHERE { resource:Q145 property:P27 resource:Q15432620 }
No
action is_in
entity Madison Jones
action find
entity United Kingdom
relation country of citizenship
['Madison Jones', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:United_Kingdom property:country_of_citizenship resource:Madison_Jones }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q1445650 Q15617994
USER
How many administrative territories are exactly 4 people or holidays a patron saint of ?
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action count
action equal
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
value 4
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?v ) WHERE { { ?t property:P417 ?s . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q502895 } UNION { ?t property:P417 ?s . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1445650 } } GROUP BY ?t } . FILTER ( ?v = 4 ) }
action count
action equal
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?v ) WHERE { { ?t property:patron_saint ?s . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:common_name } UNION { ?t property:patron_saint ?s . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:holiday } } GROUP BY ?t } . FILTER ( ?v = 4 ) }
[]
common name holiday designation for an administrative territorial entity
SYSTEM
1
Q36
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action count
action equal
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
value 4
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?v ) WHERE { { ?t property:P417 ?s . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q502895 } UNION { ?t property:P417 ?s . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1445650 } } GROUP BY ?t } . FILTER ( ?v = 4 ) }
Poland
1
action count
action equal
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?v ) WHERE { { ?t property:patron_saint ?s . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:common_name } UNION { ?t property:patron_saint ?s . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:holiday } } GROUP BY ?t } . FILTER ( ?v = 4 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1711920 Q6521683
P106
Q12737077
USER
Which occupations are the professions of Len Birks or Julia Spencer-Fleming ?
OR((Q6521683,P106,c(Q12737077)), (Q1711920,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6521683
relation P106
action find
entity Q1711920
relation P106
type Q12737077
{'OR': [['Q6521683', 'P106', {'concept': 'Q12737077'}], ['Q1711920', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?y ) { ( resource:Q1711920 ) ( resource:Q6521683 ) } . ?y property:P106 ?w } . ?w rdf:type ontology:Q12737077 }
Julia Spencer-Fleming Len Birks
action filter_type
action union
action find
entity Len Birks
relation occupation
action find
entity Julia Spencer-Fleming
relation occupation
type occupation
{'OR': [['Len Birks', 'occupation', {'concept': 'occupation'}], ['Julia Spencer-Fleming', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?y ) { ( resource:Julia_Spencer-Fleming ) ( resource:Len_Birks ) } . ?y property:occupation ?w } . ?w rdf:type ontology:occupation }
[]
occupation
Q36180 Q6625963 Q937857
SYSTEM
writer, novelist, association football player
Q36180 Q6625963 Q937857
OR((Q6521683,P106,c(Q12737077)), (Q1711920,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6521683
relation P106
action find
entity Q1711920
relation P106
type Q12737077
[ANSWERS] are the professions of Len Birks or Julia Spencer-Fleming
{'OR': [['Q6521683', 'P106', {'concept': 'Q12737077'}], ['Q1711920', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?y ) { ( resource:Q1711920 ) ( resource:Q6521683 ) } . ?y property:P106 ?w } . ?w rdf:type ontology:Q12737077 }
writer novelist association football player
Writer, novelist and association football player are the professions of Len Birks or Julia Spencer-Fleming
writer novelist association football player
action filter_type
action union
action find
entity Len Birks
relation occupation
action find
entity Julia Spencer-Fleming
relation occupation
type occupation
{'OR': [['Len Birks', 'occupation', {'concept': 'occupation'}], ['Julia Spencer-Fleming', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?y ) { ( resource:Julia_Spencer-Fleming ) ( resource:Len_Birks ) } . ?y property:occupation ?w } . ?w rdf:type ontology:occupation }
[]