Simple Question (Direct)
Simple Question
Q444458
P19
Q56061
USER
Which administrative territory was Debbie Knox born in ?
(Q444458,P19,c(Q56061))
action filter_type
action find
entity Q444458
relation P19
type Q56061
['Q444458', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q444458 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Debbie Knox
action filter_type
action find
entity Debbie Knox
relation place of birth
type administrative territorial entity
['Debbie Knox', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Debbie_Knox property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q211950
SYSTEM
Dunfermline
Q211950
(Q444458,P19,c(Q56061))
action filter_type
action find
entity Q444458
relation P19
type Q56061
Debbie Knox was born in [ANSWER]
['Q444458', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q444458 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Dunfermline
Debbie Knox was born in Dunfermline
Dunfermline
action filter_type
action find
entity Debbie Knox
relation place of birth
type administrative territorial entity
['Debbie Knox', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Debbie_Knox property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q211950
P190
Q56061
USER
Which administrative territory is the sister city of that one ?
(Q211950,P190,c(Q56061))
action filter_type
action find
entity Q211950
relation P190
type Q56061
['Q211950', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q211950 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Dunfermline
action filter_type
action find
entity Dunfermline
relation sister city
type administrative territorial entity
['Dunfermline', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Dunfermline property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25804
SYSTEM
Trondheim
Q25804
(Q211950,P190,c(Q56061))
action filter_type
action find
entity Q211950
relation P190
type Q56061
[ANSWER] is the sister city of that one
['Q211950', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q211950 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Trondheim
Trondheim is the sister city of that one
Trondheim
action filter_type
action find
entity Dunfermline
relation sister city
type administrative territorial entity
['Dunfermline', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Dunfermline property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q3976655 Q914262
USER
How many Dutch administrative territories or administrative territory of Swedens are a sister city of that administrative territory ?
(c(Q3976655),P190,Q25804) (c(Q914262),P190,Q25804) (c(Q3976655),P190,Q25804) (c(Q914262),P190,Q25804)
action count
action union
action filter_type
action find_reverse
entity Q25804
relation P190
type Q3976655
action filter_type
action find_reverse
entity Q25804
relation P190
type Q914262
[{'concept': 'Q3976655'}, 'P190', 'Q25804'] [{'concept': 'Q914262'}, 'P190', 'Q25804'] [{'concept': 'Q3976655'}, 'P190', 'Q25804'] [{'concept': 'Q914262'}, 'P190', 'Q25804']
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { ?v property:P190 resource:Q25804 . ?v rdf:type ontology:Q3976655 } UNION { ?v rdf:type ontology:Q914262 . ?v property:P190 resource:Q25804 } }
action count
action union
action filter_type
action find_reverse
entity Trondheim
relation sister city
type administrative territorial entity of Denmark
action filter_type
action find_reverse
entity Trondheim
relation sister city
type administrative territorial entity of Sweden
[{'concept': 'administrative territorial entity of Denmark'}, 'sister city', 'Trondheim'] [{'concept': 'administrative territorial entity of Sweden'}, 'sister city', 'Trondheim'] [{'concept': 'administrative territorial entity of Denmark'}, 'sister city', 'Trondheim'] [{'concept': 'administrative territorial entity of Sweden'}, 'sister city', 'Trondheim']
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { ?v property:sister_city resource:Trondheim . ?v rdf:type ontology:administrative_territorial_entity_of_Denmark } UNION { ?v rdf:type ontology:administrative_territorial_entity_of_Sweden . ?v property:sister_city resource:Trondheim } }
[]
administrative territorial entity of Denmark administrative territorial entity of Sweden
SYSTEM
2
Q21146 Q504676
(c(Q3976655),P190,Q25804) (c(Q914262),P190,Q25804) (c(Q3976655),P190,Q25804) (c(Q914262),P190,Q25804)
action count
action union
action filter_type
action find_reverse
entity Q25804
relation P190
type Q3976655
action filter_type
action find_reverse
entity Q25804
relation P190
type Q914262
[ANSWER]
[{'concept': 'Q3976655'}, 'P190', 'Q25804'] [{'concept': 'Q914262'}, 'P190', 'Q25804'] [{'concept': 'Q3976655'}, 'P190', 'Q25804'] [{'concept': 'Q914262'}, 'P190', 'Q25804']
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { ?v property:P190 resource:Q25804 . ?v rdf:type ontology:Q3976655 } UNION { ?v rdf:type ontology:Q914262 . ?v property:P190 resource:Q25804 } }
Odense Municipality Norrköping Municipality
2
action count
action union
action filter_type
action find_reverse
entity Trondheim
relation sister city
type administrative territorial entity of Denmark
action filter_type
action find_reverse
entity Trondheim
relation sister city
type administrative territorial entity of Sweden
[{'concept': 'administrative territorial entity of Denmark'}, 'sister city', 'Trondheim'] [{'concept': 'administrative territorial entity of Sweden'}, 'sister city', 'Trondheim'] [{'concept': 'administrative territorial entity of Denmark'}, 'sister city', 'Trondheim'] [{'concept': 'administrative territorial entity of Sweden'}, 'sister city', 'Trondheim']
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { ?v property:sister_city resource:Trondheim . ?v rdf:type ontology:administrative_territorial_entity_of_Denmark } UNION { ?v rdf:type ontology:administrative_territorial_entity_of_Sweden . ?v property:sister_city resource:Trondheim } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25804
P276
Q15275719
USER
Which recurring event is located at Trondheim ?
(c(Q15275719),P276,Q25804)
action filter_type
action find_reverse
entity Q25804
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q25804']
SELECT DISTINCT ?e WHERE { ?e property:P276 resource:Q25804 . ?e rdf:type ontology:Q15275719 }
Trondheim
action filter_type
action find_reverse
entity Trondheim
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Trondheim']
SELECT DISTINCT ?e WHERE { ?e property:location resource:Trondheim . ?e rdf:type ontology:recurring_event }
[]
recurring event
Q6433262
SYSTEM
Kosmorama - Trondheim International Film Festival
Q6433262
(c(Q15275719),P276,Q25804)
action filter_type
action find_reverse
entity Q25804
relation P276
type Q15275719
[ANSWER] is located at Trondheim
[{'concept': 'Q15275719'}, 'P276', 'Q25804']
SELECT DISTINCT ?e WHERE { ?e property:P276 resource:Q25804 . ?e rdf:type ontology:Q15275719 }
Kosmorama - Trondheim International Film Festival
Kosmorama - Trondheim International Film Festival is located at Trondheim
Kosmorama - Trondheim International Film Festival
action filter_type
action find_reverse
entity Trondheim
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Trondheim']
SELECT DISTINCT ?e WHERE { ?e property:location resource:Trondheim . ?e rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25804
P504
Q2235308
USER
Which ship types have Trondheim as their home port ?
(c(Q2235308),P504,Q25804)
action filter_type
action find_reverse
entity Q25804
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q25804']
SELECT DISTINCT ?m WHERE { ?m property:P504 resource:Q25804 . ?m rdf:type ontology:Q2235308 }
Trondheim
action filter_type
action find_reverse
entity Trondheim
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Trondheim']
SELECT DISTINCT ?m WHERE { ?m property:home_port resource:Trondheim . ?m rdf:type ontology:ship_type }
[]
ship type
Q4052029 Q4052027
SYSTEM
German submarine U-362, German submarine U-360
Q4052029 Q4052027
(c(Q2235308),P504,Q25804)
action filter_type
action find_reverse
entity Q25804
relation P504
type Q2235308
[ANSWERS] have Trondheim as their home port
[{'concept': 'Q2235308'}, 'P504', 'Q25804']
SELECT DISTINCT ?m WHERE { ?m property:P504 resource:Q25804 . ?m rdf:type ontology:Q2235308 }
German submarine U-362 German submarine U-360
German submarine U-362 and German submarine U-360 have Trondheim as their home port
German submarine U-362 German submarine U-360
action filter_type
action find_reverse
entity Trondheim
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Trondheim']
SELECT DISTINCT ?m WHERE { ?m property:home_port resource:Trondheim . ?m rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25804
P108
Q502895
USER
Which person has Trondheim as its employer ?
(c(Q502895),P108,Q25804)
action filter_type
action find_reverse
entity Q25804
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q25804']
SELECT DISTINCT ?y WHERE { ?y property:P108 resource:Q25804 . ?y rdf:type ontology:Q502895 }
Trondheim
action filter_type
action find_reverse
entity Trondheim
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Trondheim']
SELECT DISTINCT ?y WHERE { ?y property:employer resource:Trondheim . ?y rdf:type ontology:common_name }
[]
common name
Q11982019
SYSTEM
Krister Olsen
Q11982019
(c(Q502895),P108,Q25804)
action filter_type
action find_reverse
entity Q25804
relation P108
type Q502895
[ANSWER] has Trondheim as its employer
[{'concept': 'Q502895'}, 'P108', 'Q25804']
SELECT DISTINCT ?y WHERE { ?y property:P108 resource:Q25804 . ?y rdf:type ontology:Q502895 }
Krister Olsen
Krister Olsen has Trondheim as its employer
Krister Olsen
action filter_type
action find_reverse
entity Trondheim
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Trondheim']
SELECT DISTINCT ?y WHERE { ?y property:employer resource:Trondheim . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11982019
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q11982019,P27,c(Q15617994))
action filter_type
action find
entity Q11982019
relation P27
type Q15617994
['Q11982019', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q11982019 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Krister Olsen
action filter_type
action find
entity Krister Olsen
relation country of citizenship
type designation for an administrative territorial entity
['Krister Olsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Krister_Olsen property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q11982019,P27,c(Q15617994))
action filter_type
action find
entity Q11982019
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q11982019', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q11982019 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Norway
The Norway is the native country of that person
Norway
action filter_type
action find
entity Krister Olsen
relation country of citizenship
type designation for an administrative territorial entity
['Krister Olsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Krister_Olsen property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q20 Q22278749
P27
Q502895
USER
Is Ankit Kushwah a citizen of that administrative territory ?
(Q22278749,P27,Q20)
action is_in
entity Q22278749
action find
entity Q20
relation P27
['Q22278749', 'P27', 'Q20']
ASK WHERE { resource:Q20 property:P27 resource:Q22278749 }
Norway Ankit Kushwah
action is_in
entity Ankit Kushwah
action find
entity Norway
relation country of citizenship
['Ankit Kushwah', 'country of citizenship', 'Norway']
ASK WHERE { resource:Norway property:country_of_citizenship resource:Ankit_Kushwah }
[]
common name
SYSTEM
NO
(Q22278749,P27,Q20)
action is_in
entity Q22278749
action find
entity Q20
relation P27
[ANSWER]
['Q22278749', 'P27', 'Q20']
ASK WHERE { resource:Q20 property:P27 resource:Q22278749 }
No
action is_in
entity Ankit Kushwah
action find
entity Norway
relation country of citizenship
['Ankit Kushwah', 'country of citizenship', 'Norway']
ASK WHERE { resource:Norway property:country_of_citizenship resource:Ankit_Kushwah }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4052029
P176
Q43229
USER
Who is the maker of German submarine U-362 ?
(Q4052029,P176,c(Q43229))
action filter_type
action find
entity Q4052029
relation P176
type Q43229
['Q4052029', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { resource:Q4052029 property:P176 ?j . ?j rdf:type ontology:Q43229 }
German submarine U-362
action filter_type
action find
entity German submarine U-362
relation manufacturer
type organization
['German submarine U-362', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { resource:German_submarine_U-362 property:manufacturer ?j . ?j rdf:type ontology:organization }
[]
organization
Q323531
SYSTEM
Flensburger Schiffbau-Gesellschaft
Q323531
(Q4052029,P176,c(Q43229))
action filter_type
action find
entity Q4052029
relation P176
type Q43229
The maker of German submarine U-362 is the [ANSWER]
['Q4052029', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { resource:Q4052029 property:P176 ?j . ?j rdf:type ontology:Q43229 }
Flensburger Schiffbau-Gesellschaft
The maker of German submarine U-362 is the Flensburger Schiffbau-Gesellschaft
Flensburger Schiffbau-Gesellschaft
action filter_type
action find
entity German submarine U-362
relation manufacturer
type organization
['German submarine U-362', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { resource:German_submarine_U-362 property:manufacturer ?j . ?j rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4052029
P289
Q5962346
USER
Which classification scheme is that ship type designed with ?
(Q323531,P289,c(Q5962346))
action filter_type
action find
entity Q4052029
relation P289
type Q5962346
['Q323531', 'P289', {'concept': 'Q5962346'}]
SELECT DISTINCT ?o WHERE { resource:Q4052029 property:P289 ?o . ?o rdf:type ontology:Q5962346 }
German submarine U-362
action filter_type
action find
entity German submarine U-362
relation vessel class
type classification scheme
['Flensburger Schiffbau-Gesellschaft', 'vessel class', {'concept': 'classification scheme'}]
SELECT DISTINCT ?o WHERE { resource:German_submarine_U-362 property:vessel_class ?o . ?o rdf:type ontology:classification_scheme }
[]
classification scheme
Q10374571
SYSTEM
German Type VIIC submarine
Q10374571
(Q323531,P289,c(Q5962346))
action filter_type
action find
entity Q4052029
relation P289
type Q5962346
That ship type is designed for [ANSWER]
['Q323531', 'P289', {'concept': 'Q5962346'}]
SELECT DISTINCT ?o WHERE { resource:Q4052029 property:P289 ?o . ?o rdf:type ontology:Q5962346 }
German Type VIIC submarine
That ship type is designed for German Type VIIC submarine
German Type VIIC submarine
action filter_type
action find
entity German submarine U-362
relation vessel class
type classification scheme
['Flensburger Schiffbau-Gesellschaft', 'vessel class', {'concept': 'classification scheme'}]
SELECT DISTINCT ?o WHERE { resource:German_submarine_U-362 property:vessel_class ?o . ?o rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q571267 Q4052029
P289
Q5962346
USER
Or German submarine U-195?
OR((Q4052029,P289,c(Q5962346)), (Q571267,P289,c(Q5962346)))
action filter_type
action union
action find
entity Q4052029
relation P289
action find
entity Q571267
relation P289
type Q5962346
{'OR': [['Q4052029', 'P289', {'concept': 'Q5962346'}], ['Q571267', 'P289', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q4052029 property:P289 ?d } UNION { resource:Q571267 property:P289 ?d } } . ?d rdf:type ontology:Q5962346 }
German submarine U-195 German submarine U-362
action filter_type
action union
action find
entity German submarine U-362
relation vessel class
action find
entity German submarine U-195
relation vessel class
type classification scheme
{'OR': [['German submarine U-362', 'vessel class', {'concept': 'classification scheme'}], ['German submarine U-195', 'vessel class', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?d WHERE { { { resource:German_submarine_U-362 property:vessel_class ?d } UNION { resource:German_submarine_U-195 property:vessel_class ?d } } . ?d rdf:type ontology:classification_scheme }
[]
classification scheme
Q10374571 Q11797549
SYSTEM
German Type VIIC submarine, Type IXD-1 submarine
Q10374571 Q11797549
OR((Q4052029,P289,c(Q5962346)), (Q571267,P289,c(Q5962346)))
action filter_type
action union
action find
entity Q4052029
relation P289
action find
entity Q571267
relation P289
type Q5962346
[ANSWERS]
{'OR': [['Q4052029', 'P289', {'concept': 'Q5962346'}], ['Q571267', 'P289', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q4052029 property:P289 ?d } UNION { resource:Q571267 property:P289 ?d } } . ?d rdf:type ontology:Q5962346 }
German Type VIIC submarine Type IXD-1 submarine
German Type VIIC submarine Type IXD-1 submarine
action filter_type
action union
action find
entity German submarine U-362
relation vessel class
action find
entity German submarine U-195
relation vessel class
type classification scheme
{'OR': [['German submarine U-362', 'vessel class', {'concept': 'classification scheme'}], ['German submarine U-195', 'vessel class', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?d WHERE { { { resource:German_submarine_U-362 property:vessel_class ?d } UNION { resource:German_submarine_U-195 property:vessel_class ?d } } . ?d rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11797549 Q423696
P361
Q1047113
USER
How many special fields are Type IXD-1 submarine or Akuem a component of ?
(Q11797549,P361,c(Q1047113)) (Q423696,P361,c(Q1047113))
action count
action union
action filter_type
action find
entity Q11797549
relation P361
type Q1047113
action filter_type
action find
entity Q423696
relation P361
type Q1047113
['Q11797549', 'P361', {'concept': 'Q1047113'}] ['Q423696', 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { VALUES ( ?m ) { ( resource:Q11797549 ) ( resource:Q423696 ) } . ?m property:P361 ?i }
Type IXD-1 submarine Akuem
action count
action union
action filter_type
action find
entity Type IXD-1 submarine
relation part of
type special field
action filter_type
action find
entity Akuem
relation part of
type special field
['Type IXD-1 submarine', 'part of', {'concept': 'special field'}] ['Akuem', 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { VALUES ( ?m ) { ( resource:Type_IXD-1_submarine ) ( resource:Akuem ) } . ?m property:part_of ?i }
[]
special field
SYSTEM
2
Q35395 Q81009
(Q11797549,P361,c(Q1047113)) (Q423696,P361,c(Q1047113))
action count
action union
action filter_type
action find
entity Q11797549
relation P361
type Q1047113
action filter_type
action find
entity Q423696
relation P361
type Q1047113
[ANSWER]
['Q11797549', 'P361', {'concept': 'Q1047113'}] ['Q423696', 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { VALUES ( ?m ) { ( resource:Q11797549 ) ( resource:Q423696 ) } . ?m property:P361 ?i }
phonetics rhetoric
2
action count
action union
action filter_type
action find
entity Type IXD-1 submarine
relation part of
type special field
action filter_type
action find
entity Akuem
relation part of
type special field
['Type IXD-1 submarine', 'part of', {'concept': 'special field'}] ['Akuem', 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { VALUES ( ?m ) { ( resource:Type_IXD-1_submarine ) ( resource:Akuem ) } . ?m property:part_of ?i }
[]