Simple Question (Direct)
Simple Question
Q1600377
P512
Q3412758
USER
What is the name of the degree held by Heinz Hoffmann ?
(Q1600377,P512,c(Q3412758))
action filter_type
action find
entity Q1600377
relation P512
type Q3412758
['Q1600377', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?o WHERE { resource:Q1600377 property:P512 ?o . ?o rdf:type ontology:Q3412758 }
Heinz Hoffmann
action filter_type
action find
entity Heinz Hoffmann
relation academic degree
type qualification
['Heinz Hoffmann', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?o WHERE { resource:Heinz_Hoffmann property:academic_degree ?o . ?o rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1600377,P512,c(Q3412758))
action filter_type
action find
entity Q1600377
relation P512
type Q3412758
The name of the degree held by Heinz Hoffmann is the [ANSWER]
['Q1600377', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?o WHERE { resource:Q1600377 property:P512 ?o . ?o rdf:type ontology:Q3412758 }
doctoral degree
The name of the degree held by Heinz Hoffmann is the doctoral degree
doctoral degree
action filter_type
action find
entity Heinz Hoffmann
relation academic degree
type qualification
['Heinz Hoffmann', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?o WHERE { resource:Heinz_Hoffmann property:academic_degree ?o . ?o rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1600377
P27
Q1048835
USER
Which political territory does Heinz Hoffmann belong to ?
(Q1600377,P27,c(Q1048835))
action filter_type
action find
entity Q1600377
relation P27
type Q1048835
['Q1600377', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1600377 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Heinz Hoffmann
action filter_type
action find
entity Heinz Hoffmann
relation country of citizenship
type political territorial entity
['Heinz Hoffmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heinz_Hoffmann property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1600377,P27,c(Q1048835))
action filter_type
action find
entity Q1600377
relation P27
type Q1048835
Heinz Hoffmann belongs to [ANSWER]
['Q1600377', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1600377 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Germany
Heinz Hoffmann belongs to Germany
Germany
action filter_type
action find
entity Heinz Hoffmann
relation country of citizenship
type political territorial entity
['Heinz Hoffmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heinz_Hoffmann property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24033844
Q1048835
USER
And how about Traudl Wallbrecher?
(Q24033844,P27,c(Q1048835))
action filter_type
action find
entity Q24033844
relation P27
type Q1048835
['Q24033844', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q24033844 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Traudl Wallbrecher
action filter_type
action find
entity Traudl Wallbrecher
relation country of citizenship
type political territorial entity
['Traudl Wallbrecher', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Traudl_Wallbrecher property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q24033844,P27,c(Q1048835))
action filter_type
action find
entity Q24033844
relation P27
type Q1048835
[ANSWER]
['Q24033844', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q24033844 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Traudl Wallbrecher
relation country of citizenship
type political territorial entity
['Traudl Wallbrecher', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Traudl_Wallbrecher property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories are known to have diplomatic connections with around 11 political territories ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 11
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?a ) WHERE { ?g rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 . ?u property:P530 ?g } GROUP BY ?u } . FILTER ( ?a = 11 ) }
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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?a ) WHERE { ?g rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity . ?u property:diplomatic_relation ?g } GROUP BY ?u } . FILTER ( ?a = 11 ) }
[]
political territorial entity political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 11
[ANSWER] is known to have diplomatic connections with around 11 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?a ) WHERE { ?g rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 . ?u property:P530 ?g } GROUP BY ?u } . FILTER ( ?a = 11 ) }
Australia
Australia is known to have diplomatic connections with around 11 political territories
Australia
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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?a ) WHERE { ?g rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity . ?u property:diplomatic_relation ?g } GROUP BY ?u } . FILTER ( ?a = 11 ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q408 Q22694460
P17
Q355304
USER
Is Vorderer Graben located in that political territory ?
(Q22694460,P17,Q408)
action is_in
entity Q22694460
action find
entity Q408
relation P17
['Q22694460', 'P17', 'Q408']
ASK WHERE { resource:Q408 property:P17 resource:Q22694460 }
Australia Vorderer Graben
action is_in
entity Vorderer Graben
action find
entity Australia
relation country
['Vorderer Graben', 'country', 'Australia']
ASK WHERE { resource:Australia property:country resource:Vorderer_Graben }
[]
watercourse
SYSTEM
NO
(Q22694460,P17,Q408)
action is_in
entity Q22694460
action find
entity Q408
relation P17
[ANSWER]
['Q22694460', 'P17', 'Q408']
ASK WHERE { resource:Q408 property:P17 resource:Q22694460 }
No
action is_in
entity Vorderer Graben
action find
entity Australia
relation country
['Vorderer Graben', 'country', 'Australia']
ASK WHERE { resource:Australia property:country resource:Vorderer_Graben }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1600377 Q642111
P19
Q15617994
USER
Is Schutzbach the place of birth of Heinz Hoffmann ?
(Q1600377,P19,Q642111)
action is_in
entity Q642111
action find
entity Q1600377
relation P19
['Q1600377', 'P19', 'Q642111']
ASK WHERE { resource:Q1600377 property:P19 resource:Q642111 }
Heinz Hoffmann Schutzbach
action is_in
entity Schutzbach
action find
entity Heinz Hoffmann
relation place of birth
['Heinz Hoffmann', 'place of birth', 'Schutzbach']
ASK WHERE { resource:Heinz_Hoffmann property:place_of_birth resource:Schutzbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1600377,P19,Q642111)
action is_in
entity Q642111
action find
entity Q1600377
relation P19
[ANSWER]
['Q1600377', 'P19', 'Q642111']
ASK WHERE { resource:Q1600377 property:P19 resource:Q642111 }
No
action is_in
entity Schutzbach
action find
entity Heinz Hoffmann
relation place of birth
['Heinz Hoffmann', 'place of birth', 'Schutzbach']
ASK WHERE { resource:Heinz_Hoffmann property:place_of_birth resource:Schutzbach }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relations with around the same number of political territories as Antigua and Barbuda ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?s ) WHERE { ?c property:P530 ?n . ?c rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q1048835 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Q781 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?s = ?k ) }
Antigua and Barbuda
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?s ) WHERE { ?c property:diplomatic_relation ?n . ?c rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?s = ?k ) }
[]
political territorial entity political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with around the same number of political territories as Antigua and Barbuda
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?s ) WHERE { ?c property:P530 ?n . ?c rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q1048835 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Q781 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?s = ?k ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand have diplomatic relations with around the same number of political territories as Antigua and Barbuda
Denmark Austria New Zealand
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?s ) WHERE { ?c property:diplomatic_relation ?n . ?c rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?s = ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q16
P530
Q1048835 Q1048835
USER
And what about Canada?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?s ) WHERE { ?u property:P530 ?k . ?u rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q1048835 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q16 property:P530 ?z . ?z rdf:type ontology:Q1048835 } } . FILTER ( ?s = ?x ) }
Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?s ) WHERE { ?u property:diplomatic_relation ?k . ?u rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Canada property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity } } . FILTER ( ?s = ?x ) }
[]
political territorial entity political territorial entity
Q183 Q35 Q16
SYSTEM
Germany, Denmark, Canada
Q40 Q183 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?s ) WHERE { ?u property:P530 ?k . ?u rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q1048835 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q16 property:P530 ?z . ?z rdf:type ontology:Q1048835 } } . FILTER ( ?s = ?x ) }
Austria Germany Denmark Canada New Zealand
Germany Denmark Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?s ) WHERE { ?u property:diplomatic_relation ?k . ?u rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Canada property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity } } . FILTER ( ?s = ?x ) }
[]