Simple Question (Direct)
Simple Question
Q3357604
P106
Q12737077
USER
Which occupations have Hanna Fogelström as his/her 's career ?
(Q3357604,P106,c(Q12737077))
action filter_type
action find
entity Q3357604
relation P106
type Q12737077
['Q3357604', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3357604 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Hanna Fogelström
action filter_type
action find
entity Hanna Fogelström
relation occupation
type occupation
['Hanna Fogelström', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Hanna_Fogelström property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q13365117 Q937857
SYSTEM
handball player, association football player
Q13365117 Q937857
(Q3357604,P106,c(Q12737077))
action filter_type
action find
entity Q3357604
relation P106
type Q12737077
As [ANSWERS] have Hanna Fogelström as his/her 's career
['Q3357604', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3357604 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
handball player association football player
As handball player and association football player have Hanna Fogelström as his/her 's career
handball player association football player
action filter_type
action find
entity Hanna Fogelström
relation occupation
type occupation
['Hanna Fogelström', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Hanna_Fogelström property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3357604
P54
Q12973014
USER
What is that person a member of ?
(Q13365117,P54,c(Q12973014)) (Q937857,P54,c(Q12973014))
action filter_type
action find
entity Q3357604
relation P54
type Q12973014
['Q13365117', 'P54', {'concept': 'Q12973014'}] ['Q937857', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { resource:Q3357604 property:P54 ?q . ?q rdf:type ontology:Q12973014 }
Hanna Fogelström
action filter_type
action find
entity Hanna Fogelström
relation member of sports team
type sports team
['handball player', 'member of sports team', {'concept': 'sports team'}] ['association football player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { resource:Hanna_Fogelström property:member_of_sports_team ?q . ?q rdf:type ontology:sports_team }
[]
sports team
Q1514740
SYSTEM
IK Sävehof (men's)
Q1514740
(Q13365117,P54,c(Q12973014)) (Q937857,P54,c(Q12973014))
action filter_type
action find
entity Q3357604
relation P54
type Q12973014
That person a member of is the [ANSWER]
['Q13365117', 'P54', {'concept': 'Q12973014'}] ['Q937857', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { resource:Q3357604 property:P54 ?q . ?q rdf:type ontology:Q12973014 }
IK Sävehof (men's)
That person a member of is the IK Sävehof (men's)
IK Sävehof (men's)
action filter_type
action find
entity Hanna Fogelström
relation member of sports team
type sports team
['handball player', 'member of sports team', {'concept': 'sports team'}] ['association football player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { resource:Hanna_Fogelström property:member_of_sports_team ?q . ?q rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1514740
P641
Q349
USER
Which sport was that sports team a part of ?
(Q1514740,P641,c(Q349))
action filter_type
action find
entity Q1514740
relation P641
type Q349
['Q1514740', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q1514740 property:P641 ?t . ?t rdf:type ontology:Q349 }
IK Sävehof (men's)
action filter_type
action find
entity IK Sävehof (men's)
relation sport
type sport
["IK Sävehof (men's)", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:IK_Sävehof_(men's) property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q8418
SYSTEM
handball
Q8418
(Q1514740,P641,c(Q349))
action filter_type
action find
entity Q1514740
relation P641
type Q349
The [ANSWER] was that sports team a part of
['Q1514740', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q1514740 property:P641 ?t . ?t rdf:type ontology:Q349 }
handball
The handball was that sports team a part of
handball
action filter_type
action find
entity IK Sävehof (men's)
relation sport
type sport
["IK Sävehof (men's)", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:IK_Sävehof_(men's) property:sport ?t . ?t rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P2416
Q502895 Q618123
USER
How many people or geographical objects were a contestant in that sport ?
(c(Q502895),P2416,Q8418) (c(Q618123),P2416,Q8418) (c(Q502895),P2416,Q8418) (c(Q618123),P2416,Q8418)
action count
action union
action filter_type
action find_reverse
entity Q8418
relation P2416
type Q502895
action filter_type
action find_reverse
entity Q8418
relation P2416
type Q618123
[{'concept': 'Q502895'}, 'P2416', 'Q8418'] [{'concept': 'Q618123'}, 'P2416', 'Q8418'] [{'concept': 'Q502895'}, 'P2416', 'Q8418'] [{'concept': 'Q618123'}, 'P2416', 'Q8418']
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { ?e property:P2416 resource:Q8418 . ?e rdf:type ontology:Q502895 } UNION { ?e property:P2416 resource:Q8418 . ?e rdf:type ontology:Q618123 } }
action count
action union
action filter_type
action find_reverse
entity handball
relation sports discipline competed in
type common name
action filter_type
action find_reverse
entity handball
relation sports discipline competed in
type geographical object
[{'concept': 'common name'}, 'sports discipline competed in', 'handball'] [{'concept': 'geographical object'}, 'sports discipline competed in', 'handball'] [{'concept': 'common name'}, 'sports discipline competed in', 'handball'] [{'concept': 'geographical object'}, 'sports discipline competed in', 'handball']
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { ?e property:sports_discipline_competed_in resource:handball . ?e rdf:type ontology:common_name } UNION { ?e property:sports_discipline_competed_in resource:handball . ?e rdf:type ontology:geographical_object } }
[]
common name geographical object
SYSTEM
3
Q12307889 Q697878 Q11997362
(c(Q502895),P2416,Q8418) (c(Q618123),P2416,Q8418) (c(Q502895),P2416,Q8418) (c(Q618123),P2416,Q8418)
action count
action union
action filter_type
action find_reverse
entity Q8418
relation P2416
type Q502895
action filter_type
action find_reverse
entity Q8418
relation P2416
type Q618123
[ANSWER]
[{'concept': 'Q502895'}, 'P2416', 'Q8418'] [{'concept': 'Q618123'}, 'P2416', 'Q8418'] [{'concept': 'Q502895'}, 'P2416', 'Q8418'] [{'concept': 'Q618123'}, 'P2416', 'Q8418']
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { ?e property:P2416 resource:Q8418 . ?e rdf:type ontology:Q502895 } UNION { ?e property:P2416 resource:Q8418 . ?e rdf:type ontology:Q618123 } }
De Studerendes Idræt Odense Arnór Atlason Regine Anthonessen
3
action count
action union
action filter_type
action find_reverse
entity handball
relation sports discipline competed in
type common name
action filter_type
action find_reverse
entity handball
relation sports discipline competed in
type geographical object
[{'concept': 'common name'}, 'sports discipline competed in', 'handball'] [{'concept': 'geographical object'}, 'sports discipline competed in', 'handball'] [{'concept': 'common name'}, 'sports discipline competed in', 'handball'] [{'concept': 'geographical object'}, 'sports discipline competed in', 'handball']
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { ?e property:sports_discipline_competed_in resource:handball . ?e rdf:type ontology:common_name } UNION { ?e property:sports_discipline_competed_in resource:handball . ?e rdf:type ontology:geographical_object } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1895286 Q3357604
P27
Q15617994
USER
Which administrative territories are Hanna Fogelström or Pieter Hellendaal a civilian of ?
OR((Q3357604,P27,c(Q15617994)), (Q1895286,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3357604
relation P27
action find
entity Q1895286
relation P27
type Q15617994
{'OR': [['Q3357604', 'P27', {'concept': 'Q15617994'}], ['Q1895286', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q3357604 property:P27 ?g } UNION { resource:Q1895286 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Pieter Hellendaal Hanna Fogelström
action filter_type
action union
action find
entity Hanna Fogelström
relation country of citizenship
action find
entity Pieter Hellendaal
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hanna Fogelström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pieter Hellendaal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Hanna_Fogelström property:country_of_citizenship ?g } UNION { resource:Pieter_Hellendaal property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q34
SYSTEM
Netherlands, Sweden
Q55 Q34
OR((Q3357604,P27,c(Q15617994)), (Q1895286,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3357604
relation P27
action find
entity Q1895286
relation P27
type Q15617994
[ANSWERS] are Hanna Fogelström or Pieter Hellendaal a civilian of
{'OR': [['Q3357604', 'P27', {'concept': 'Q15617994'}], ['Q1895286', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q3357604 property:P27 ?g } UNION { resource:Q1895286 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Netherlands Sweden
Netherlands and Sweden are Hanna Fogelström or Pieter Hellendaal a civilian of
Netherlands Sweden
action filter_type
action union
action find
entity Hanna Fogelström
relation country of citizenship
action find
entity Pieter Hellendaal
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hanna Fogelström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pieter Hellendaal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Hanna_Fogelström property:country_of_citizenship ?g } UNION { resource:Pieter_Hellendaal property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q34 Q3550306
P37
Q5962346
USER
How many classification schemes are recognized as the official language of Sweden or International association of lawyers ?
(Q34,P37,c(Q5962346)) (Q3550306,P37,c(Q5962346))
action count
action union
action filter_type
action find
entity Q34
relation P37
type Q5962346
action filter_type
action find
entity Q3550306
relation P37
type Q5962346
['Q34', 'P37', {'concept': 'Q5962346'}] ['Q3550306', 'P37', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { VALUES ( ?m ) { ( resource:Q34 ) ( resource:Q3550306 ) } . ?m property:P37 ?b }
Sweden International association of lawyers
action count
action union
action filter_type
action find
entity Sweden
relation official language
type classification scheme
action filter_type
action find
entity International association of lawyers
relation official language
type classification scheme
['Sweden', 'official language', {'concept': 'classification scheme'}] ['International association of lawyers', 'official language', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { VALUES ( ?m ) { ( resource:Sweden ) ( resource:International_association_of_lawyers ) } . ?m property:official_language ?b }
[]
classification scheme
SYSTEM
2
Q7850 Q56463
(Q34,P37,c(Q5962346)) (Q3550306,P37,c(Q5962346))
action count
action union
action filter_type
action find
entity Q34
relation P37
type Q5962346
action filter_type
action find
entity Q3550306
relation P37
type Q5962346
[ANSWER]
['Q34', 'P37', {'concept': 'Q5962346'}] ['Q3550306', 'P37', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { VALUES ( ?m ) { ( resource:Q34 ) ( resource:Q3550306 ) } . ?m property:P37 ?b }
Chinese Sami languages
2
action count
action union
action filter_type
action find
entity Sweden
relation official language
type classification scheme
action filter_type
action find
entity International association of lawyers
relation official language
type classification scheme
['Sweden', 'official language', {'concept': 'classification scheme'}] ['International association of lawyers', 'official language', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { VALUES ( ?m ) { ( resource:Sweden ) ( resource:International_association_of_lawyers ) } . ?m property:official_language ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P47
Q15617994 Q1048835
USER
How many administrative territories or political territories share border with Sweden ?
(Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P47
type Q15617994
action filter_type
action find
entity Q34
relation P47
type Q1048835
['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?r rdf:type ?s }
Sweden
action count
action union
action filter_type
action find
entity Sweden
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation shares border with
type political territorial entity
['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?r rdf:type ?s }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q33 Q20 Q35
(Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P47
type Q15617994
action filter_type
action find
entity Q34
relation P47
type Q1048835
[ANSWER]
['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?r rdf:type ?s }
Finland Norway Denmark
3
action count
action union
action filter_type
action find
entity Sweden
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation shares border with
type political territorial entity
['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?r rdf:type ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3026320
P17
Q15617994
USER
Which administrative territory is Schelluinen a part of ?
(Q3026320,P17,c(Q15617994))
action filter_type
action find
entity Q3026320
relation P17
type Q15617994
['Q3026320', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3026320 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Schelluinen
action filter_type
action find
entity Schelluinen
relation country
type designation for an administrative territorial entity
['Schelluinen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Schelluinen property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q3026320,P17,c(Q15617994))
action filter_type
action find
entity Q3026320
relation P17
type Q15617994
[ANSWER] is Schelluinen a part of
['Q3026320', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3026320 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Netherlands
Netherlands is Schelluinen a part of
Netherlands
action filter_type
action find
entity Schelluinen
relation country
type designation for an administrative territorial entity
['Schelluinen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Schelluinen property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55
P206
Q15324
USER
Which body of water is situated close to that administrative territory ?
(Q55,P206,c(Q15324))
action filter_type
action find
entity Q55
relation P206
type Q15324
['Q55', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?n WHERE { resource:Q55 property:P206 ?n . ?n rdf:type ontology:Q15324 }
Netherlands
action filter_type
action find
entity Netherlands
relation located next to body of water
type body of water
['Netherlands', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?n WHERE { resource:Netherlands property:located_next_to_body_of_water ?n . ?n rdf:type ontology:body_of_water }
[]
body of water
Q1693
SYSTEM
North Sea
Q1693
(Q55,P206,c(Q15324))
action filter_type
action find
entity Q55
relation P206
type Q15324
Of [ANSWER] is situated close to that administrative territory
['Q55', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?n WHERE { resource:Q55 property:P206 ?n . ?n rdf:type ontology:Q15324 }
North Sea
Of North Sea is situated close to that administrative territory
North Sea
action filter_type
action find
entity Netherlands
relation located next to body of water
type body of water
['Netherlands', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?n WHERE { resource:Netherlands property:located_next_to_body_of_water ?n . ?n rdf:type ontology:body_of_water }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q500834 Q13406554
USER
How many sports did exactly 1 tournaments and sport competitions participate in ?
(c(Q500834)|c(Q13406554),P641,c(Q349))
action count
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
value 1
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?v WHERE { { ?d property:P641 ?v . ?v rdf:type ontology:Q349 . ?d rdf:type ontology:Q500834 } UNION { ?d rdf:type ontology:Q13406554 . ?v rdf:type ontology:Q349 . ?d property:P641 ?v } } GROUP BY ?v } }
action count
action equal
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
value 1
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?v WHERE { { ?d property:sport ?v . ?v rdf:type ontology:sport . ?d rdf:type ontology:tournament } UNION { ?d rdf:type ontology:sport_competition . ?v rdf:type ontology:sport . ?d property:sport ?v } } GROUP BY ?v } }
[]
sport tournament sport competition
SYSTEM
16
Q500050 Q17163326 Q136851 Q2887217 Q1758324 Q42486 Q1358545 Q1081491 Q3930 Q2167372 Q201965 Q1748406 Q32112 Q178678 Q17988507 Q3341285
(c(Q500834)|c(Q13406554),P641,c(Q349))
action count
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
value 1
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?v WHERE { { ?d property:P641 ?v . ?v rdf:type ontology:Q349 . ?d rdf:type ontology:Q500834 } UNION { ?d rdf:type ontology:Q13406554 . ?v rdf:type ontology:Q349 . ?d property:P641 ?v } } GROUP BY ?v } }
cross country running motorcycle racing curling women's basketball stock car racing wrestling arena football football table tennis fell running Nordic combined roller hockey (quad) boxing kick boxing women's tennis cue sports
16
action count
action equal
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
value 1
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?v WHERE { { ?d property:sport ?v . ?v rdf:type ontology:sport . ?d rdf:type ontology:tournament } UNION { ?d rdf:type ontology:sport_competition . ?v rdf:type ontology:sport . ?d property:sport ?v } } GROUP BY ?v } }
[]