Simple Question (Direct)
Simple Question
Q7143601
P735
Q82799
USER
What is forename of Pat Jones ?
(Q7143601,P735,c(Q82799))
action filter_type
action find
entity Q7143601
relation P735
type Q82799
['Q7143601', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q7143601 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Pat Jones
action filter_type
action find
entity Pat Jones
relation given name
type name
['Pat Jones', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Pat_Jones property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q19801119
SYSTEM
Pat
Q19801119
(Q7143601,P735,c(Q82799))
action filter_type
action find
entity Q7143601
relation P735
type Q82799
Forename of [ANSWER] Jones is the [ANSWER]
['Q7143601', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q7143601 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Pat
Forename of Pat Jones is the Pat
Pat
action filter_type
action find
entity Pat Jones
relation given name
type name
['Pat Jones', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Pat_Jones property:given_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7143601
P106
Q12737077
USER
Which occupation is the profession of Pat Jones ?
(Q7143601,P106,c(Q12737077))
action filter_type
action find
entity Q7143601
relation P106
type Q12737077
['Q7143601', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q7143601 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Pat Jones
action filter_type
action find
entity Pat Jones
relation occupation
type occupation
['Pat Jones', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Pat_Jones property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7143601,P106,c(Q12737077))
action filter_type
action find
entity Q7143601
relation P106
type Q12737077
Player [ANSWER] is the profession of Pat Jones
['Q7143601', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q7143601 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Pat Jones
association football player
action filter_type
action find
entity Pat Jones
relation occupation
type occupation
['Pat Jones', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Pat_Jones property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7143601
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q7143601
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q7143601 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Pat Jones
action filter_type
action find
entity Pat Jones
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Pat_Jones property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q7143601
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q7143601 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person a civilian of
United Kingdom
action filter_type
action find
entity Pat Jones
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Pat_Jones property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?w ) WHERE { ?i property:P530 ?h . ?i rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?w = 1 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?w ) WHERE { ?i property:diplomatic_relation ?h . ?i rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?w = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
Q1000 Q769 Q778
SYSTEM
Gabon, Grenada, The Bahamas
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWERS] have a diplomatic relationship with exactly 1 administrative territory
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?w ) WHERE { ?i property:P530 ?h . ?i rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?w = 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada
Gabon, Grenada and The Bahamas have a diplomatic relationship with exactly 1 administrative territory
Gabon Grenada The Bahamas
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?w ) WHERE { ?i property:diplomatic_relation ?h . ?i rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?w = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q550848
P530
Q15617994
USER
Do Stößen have diplomatic relations with those political territories ?
(Q550848,P530,Q1000) (Q550848,P530,Q769) (Q550848,P530,Q778)
action is_in
entity prev_answer
action find
entity Q550848
relation P530
['Q550848', 'P530', 'Q1000'] ['Q550848', 'P530', 'Q769'] ['Q550848', 'P530', 'Q778']
ASK WHERE { resource:Q550848 property:P530 ?u . VALUES ( ?u ) { ( resource:Q1000 ) ( resource:Q781 ) ( resource:Q778 ) } }
Stößen
action is_in
entity prev_answer
action find
entity Stößen
relation diplomatic relation
['Stößen', 'diplomatic relation', 'Gabon'] ['Stößen', 'diplomatic relation', 'Grenada'] ['Stößen', 'diplomatic relation', 'The Bahamas']
ASK WHERE { resource:Stößen property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Gabon ) ( resource:Antigua_and_Barbuda ) ( resource:The_Bahamas ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q550848,P530,Q1000) (Q550848,P530,Q769) (Q550848,P530,Q778)
action is_in
entity prev_answer
action find
entity Q550848
relation P530
[ANSWER]
['Q550848', 'P530', 'Q1000'] ['Q550848', 'P530', 'Q769'] ['Q550848', 'P530', 'Q778']
ASK WHERE { resource:Q550848 property:P530 ?u . VALUES ( ?u ) { ( resource:Q1000 ) ( resource:Q781 ) ( resource:Q778 ) } }
No
action is_in
entity prev_answer
action find
entity Stößen
relation diplomatic relation
['Stößen', 'diplomatic relation', 'Gabon'] ['Stößen', 'diplomatic relation', 'Grenada'] ['Stößen', 'diplomatic relation', 'The Bahamas']
ASK WHERE { resource:Stößen property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Gabon ) ( resource:Antigua_and_Barbuda ) ( resource:The_Bahamas ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P137
Q3084961
USER
Which product linings are the administrator of United Kingdom ?
(c(Q3084961),P137,Q145)
action filter_type
action find_reverse
entity Q145
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q145']
SELECT DISTINCT ?c WHERE { ?c property:P137 resource:Q145 . ?c rdf:type ontology:Q3084961 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'United Kingdom']
SELECT DISTINCT ?c WHERE { ?c property:operator resource:United_Kingdom . ?c rdf:type ontology:product_lining }
[]
product lining
Q933767 Q313740 Q151384
SYSTEM
Hawk 75, Alpha Jet, Typhoon
Q151384 Q313740 Q4937129 Q933767
(c(Q3084961),P137,Q145)
action filter_type
action find_reverse
entity Q145
relation P137
type Q3084961
[ANSWERS] are the administrator of United Kingdom
[{'concept': 'Q3084961'}, 'P137', 'Q145']
SELECT DISTINCT ?c WHERE { ?c property:P137 resource:Q145 . ?c rdf:type ontology:Q3084961 }
Typhoon Alpha Jet Chinook Hawk 75
Hawk 75, Alpha Jet and Typhoon are the administrator of United Kingdom
Hawk 75 Alpha Jet Typhoon
action filter_type
action find_reverse
entity United Kingdom
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'United Kingdom']
SELECT DISTINCT ?c WHERE { ?c property:operator resource:United_Kingdom . ?c rdf:type ontology:product_lining }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P706
Q271669
USER
Which are the landforms in which United Kingdom are located on ?
(Q145,P706,c(Q271669))
action filter_type
action find
entity Q145
relation P706
type Q271669
['Q145', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q271669 . resource:Q145 property:P706 ?i }
United Kingdom
action filter_type
action find
entity United Kingdom
relation located on terrain feature
type landform
['United Kingdom', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:landform . resource:United_Kingdom property:located_on_terrain_feature ?i }
[]
landform
Q23666 Q22890
SYSTEM
Great Britain, Ireland
Q23666 Q22890
(Q145,P706,c(Q271669))
action filter_type
action find
entity Q145
relation P706
type Q271669
And [ANSWERS]
['Q145', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q271669 . resource:Q145 property:P706 ?i }
Great Britain Ireland
And Great Britain and Ireland
Great Britain Ireland
action filter_type
action find
entity United Kingdom
relation located on terrain feature
type landform
['United Kingdom', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:landform . resource:United_Kingdom property:located_on_terrain_feature ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1433
Q2342494
USER
Which collectable was published in United Kingdom ?
(c(Q2342494),P1433,Q145)
action filter_type
action find_reverse
entity Q145
relation P1433
type Q2342494
[{'concept': 'Q2342494'}, 'P1433', 'Q145']
SELECT DISTINCT ?z WHERE { ?z property:P1433 resource:Q145 . ?z rdf:type ontology:Q2342494 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation published in
type collectable
[{'concept': 'collectable'}, 'published in', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:published_in resource:United_Kingdom . ?z rdf:type ontology:collectable }
[]
collectable
Q27514793
SYSTEM
Who Was Who in Egyptology (3rd Edition)
Q27514793
(c(Q2342494),P1433,Q145)
action filter_type
action find_reverse
entity Q145
relation P1433
type Q2342494
Who was Who in Egyptology (3rd Edition) was published in United Kingdom
[{'concept': 'Q2342494'}, 'P1433', 'Q145']
SELECT DISTINCT ?z WHERE { ?z property:P1433 resource:Q145 . ?z rdf:type ontology:Q2342494 }
Who Was Who in Egyptology (3rd Edition)
Who was Who in Egyptology (3rd Edition) was published in United Kingdom
Who Was Who in Egyptology (3rd Edition)
action filter_type
action find_reverse
entity United Kingdom
relation published in
type collectable
[{'concept': 'collectable'}, 'published in', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:published_in resource:United_Kingdom . ?z rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P84
Q811430
USER
Which construction was United Kingdom the designer of ?
(c(Q811430),P84,Q145)
action filter_type
action find_reverse
entity Q145
relation P84
type Q811430
[{'concept': 'Q811430'}, 'P84', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P84 resource:Q145 . ?t rdf:type ontology:Q811430 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:architect resource:United_Kingdom . ?t rdf:type ontology:construction }
[]
construction
Q18648965
SYSTEM
Chennai Tech Park
Q18648965
(c(Q811430),P84,Q145)
action filter_type
action find_reverse
entity Q145
relation P84
type Q811430
Which construction was United Kingdom the designer of
[{'concept': 'Q811430'}, 'P84', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P84 resource:Q145 . ?t rdf:type ontology:Q811430 }
Chennai Tech Park
Which construction was United Kingdom the designer of
Chennai Tech Park
action filter_type
action find_reverse
entity United Kingdom
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:architect resource:United_Kingdom . ?t rdf:type ontology:construction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22890
P610
Q14524493
USER
Which terrain is the highest point of Ireland ?
(Q22890,P610,c(Q14524493))
action filter_type
action find
entity Q22890
relation P610
type Q14524493
['Q22890', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { resource:Q22890 property:P610 ?z . ?z rdf:type ontology:Q14524493 }
Ireland
action filter_type
action find
entity Ireland
relation highest point
type terrain
['Ireland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { resource:Ireland property:highest_point ?z . ?z rdf:type ontology:terrain }
[]
terrain
Q503368
SYSTEM
Carrauntoohil
Q503368
(Q22890,P610,c(Q14524493))
action filter_type
action find
entity Q22890
relation P610
type Q14524493
[ANSWER] is the highest point of Ireland
['Q22890', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { resource:Q22890 property:P610 ?z . ?z rdf:type ontology:Q14524493 }
Carrauntoohil
Carrauntoohil is the highest point of Ireland
Carrauntoohil
action filter_type
action find
entity Ireland
relation highest point
type terrain
['Ireland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { resource:Ireland property:highest_point ?z . ?z rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q690323
Q14524493
USER
And also tell me about High Tatras?
(Q690323,P610,c(Q14524493))
action filter_type
action find
entity Q690323
relation P610
type Q14524493
['Q690323', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q690323 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
High Tatras
action filter_type
action find
entity High Tatras
relation highest point
type terrain
['High Tatras', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:High_Tatras property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
terrain
Q81213
SYSTEM
Gerlachovský štít
Q81213
(Q690323,P610,c(Q14524493))
action filter_type
action find
entity Q690323
relation P610
type Q14524493
[ANSWER]
['Q690323', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q690323 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Gerlachovský štít
Gerlachovský štít
action filter_type
action find
entity High Tatras
relation highest point
type terrain
['High Tatras', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:High_Tatras property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P610
Q15617994 Q7275
USER
How many administrative territories and states have that terrain as their highest point ?
(c(Q15617994),P610,Q81213) (c(Q7275),P610,Q81213) (c(Q15617994),P610,Q81213) (c(Q7275),P610,Q81213)
action count
action union
action filter_type
action find_reverse
entity Q81213
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q81213
relation P610
type Q7275
[{'concept': 'Q15617994'}, 'P610', 'Q81213'] [{'concept': 'Q7275'}, 'P610', 'Q81213'] [{'concept': 'Q15617994'}, 'P610', 'Q81213'] [{'concept': 'Q7275'}, 'P610', 'Q81213']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ?i . VALUES ( ?i ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
action count
action union
action filter_type
action find_reverse
entity Gerlachovský štít
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Gerlachovský štít
relation highest point
type state
[{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Gerlachovský štít'] [{'concept': 'state'}, 'highest point', 'Gerlachovský štít'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Gerlachovský štít'] [{'concept': 'state'}, 'highest point', 'Gerlachovský štít']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ?i . VALUES ( ?i ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity state
SYSTEM
1 administrative territories and 3 states
Q33946 Q853348 Q214 Q1751495
(c(Q15617994),P610,Q81213) (c(Q7275),P610,Q81213) (c(Q15617994),P610,Q81213) (c(Q7275),P610,Q81213)
action count
action union
action filter_type
action find_reverse
entity Q81213
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q81213
relation P610
type Q7275
[ANSWER]
[{'concept': 'Q15617994'}, 'P610', 'Q81213'] [{'concept': 'Q7275'}, 'P610', 'Q81213'] [{'concept': 'Q15617994'}, 'P610', 'Q81213'] [{'concept': 'Q7275'}, 'P610', 'Q81213']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ?i . VALUES ( ?i ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
Czechoslovakia Czechoslovak Socialist Republic Slovakia Slovak Socialist Republic
1 administrative territories and 3 states
action count
action union
action filter_type
action find_reverse
entity Gerlachovský štít
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Gerlachovský štít
relation highest point
type state
[{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Gerlachovský štít'] [{'concept': 'state'}, 'highest point', 'Gerlachovský štít'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Gerlachovský štít'] [{'concept': 'state'}, 'highest point', 'Gerlachovský štít']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ?i . VALUES ( ?i ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22890
P937
Q502895
USER
Who is an person who works at Ireland ?
(c(Q502895),P937,Q22890)
action filter_type
action find_reverse
entity Q22890
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q22890']
SELECT DISTINCT ?s WHERE { ?s property:P937 resource:Q22890 . ?s rdf:type ontology:Q502895 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Ireland']
SELECT DISTINCT ?s WHERE { ?s property:work_location resource:Ireland . ?s rdf:type ontology:common_name }
[]
common name
Q1621729
SYSTEM
Giovanni Battista Rinuccini
Q1621729
(c(Q502895),P937,Q22890)
action filter_type
action find_reverse
entity Q22890
relation P937
type Q502895
An person works at Ireland is San [ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q22890']
SELECT DISTINCT ?s WHERE { ?s property:P937 resource:Q22890 . ?s rdf:type ontology:Q502895 }
Giovanni Battista Rinuccini
An person works at Ireland is San Giovanni Battista Rinuccini
Giovanni Battista Rinuccini
action filter_type
action find_reverse
entity Ireland
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Ireland']
SELECT DISTINCT ?s WHERE { ?s property:work_location resource:Ireland . ?s rdf:type ontology:common_name }
[]