Simple Question (Direct)
Simple Question
Q97479
P166
Q618779
USER
What were received by Oswald Lutz ?
(Q97479,P166,c(Q618779))
action filter_type
action find
entity Q97479
relation P166
type Q618779
['Q97479', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q618779 . resource:Q97479 property:P166 ?j }
Oswald Lutz
action filter_type
action find
entity Oswald Lutz
relation award received
type award
['Oswald Lutz', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:award . resource:Oswald_Lutz property:award_received ?j }
[]
award
Q571115 Q684511
SYSTEM
Albert Order, Friedrich Order
Q571115 Q684511
(Q97479,P166,c(Q618779))
action filter_type
action find
entity Q97479
relation P166
type Q618779
[ANSWERS] were received by Oswald Lutz
['Q97479', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q618779 . resource:Q97479 property:P166 ?j }
Albert Order Friedrich Order
Albert Order and Friedrich Order were received by Oswald Lutz
Albert Order Friedrich Order
action filter_type
action find
entity Oswald Lutz
relation award received
type award
['Oswald Lutz', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:award . resource:Oswald_Lutz property:award_received ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q97479
P19
Q56061
USER
Which administrative territory is the place of birth of Oswald Lutz ?
(Q97479,P19,c(Q56061))
action filter_type
action find
entity Q97479
relation P19
type Q56061
['Q97479', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q97479 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Oswald Lutz
action filter_type
action find
entity Oswald Lutz
relation place of birth
type administrative territorial entity
['Oswald Lutz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Oswald_Lutz property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q294783
SYSTEM
Öhringen
Q294783
(Q97479,P19,c(Q56061))
action filter_type
action find
entity Q97479
relation P19
type Q56061
[ANSWER] is the place of birth of Oswald Lutz
['Q97479', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q97479 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Öhringen
Öhringen is the place of birth of Oswald Lutz
Öhringen
action filter_type
action find
entity Oswald Lutz
relation place of birth
type administrative territorial entity
['Oswald Lutz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Oswald_Lutz property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q97479
P106
Q12737077
USER
What does that person do for a living ?
(Q294783,P106,c(Q12737077))
action filter_type
action find
entity Q97479
relation P106
type Q12737077
['Q294783', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q97479 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Oswald Lutz
action filter_type
action find
entity Oswald Lutz
relation occupation
type occupation
['Öhringen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Oswald_Lutz property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q294783,P106,c(Q12737077))
action filter_type
action find
entity Q97479
relation P106
type Q12737077
That person does an [ANSWER] for a living
['Q294783', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q97479 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
officer
That person does an officer for a living
officer
action filter_type
action find
entity Oswald Lutz
relation occupation
type occupation
['Öhringen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Oswald_Lutz property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q16043741 Q97479
P106
Q12737077
USER
Or Sir Edward Holden, 1st Baronet?
OR((Q97479,P106,c(Q12737077)), (Q16043741,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q97479
relation P106
action find
entity Q16043741
relation P106
type Q12737077
{'OR': [['Q97479', 'P106', {'concept': 'Q12737077'}], ['Q16043741', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?p ) { ( resource:Q97479 ) ( resource:Q16043741 ) } . ?p property:P106 ?f } . ?f rdf:type ontology:Q12737077 }
Sir Edward Holden, 1st Baronet Oswald Lutz
action filter_type
action union
action find
entity Oswald Lutz
relation occupation
action find
entity Sir Edward Holden, 1st Baronet
relation occupation
type occupation
{'OR': [['Oswald Lutz', 'occupation', {'concept': 'occupation'}], ['Sir Edward Holden, 1st Baronet', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?p ) { ( resource:Oswald_Lutz ) ( resource:Sir_Edward_Holden,_1st_Baronet ) } . ?p property:occupation ?f } . ?f rdf:type ontology:occupation }
[]
occupation
Q82955 Q806798 Q189290
SYSTEM
politician, banker, officer
Q82955 Q806798 Q189290
OR((Q97479,P106,c(Q12737077)), (Q16043741,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q97479
relation P106
action find
entity Q16043741
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q97479', 'P106', {'concept': 'Q12737077'}], ['Q16043741', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?p ) { ( resource:Q97479 ) ( resource:Q16043741 ) } . ?p property:P106 ?f } . ?f rdf:type ontology:Q12737077 }
politician banker officer
politician banker officer
action filter_type
action union
action find
entity Oswald Lutz
relation occupation
action find
entity Sir Edward Holden, 1st Baronet
relation occupation
type occupation
{'OR': [['Oswald Lutz', 'occupation', {'concept': 'occupation'}], ['Sir Edward Holden, 1st Baronet', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?p ) { ( resource:Oswald_Lutz ) ( resource:Sir_Edward_Holden,_1st_Baronet ) } . ?p property:occupation ?f } . ?f rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q21033957 Q97479
P27
Q1048835
USER
Which political territories are Oswald Lutz and Winfried Tonner an inhabitant of ?
AND((Q97479,P27,c(Q1048835)), (Q21033957,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q97479
relation P27
action find
entity Q21033957
relation P27
type Q1048835
{'AND': [['Q97479', 'P27', {'concept': 'Q1048835'}], ['Q21033957', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { resource:Q97479 property:P27 ?z . resource:Q21033957 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Winfried Tonner Oswald Lutz
action filter_type
action intersection
action find
entity Oswald Lutz
relation country of citizenship
action find
entity Winfried Tonner
relation country of citizenship
type political territorial entity
{'AND': [['Oswald Lutz', 'country of citizenship', {'concept': 'political territorial entity'}], ['Winfried Tonner', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:Oswald_Lutz property:country_of_citizenship ?z . resource:Winfried_Tonner property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q97479,P27,c(Q1048835)), (Q21033957,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q97479
relation P27
action find
entity Q21033957
relation P27
type Q1048835
[ANSWER] is Oswald Lutz and Winfried Tonner an inhabitant of
{'AND': [['Q97479', 'P27', {'concept': 'Q1048835'}], ['Q21033957', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { resource:Q97479 property:P27 ?z . resource:Q21033957 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Germany is Oswald Lutz and Winfried Tonner an inhabitant of
Germany
action filter_type
action intersection
action find
entity Oswald Lutz
relation country of citizenship
action find
entity Winfried Tonner
relation country of citizenship
type political territorial entity
{'AND': [['Oswald Lutz', 'country of citizenship', {'concept': 'political territorial entity'}], ['Winfried Tonner', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:Oswald_Lutz property:country_of_citizenship ?z . resource:Winfried_Tonner property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q1049 Q983
P530
Q15617994
USER
Does that political territory have diplomatic associations with Sudan and Equatorial Guinea ?
(Q183,P530,Q1049) (Q183,P530,Q983)
action is_in
entity Q183
action intersection
action find_reverse
entity Q1049
relation P530
action find_reverse
entity Q983
relation P530
['Q183', 'P530', 'Q1049'] ['Q183', 'P530', 'Q983']
ASK WHERE { resource:Q183 property:P530 resource:Q1049 . resource:Q183 property:P530 resource:Q983 }
Germany Sudan Equatorial Guinea
action is_in
entity Germany
action intersection
action find_reverse
entity Sudan
relation diplomatic relation
action find_reverse
entity Equatorial Guinea
relation diplomatic relation
['Germany', 'diplomatic relation', 'Sudan'] ['Germany', 'diplomatic relation', 'Equatorial Guinea']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Sudan . resource:Germany property:diplomatic_relation resource:Equatorial_Guinea }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q1049) (Q183,P530,Q983)
action is_in
entity Q183
action intersection
action find_reverse
entity Q1049
relation P530
action find_reverse
entity Q983
relation P530
[ANSWER]
['Q183', 'P530', 'Q1049'] ['Q183', 'P530', 'Q983']
ASK WHERE { resource:Q183 property:P530 resource:Q1049 . resource:Q183 property:P530 resource:Q983 }
Yes
action is_in
entity Germany
action intersection
action find_reverse
entity Sudan
relation diplomatic relation
action find_reverse
entity Equatorial Guinea
relation diplomatic relation
['Germany', 'diplomatic relation', 'Sudan'] ['Germany', 'diplomatic relation', 'Equatorial Guinea']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Sudan . resource:Germany property:diplomatic_relation resource:Equatorial_Guinea }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relations with around 11 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 11
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?u ) WHERE { ?z property:P530 ?w . ?z rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q1048835 } GROUP BY ?z } . FILTER ( ?u = 11 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 11
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?u ) WHERE { ?z property:diplomatic_relation ?w . ?z rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?z } . FILTER ( ?u = 11 ) }
[]
political territorial entity political territorial entity
SYSTEM
1
Q408
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 11
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?u ) WHERE { ?z property:P530 ?w . ?z rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q1048835 } GROUP BY ?z } . FILTER ( ?u = 11 ) }
Australia
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 11
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?u ) WHERE { ?z property:diplomatic_relation ?w . ?z rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?z } . FILTER ( ?u = 11 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories holds diplomatic relationship with around 5 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 5
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?q ) WHERE { ?y property:P530 ?i . ?y rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?q = 5 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 5
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?q ) WHERE { ?y property:diplomatic_relation ?i . ?y rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?q = 5 ) }
[]
political territorial entity political territorial entity
SYSTEM
4
Q183 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 5
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?q ) WHERE { ?y property:P530 ?i . ?y rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?q = 5 ) }
Germany Denmark Canada New Zealand
4
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 5
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?q ) WHERE { ?y property:diplomatic_relation ?i . ?y rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?q = 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P194
Q11204
USER
Which legislature represents Germany ?
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P194 ?r . ?r rdf:type ontology:Q11204 }
Germany
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:legislative_body ?r . ?r rdf:type ontology:legislature }
[]
legislature
Q146138
SYSTEM
Bundesrat
Q146138
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
[ANSWER] represents Germany
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P194 ?r . ?r rdf:type ontology:Q11204 }
Bundesrat
Bundesrat represents Germany
Bundesrat
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:legislative_body ?r . ?r rdf:type ontology:legislature }
[]