Simple Question (Direct)
Simple Question
Q85414
P20
Q56061
USER
Where did the expiration of Ernst von Wolzogen occur ?
(Q85414,P20,c(Q56061))
action filter_type
action find
entity Q85414
relation P20
type Q56061
['Q85414', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q85414 property:P20 ?s }
Ernst von Wolzogen
action filter_type
action find
entity Ernst von Wolzogen
relation place of death
type administrative territorial entity
['Ernst von Wolzogen', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Ernst_von_Wolzogen property:place_of_death ?s }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q85414,P20,c(Q56061))
action filter_type
action find
entity Q85414
relation P20
type Q56061
The expiration of Ernst von Wolzogen occurred in [ANSWER]
['Q85414', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q85414 property:P20 ?s }
Munich
The expiration of Ernst von Wolzogen occurred in Munich
Munich
action filter_type
action find
entity Ernst von Wolzogen
relation place of death
type administrative territorial entity
['Ernst von Wolzogen', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Ernst_von_Wolzogen property:place_of_death ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q85414
P27
Q1048835
USER
Which political territory is Ernst von Wolzogen a civilian of ?
(Q85414,P27,c(Q1048835))
action filter_type
action find
entity Q85414
relation P27
type Q1048835
['Q85414', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q85414 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Ernst von Wolzogen
action filter_type
action find
entity Ernst von Wolzogen
relation country of citizenship
type political territorial entity
['Ernst von Wolzogen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ernst_von_Wolzogen property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q85414,P27,c(Q1048835))
action filter_type
action find
entity Q85414
relation P27
type Q1048835
[ANSWER] is Ernst von Wolzogen a civilian of
['Q85414', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q85414 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Germany
Germany is Ernst von Wolzogen a civilian of
Germany
action filter_type
action find
entity Ernst von Wolzogen
relation country of citizenship
type political territorial entity
['Ernst von Wolzogen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ernst_von_Wolzogen property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q85414
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q85414
relation P106
type Q12737077
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q85414 property:P106 ?d }
Ernst von Wolzogen
action filter_type
action find
entity Ernst von Wolzogen
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Ernst_von_Wolzogen property:occupation ?d }
[]
occupation
Q8178443 Q36180 Q36834
SYSTEM
librettist, writer, composer
Q8178443 Q36180 Q36834
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q85414
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q85414 property:P106 ?d }
librettist writer composer
The professions of that person are librettist, writer and composer
librettist writer composer
action filter_type
action find
entity Ernst von Wolzogen
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Ernst_von_Wolzogen property:occupation ?d }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q9376536
P106
Q502895
USER
Do Wojciech Jachimowicz have the profession as those occupations ?
(Q9376536,P106,Q8178443) (Q9376536,P106,Q36180) (Q9376536,P106,Q36834)
action is_in
entity prev_answer
action find
entity Q9376536
relation P106
['Q9376536', 'P106', 'Q8178443'] ['Q9376536', 'P106', 'Q36180'] ['Q9376536', 'P106', 'Q36834']
ASK WHERE { resource:Q9376536 property:P106 ?p . VALUES ( ?p ) { ( resource:Q8178443 ) ( resource:Q36180 ) ( resource:Q36834 ) } }
Wojciech Jachimowicz
action is_in
entity prev_answer
action find
entity Wojciech Jachimowicz
relation occupation
['Wojciech Jachimowicz', 'occupation', 'librettist'] ['Wojciech Jachimowicz', 'occupation', 'writer'] ['Wojciech Jachimowicz', 'occupation', 'composer']
ASK WHERE { resource:Wojciech_Jachimowicz property:occupation ?p . VALUES ( ?p ) { ( resource:librettist ) ( resource:writer ) ( resource:composer ) } }
[]
common name
SYSTEM
NO
(Q9376536,P106,Q8178443) (Q9376536,P106,Q36180) (Q9376536,P106,Q36834)
action is_in
entity prev_answer
action find
entity Q9376536
relation P106
[ANSWER]
['Q9376536', 'P106', 'Q8178443'] ['Q9376536', 'P106', 'Q36180'] ['Q9376536', 'P106', 'Q36834']
ASK WHERE { resource:Q9376536 property:P106 ?p . VALUES ( ?p ) { ( resource:Q8178443 ) ( resource:Q36180 ) ( resource:Q36834 ) } }
No
action is_in
entity prev_answer
action find
entity Wojciech Jachimowicz
relation occupation
['Wojciech Jachimowicz', 'occupation', 'librettist'] ['Wojciech Jachimowicz', 'occupation', 'writer'] ['Wojciech Jachimowicz', 'occupation', 'composer']
ASK WHERE { resource:Wojciech_Jachimowicz property:occupation ?p . VALUES ( ?p ) { ( resource:librettist ) ( resource:writer ) ( resource:composer ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36180 Q211115
P425
Q12737077
USER
How many occupations have writer or chess problem as thier field of occupation ?
(c(Q12737077),P425,Q36180) (c(Q12737077),P425,Q211115)
action count
action union
action filter_type
action find_reverse
entity Q36180
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q211115
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q36180'] [{'concept': 'Q12737077'}, 'P425', 'Q211115']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { VALUES ( ?g ) { ( resource:Q36180 ) ( resource:Q211115 ) } . ?j property:P425 ?g }
writer chess problem
action count
action union
action filter_type
action find_reverse
entity writer
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity chess problem
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'writer'] [{'concept': 'occupation'}, 'field of this occupation', 'chess problem']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { VALUES ( ?g ) { ( resource:writer ) ( resource:chess_problem ) } . ?j property:field_of_this_occupation ?g }
[]
occupation
SYSTEM
2
Q1930187 Q2627699
(c(Q12737077),P425,Q36180) (c(Q12737077),P425,Q211115)
action count
action union
action filter_type
action find_reverse
entity Q36180
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q211115
relation P425
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q36180'] [{'concept': 'Q12737077'}, 'P425', 'Q211115']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { VALUES ( ?g ) { ( resource:Q36180 ) ( resource:Q211115 ) } . ?j property:P425 ?g }
journalist chess composer
2
action count
action union
action filter_type
action find_reverse
entity writer
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity chess problem
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'writer'] [{'concept': 'occupation'}, 'field of this occupation', 'chess problem']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { VALUES ( ?g ) { ( resource:writer ) ( resource:chess_problem ) } . ?j property:field_of_this_occupation ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1726
P17
Q7275
USER
Which states do Munich belong to ?
(Q1726,P17,c(Q7275))
action filter_type
action find
entity Q1726
relation P17
type Q7275
['Q1726', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { resource:Q1726 property:P17 ?s . ?s rdf:type ontology:Q7275 }
Munich
action filter_type
action find
entity Munich
relation country
type state
['Munich', 'country', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { resource:Munich property:country ?s . ?s rdf:type ontology:state }
[]
state
Q41304 Q7318 Q713750
SYSTEM
Weimar Republic, Nazi Germany, West Germany
Q7318 Q154195 Q713750 Q41304
(Q1726,P17,c(Q7275))
action filter_type
action find
entity Q1726
relation P17
type Q7275
Munich belong the [ANSWERS]
['Q1726', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { resource:Q1726 property:P17 ?s . ?s rdf:type ontology:Q7275 }
Nazi Germany Kingdom of Bavaria West Germany Weimar Republic
Munich belong the Weimar Republic, Nazi Germany and West Germany
Weimar Republic Nazi Germany West Germany
action filter_type
action find
entity Munich
relation country
type state
['Munich', 'country', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { resource:Munich property:country ?s . ?s rdf:type ontology:state }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7318
P710
Q180684
USER
Which conflicts did that state participate in ?
(c(Q180684),P710,Q7318)
action filter_type
action find_reverse
entity Q7318
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q7318']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q7318 . ?b rdf:type ontology:Q180684 }
Nazi Germany
action filter_type
action find_reverse
entity Nazi Germany
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Nazi Germany']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Nazi_Germany . ?b rdf:type ontology:conflict }
[]
conflict
Clarification for simple ques.
Q41304
SYSTEM
Did you mean Weimar Republic ?
Q41304 Q7318 Q713750
(c(Q180684),P710,Q41304) (c(Q180684),P710,Q7318) (c(Q180684),P710,Q713750)
[ANSWER]
[{'concept': 'Q180684'}, 'P710', 'Q41304'] [{'concept': 'Q180684'}, 'P710', 'Q7318'] [{'concept': 'Q180684'}, 'P710', 'Q713750']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q7318 . ?b rdf:type ontology:Q180684 }
Weimar Republic Nazi Germany West Germany
Did you mean Weimar Republic ?
Weimar Republic
[{'concept': 'conflict'}, 'participant', 'Weimar Republic'] [{'concept': 'conflict'}, 'participant', 'Nazi Germany'] [{'concept': 'conflict'}, 'participant', 'West Germany']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Nazi_Germany . ?b rdf:type ontology:conflict }
[]
Simple Question (Coreferenced)
USER
No, I meant Nazi Germany. Could you tell me the answer for that?
(c(Q180684),P710,Q7318)
Q7318
[{'concept': 'Q180684'}, 'P710', 'Q7318']
[{'concept': 'conflict'}, 'participant', 'Nazi Germany']
[]
Q3354882 Q911972 Q15264166
SYSTEM
Operation Tungsten, Dunkirk evacuation, Operation Mascot
Q150939 Q3354882 Q911972 Q2225555 Q15264166
(c(Q180684),P710,Q7318)
action filter_type
action find_reverse
entity Q7318
relation P710
type Q180684
That state participated in [ANSWERS]
[{'concept': 'Q180684'}, 'P710', 'Q7318']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q7318 . ?b rdf:type ontology:Q180684 }
Operation Weserübung Operation Tungsten Dunkirk evacuation Operation Basalt Operation Mascot
That state participated in Operation Tungsten, Dunkirk evacuation and Operation Mascot
Operation Tungsten Dunkirk evacuation Operation Mascot
action filter_type
action find_reverse
entity Nazi Germany
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Nazi Germany']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Nazi_Germany . ?b rdf:type ontology:conflict }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q27799197 Q15264166
P710
Q502895
USER
Which people participated in Operation Mascot or 2012 Lithuanian Badminton Championships – Men's doubles ?
OR((Q15264166,P710,c(Q502895)), (Q27799197,P710,c(Q502895)))
action filter_type
action union
action find
entity Q15264166
relation P710
action find
entity Q27799197
relation P710
type Q502895
{'OR': [['Q15264166', 'P710', {'concept': 'Q502895'}], ['Q27799197', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q15264166 property:P710 ?z } UNION { resource:Q27799197 property:P710 ?z } } . ?z rdf:type ontology:Q502895 }
2012 Lithuanian Badminton Championships – Men's doubles Operation Mascot
action filter_type
action union
action find
entity Operation Mascot
relation participant
action find
entity 2012 Lithuanian Badminton Championships – Men's doubles
relation participant
type common name
{'OR': [['Operation Mascot', 'participant', {'concept': 'common name'}], ["2012 Lithuanian Badminton Championships – Men's doubles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Operation_Mascot property:participant ?z } UNION { resource:2012_Lithuanian_Badminton_Championships_–_Men's_doubles property:participant ?z } } . ?z rdf:type ontology:common_name }
[]
common name
Q2106843 Q1806834 Q5727822 Q27817291 Q1284266 Q27817293 Q997654
SYSTEM
Povilas Bartušis, Alan Plavin, Henry Ruthven Moore, Sergej Leonovič, Edgaras Slušnys, Saulius Šaltmeris, Donatas Narvilas
Q2106843 Q1806834 Q5727822 Q27817291 Q1284266 Q27817293 Q997654
OR((Q15264166,P710,c(Q502895)), (Q27799197,P710,c(Q502895)))
action filter_type
action union
action find
entity Q15264166
relation P710
action find
entity Q27799197
relation P710
type Q502895
[ANSWERS] participated in Operation Mascot or 2012 Lithuanian Badminton Championships – Men's doubles
{'OR': [['Q15264166', 'P710', {'concept': 'Q502895'}], ['Q27799197', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q15264166 property:P710 ?z } UNION { resource:Q27799197 property:P710 ?z } } . ?z rdf:type ontology:Q502895 }
Povilas Bartušis Alan Plavin Henry Ruthven Moore Sergej Leonovič Edgaras Slušnys Saulius Šaltmeris Donatas Narvilas
Povilas Bartušis, Alan Plavin, Henry Ruthven Moore, Sergej Leonovič, Edgaras Slušnys, Saulius Šaltmeris and Donatas Narvilas participated in Operation Mascot or 2012 Lithuanian Badminton Championships – Men's doubles
Povilas Bartušis Alan Plavin Henry Ruthven Moore Sergej Leonovič Edgaras Slušnys Saulius Šaltmeris Donatas Narvilas
action filter_type
action union
action find
entity Operation Mascot
relation participant
action find
entity 2012 Lithuanian Badminton Championships – Men's doubles
relation participant
type common name
{'OR': [['Operation Mascot', 'participant', {'concept': 'common name'}], ["2012 Lithuanian Badminton Championships – Men's doubles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Operation_Mascot property:participant ?z } UNION { resource:2012_Lithuanian_Badminton_Championships_–_Men's_doubles property:participant ?z } } . ?z rdf:type ontology:common_name }
[]