Simple Question (Direct)
Simple Question
Q1223478
P39
Q12737077
USER
Which occupations were the positions occupied by Dietmar Matterne ?
(Q1223478,P39,c(Q12737077))
action filter_type
action find
entity Q1223478
relation P39
type Q12737077
['Q1223478', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1223478 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Dietmar Matterne
action filter_type
action find
entity Dietmar Matterne
relation position held
type occupation
['Dietmar Matterne', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Dietmar_Matterne property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q18557729 Q1939555
SYSTEM
member of the Volkskammer, member of the German Bundestag
Q18557729 Q1939555
(Q1223478,P39,c(Q12737077))
action filter_type
action find
entity Q1223478
relation P39
type Q12737077
[ANSWERS] were the positions occupied by Dietmar Matterne
['Q1223478', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1223478 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
member of the Volkskammer member of the German Bundestag
Member of the Volkskammer and member of the German Bundestag were the positions occupied by Dietmar Matterne
member of the Volkskammer member of the German Bundestag
action filter_type
action find
entity Dietmar Matterne
relation position held
type occupation
['Dietmar Matterne', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Dietmar_Matterne property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1223478
P937
Q56061
USER
Which administrative territory is the work location of Dietmar Matterne ?
(Q1223478,P937,c(Q56061))
action filter_type
action find
entity Q1223478
relation P937
type Q56061
['Q1223478', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1223478 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Dietmar Matterne
action filter_type
action find
entity Dietmar Matterne
relation work location
type administrative territorial entity
['Dietmar Matterne', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Dietmar_Matterne property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q1223478,P937,c(Q56061))
action filter_type
action find
entity Q1223478
relation P937
type Q56061
[ANSWER] is the work location of Dietmar Matterne
['Q1223478', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1223478 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Bonn
Bonn is the work location of Dietmar Matterne
Bonn
action filter_type
action find
entity Dietmar Matterne
relation work location
type administrative territorial entity
['Dietmar Matterne', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Dietmar_Matterne property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q586 Q11490354
P937
Q502895
USER
Does Etsuko Tokunaga have that administrative territory as work location ?
(Q11490354,P937,Q586)
action is_in
entity Q11490354
action find
entity Q586
relation P937
['Q11490354', 'P937', 'Q586']
ASK WHERE { resource:Q586 property:P937 resource:Q11490354 }
Bonn Etsuko Tokunaga
action is_in
entity Etsuko Tokunaga
action find
entity Bonn
relation work location
['Etsuko Tokunaga', 'work location', 'Bonn']
ASK WHERE { resource:Bonn property:work_location resource:Etsuko_Tokunaga }
[]
common name
SYSTEM
NO
(Q11490354,P937,Q586)
action is_in
entity Q11490354
action find
entity Q586
relation P937
[ANSWER]
['Q11490354', 'P937', 'Q586']
ASK WHERE { resource:Q586 property:P937 resource:Q11490354 }
No
action is_in
entity Etsuko Tokunaga
action find
entity Bonn
relation work location
['Etsuko Tokunaga', 'work location', 'Bonn']
ASK WHERE { resource:Bonn property:work_location resource:Etsuko_Tokunaga }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have around 3 administrative territories as their registry harbour ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?j ) WHERE { ?z property:P532 ?x . ?z rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 } GROUP BY ?z } . FILTER ( ?j = 3 ) }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?j ) WHERE { ?z property:port_of_registry ?x . ?z rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?j = 3 ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER] have around 3 administrative territories as their registry harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?j ) WHERE { ?z property:P532 ?x . ?z rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 } GROUP BY ?z } . FILTER ( ?j = 3 ) }
MS Arrow
MS Arrow have around 3 administrative territories as their registry harbour
MS Arrow
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?j ) WHERE { ?z property:port_of_registry ?x . ?z rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?j = 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P532
Q56061
USER
How many administrative territories have that ship type as their port of registry ?
(Q11707059,P532,c(Q56061))
action count
action filter_type
action find
entity Q11707059
relation P532
type Q56061
['Q11707059', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q11707059 property:P532 ?u . ?u rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity MS Arrow
relation port of registry
type administrative territorial entity
['MS Arrow', 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:MS_Arrow property:port_of_registry ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
Q1770 Q23800 Q18569
(Q11707059,P532,c(Q56061))
action count
action filter_type
action find
entity Q11707059
relation P532
type Q56061
[ANSWER]
['Q11707059', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q11707059 property:P532 ?u . ?u rdf:type ontology:Q56061 }
Tallinn Valletta Douglas
3
action count
action filter_type
action find
entity MS Arrow
relation port of registry
type administrative territorial entity
['MS Arrow', 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:MS_Arrow property:port_of_registry ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11707059
P127
Q43229
USER
Who owns MS Arrow ?
(Q11707059,P127,c(Q43229))
action filter_type
action find
entity Q11707059
relation P127
type Q43229
['Q11707059', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q11707059 property:P127 ?m . ?m rdf:type ontology:Q43229 }
MS Arrow
action filter_type
action find
entity MS Arrow
relation owned by
type organization
['MS Arrow', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:MS_Arrow property:owned_by ?m . ?m rdf:type ontology:organization }
[]
organization
Q7442038
SYSTEM
Seatruck Ferries
Q7442038
(Q11707059,P127,c(Q43229))
action filter_type
action find
entity Q11707059
relation P127
type Q43229
[ANSWER] owns MS Arrow
['Q11707059', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q11707059 property:P127 ?m . ?m rdf:type ontology:Q43229 }
Seatruck Ferries
Seatruck Ferries owns MS Arrow
Seatruck Ferries
action filter_type
action find
entity MS Arrow
relation owned by
type organization
['MS Arrow', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:MS_Arrow property:owned_by ?m . ?m rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q586
P36
Q56061
USER
Which administrative territory has Bonn as its administrative centre ?
(c(Q56061),P36,Q586)
action filter_type
action find_reverse
entity Q586
relation P36
type Q56061
[{'concept': 'Q56061'}, 'P36', 'Q586']
SELECT DISTINCT ?r WHERE { ?r property:P36 resource:Q586 . ?r rdf:type ontology:Q56061 }
Bonn
action filter_type
action find_reverse
entity Bonn
relation capital
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital', 'Bonn']
SELECT DISTINCT ?r WHERE { ?r property:capital resource:Bonn . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q19259655
SYSTEM
arrondissement of Bonn
Q19259655
(c(Q56061),P36,Q586)
action filter_type
action find_reverse
entity Q586
relation P36
type Q56061
[ANSWER] has Bonn as its administrative centre
[{'concept': 'Q56061'}, 'P36', 'Q586']
SELECT DISTINCT ?r WHERE { ?r property:P36 resource:Q586 . ?r rdf:type ontology:Q56061 }
arrondissement of Bonn
Arrondissement of Bonn has Bonn as its administrative centre
arrondissement of Bonn
action filter_type
action find_reverse
entity Bonn
relation capital
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital', 'Bonn']
SELECT DISTINCT ?r WHERE { ?r property:capital resource:Bonn . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19259655
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q19259655,P17,c(Q15617994))
action filter_type
action find
entity Q19259655
relation P17
type Q15617994
['Q19259655', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q19259655 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
arrondissement of Bonn
action filter_type
action find
entity arrondissement of Bonn
relation country
type designation for an administrative territorial entity
['arrondissement of Bonn', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:arrondissement_of_Bonn property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q19259655,P17,c(Q15617994))
action filter_type
action find
entity Q19259655
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q19259655', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q19259655 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
France
That administrative territory is located in France
France
action filter_type
action find
entity arrondissement of Bonn
relation country
type designation for an administrative territorial entity
['arrondissement of Bonn', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:arrondissement_of_Bonn property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q9166112
P27
Q502895
USER
Is Bartosz Dziedzic a civilian of that administrative territory ?
(Q9166112,P27,Q142)
action is_in
entity Q9166112
action find
entity Q142
relation P27
['Q9166112', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q9166112 }
France Bartosz Dziedzic
action is_in
entity Bartosz Dziedzic
action find
entity France
relation country of citizenship
['Bartosz Dziedzic', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Bartosz_Dziedzic }
[]
common name
SYSTEM
NO
(Q9166112,P27,Q142)
action is_in
entity Q9166112
action find
entity Q142
relation P27
[ANSWER]
['Q9166112', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q9166112 }
No
action is_in
entity Bartosz Dziedzic
action find
entity France
relation country of citizenship
['Bartosz Dziedzic', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Bartosz_Dziedzic }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q781
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with more number of administrative territories than Antigua and Barbuda ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?f ) WHERE { ?h property:P530 ?k . ?h rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q781 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } }
Antigua and Barbuda
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?f ) WHERE { ?h property:diplomatic_relation ?k . ?h rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
7
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?f ) WHERE { ?h property:P530 ?k . ?h rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q781 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
7
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?f ) WHERE { ?h property:diplomatic_relation ?k . ?h rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q35
P530
Q1048835 Q15617994
USER
And also tell me about Denmark?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?j ) WHERE { ?w rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 . ?w property:P530 ?l } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:Q1048835 . resource:Q35 property:P530 ?u } } . FILTER ( ?j > ?x ) }
Denmark
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?j ) WHERE { ?w rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?l } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Denmark property:diplomatic_relation ?u } } . FILTER ( ?j > ?x ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q40 Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?j ) WHERE { ?w rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 . ?w property:P530 ?l } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:Q1048835 . resource:Q35 property:P530 ?u } } . FILTER ( ?j > ?x ) }
Austria Germany Australia Canada
4
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?j ) WHERE { ?w rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?l } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Denmark property:diplomatic_relation ?u } } . FILTER ( ?j > ?x ) }
[]