Simple Question (Direct)
Simple Question
Q349546
P20
Q15700808
USER
Which urban unit definition is the place of death of Konrad Hirsch ?
(Q349546,P20,c(Q15700808))
action filter_type
action find
entity Q349546
relation P20
type Q15700808
['Q349546', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?w WHERE { resource:Q349546 property:P20 ?w . ?w rdf:type ontology:Q15700808 }
Konrad Hirsch
action filter_type
action find
entity Konrad Hirsch
relation place of death
type urban unit definition
['Konrad Hirsch', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?w WHERE { resource:Konrad_Hirsch property:place_of_death ?w . ?w rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q287691
SYSTEM
Surte
Q287691
(Q349546,P20,c(Q15700808))
action filter_type
action find
entity Q349546
relation P20
type Q15700808
[ANSWER] is the place of death of Konrad Hirsch
['Q349546', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?w WHERE { resource:Q349546 property:P20 ?w . ?w rdf:type ontology:Q15700808 }
Surte
Surte is the place of death of Konrad Hirsch
Surte
action filter_type
action find
entity Konrad Hirsch
relation place of death
type urban unit definition
['Konrad Hirsch', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?w WHERE { resource:Konrad_Hirsch property:place_of_death ?w . ?w rdf:type ontology:urban_unit_definition }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q349546
P27
Q15617994
USER
Which administrative territory is Konrad Hirsch a civilian of ?
(Q349546,P27,c(Q15617994))
action filter_type
action find
entity Q349546
relation P27
type Q15617994
['Q349546', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q349546 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Konrad Hirsch
action filter_type
action find
entity Konrad Hirsch
relation country of citizenship
type designation for an administrative territorial entity
['Konrad Hirsch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Konrad_Hirsch property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q349546,P27,c(Q15617994))
action filter_type
action find
entity Q349546
relation P27
type Q15617994
[ANSWER] is Konrad Hirsch a civilian of
['Q349546', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q349546 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Sweden
Sweden is Konrad Hirsch a civilian of
Sweden
action filter_type
action find
entity Konrad Hirsch
relation country of citizenship
type designation for an administrative territorial entity
['Konrad Hirsch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Konrad_Hirsch property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q349546
P21
Q290
USER
What is the sex of Konrad Hirsch ?
(Q349546,P21,c(Q290))
action filter_type
action find
entity Q349546
relation P21
type Q290
['Q349546', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q349546 property:P21 ?b . ?b rdf:type ontology:Q290 }
Konrad Hirsch
action filter_type
action find
entity Konrad Hirsch
relation gender
type sex
['Konrad Hirsch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Konrad_Hirsch property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q349546,P21,c(Q290))
action filter_type
action find
entity Q349546
relation P21
type Q290
The sex of Konrad Hirsch is the [ANSWER]
['Q349546', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q349546 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of Konrad Hirsch is the male
male
action filter_type
action find
entity Konrad Hirsch
relation gender
type sex
['Konrad Hirsch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Konrad_Hirsch property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22695632
Q290
USER
And what about Andrey Zazulinsky?
(Q22695632,P21,c(Q290))
action filter_type
action find
entity Q22695632
relation P21
type Q290
['Q22695632', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q22695632 property:P21 ?r . ?r rdf:type ontology:Q290 }
Andrey Zazulinsky
action filter_type
action find
entity Andrey Zazulinsky
relation gender
type sex
['Andrey Zazulinsky', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Andrey_Zazulinsky property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q22695632,P21,c(Q290))
action filter_type
action find
entity Q22695632
relation P21
type Q290
[ANSWER]
['Q22695632', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q22695632 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Andrey Zazulinsky
relation gender
type sex
['Andrey Zazulinsky', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Andrey_Zazulinsky property:gender ?r . ?r rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q21030542
P21
Q502895
USER
Is Heinrich Reinhusen a that sex ?
(Q21030542,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q21030542
relation P21
['Q21030542', 'P21', 'Q6581097']
ASK WHERE { resource:Q21030542 property:P21 resource:Q6581097 }
male Heinrich Reinhusen
action is_in
entity male
action find
entity Heinrich Reinhusen
relation gender
['Heinrich Reinhusen', 'gender', 'male']
ASK WHERE { resource:Heinrich_Reinhusen property:gender resource:male }
[]
common name
SYSTEM
YES
(Q21030542,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q21030542
relation P21
[ANSWER]
['Q21030542', 'P21', 'Q6581097']
ASK WHERE { resource:Q21030542 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Heinrich Reinhusen
relation gender
['Heinrich Reinhusen', 'gender', 'male']
ASK WHERE { resource:Heinrich_Reinhusen property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q34 Q408
P530
Q1048835
USER
Does Australia have diplomatic relationships with Sweden ?
(Q34,P530,Q408)
action is_in
entity Q408
action find
entity Q34
relation P530
['Q34', 'P530', 'Q408']
ASK WHERE { resource:Q34 property:P530 resource:Q408 }
Sweden Australia
action is_in
entity Australia
action find
entity Sweden
relation diplomatic relation
['Sweden', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Sweden property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q34,P530,Q408)
action is_in
entity Q408
action find
entity Q34
relation P530
[ANSWER]
['Q34', 'P530', 'Q408']
ASK WHERE { resource:Q34 property:P530 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Sweden
relation diplomatic relation
['Sweden', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Sweden property:diplomatic_relation resource:Australia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P206
Q1267889
USER
Which waterway is located next to that administrative territory ?
action filter_type
action find
entity Q34
relation P206
type Q1267889
SELECT DISTINCT ?d WHERE { resource:Q34 property:P206 ?d . ?d rdf:type ontology:Q1267889 }
Sweden
action filter_type
action find
entity Sweden
relation located next to body of water
type waterway
SELECT DISTINCT ?d WHERE { resource:Sweden property:located_next_to_body_of_water ?d . ?d rdf:type ontology:waterway }
[]
waterway
Q131716
SYSTEM
Kattegat
Q131716
action filter_type
action find
entity Q34
relation P206
type Q1267889
[ANSWER] is located next to that administrative territory
SELECT DISTINCT ?d WHERE { resource:Q34 property:P206 ?d . ?d rdf:type ontology:Q1267889 }
Kattegat
Kattegat is located next to that administrative territory
Kattegat
action filter_type
action find
entity Sweden
relation located next to body of water
type waterway
SELECT DISTINCT ?d WHERE { resource:Sweden property:located_next_to_body_of_water ?d . ?d rdf:type ontology:waterway }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atleast 8 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 8
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?v ) WHERE { ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?h property:P530 ?o } GROUP BY ?h } . FILTER ( ?v >= 8 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?v ) WHERE { ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?o } GROUP BY ?h } . FILTER ( ?v >= 8 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 8
[ANSWERS] have diplomatic relationships with atleast 8 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?v ) WHERE { ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?h property:P530 ?o } GROUP BY ?h } . FILTER ( ?v >= 8 ) }
Germany Australia Canada
Germany, Australia and Canada have diplomatic relationships with atleast 8 administrative territories
Germany Australia Canada
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?v ) WHERE { ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?o } GROUP BY ?h } . FILTER ( ?v >= 8 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories are known to have diplomatic connections with max number of political territories ?
(c(Q15617994),P530,c(Q1048835))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?p ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?e ) WHERE { ?t property:P530 ?b . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?t } } . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?u ) WHERE { ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 . ?g property:P530 ?h } GROUP BY ?g } . FILTER ( ?u = ?p ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?p ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?e ) WHERE { ?t property:diplomatic_relation ?b . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?t } } . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?u ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?h } GROUP BY ?g } . FILTER ( ?u = ?p ) }
[]
political territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q1048835))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWER] is known to have diplomatic connections with max number of political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?p ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?e ) WHERE { ?t property:P530 ?b . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?t } } . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?u ) WHERE { ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 . ?g property:P530 ?h } GROUP BY ?g } . FILTER ( ?u = ?p ) }
Georgia
Georgia is known to have diplomatic connections with max number of political territories
Georgia
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?p ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?e ) WHERE { ?t property:diplomatic_relation ?b . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?t } } . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?u ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?h } GROUP BY ?g } . FILTER ( ?u = ?p ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q230
P276
Q1190554
USER
Which event is located at that administrative territory ?
(c(Q1190554),P276,Q230)
action filter_type
action find_reverse
entity Q230
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q230']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q230 . ?i rdf:type ontology:Q1190554 }
Georgia
action filter_type
action find_reverse
entity Georgia
relation location
type event
[{'concept': 'event'}, 'location', 'Georgia']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Georgia . ?i rdf:type ontology:event }
[]
event
Q4871427
SYSTEM
Battle of Khresili
Q4871427
(c(Q1190554),P276,Q230)
action filter_type
action find_reverse
entity Q230
relation P276
type Q1190554
[ANSWER] is located at that administrative territory
[{'concept': 'Q1190554'}, 'P276', 'Q230']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q230 . ?i rdf:type ontology:Q1190554 }
Battle of Khresili
Battle of Khresili is located at that administrative territory
Battle of Khresili
action filter_type
action find_reverse
entity Georgia
relation location
type event
[{'concept': 'event'}, 'location', 'Georgia']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Georgia . ?i rdf:type ontology:event }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11663
P828
Q1190554 Q1190554
USER
Which events are the causes of around the same number of events as weather ?
(c(Q1190554),P828,c(Q1190554))
action approx
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q1190554
action count
action filter_type
action find
entity Q11663
relation P828
type Q1190554
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?a = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:Q11663 property:P828 ?z . ?z rdf:type ontology:Q1190554 } } . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P828 ?t . ?t rdf:type ontology:Q1190554 . ?l rdf:type ontology:Q1190554 } GROUP BY ?t } }
weather
action approx
action find_reverse_tuple_counts
relation has cause
type event
type event
action count
action filter_type
action find
entity weather
relation has cause
type event
[{'concept': 'event'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?a = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:weather property:has_cause ?z . ?z rdf:type ontology:event } } . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:has_cause ?t . ?t rdf:type ontology:event . ?l rdf:type ontology:event } GROUP BY ?t } }
[]
event event
Q150701 Q11663 Q4373
SYSTEM
War of the Spanish Succession, weather, Battle of White Mountain
Q41560 Q125928 Q18511800 Q150701 Q2737837 Q11663 Q114953 Q7939 Q4373
(c(Q1190554),P828,c(Q1190554))
action approx
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q1190554
action count
action filter_type
action find
entity Q11663
relation P828
type Q1190554
[ANSWERS] are the causes of around the same number of events as weather
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?a = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:Q11663 property:P828 ?z . ?z rdf:type ontology:Q1190554 } } . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P828 ?t . ?t rdf:type ontology:Q1190554 . ?l rdf:type ontology:Q1190554 } GROUP BY ?t } }
greenhouse effect climate change split War of the Spanish Succession Irradiation weather poisoning El Niño Battle of White Mountain
War of the Spanish Succession, weather and Battle of White Mountain are the causes of around the same number of events as weather
War of the Spanish Succession weather Battle of White Mountain
action approx
action find_reverse_tuple_counts
relation has cause
type event
type event
action count
action filter_type
action find
entity weather
relation has cause
type event
[{'concept': 'event'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?a = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:weather property:has_cause ?z . ?z rdf:type ontology:event } } . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:has_cause ?t . ?t rdf:type ontology:event . ?l rdf:type ontology:event } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2737837
P828
Q1190554 Q1190554
USER
And what about Irradiation?
(c(Q1190554),P828,c(Q1190554))
action approx
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q1190554
action count
action filter_type
action find
entity Q2737837
relation P828
type Q1190554
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P828 ?d . ?d rdf:type ontology:Q1190554 . ?a rdf:type ontology:Q1190554 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q2737837 property:P828 ?y . ?y rdf:type ontology:Q1190554 } } . FILTER ( ?u = ?w ) }
Irradiation
action approx
action find_reverse_tuple_counts
relation has cause
type event
type event
action count
action filter_type
action find
entity Irradiation
relation has cause
type event
[{'concept': 'event'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:has_cause ?d . ?d rdf:type ontology:event . ?a rdf:type ontology:event } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Irradiation property:has_cause ?y . ?y rdf:type ontology:event } } . FILTER ( ?u = ?w ) }
[]
event event
Q150701 Q11663 Q4373
SYSTEM
War of the Spanish Succession, weather, Battle of White Mountain
Q41560 Q125928 Q18511800 Q150701 Q2737837 Q11663 Q114953 Q7939 Q4373
(c(Q1190554),P828,c(Q1190554))
action approx
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q1190554
action count
action filter_type
action find
entity Q2737837
relation P828
type Q1190554
[ANSWERS]
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P828 ?d . ?d rdf:type ontology:Q1190554 . ?a rdf:type ontology:Q1190554 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q2737837 property:P828 ?y . ?y rdf:type ontology:Q1190554 } } . FILTER ( ?u = ?w ) }
greenhouse effect climate change split War of the Spanish Succession Irradiation weather poisoning El Niño Battle of White Mountain
War of the Spanish Succession weather Battle of White Mountain
action approx
action find_reverse_tuple_counts
relation has cause
type event
type event
action count
action filter_type
action find
entity Irradiation
relation has cause
type event
[{'concept': 'event'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:has_cause ?d . ?d rdf:type ontology:event . ?a rdf:type ontology:event } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Irradiation property:has_cause ?y . ?y rdf:type ontology:event } } . FILTER ( ?u = ?w ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5570950 Q16
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Canada and are Globe located in ?
AND((Q16,P530,c(Q15617994)), (Q5570950,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q5570950
relation P17
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q5570950', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { resource:Q16 property:P530 ?n . resource:Q5570950 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Globe Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Globe
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Globe', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Canada property:diplomatic_relation ?n . resource:Globe property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q16,P530,c(Q15617994)), (Q5570950,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q5570950
relation P17
type Q15617994
[ANSWER] have diplomatic relationships with Canada and are Globe located in
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q5570950', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { resource:Q16 property:P530 ?n . resource:Q5570950 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
United States of America have diplomatic relationships with Canada and are Globe located in
United States of America
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Globe
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Globe', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Canada property:diplomatic_relation ?n . resource:Globe property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q207
P6
Q502895
USER
Does George W. Bush have United States of America as its head of government ?
(Q30,P6,Q207)
action is_in
entity Q207
action find
entity Q30
relation P6
['Q30', 'P6', 'Q207']
ASK WHERE { resource:Q30 property:P6 resource:Q207 }
United States of America George W. Bush
action is_in
entity George W. Bush
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'George W. Bush']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:George_W._Bush }
[]
common name
SYSTEM
YES
(Q30,P6,Q207)
action is_in
entity Q207
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q207']
ASK WHERE { resource:Q30 property:P6 resource:Q207 }
Yes
action is_in
entity George W. Bush
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'George W. Bush']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:George_W._Bush }
[]