Simple Question (Direct)
Simple Question
Q107280
P937
Q56061
USER
Which is the work location of Heinz Fenrich ?
(Q107280,P937,c(Q56061))
action filter_type
action find
entity Q107280
relation P937
type Q56061
['Q107280', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q107280 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Heinz Fenrich
action filter_type
action find
entity Heinz Fenrich
relation work location
type administrative territorial entity
['Heinz Fenrich', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heinz_Fenrich property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1040
SYSTEM
Karlsruhe
Q1040
(Q107280,P937,c(Q56061))
action filter_type
action find
entity Q107280
relation P937
type Q56061
[ANSWER] is the work location of Heinz Fenrich
['Q107280', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q107280 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Karlsruhe
Karlsruhe is the work location of Heinz Fenrich
Karlsruhe
action filter_type
action find
entity Heinz Fenrich
relation work location
type administrative territorial entity
['Heinz Fenrich', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heinz_Fenrich property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1040
P706
Q160091
USER
Which plain is that administrative territory located on ?
(Q1040,P706,c(Q160091))
action filter_type
action find
entity Q1040
relation P706
type Q160091
['Q1040', 'P706', {'concept': 'Q160091'}]
SELECT DISTINCT ?b WHERE { resource:Q1040 property:P706 ?b . ?b rdf:type ontology:Q160091 }
Karlsruhe
action filter_type
action find
entity Karlsruhe
relation located on terrain feature
type plain
['Karlsruhe', 'located on terrain feature', {'concept': 'plain'}]
SELECT DISTINCT ?b WHERE { resource:Karlsruhe property:located_on_terrain_feature ?b . ?b rdf:type ontology:plain }
[]
plain
Q22964
SYSTEM
Upper Rhine Plain
Q22964
(Q1040,P706,c(Q160091))
action filter_type
action find
entity Q1040
relation P706
type Q160091
That administrative territory is located in [ANSWER]
['Q1040', 'P706', {'concept': 'Q160091'}]
SELECT DISTINCT ?b WHERE { resource:Q1040 property:P706 ?b . ?b rdf:type ontology:Q160091 }
Upper Rhine Plain
That administrative territory is located in Upper Rhine Plain
Upper Rhine Plain
action filter_type
action find
entity Karlsruhe
relation located on terrain feature
type plain
['Karlsruhe', 'located on terrain feature', {'concept': 'plain'}]
SELECT DISTINCT ?b WHERE { resource:Karlsruhe property:located_on_terrain_feature ?b . ?b rdf:type ontology:plain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1040
P740
Q43229
USER
What is the organization that was formed at Karlsruhe ?
(c(Q43229),P740,Q1040)
action filter_type
action find_reverse
entity Q1040
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q1040']
SELECT DISTINCT ?y WHERE { ?y property:P740 resource:Q1040 . ?y rdf:type ontology:Q43229 }
Karlsruhe
action filter_type
action find_reverse
entity Karlsruhe
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Karlsruhe']
SELECT DISTINCT ?y WHERE { ?y property:location_of_formation resource:Karlsruhe . ?y rdf:type ontology:organization }
[]
organization
Q287560
SYSTEM
Gameforge
Q287560
(c(Q43229),P740,Q1040)
action filter_type
action find_reverse
entity Q1040
relation P740
type Q43229
The organization that was formed at Karlsruhe is the [ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q1040']
SELECT DISTINCT ?y WHERE { ?y property:P740 resource:Q1040 . ?y rdf:type ontology:Q43229 }
Gameforge
The organization that was formed at Karlsruhe is the Gameforge
Gameforge
action filter_type
action find_reverse
entity Karlsruhe
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Karlsruhe']
SELECT DISTINCT ?y WHERE { ?y property:location_of_formation resource:Karlsruhe . ?y rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1040
P1313
Q618779
USER
Which award serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q287560,P1313,c(Q618779))
action filter_type
action find
entity Q1040
relation P1313
type Q618779
['Q287560', 'P1313', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q1040 property:P1313 ?i . ?i rdf:type ontology:Q618779 }
Karlsruhe
action filter_type
action find
entity Karlsruhe
relation office held by head of government
type award
['Gameforge', 'office held by head of government', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Karlsruhe property:office_held_by_head_of_government ?i . ?i rdf:type ontology:award }
[]
award
Q11902879
SYSTEM
Lord Mayor
Q11902879
(Q287560,P1313,c(Q618779))
action filter_type
action find
entity Q1040
relation P1313
type Q618779
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q287560', 'P1313', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q1040 property:P1313 ?i . ?i rdf:type ontology:Q618779 }
Lord Mayor
The Lord Mayor serves as the political office that is fulfilled by the head of the government of that administrative territory
Lord Mayor
action filter_type
action find
entity Karlsruhe
relation office held by head of government
type award
['Gameforge', 'office held by head of government', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Karlsruhe property:office_held_by_head_of_government ?i . ?i rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1040
P47
Q1048835
USER
Which political territories are adjacent to that administrative territory ?
(Q11902879,P47,c(Q1048835))
action filter_type
action find
entity Q1040
relation P47
type Q1048835
['Q11902879', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q1040 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Karlsruhe
action filter_type
action find
entity Karlsruhe
relation shares border with
type political territorial entity
['Lord Mayor', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Karlsruhe property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q8178 Q8543
SYSTEM
Karlsruhe, Germersheim
Q8178 Q8543
(Q11902879,P47,c(Q1048835))
action filter_type
action find
entity Q1040
relation P47
type Q1048835
[ANSWERS] are adjacent to that administrative territory
['Q11902879', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q1040 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Karlsruhe Germersheim
Karlsruhe and Germersheim are adjacent to that administrative territory
Karlsruhe Germersheim
action filter_type
action find
entity Karlsruhe
relation shares border with
type political territorial entity
['Lord Mayor', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Karlsruhe property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1040
P47
Q56061
USER
Are Karlsruhe bordered by those political territories ?
(Q1040,P47,Q8178) (Q1040,P47,Q8543)
action is_in
entity prev_answer
action find
entity Q1040
relation P47
['Q1040', 'P47', 'Q8178'] ['Q1040', 'P47', 'Q8543']
ASK WHERE { VALUES ( ?a ) { ( resource:Q8178 ) ( resource:Q8543 ) } . resource:Q1040 property:P47 ?a }
Karlsruhe
action is_in
entity prev_answer
action find
entity Karlsruhe
relation shares border with
['Karlsruhe', 'shares border with', 'Karlsruhe'] ['Karlsruhe', 'shares border with', 'Germersheim']
ASK WHERE { VALUES ( ?a ) { ( resource:Karlsruhe ) ( resource:Germersheim ) } . resource:Karlsruhe property:shares_border_with ?a }
[]
administrative territorial entity
SYSTEM
YES
(Q1040,P47,Q8178) (Q1040,P47,Q8543)
action is_in
entity prev_answer
action find
entity Q1040
relation P47
[ANSWER]
['Q1040', 'P47', 'Q8178'] ['Q1040', 'P47', 'Q8543']
ASK WHERE { VALUES ( ?a ) { ( resource:Q8178 ) ( resource:Q8543 ) } . resource:Q1040 property:P47 ?a }
Yes
action is_in
entity prev_answer
action find
entity Karlsruhe
relation shares border with
['Karlsruhe', 'shares border with', 'Karlsruhe'] ['Karlsruhe', 'shares border with', 'Germersheim']
ASK WHERE { VALUES ( ?a ) { ( resource:Karlsruhe ) ( resource:Germersheim ) } . resource:Karlsruhe property:shares_border_with ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q287560 Q6858593
P159
Q56061
USER
Is Millbrook the head office for Gameforge located ?
(Q287560,P159,Q6858593)
action is_in
entity Q6858593
action find
entity Q287560
relation P159
['Q287560', 'P159', 'Q6858593']
ASK WHERE { resource:Q287560 property:P159 resource:Q6858593 }
Gameforge Millbrook
action is_in
entity Millbrook
action find
entity Gameforge
relation headquarters location
['Gameforge', 'headquarters location', 'Millbrook']
ASK WHERE { resource:Gameforge property:headquarters_location resource:Millbrook }
[]
administrative territorial entity
SYSTEM
NO
(Q287560,P159,Q6858593)
action is_in
entity Q6858593
action find
entity Q287560
relation P159
[ANSWER]
['Q287560', 'P159', 'Q6858593']
ASK WHERE { resource:Q287560 property:P159 resource:Q6858593 }
No
action is_in
entity Millbrook
action find
entity Gameforge
relation headquarters location
['Gameforge', 'headquarters location', 'Millbrook']
ASK WHERE { resource:Gameforge property:headquarters_location resource:Millbrook }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q13424648
P206
Q337567 Q355304 Q1048835
USER
How many political territories are located in the neighbourhood of greater number of still waterss or watercourses than Troitske ?
(c(Q1048835),P206,c(Q337567)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action count
action filter_multi_types
action find
entity Q13424648
relation P206
type Q337567
type Q355304
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?d ) WHERE { VALUES ( ?n ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?c rdf:type ?n } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:Q13424648 property:P206 ?r . { VALUES ( ?b ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?r rdf:type ?b } } } . FILTER ( ?d > ?k ) }
Troitske
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Troitske
relation located next to body of water
type still waters
type watercourse
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?d ) WHERE { VALUES ( ?n ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?c rdf:type ?n } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:Troitske property:located_next_to_body_of_water ?r . { VALUES ( ?b ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?r rdf:type ?b } } } . FILTER ( ?d > ?k ) }
[]
still waters watercourse political territorial entity
SYSTEM
3
Q40 Q1905388 Q207176
(c(Q1048835),P206,c(Q337567)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action count
action filter_multi_types
action find
entity Q13424648
relation P206
type Q337567
type Q355304
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?d ) WHERE { VALUES ( ?n ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?c rdf:type ?n } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:Q13424648 property:P206 ?r . { VALUES ( ?b ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?r rdf:type ?b } } } . FILTER ( ?d > ?k ) }
Austria L'Alcúdia de Crespins Monmouthshire
3
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Troitske
relation located next to body of water
type still waters
type watercourse
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?d ) WHERE { VALUES ( ?n ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?c rdf:type ?n } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:Troitske property:located_next_to_body_of_water ?r . { VALUES ( ?b ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?r rdf:type ?b } } } . FILTER ( ?d > ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q10996863
P206
Q337567 Q355304 Q1048835
USER
And how about City and County of Swansea?
(c(Q1048835),P206,c(Q337567)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action count
action filter_multi_types
action find
entity Q10996863
relation P206
type Q337567
type Q355304
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?t WHERE { { ?t property:P206 ?l . ?t rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q337567 } UNION { ?t property:P206 ?l . ?l rdf:type ontology:Q355304 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q10996863 property:P206 ?e . { { ?e rdf:type ontology:Q337567 } UNION { ?e rdf:type ontology:Q355304 } } } } . FILTER ( ?y > ?i ) }
City and County of Swansea
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action count
action filter_multi_types
action find
entity City and County of Swansea
relation located next to body of water
type still waters
type watercourse
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?t WHERE { { ?t property:located_next_to_body_of_water ?l . ?t rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:still_waters } UNION { ?t property:located_next_to_body_of_water ?l . ?l rdf:type ontology:watercourse . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:City_and_County_of_Swansea property:located_next_to_body_of_water ?e . { { ?e rdf:type ontology:still_waters } UNION { ?e rdf:type ontology:watercourse } } } } . FILTER ( ?y > ?i ) }
[]
still waters watercourse political territorial entity
SYSTEM
22
Q2044159 Q4359878 Q4524665 Q40 Q1905388 Q4408930 Q2898 Q11294004 Q4321529 Q1768232 Q1606460 Q1628788 Q24342199 Q13424648 Q4469165 Q505610 Q994034 Q586584 Q615916 Q643919 Q207176 Q597201
(c(Q1048835),P206,c(Q337567)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action count
action filter_multi_types
action find
entity Q10996863
relation P206
type Q337567
type Q355304
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?t WHERE { { ?t property:P206 ?l . ?t rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q337567 } UNION { ?t property:P206 ?l . ?l rdf:type ontology:Q355304 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q10996863 property:P206 ?e . { { ?e rdf:type ontology:Q337567 } UNION { ?e rdf:type ontology:Q355304 } } } } . FILTER ( ?y > ?i ) }
Llanybydder Pisocine Szychtory Austria L'Alcúdia de Crespins Sasiv Rostock District Newport City Nuśmice Trillo Malpica de Tajo El Puente del Arzobispo City and County of Cardiff Troitske Uhrynów Flintshire Variazh Nînovîci, Vasilivka Torfaen County Borough Monmouthshire Lake of the Woods, Ontario
22
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action count
action filter_multi_types
action find
entity City and County of Swansea
relation located next to body of water
type still waters
type watercourse
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?t WHERE { { ?t property:located_next_to_body_of_water ?l . ?t rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:still_waters } UNION { ?t property:located_next_to_body_of_water ?l . ?l rdf:type ontology:watercourse . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:City_and_County_of_Swansea property:located_next_to_body_of_water ?e . { { ?e rdf:type ontology:still_waters } UNION { ?e rdf:type ontology:watercourse } } } } . FILTER ( ?y > ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8023572
P272
Q838948
USER
Which works of art had Win's Entertainment as the production house ?
(c(Q838948),P272,Q8023572)
action filter_type
action find_reverse
entity Q8023572
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q8023572']
SELECT DISTINCT ?x WHERE { ?x property:P272 resource:Q8023572 . ?x rdf:type ontology:Q838948 }
Win's Entertainment
action filter_type
action find_reverse
entity Win's Entertainment
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', "Win's Entertainment"]
SELECT DISTINCT ?x WHERE { ?x property:production_company resource:Win's_Entertainment . ?x rdf:type ontology:work_of_art }
[]
work of art
Q838900 Q10881514 Q692863
SYSTEM
Flirting Scholar, Lee Rock, From Beijing with Love
Q10881514 Q838900 Q692863 Q4503951
(c(Q838948),P272,Q8023572)
action filter_type
action find_reverse
entity Q8023572
relation P272
type Q838948
[ANSWERS] had Win's Entertainment as the production house
[{'concept': 'Q838948'}, 'P272', 'Q8023572']
SELECT DISTINCT ?x WHERE { ?x property:P272 resource:Q8023572 . ?x rdf:type ontology:Q838948 }
Lee Rock Flirting Scholar From Beijing with Love A Moment of Romance 3
Flirting Scholar, Lee Rock and From Beijing with Love had Win's Entertainment as the production house
Flirting Scholar Lee Rock From Beijing with Love
action filter_type
action find_reverse
entity Win's Entertainment
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', "Win's Entertainment"]
SELECT DISTINCT ?x WHERE { ?x property:production_company resource:Win's_Entertainment . ?x rdf:type ontology:work_of_art }
[]