Simple Question (Direct)
Simple Question
Q15451162
P39
Q12737077
USER
What was the position held by Josef Pichl ?
(Q15451162,P39,c(Q12737077))
action filter_type
action find
entity Q15451162
relation P39
type Q12737077
['Q15451162', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15451162 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Josef Pichl
action filter_type
action find
entity Josef Pichl
relation position held
type occupation
['Josef Pichl', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Josef_Pichl property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q15451162,P39,c(Q12737077))
action filter_type
action find
entity Q15451162
relation P39
type Q12737077
The position held by Josef Pichl was the [ANSWER]
['Q15451162', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15451162 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
mayor
The position held by Josef Pichl was the mayor
mayor
action filter_type
action find
entity Josef Pichl
relation position held
type occupation
['Josef Pichl', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Josef_Pichl property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30185
P361
Q15617994
USER
What is that occupation a portion of ?
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q30185 property:P361 ?u . ?u rdf:type ontology:Q15617994 }
mayor
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:mayor property:part_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15284
SYSTEM
municipality
Q15284
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
That occupation a portion of is a [ANSWER]
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q30185 property:P361 ?u . ?u rdf:type ontology:Q15617994 }
municipality
That occupation a portion of is a municipality
municipality
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:mayor property:part_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15284
P1313
Q12737077
USER
Which occupations serve as the political office that are fulfilled by the head of the government of that administrative territory ?
(Q15284,P1313,c(Q12737077))
action filter_type
action find
entity Q15284
relation P1313
type Q12737077
['Q15284', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q15284 property:P1313 ?h . ?h rdf:type ontology:Q12737077 }
municipality
action filter_type
action find
entity municipality
relation office held by head of government
type occupation
['municipality', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:municipality property:office_held_by_head_of_government ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q30185 Q496728
SYSTEM
mayor, municipal manager
Q30185 Q496728
(Q15284,P1313,c(Q12737077))
action filter_type
action find
entity Q15284
relation P1313
type Q12737077
The [ANSWERS] serve as the political office that are fulfilled by the head of the government of that administrative territory
['Q15284', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q15284 property:P1313 ?h . ?h rdf:type ontology:Q12737077 }
mayor municipal manager
The mayor and municipal manager serve as the political office that are fulfilled by the head of the government of that administrative territory
mayor municipal manager
action filter_type
action find
entity municipality
relation office held by head of government
type occupation
['municipality', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:municipality property:office_held_by_head_of_government ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q15284
Q82799
USER
And which name?
(Q15284,P1313,c(Q82799))
action filter_type
action find
entity Q15284
relation P1313
type Q82799
['Q15284', 'P1313', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q15284 property:P1313 ?c . ?c rdf:type ontology:Q82799 }
municipality
action filter_type
action find
entity municipality
relation office held by head of government
type name
['municipality', 'office held by head of government', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:municipality property:office_held_by_head_of_government ?c . ?c rdf:type ontology:name }
[]
name
Q1339249
SYSTEM
syndic
Q1339249
(Q15284,P1313,c(Q82799))
action filter_type
action find
entity Q15284
relation P1313
type Q82799
[ANSWER]
['Q15284', 'P1313', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q15284 property:P1313 ?c . ?c rdf:type ontology:Q82799 }
syndic
syndic
action filter_type
action find
entity municipality
relation office held by head of government
type name
['municipality', 'office held by head of government', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:municipality property:office_held_by_head_of_government ?c . ?c rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4767951
P180
Q82799 Q17335294 Q340169
USER
How many names are depicted in approximately the same number of coats of arms and medias as cattle ?
(c(Q17335294)|c(Q340169),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q4767951
relation P180
type Q17335294
type Q340169
[[{'concept': 'Q17335294'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?l WHERE { { ?e property:P180 ?l . ?l rdf:type ontology:Q82799 . ?e rdf:type ontology:Q17335294 } UNION { ?e property:P180 ?l . ?l rdf:type ontology:Q82799 . ?e rdf:type ontology:Q340169 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:P180 resource:Q4767951 . { ?r rdf:type ?u . VALUES ( ?u ) { ( ontology:Q17335294 ) ( ontology:Q340169 ) } } } } . FILTER ( ?y = ?c ) }
cattle
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity cattle
relation depicts
type flag or coat of arms
type media
[[{'concept': 'flag or coat of arms'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?l WHERE { { ?e property:depicts ?l . ?l rdf:type ontology:name . ?e rdf:type ontology:flag_or_coat_of_arms } UNION { ?e property:depicts ?l . ?l rdf:type ontology:name . ?e rdf:type ontology:media } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:depicts resource:cattle . { ?r rdf:type ?u . VALUES ( ?u ) { ( ontology:flag_or_coat_of_arms ) ( ontology:media ) } } } } . FILTER ( ?y = ?c ) }
[]
name flag or coat of arms media
SYSTEM
51
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q17335294)|c(Q340169),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q4767951
relation P180
type Q17335294
type Q340169
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?l WHERE { { ?e property:P180 ?l . ?l rdf:type ontology:Q82799 . ?e rdf:type ontology:Q17335294 } UNION { ?e property:P180 ?l . ?l rdf:type ontology:Q82799 . ?e rdf:type ontology:Q340169 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:P180 resource:Q4767951 . { ?r rdf:type ?u . VALUES ( ?u ) { ( ontology:Q17335294 ) ( ontology:Q340169 ) } } } } . FILTER ( ?y = ?c ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
51
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity cattle
relation depicts
type flag or coat of arms
type media
[[{'concept': 'flag or coat of arms'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?l WHERE { { ?e property:depicts ?l . ?l rdf:type ontology:name . ?e rdf:type ontology:flag_or_coat_of_arms } UNION { ?e property:depicts ?l . ?l rdf:type ontology:name . ?e rdf:type ontology:media } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:depicts resource:cattle . { ?r rdf:type ?u . VALUES ( ?u ) { ( ontology:flag_or_coat_of_arms ) ( ontology:media ) } } } } . FILTER ( ?y = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q876933
P180
Q82799 Q17335294 Q340169
USER
And how about magi?
(c(Q17335294)|c(Q340169),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q876933
relation P180
type Q17335294
type Q340169
[[{'concept': 'Q17335294'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?e WHERE { { ?g property:P180 ?e . ?e rdf:type ontology:Q82799 . ?g rdf:type ontology:Q17335294 } UNION { ?g property:P180 ?e . ?g rdf:type ontology:Q340169 . ?e rdf:type ontology:Q82799 } } GROUP BY ?e } . FILTER ( ?r = ?c ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P180 resource:Q876933 . { { ?z rdf:type ontology:Q17335294 } UNION { ?z rdf:type ontology:Q340169 } } } } }
magi
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity magi
relation depicts
type flag or coat of arms
type media
[[{'concept': 'flag or coat of arms'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?e WHERE { { ?g property:depicts ?e . ?e rdf:type ontology:name . ?g rdf:type ontology:flag_or_coat_of_arms } UNION { ?g property:depicts ?e . ?g rdf:type ontology:media . ?e rdf:type ontology:name } } GROUP BY ?e } . FILTER ( ?r = ?c ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:depicts resource:magi . { { ?z rdf:type ontology:flag_or_coat_of_arms } UNION { ?z rdf:type ontology:media } } } } }
[]
name flag or coat of arms media
SYSTEM
51
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q17335294)|c(Q340169),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q876933
relation P180
type Q17335294
type Q340169
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?e WHERE { { ?g property:P180 ?e . ?e rdf:type ontology:Q82799 . ?g rdf:type ontology:Q17335294 } UNION { ?g property:P180 ?e . ?g rdf:type ontology:Q340169 . ?e rdf:type ontology:Q82799 } } GROUP BY ?e } . FILTER ( ?r = ?c ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P180 resource:Q876933 . { { ?z rdf:type ontology:Q17335294 } UNION { ?z rdf:type ontology:Q340169 } } } } }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
51
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity magi
relation depicts
type flag or coat of arms
type media
[[{'concept': 'flag or coat of arms'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?e WHERE { { ?g property:depicts ?e . ?e rdf:type ontology:name . ?g rdf:type ontology:flag_or_coat_of_arms } UNION { ?g property:depicts ?e . ?g rdf:type ontology:media . ?e rdf:type ontology:name } } GROUP BY ?e } . FILTER ( ?r = ?c ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:depicts resource:magi . { { ?z rdf:type ontology:flag_or_coat_of_arms } UNION { ?z rdf:type ontology:media } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15451162
P512
Q3412758
USER
What is the name of the degree held by Josef Pichl ?
(Q15451162,P512,c(Q3412758))
action filter_type
action find
entity Q15451162
relation P512
type Q3412758
['Q15451162', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q3412758 . resource:Q15451162 property:P512 ?i }
Josef Pichl
action filter_type
action find
entity Josef Pichl
relation academic degree
type qualification
['Josef Pichl', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:qualification . resource:Josef_Pichl property:academic_degree ?i }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q15451162,P512,c(Q3412758))
action filter_type
action find
entity Q15451162
relation P512
type Q3412758
The name of the degree held by Josef Pichl is the [ANSWER]
['Q15451162', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q3412758 . resource:Q15451162 property:P512 ?i }
doctoral degree
The name of the degree held by Josef Pichl is the doctoral degree
doctoral degree
action filter_type
action find
entity Josef Pichl
relation academic degree
type qualification
['Josef Pichl', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:qualification . resource:Josef_Pichl property:academic_degree ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15451162
P19
Q15617994
USER
Which administrative territory was Josef Pichl born at ?
(Q15451162,P19,c(Q15617994))
action filter_type
action find
entity Q15451162
relation P19
type Q15617994
['Q15451162', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q15451162 property:P19 ?c }
Josef Pichl
action filter_type
action find
entity Josef Pichl
relation place of birth
type designation for an administrative territorial entity
['Josef Pichl', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Josef_Pichl property:place_of_birth ?c }
[]
designation for an administrative territorial entity
Q504768
SYSTEM
Schwandorf
Q504768
(Q15451162,P19,c(Q15617994))
action filter_type
action find
entity Q15451162
relation P19
type Q15617994
Josef Pichl was born in [ANSWER]
['Q15451162', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q15451162 property:P19 ?c }
Schwandorf
Josef Pichl was born in Schwandorf
Schwandorf
action filter_type
action find
entity Josef Pichl
relation place of birth
type designation for an administrative territorial entity
['Josef Pichl', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Josef_Pichl property:place_of_birth ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15451162
P21
Q290
USER
Which sex does that person belong to ?
(Q504768,P21,c(Q290))
action filter_type
action find
entity Q15451162
relation P21
type Q290
['Q504768', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q15451162 property:P21 ?o . ?o rdf:type ontology:Q290 }
Josef Pichl
action filter_type
action find
entity Josef Pichl
relation gender
type sex
['Schwandorf', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Josef_Pichl property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q504768,P21,c(Q290))
action filter_type
action find
entity Q15451162
relation P21
type Q290
That person belongs to [ANSWER]
['Q504768', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q15451162 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Josef Pichl
relation gender
type sex
['Schwandorf', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Josef_Pichl property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15451162
P106
Q12737077
USER
Which occupation is the profession of Josef Pichl ?
(Q15451162,P106,c(Q12737077))
action filter_type
action find
entity Q15451162
relation P106
type Q12737077
['Q15451162', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q15451162 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Josef Pichl
action filter_type
action find
entity Josef Pichl
relation occupation
type occupation
['Josef Pichl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Josef_Pichl property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q15451162,P106,c(Q12737077))
action filter_type
action find
entity Q15451162
relation P106
type Q12737077
So [ANSWER] is the profession of Josef Pichl
['Q15451162', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q15451162 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician
So politician is the profession of Josef Pichl
politician
action filter_type
action find
entity Josef Pichl
relation occupation
type occupation
['Josef Pichl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Josef_Pichl property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q504768
P159
Q4830453
USER
Which business enterprise has HQ at Schwandorf ?
(c(Q4830453),P159,Q504768)
action filter_type
action find_reverse
entity Q504768
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q504768']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q504768 . ?v rdf:type ontology:Q4830453 }
Schwandorf
action filter_type
action find_reverse
entity Schwandorf
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Schwandorf']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Schwandorf . ?v rdf:type ontology:business_enterprise }
[]
business enterprise
Q18027733
SYSTEM
Schlossbrauerei Naabeck
Q18027733
(c(Q4830453),P159,Q504768)
action filter_type
action find_reverse
entity Q504768
relation P159
type Q4830453
[ANSWER] has HQ at Schwandorf
[{'concept': 'Q4830453'}, 'P159', 'Q504768']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q504768 . ?v rdf:type ontology:Q4830453 }
Schlossbrauerei Naabeck
Schlossbrauerei Naabeck has HQ at Schwandorf
Schlossbrauerei Naabeck
action filter_type
action find_reverse
entity Schwandorf
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Schwandorf']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Schwandorf . ?v rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18027733
P1454
Q1269299
USER
Which business organization represents the legal form of that business enterprise ?
(Q18027733,P1454,c(Q1269299))
action filter_type
action find
entity Q18027733
relation P1454
type Q1269299
['Q18027733', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?c WHERE { resource:Q18027733 property:P1454 ?c . ?c rdf:type ontology:Q1269299 }
Schlossbrauerei Naabeck
action filter_type
action find
entity Schlossbrauerei Naabeck
relation legal form
type type of business entity
['Schlossbrauerei Naabeck', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?c WHERE { resource:Schlossbrauerei_Naabeck property:legal_form ?c . ?c rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q897103
SYSTEM
GmbH & Co. KG
Q897103
(Q18027733,P1454,c(Q1269299))
action filter_type
action find
entity Q18027733
relation P1454
type Q1269299
[ANSWER] represents the legal form of that business enterprise
['Q18027733', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?c WHERE { resource:Q18027733 property:P1454 ?c . ?c rdf:type ontology:Q1269299 }
GmbH & Co. KG
GmbH & Co. KG represents the legal form of that business enterprise
GmbH & Co. KG
action filter_type
action find
entity Schlossbrauerei Naabeck
relation legal form
type type of business entity
['Schlossbrauerei Naabeck', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?c WHERE { resource:Schlossbrauerei_Naabeck property:legal_form ?c . ?c rdf:type ontology:type_of_business_entity }
[]