Simple Question (Direct)
Simple Question
Q16011757
P20
Q56061
USER
Where did the expiration of Herbert Gottweis occur ?
(Q16011757,P20,c(Q56061))
action filter_type
action find
entity Q16011757
relation P20
type Q56061
['Q16011757', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q16011757 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Herbert Gottweis
action filter_type
action find
entity Herbert Gottweis
relation place of death
type administrative territorial entity
['Herbert Gottweis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Herbert_Gottweis property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q16011757,P20,c(Q56061))
action filter_type
action find
entity Q16011757
relation P20
type Q56061
The expiration of Herbert Gottweis occurred in [ANSWER]
['Q16011757', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q16011757 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Vienna
The expiration of Herbert Gottweis occurred in Vienna
Vienna
action filter_type
action find
entity Herbert Gottweis
relation place of death
type administrative territorial entity
['Herbert Gottweis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Herbert_Gottweis property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P1376
Q1048835
USER
Which political territory has that administrative territory has its first city ?
(Q1741,P1376,c(Q1048835))
action filter_type
action find
entity Q1741
relation P1376
type Q1048835
['Q1741', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q1741 property:P1376 ?z . ?z rdf:type ontology:Q1048835 }
Vienna
action filter_type
action find
entity Vienna
relation capital of
type political territorial entity
['Vienna', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Vienna property:capital_of ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1741,P1376,c(Q1048835))
action filter_type
action find
entity Q1741
relation P1376
type Q1048835
[ANSWER] has that administrative territory has its first city
['Q1741', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q1741 property:P1376 ?z . ?z rdf:type ontology:Q1048835 }
Austria
Austria has that administrative territory has its first city
Austria
action filter_type
action find
entity Vienna
relation capital of
type political territorial entity
['Vienna', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Vienna property:capital_of ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q40 Q22691963 Q14369
P206
Q355304
USER
Is that political territory situated in the neighbourhood of Funkenhardgraben and Inn ?
(Q40,P206,Q22691963) (Q40,P206,Q14369)
action is_in
entity Q40
action intersection
action find_reverse
entity Q22691963
relation P206
action find_reverse
entity Q14369
relation P206
['Q40', 'P206', 'Q22691963'] ['Q40', 'P206', 'Q14369']
ASK WHERE { resource:Q40 property:P206 resource:Q22691963 . resource:Q40 property:P206 resource:Q14369 }
Austria Funkenhardgraben Inn
action is_in
entity Austria
action intersection
action find_reverse
entity Funkenhardgraben
relation located next to body of water
action find_reverse
entity Inn
relation located next to body of water
['Austria', 'located next to body of water', 'Funkenhardgraben'] ['Austria', 'located next to body of water', 'Inn']
ASK WHERE { resource:Austria property:located_next_to_body_of_water resource:Funkenhardgraben . resource:Austria property:located_next_to_body_of_water resource:Inn }
[]
watercourse
SYSTEM
NO and YES respectively
(Q40,P206,Q22691963) (Q40,P206,Q14369)
action is_in
entity Q40
action intersection
action find_reverse
entity Q22691963
relation P206
action find_reverse
entity Q14369
relation P206
[ANSWER]
['Q40', 'P206', 'Q22691963'] ['Q40', 'P206', 'Q14369']
ASK WHERE { resource:Q40 property:P206 resource:Q22691963 . resource:Q40 property:P206 resource:Q14369 }
NO and YES respectively
action is_in
entity Austria
action intersection
action find_reverse
entity Funkenhardgraben
relation located next to body of water
action find_reverse
entity Inn
relation located next to body of water
['Austria', 'located next to body of water', 'Funkenhardgraben'] ['Austria', 'located next to body of water', 'Inn']
ASK WHERE { resource:Austria property:located_next_to_body_of_water resource:Funkenhardgraben . resource:Austria property:located_next_to_body_of_water resource:Inn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40
P36
Q56061
USER
Which administrative territory is associated to that political territory as the capital ?
action filter_type
action find
entity Q40
relation P36
type Q56061
SELECT DISTINCT ?z WHERE { resource:Q40 property:P36 ?z . ?z rdf:type ontology:Q56061 }
Austria
action filter_type
action find
entity Austria
relation capital
type administrative territorial entity
SELECT DISTINCT ?z WHERE { resource:Austria property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
action filter_type
action find
entity Q40
relation P36
type Q56061
[ANSWER] is associated to that political territory as the capital
SELECT DISTINCT ?z WHERE { resource:Q40 property:P36 ?z . ?z rdf:type ontology:Q56061 }
Vienna
Vienna is associated to that political territory as the capital
Vienna
action filter_type
action find
entity Austria
relation capital
type administrative territorial entity
SELECT DISTINCT ?z WHERE { resource:Austria property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q1741,P190,c(Q56061))
action filter_type
action find
entity Q1741
relation P190
type Q56061
['Q1741', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1741 property:P190 ?h . ?h rdf:type ontology:Q56061 }
Vienna
action filter_type
action find
entity Vienna
relation sister city
type administrative territorial entity
['Vienna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Vienna property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q1781 Q270
SYSTEM
Moscow, Budapest, Warsaw
Q437 Q4656 Q3711 Q33935 Q649 Q472 Q270 Q1780 Q1781 Q406 Q70
(Q1741,P190,c(Q56061))
action filter_type
action find
entity Q1741
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q1741', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1741 property:P190 ?h . ?h rdf:type ontology:Q56061 }
Ljubljana Pula Belgrade Tel Aviv Moscow Sofia Warsaw Bratislava Budapest Istanbul Bern
Moscow, Budapest and Warsaw are the sister cities of that one
Moscow Budapest Warsaw
action filter_type
action find
entity Vienna
relation sister city
type administrative territorial entity
['Vienna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Vienna property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with around 97 political territories and administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
value 97
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?c } . FILTER ( ?s = 97 ) }
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 97
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?c } . FILTER ( ?s = 97 ) }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
value 97
[ANSWERS] have diplomatic relationships with around 97 political territories and administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?c } . FILTER ( ?s = 97 ) }
Germany Australia
Germany and Australia have diplomatic relationships with around 97 political territories and administrative territories
Germany Australia
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 97
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?c } . FILTER ( ?s = 97 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q244188
P530
Q15617994
USER
Are Caglio known to have diplomatic connections with those political territories ?
(Q244188,P530,Q183) (Q244188,P530,Q408)
action is_in
entity prev_answer
action find
entity Q244188
relation P530
['Q244188', 'P530', 'Q183'] ['Q244188', 'P530', 'Q408']
ASK WHERE { VALUES ( ?h ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q244188 property:P530 ?h }
Caglio
action is_in
entity prev_answer
action find
entity Caglio
relation diplomatic relation
['Caglio', 'diplomatic relation', 'Germany'] ['Caglio', 'diplomatic relation', 'Australia']
ASK WHERE { VALUES ( ?h ) { ( resource:Germany ) ( resource:Australia ) } . resource:Caglio property:diplomatic_relation ?h }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q244188,P530,Q183) (Q244188,P530,Q408)
action is_in
entity prev_answer
action find
entity Q244188
relation P530
[ANSWER]
['Q244188', 'P530', 'Q183'] ['Q244188', 'P530', 'Q408']
ASK WHERE { VALUES ( ?h ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q244188 property:P530 ?h }
No
action is_in
entity prev_answer
action find
entity Caglio
relation diplomatic relation
['Caglio', 'diplomatic relation', 'Germany'] ['Caglio', 'diplomatic relation', 'Australia']
ASK WHERE { VALUES ( ?h ) { ( resource:Germany ) ( resource:Australia ) } . resource:Caglio property:diplomatic_relation ?h }
[]