Simple Question (Direct)
Simple Question
Q439445
P264
Q334453
USER
Which division is the record brand of Mike Bordin ?
(Q439445,P264,c(Q334453))
action filter_type
action find
entity Q439445
relation P264
type Q334453
['Q439445', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { resource:Q439445 property:P264 ?y . ?y rdf:type ontology:Q334453 }
Mike Bordin
action filter_type
action find
entity Mike Bordin
relation record label
type division
['Mike Bordin', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { resource:Mike_Bordin property:record_label ?y . ?y rdf:type ontology:division }
[]
division
Q2606741
SYSTEM
Slash Records
Q2606741
(Q439445,P264,c(Q334453))
action filter_type
action find
entity Q439445
relation P264
type Q334453
The [ANSWER] is the record brand of Mike Bordin
['Q439445', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { resource:Q439445 property:P264 ?y . ?y rdf:type ontology:Q334453 }
Slash Records
The Slash Records is the record brand of Mike Bordin
Slash Records
action filter_type
action find
entity Mike Bordin
relation record label
type division
['Mike Bordin', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { resource:Mike_Bordin property:record_label ?y . ?y rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q439445
P1303
Q34379
USER
Which musical instrument can Mike Bordin perform with ?
(Q439445,P1303,c(Q34379))
action filter_type
action find
entity Q439445
relation P1303
type Q34379
['Q439445', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { resource:Q439445 property:P1303 ?q . ?q rdf:type ontology:Q34379 }
Mike Bordin
action filter_type
action find
entity Mike Bordin
relation instrument
type musical instrument
['Mike Bordin', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { resource:Mike_Bordin property:instrument ?q . ?q rdf:type ontology:musical_instrument }
[]
musical instrument
Q128309
SYSTEM
drum kit
Q128309
(Q439445,P1303,c(Q34379))
action filter_type
action find
entity Q439445
relation P1303
type Q34379
Mike Bordin can perform a [ANSWER]
['Q439445', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { resource:Q439445 property:P1303 ?q . ?q rdf:type ontology:Q34379 }
drum kit
Mike Bordin can perform a drum kit
drum kit
action filter_type
action find
entity Mike Bordin
relation instrument
type musical instrument
['Mike Bordin', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { resource:Mike_Bordin property:instrument ?q . ?q rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q439445
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q128309,P19,c(Q56061))
action filter_type
action find
entity Q439445
relation P19
type Q56061
['Q128309', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q439445 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Mike Bordin
action filter_type
action find
entity Mike Bordin
relation place of birth
type administrative territorial entity
['drum kit', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Mike_Bordin property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q62
SYSTEM
San Francisco
Q62
(Q128309,P19,c(Q56061))
action filter_type
action find
entity Q439445
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q128309', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q439445 property:P19 ?c . ?c rdf:type ontology:Q56061 }
San Francisco
San Francisco is the birthplace of that person
San Francisco
action filter_type
action find
entity Mike Bordin
relation place of birth
type administrative territorial entity
['drum kit', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Mike_Bordin property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q56061 Q2221906
USER
How many administrative territories or geographic locations share the border with that administrative territory ?
(Q62,P47,c(Q56061)) (Q62,P47,c(Q2221906)) (Q62,P47,c(Q56061)) (Q62,P47,c(Q2221906))
action count
action union
action filter_type
action find
entity Q62
relation P47
type Q56061
action filter_type
action find
entity Q62
relation P47
type Q2221906
['Q62', 'P47', {'concept': 'Q56061'}] ['Q62', 'P47', {'concept': 'Q2221906'}] ['Q62', 'P47', {'concept': 'Q56061'}] ['Q62', 'P47', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2221906 ) ( ontology:Q56061 ) } }
action count
action union
action filter_type
action find
entity San Francisco
relation shares border with
type administrative territorial entity
action filter_type
action find
entity San Francisco
relation shares border with
type geographic location
['San Francisco', 'shares border with', {'concept': 'administrative territorial entity'}] ['San Francisco', 'shares border with', {'concept': 'geographic location'}] ['San Francisco', 'shares border with', {'concept': 'administrative territorial entity'}] ['San Francisco', 'shares border with', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:geographic_location ) ( ontology:administrative_territorial_entity ) } }
[]
administrative territorial entity geographic location
SYSTEM
5
Q490744 Q917671 Q828729 Q495377 Q488627
(Q62,P47,c(Q56061)) (Q62,P47,c(Q2221906)) (Q62,P47,c(Q56061)) (Q62,P47,c(Q2221906))
action count
action union
action filter_type
action find
entity Q62
relation P47
type Q56061
action filter_type
action find
entity Q62
relation P47
type Q2221906
[ANSWER]
['Q62', 'P47', {'concept': 'Q56061'}] ['Q62', 'P47', {'concept': 'Q2221906'}] ['Q62', 'P47', {'concept': 'Q56061'}] ['Q62', 'P47', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2221906 ) ( ontology:Q56061 ) } }
Alameda Brisbane Sausalito Richmond Marin Headlands
5
action count
action union
action filter_type
action find
entity San Francisco
relation shares border with
type administrative territorial entity
action filter_type
action find
entity San Francisco
relation shares border with
type geographic location
['San Francisco', 'shares border with', {'concept': 'administrative territorial entity'}] ['San Francisco', 'shares border with', {'concept': 'geographic location'}] ['San Francisco', 'shares border with', {'concept': 'administrative territorial entity'}] ['San Francisco', 'shares border with', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:geographic_location ) ( ontology:administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17056625
P106
Q12737077
USER
Which occupation is the profession of Julian Tan Kok Ping ?
(Q17056625,P106,c(Q12737077))
action filter_type
action find
entity Q17056625
relation P106
type Q12737077
['Q17056625', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q17056625 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Julian Tan Kok Ping
action filter_type
action find
entity Julian Tan Kok Ping
relation occupation
type occupation
['Julian Tan Kok Ping', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Julian_Tan_Kok_Ping property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q17056625,P106,c(Q12737077))
action filter_type
action find
entity Q17056625
relation P106
type Q12737077
So [ANSWER] is the profession of Julian Tan Kok Ping
['Q17056625', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q17056625 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
politician
So politician is the profession of Julian Tan Kok Ping
politician
action filter_type
action find
entity Julian Tan Kok Ping
relation occupation
type occupation
['Julian Tan Kok Ping', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Julian_Tan_Kok_Ping property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17056625
P27
Q15617994
USER
Which administrative territory does Julian Tan Kok Ping belong to ?
(Q17056625,P27,c(Q15617994))
action filter_type
action find
entity Q17056625
relation P27
type Q15617994
['Q17056625', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q17056625 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Julian Tan Kok Ping
action filter_type
action find
entity Julian Tan Kok Ping
relation country of citizenship
type designation for an administrative territorial entity
['Julian Tan Kok Ping', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Julian_Tan_Kok_Ping property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833
SYSTEM
Malaysia
Q833
(Q17056625,P27,c(Q15617994))
action filter_type
action find
entity Q17056625
relation P27
type Q15617994
Julian Tan Kok Ping belongs to [ANSWER]
['Q17056625', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q17056625 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Malaysia
Julian Tan Kok Ping belongs to Malaysia
Malaysia
action filter_type
action find
entity Julian Tan Kok Ping
relation country of citizenship
type designation for an administrative territorial entity
['Julian Tan Kok Ping', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Julian_Tan_Kok_Ping property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4254311
Q15617994
USER
And what about Lato Lapsa?
(Q4254311,P27,c(Q15617994))
action filter_type
action find
entity Q4254311
relation P27
type Q15617994
['Q4254311', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q4254311 property:P27 ?k }
Lato Lapsa
action filter_type
action find
entity Lato Lapsa
relation country of citizenship
type designation for an administrative territorial entity
['Lato Lapsa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lato_Lapsa property:country_of_citizenship ?k }
[]
designation for an administrative territorial entity
Q211
SYSTEM
Latvia
Q211
(Q4254311,P27,c(Q15617994))
action filter_type
action find
entity Q4254311
relation P27
type Q15617994
[ANSWER]
['Q4254311', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q4254311 property:P27 ?k }
Latvia
Latvia
action filter_type
action find
entity Lato Lapsa
relation country of citizenship
type designation for an administrative territorial entity
['Lato Lapsa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lato_Lapsa property:country_of_citizenship ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q211 Q6052294 Q81299
P463
Q484652
USER
Is that administrative territory a member of International Pacific Halibut Commission and Organization for Security and Co-operation in Europe ?
(Q211,P463,Q6052294) (Q211,P463,Q81299)
action is_in
entity Q211
action intersection
action find_reverse
entity Q6052294
relation P463
action find_reverse
entity Q81299
relation P463
['Q211', 'P463', 'Q6052294'] ['Q211', 'P463', 'Q81299']
ASK WHERE { resource:Q211 property:P463 resource:Q6052294 . resource:Q211 property:P463 resource:Q81299 }
Latvia International Pacific Halibut Commission Organization for Security and Co-operation in Europe
action is_in
entity Latvia
action intersection
action find_reverse
entity International Pacific Halibut Commission
relation member of
action find_reverse
entity Organization for Security and Co-operation in Europe
relation member of
['Latvia', 'member of', 'International Pacific Halibut Commission'] ['Latvia', 'member of', 'Organization for Security and Co-operation in Europe']
ASK WHERE { resource:Latvia property:member_of resource:International_Pacific_Halibut_Commission . resource:Latvia property:member_of resource:Organization_for_Security_and_Co-operation_in_Europe }
[]
international organization
SYSTEM
NO and YES respectively
(Q211,P463,Q6052294) (Q211,P463,Q81299)
action is_in
entity Q211
action intersection
action find_reverse
entity Q6052294
relation P463
action find_reverse
entity Q81299
relation P463
[ANSWER]
['Q211', 'P463', 'Q6052294'] ['Q211', 'P463', 'Q81299']
ASK WHERE { resource:Q211 property:P463 resource:Q6052294 . resource:Q211 property:P463 resource:Q81299 }
NO and YES respectively
action is_in
entity Latvia
action intersection
action find_reverse
entity International Pacific Halibut Commission
relation member of
action find_reverse
entity Organization for Security and Co-operation in Europe
relation member of
['Latvia', 'member of', 'International Pacific Halibut Commission'] ['Latvia', 'member of', 'Organization for Security and Co-operation in Europe']
ASK WHERE { resource:Latvia property:member_of resource:International_Pacific_Halibut_Commission . resource:Latvia property:member_of resource:Organization_for_Security_and_Co-operation_in_Europe }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q778
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with around the same number of administrative territories as The Bahamas ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?f ) WHERE { ?x property:P530 ?h . ?x rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q778 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?f = ?r ) }
The Bahamas
action approx
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 The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?f ) WHERE { ?x property:diplomatic_relation ?h . ?x rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:The_Bahamas property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?f = ?r ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWERS] have tactful political relations with around the same number of administrative territories as The Bahamas
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?f ) WHERE { ?x property:P530 ?h . ?x rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q778 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?f = ?r ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have tactful political relations with around the same number of administrative territories as The Bahamas
Denmark Canada Austria
action approx
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 The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?f ) WHERE { ?x property:diplomatic_relation ?h . ?x rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:The_Bahamas property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?f = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q766
P530
Q15617994 Q1048835
USER
And how about Jamaica?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?v ) WHERE { ?z property:P530 ?b . ?z rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q766 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?v = ?g ) }
Jamaica
action approx
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 Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?v ) WHERE { ?z property:diplomatic_relation ?b . ?z rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Jamaica property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?v = ?g ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?v ) WHERE { ?z property:P530 ?b . ?z rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q766 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?v = ?g ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark Canada Austria
action approx
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 Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?v ) WHERE { ?z property:diplomatic_relation ?b . ?z rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Jamaica property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?v = ?g ) }
[]