Simple Question (Direct)
Simple Question
Q1386569
P607
Q1190554
USER
What were the events that Jacob van Wassenaer Obdam took part in
(Q1386569,P607,c(Q1190554))
action filter_type
action find
entity Q1386569
relation P607
type Q1190554
['Q1386569', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1190554 . resource:Q1386569 property:P607 ?d }
Jacob van Wassenaer Obdam
action filter_type
action find
entity Jacob van Wassenaer Obdam
relation conflict
type event
['Jacob van Wassenaer Obdam', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:event . resource:Jacob_van_Wassenaer_Obdam property:conflict ?d }
[]
event
Q916495 Q654006
SYSTEM
Second Anglo-Dutch War, Second Northern War
Q916495 Q654006
(Q1386569,P607,c(Q1190554))
action filter_type
action find
entity Q1386569
relation P607
type Q1190554
The events that Jacob van Wassenaer Obdam took part in were the [ANSWERS]
['Q1386569', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1190554 . resource:Q1386569 property:P607 ?d }
Second Anglo-Dutch War Second Northern War
The events that Jacob van Wassenaer Obdam took part in were the Second Anglo-Dutch War and Second Northern War
Second Anglo-Dutch War Second Northern War
action filter_type
action find
entity Jacob van Wassenaer Obdam
relation conflict
type event
['Jacob van Wassenaer Obdam', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:event . resource:Jacob_van_Wassenaer_Obdam property:conflict ?d }
[]
Clarification
Simple Question|Single Entity|Indirect
Q654006
P361
Q1190554
USER
What are a component of that one ?
(c(Q1190554),P361,Q654006)
action filter_type
action find_reverse
entity Q654006
relation P361
type Q1190554
[{'concept': 'Q1190554'}, 'P361', 'Q654006']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1190554 . ?p property:P361 resource:Q654006 }
Second Northern War
action filter_type
action find_reverse
entity Second Northern War
relation part of
type event
[{'concept': 'event'}, 'part of', 'Second Northern War']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:event . ?p property:part_of resource:Second_Northern_War }
[]
event
Clarification for simple ques.
Q654006
SYSTEM
Did you mean Second Northern War ?
Q916495 Q654006
(c(Q1190554),P361,Q916495) (c(Q1190554),P361,Q654006)
[ANSWER]
[{'concept': 'Q1190554'}, 'P361', 'Q916495'] [{'concept': 'Q1190554'}, 'P361', 'Q654006']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1190554 . ?p property:P361 resource:Q654006 }
Second Anglo-Dutch War Second Northern War
Did you mean Second Northern War ?
Second Northern War
[{'concept': 'event'}, 'part of', 'Second Anglo-Dutch War'] [{'concept': 'event'}, 'part of', 'Second Northern War']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:event . ?p property:part_of resource:Second_Northern_War }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1190554),P361,Q654006)
[{'concept': 'Q1190554'}, 'P361', 'Q654006']
[{'concept': 'event'}, 'part of', 'Second Northern War']
[]
Q721676 Q4337389 Q541566
SYSTEM
Battle of Warka, Storm of Kokenhusen, Battle of Kolding
Q1195414 Q3541237 Q426926 Q4871016 Q721676 Q4872752 Q641989 Q693388 Q1033993 Q4337389 Q720886 Q1275200 Q541566 Q815146 Q4870737
(c(Q1190554),P361,Q654006)
action filter_type
action find_reverse
entity Q654006
relation P361
type Q1190554
A component of that one are the [ANSWERS]
[{'concept': 'Q1190554'}, 'P361', 'Q654006']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1190554 . ?p property:P361 resource:Q654006 }
Battle of Jarosław Siege of Toruń (1658) Battle of Warsaw Battle of Filipów Battle of Warka Battle of Wojnicz Battle of Nyborg Battle of Prostken Battle of Krosno Storm of Kokenhusen Battle of Gołąb Battle of the Sound Battle of Kolding Siege of Jasna Góra Battle of Chojnice
A component of that one are the Battle of Warka, Storm of Kokenhusen and Battle of Kolding
Battle of Warka Storm of Kokenhusen Battle of Kolding
action filter_type
action find_reverse
entity Second Northern War
relation part of
type event
[{'concept': 'event'}, 'part of', 'Second Northern War']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:event . ?p property:part_of resource:Second_Northern_War }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q916495
P1542
Q131569
USER
What is the effect of Second Anglo-Dutch War ?
(Q916495,P1542,c(Q131569))
action filter_type
action find
entity Q916495
relation P1542
type Q131569
['Q916495', 'P1542', {'concept': 'Q131569'}]
SELECT DISTINCT ?f WHERE { resource:Q916495 property:P1542 ?f . ?f rdf:type ontology:Q131569 }
Second Anglo-Dutch War
action filter_type
action find
entity Second Anglo-Dutch War
relation cause of
type treaty
['Second Anglo-Dutch War', 'cause of', {'concept': 'treaty'}]
SELECT DISTINCT ?f WHERE { resource:Second_Anglo-Dutch_War property:cause_of ?f . ?f rdf:type ontology:treaty }
[]
treaty
Q1431007
SYSTEM
Treaty of Breda
Q1431007
(Q916495,P1542,c(Q131569))
action filter_type
action find
entity Q916495
relation P1542
type Q131569
The effect of Second Anglo-Dutch War is the [ANSWER]
['Q916495', 'P1542', {'concept': 'Q131569'}]
SELECT DISTINCT ?f WHERE { resource:Q916495 property:P1542 ?f . ?f rdf:type ontology:Q131569 }
Treaty of Breda
The effect of Second Anglo-Dutch War is the Treaty of Breda
Treaty of Breda
action filter_type
action find
entity Second Anglo-Dutch War
relation cause of
type treaty
['Second Anglo-Dutch War', 'cause of', {'concept': 'treaty'}]
SELECT DISTINCT ?f WHERE { resource:Second_Anglo-Dutch_War property:cause_of ?f . ?f rdf:type ontology:treaty }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q721676
P17
Q15617994
USER
How many administrative territories are Battle of Warka located in ?
(Q721676,P17,c(Q15617994))
action count
action filter_type
action find
entity Q721676
relation P17
type Q15617994
['Q721676', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q721676 property:P17 ?n }
Battle of Warka
action count
action filter_type
action find
entity Battle of Warka
relation country
type designation for an administrative territorial entity
['Battle of Warka', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Battle_of_Warka property:country ?n }
[]
designation for an administrative territorial entity
SYSTEM
1
Q36
(Q721676,P17,c(Q15617994))
action count
action filter_type
action find
entity Q721676
relation P17
type Q15617994
[ANSWER]
['Q721676', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q721676 property:P17 ?n }
Poland
1
action count
action filter_type
action find
entity Battle of Warka
relation country
type designation for an administrative territorial entity
['Battle of Warka', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Battle_of_Warka property:country ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q19570013
P17
Q15617994
USER
And what about Touwslager?
(Q19570013,P17,c(Q15617994))
action count
action filter_type
action find
entity Q19570013
relation P17
type Q15617994
['Q19570013', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q19570013 property:P17 ?o }
Touwslager
action count
action filter_type
action find
entity Touwslager
relation country
type designation for an administrative territorial entity
['Touwslager', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Touwslager property:country ?o }
[]
designation for an administrative territorial entity
SYSTEM
1
Q55
(Q19570013,P17,c(Q15617994))
action count
action filter_type
action find
entity Q19570013
relation P17
type Q15617994
[ANSWER]
['Q19570013', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q19570013 property:P17 ?o }
Netherlands
1
action count
action filter_type
action find
entity Touwslager
relation country
type designation for an administrative territorial entity
['Touwslager', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Touwslager property:country ?o }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2989612
Q15617994
USER
And how about Pikimachay?
(Q2989612,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2989612
relation P17
type Q15617994
['Q2989612', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q2989612 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Pikimachay
action count
action filter_type
action find
entity Pikimachay
relation country
type designation for an administrative territorial entity
['Pikimachay', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Pikimachay property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2989612,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2989612
relation P17
type Q15617994
[ANSWER]
['Q2989612', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q2989612 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Pikimachay
relation country
type designation for an administrative territorial entity
['Pikimachay', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Pikimachay property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2849606
P828
Q7189713 Q1190554
USER
Which physiological conditions are the causes of approximately the same number of events as vasospasm ?
(c(Q1190554),P828,c(Q7189713))
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q1190554
action count
action filter_type
action find
entity Q2849606
relation P828
type Q7189713
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?i ) WHERE { ?z rdf:type ontology:Q7189713 . ?h rdf:type ontology:Q1190554 . ?h property:P828 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q2849606 property:P828 ?w . ?w rdf:type ontology:Q7189713 } } . FILTER ( ?i = ?b ) }
vasospasm
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type event
action count
action filter_type
action find
entity vasospasm
relation has cause
type physiological condition
[{'concept': 'event'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?i ) WHERE { ?z rdf:type ontology:physiological_condition . ?h rdf:type ontology:event . ?h property:has_cause ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:vasospasm property:has_cause ?w . ?w rdf:type ontology:physiological_condition } } . FILTER ( ?i = ?b ) }
[]
physiological condition event
Q193078 Q2849606 Q649122
SYSTEM
trauma, vasospasm, Jugular venous pressure
Q2849606 Q193078 Q1478321 Q649122
(c(Q1190554),P828,c(Q7189713))
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q1190554
action count
action filter_type
action find
entity Q2849606
relation P828
type Q7189713
[ANSWERS] are the causes of approximately the same number of events as vasospasm
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?i ) WHERE { ?z rdf:type ontology:Q7189713 . ?h rdf:type ontology:Q1190554 . ?h property:P828 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q2849606 property:P828 ?w . ?w rdf:type ontology:Q7189713 } } . FILTER ( ?i = ?b ) }
vasospasm trauma Spinal stenosis Jugular venous pressure
Trauma, vasospasm and Jugular venous pressure are the causes of approximately the same number of events as vasospasm
trauma vasospasm Jugular venous pressure
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type event
action count
action filter_type
action find
entity vasospasm
relation has cause
type physiological condition
[{'concept': 'event'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?i ) WHERE { ?z rdf:type ontology:physiological_condition . ?h rdf:type ontology:event . ?h property:has_cause ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:vasospasm property:has_cause ?w . ?w rdf:type ontology:physiological_condition } } . FILTER ( ?i = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q649122
P828
Q7189713 Q1190554
USER
And also tell me about Jugular venous pressure?
(c(Q1190554),P828,c(Q7189713))
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q1190554
action count
action filter_type
action find
entity Q649122
relation P828
type Q7189713
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?c = ?u ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Q649122 property:P828 ?m . ?m rdf:type ontology:Q7189713 } } . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P828 ?q . ?q rdf:type ontology:Q7189713 . ?g rdf:type ontology:Q1190554 } GROUP BY ?q } }
Jugular venous pressure
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type event
action count
action filter_type
action find
entity Jugular venous pressure
relation has cause
type physiological condition
[{'concept': 'event'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?c = ?u ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Jugular_venous_pressure property:has_cause ?m . ?m rdf:type ontology:physiological_condition } } . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:has_cause ?q . ?q rdf:type ontology:physiological_condition . ?g rdf:type ontology:event } GROUP BY ?q } }
[]
physiological condition event
Q193078 Q2849606 Q649122
SYSTEM
trauma, vasospasm, Jugular venous pressure
Q2849606 Q193078 Q1478321 Q649122
(c(Q1190554),P828,c(Q7189713))
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q1190554
action count
action filter_type
action find
entity Q649122
relation P828
type Q7189713
[ANSWERS]
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?c = ?u ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Q649122 property:P828 ?m . ?m rdf:type ontology:Q7189713 } } . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P828 ?q . ?q rdf:type ontology:Q7189713 . ?g rdf:type ontology:Q1190554 } GROUP BY ?q } }
vasospasm trauma Spinal stenosis Jugular venous pressure
trauma vasospasm Jugular venous pressure
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type event
action count
action filter_type
action find
entity Jugular venous pressure
relation has cause
type physiological condition
[{'concept': 'event'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?c = ?u ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Jugular_venous_pressure property:has_cause ?m . ?m rdf:type ontology:physiological_condition } } . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:has_cause ?q . ?q rdf:type ontology:physiological_condition . ?g rdf:type ontology:event } GROUP BY ?q } }
[]