Simple Question (Direct)
Simple Question
Q101743
P106
Q12737077
USER
Which occupation has Friedrich Schwally as his/her 's career ?
(Q101743,P106,c(Q12737077))
action filter_type
action find
entity Q101743
relation P106
type Q12737077
['Q101743', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q101743 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Friedrich Schwally
action filter_type
action find
entity Friedrich Schwally
relation occupation
type occupation
['Friedrich Schwally', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Friedrich_Schwally property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q1731155
SYSTEM
orientalist
Q1731155
(Q101743,P106,c(Q12737077))
action filter_type
action find
entity Q101743
relation P106
type Q12737077
The [ANSWER] has Friedrich Schwally as his/her 's career
['Q101743', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q101743 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
orientalist
The orientalist has Friedrich Schwally as his/her 's career
orientalist
action filter_type
action find
entity Friedrich Schwally
relation occupation
type occupation
['Friedrich Schwally', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Friedrich_Schwally property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q101743
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q1731155,P20,c(Q56061))
action filter_type
action find
entity Q101743
relation P20
type Q56061
['Q1731155', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q101743 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Friedrich Schwally
action filter_type
action find
entity Friedrich Schwally
relation place of death
type administrative territorial entity
['orientalist', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Friedrich_Schwally property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4120832
SYSTEM
Königsberg
Q4120832
(Q1731155,P20,c(Q56061))
action filter_type
action find
entity Q101743
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q1731155', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q101743 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Königsberg
Königsberg is the place of death of that person
Königsberg
action filter_type
action find
entity Friedrich Schwally
relation place of death
type administrative territorial entity
['orientalist', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Friedrich_Schwally property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4120832 Q3376758
P19
Q502895
USER
Was Peter Miles born at that administrative territory ?
(Q3376758,P19,Q4120832)
action is_in
entity Q3376758
action find
entity Q4120832
relation P19
['Q3376758', 'P19', 'Q4120832']
ASK WHERE { resource:Q4120832 property:P19 resource:Q3376758 }
Königsberg Peter Miles
action is_in
entity Peter Miles
action find
entity Königsberg
relation place of birth
['Peter Miles', 'place of birth', 'Königsberg']
ASK WHERE { resource:Königsberg property:place_of_birth resource:Peter_Miles }
[]
common name
SYSTEM
NO
(Q3376758,P19,Q4120832)
action is_in
entity Q3376758
action find
entity Q4120832
relation P19
[ANSWER]
['Q3376758', 'P19', 'Q4120832']
ASK WHERE { resource:Q4120832 property:P19 resource:Q3376758 }
No
action is_in
entity Peter Miles
action find
entity Königsberg
relation place of birth
['Peter Miles', 'place of birth', 'Königsberg']
ASK WHERE { resource:Königsberg property:place_of_birth resource:Peter_Miles }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q101743 Q183
P27
Q1048835
USER
Is Germany the country of citizenship of that person ?
(Q101743,P27,Q183)
action is_in
entity Q183
action find
entity Q101743
relation P27
['Q101743', 'P27', 'Q183']
ASK WHERE { resource:Q101743 property:P27 resource:Q183 }
Friedrich Schwally Germany
action is_in
entity Germany
action find
entity Friedrich Schwally
relation country of citizenship
['Friedrich Schwally', 'country of citizenship', 'Germany']
ASK WHERE { resource:Friedrich_Schwally property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q101743,P27,Q183)
action is_in
entity Q183
action find
entity Q101743
relation P27
[ANSWER]
['Q101743', 'P27', 'Q183']
ASK WHERE { resource:Q101743 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Friedrich Schwally
relation country of citizenship
['Friedrich Schwally', 'country of citizenship', 'Germany']
ASK WHERE { resource:Friedrich_Schwally property:country_of_citizenship resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q101743
P166
Q618779
USER
Which award was Friedrich Schwally awarded with ?
(Q101743,P166,c(Q618779))
action filter_type
action find
entity Q101743
relation P166
type Q618779
['Q101743', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q101743 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Friedrich Schwally
action filter_type
action find
entity Friedrich Schwally
relation award received
type award
['Friedrich Schwally', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Friedrich_Schwally property:award_received ?b . ?b rdf:type ontology:award }
[]
award
Q18582827
SYSTEM
Order of the Red Eagle 4th Class
Q18582827
(Q101743,P166,c(Q618779))
action filter_type
action find
entity Q101743
relation P166
type Q618779
Friedrich Schwally was awarded the [ANSWER]
['Q101743', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q101743 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Order of the Red Eagle 4th Class
Friedrich Schwally was awarded the Order of the Red Eagle 4th Class
Order of the Red Eagle 4th Class
action filter_type
action find
entity Friedrich Schwally
relation award received
type award
['Friedrich Schwally', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Friedrich_Schwally property:award_received ?b . ?b rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2357026
Q618779
USER
And how about Borislav Stanković?
(Q2357026,P166,c(Q618779))
action filter_type
action find
entity Q2357026
relation P166
type Q618779
['Q2357026', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q2357026 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Borislav Stanković
action filter_type
action find
entity Borislav Stanković
relation award received
type award
['Borislav Stanković', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Borislav_Stanković property:award_received ?o . ?o rdf:type ontology:award }
[]
award
Q10905380
SYSTEM
Cross of the Order of Merit of the Federal Republic of Germany
Q10905380
(Q2357026,P166,c(Q618779))
action filter_type
action find
entity Q2357026
relation P166
type Q618779
[ANSWER]
['Q2357026', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q2357026 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Cross of the Order of Merit of the Federal Republic of Germany
Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Borislav Stanković
relation award received
type award
['Borislav Stanković', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Borislav_Stanković property:award_received ?o . ?o rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10905380 Q65730
P166
Q502895
USER
Was Götz Aly awarded with that award ?
(Q65730,P166,Q10905380)
action is_in
entity Q10905380
action find
entity Q65730
relation P166
['Q65730', 'P166', 'Q10905380']
ASK WHERE { resource:Q65730 property:P166 resource:Q10905380 }
Cross of the Order of Merit of the Federal Republic of Germany Götz Aly
action is_in
entity Cross of the Order of Merit of the Federal Republic of Germany
action find
entity Götz Aly
relation award received
['Götz Aly', 'award received', 'Cross of the Order of Merit of the Federal Republic of Germany']
ASK WHERE { resource:Götz_Aly property:award_received resource:Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany }
[]
common name
SYSTEM
YES
(Q65730,P166,Q10905380)
action is_in
entity Q10905380
action find
entity Q65730
relation P166
[ANSWER]
['Q65730', 'P166', 'Q10905380']
ASK WHERE { resource:Q65730 property:P166 resource:Q10905380 }
Yes
action is_in
entity Cross of the Order of Merit of the Federal Republic of Germany
action find
entity Götz Aly
relation award received
['Götz Aly', 'award received', 'Cross of the Order of Merit of the Federal Republic of Germany']
ASK WHERE { resource:Götz_Aly property:award_received resource:Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4120832
P276
Q820655 Q1190554
USER
How many statutes or events are situated at Königsberg ?
(c(Q820655),P276,Q4120832) (c(Q1190554),P276,Q4120832)
action count
action union
action filter_type
action find_reverse
entity Q4120832
relation P276
type Q820655
action filter_type
action find_reverse
entity Q4120832
relation P276
type Q1190554
[{'concept': 'Q820655'}, 'P276', 'Q4120832'] [{'concept': 'Q1190554'}, 'P276', 'Q4120832']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:P276 resource:Q4120832 . ?u rdf:type ontology:Q1190554 } UNION { ?u property:P276 resource:Q4120832 . ?u rdf:type ontology:Q820655 } }
Königsberg
action count
action union
action filter_type
action find_reverse
entity Königsberg
relation location
type statute
action filter_type
action find_reverse
entity Königsberg
relation location
type event
[{'concept': 'statute'}, 'location', 'Königsberg'] [{'concept': 'event'}, 'location', 'Königsberg']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:location resource:Königsberg . ?u rdf:type ontology:event } UNION { ?u property:location resource:Königsberg . ?u rdf:type ontology:statute } }
[]
statute event
SYSTEM
3
Q831608 Q2086064 Q671528
(c(Q820655),P276,Q4120832) (c(Q1190554),P276,Q4120832)
action count
action union
action filter_type
action find_reverse
entity Q4120832
relation P276
type Q820655
action filter_type
action find_reverse
entity Q4120832
relation P276
type Q1190554
[ANSWER]
[{'concept': 'Q820655'}, 'P276', 'Q4120832'] [{'concept': 'Q1190554'}, 'P276', 'Q4120832']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:P276 resource:Q4120832 . ?u rdf:type ontology:Q1190554 } UNION { ?u property:P276 resource:Q4120832 . ?u rdf:type ontology:Q820655 } }
Treaty of Königsberg Treaty of Königsberg Battle of Königsberg
3
action count
action union
action filter_type
action find_reverse
entity Königsberg
relation location
type statute
action filter_type
action find_reverse
entity Königsberg
relation location
type event
[{'concept': 'statute'}, 'location', 'Königsberg'] [{'concept': 'event'}, 'location', 'Königsberg']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:location resource:Königsberg . ?u rdf:type ontology:event } UNION { ?u property:location resource:Königsberg . ?u rdf:type ontology:statute } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1027
Q192350 Q1048835 Q618779
USER
Which awards are bestowed by approximately 1 ministries or political territories ?
(c(Q618779),P1027,c(Q192350)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P1027
type Q618779
type Q192350
action find_tuple_counts
relation P1027
type Q618779
type Q1048835
value 1
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q192350'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?w WHERE { { ?w property:P1027 ?f . ?w rdf:type ontology:Q618779 . ?f rdf:type ontology:Q192350 } UNION { ?w property:P1027 ?f . ?f rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q618779 } } GROUP BY ?w } . FILTER ( ?o = 1 ) }
action approx
action union
action find_tuple_counts
relation conferred by
type award
type ministry
action find_tuple_counts
relation conferred by
type award
type political territorial entity
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'ministry'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?w WHERE { { ?w property:conferred_by ?f . ?w rdf:type ontology:award . ?f rdf:type ontology:ministry } UNION { ?w property:conferred_by ?f . ?f rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:award } } GROUP BY ?w } . FILTER ( ?o = 1 ) }
[]
ministry political territorial entity award
Q11897474 Q81466 Q1299116
SYSTEM
State Award for Public Information, Miguel de Cervantes Prize, Manfred Wörner Medal
Q11897474 Q81466 Q1299116 Q1702885 Q4974265 Q2883115 Q11796431 Q1145980
(c(Q618779),P1027,c(Q192350)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P1027
type Q618779
type Q192350
action find_tuple_counts
relation P1027
type Q618779
type Q1048835
value 1
[ANSWERS] are bestowed by approximately 1 ministries or political territories
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q192350'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?w WHERE { { ?w property:P1027 ?f . ?w rdf:type ontology:Q618779 . ?f rdf:type ontology:Q192350 } UNION { ?w property:P1027 ?f . ?f rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q618779 } } GROUP BY ?w } . FILTER ( ?o = 1 ) }
State Award for Public Information Miguel de Cervantes Prize Manfred Wörner Medal Medal for Merit to Culture Bronzen Adhemar Premio Nacional de Poesía Bene Merito Medal National Artist of Thailand
State Award for Public Information, Miguel de Cervantes Prize and Manfred Wörner Medal are bestowed by approximately 1 ministries or political territories
State Award for Public Information Miguel de Cervantes Prize Manfred Wörner Medal
action approx
action union
action find_tuple_counts
relation conferred by
type award
type ministry
action find_tuple_counts
relation conferred by
type award
type political territorial entity
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'ministry'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?w WHERE { { ?w property:conferred_by ?f . ?w rdf:type ontology:award . ?f rdf:type ontology:ministry } UNION { ?w property:conferred_by ?f . ?f rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:award } } GROUP BY ?w } . FILTER ( ?o = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11897474 Q81466 Q1299116
P1027
Q192350
USER
Which ministries confer those awards ?
(Q11897474,P1027,c(Q192350)) (Q81466,P1027,c(Q192350)) (Q1299116,P1027,c(Q192350))
action filter_type
action find
entity prev_answer
relation P1027
type Q192350
['Q11897474', 'P1027', {'concept': 'Q192350'}] ['Q81466', 'P1027', {'concept': 'Q192350'}] ['Q1299116', 'P1027', {'concept': 'Q192350'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q192350 . VALUES ( ?o ) { ( resource:Q11897474 ) ( resource:Q81466 ) ( resource:Q1299116 ) } . ?o property:P1027 ?m }
State Award for Public Information Miguel de Cervantes Prize Manfred Wörner Medal
action filter_type
action find
entity prev_answer
relation conferred by
type ministry
['State Award for Public Information', 'conferred by', {'concept': 'ministry'}] ['Miguel de Cervantes Prize', 'conferred by', {'concept': 'ministry'}] ['Manfred Wörner Medal', 'conferred by', {'concept': 'ministry'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:ministry . VALUES ( ?o ) { ( resource:State_Award_for_Public_Information ) ( resource:Miguel_de_Cervantes_Prize ) ( resource:Manfred_Wörner_Medal ) } . ?o property:conferred_by ?m }
[]
ministry
Q3315253 Q3113895 Q493353
SYSTEM
Ministry of Education and Culture, Ministry of Culture, Ministry of Defence of Germany
Q3315253 Q3113895 Q493353
(Q11897474,P1027,c(Q192350)) (Q81466,P1027,c(Q192350)) (Q1299116,P1027,c(Q192350))
action filter_type
action find
entity prev_answer
relation P1027
type Q192350
[ANSWERS] confer those awards
['Q11897474', 'P1027', {'concept': 'Q192350'}] ['Q81466', 'P1027', {'concept': 'Q192350'}] ['Q1299116', 'P1027', {'concept': 'Q192350'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q192350 . VALUES ( ?o ) { ( resource:Q11897474 ) ( resource:Q81466 ) ( resource:Q1299116 ) } . ?o property:P1027 ?m }
Ministry of Education and Culture Ministry of Culture Ministry of Defence of Germany
Ministry of Education and Culture, Ministry of Culture and Ministry of Defence of Germany confer those awards
Ministry of Education and Culture Ministry of Culture Ministry of Defence of Germany
action filter_type
action find
entity prev_answer
relation conferred by
type ministry
['State Award for Public Information', 'conferred by', {'concept': 'ministry'}] ['Miguel de Cervantes Prize', 'conferred by', {'concept': 'ministry'}] ['Manfred Wörner Medal', 'conferred by', {'concept': 'ministry'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:ministry . VALUES ( ?o ) { ( resource:State_Award_for_Public_Information ) ( resource:Miguel_de_Cervantes_Prize ) ( resource:Manfred_Wörner_Medal ) } . ?o property:conferred_by ?m }
[]