Simple Question (Direct)
Simple Question
Q5341581
P102
Q7210356
USER
Which party does Edward Anthony Strauss belong to ?
(Q5341581,P102,c(Q7210356))
action filter_type
action find
entity Q5341581
relation P102
type Q7210356
['Q5341581', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q5341581 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Edward Anthony Strauss
action filter_type
action find
entity Edward Anthony Strauss
relation member of political party
type political organization
['Edward Anthony Strauss', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Edward_Anthony_Strauss property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q622441
SYSTEM
Liberal Party
Q622441
(Q5341581,P102,c(Q7210356))
action filter_type
action find
entity Q5341581
relation P102
type Q7210356
Edward Anthony Strauss belongs to [ANSWER]
['Q5341581', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q5341581 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Liberal Party
Edward Anthony Strauss belongs to Liberal Party
Liberal Party
action filter_type
action find
entity Edward Anthony Strauss
relation member of political party
type political organization
['Edward Anthony Strauss', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Edward_Anthony_Strauss property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q622441
P108
Q502895
USER
Which person has that political organization as its employer ?
(c(Q502895),P108,Q622441)
action filter_type
action find_reverse
entity Q622441
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q622441']
SELECT DISTINCT ?c WHERE { ?c property:P108 resource:Q622441 . ?c rdf:type ontology:Q502895 }
Liberal Party
action filter_type
action find_reverse
entity Liberal Party
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Liberal Party']
SELECT DISTINCT ?c WHERE { ?c property:employer resource:Liberal_Party . ?c rdf:type ontology:common_name }
[]
common name
Q4668868
SYSTEM
Abraham Garrod Thomas
Q4668868
(c(Q502895),P108,Q622441)
action filter_type
action find_reverse
entity Q622441
relation P108
type Q502895
[ANSWER] has that political organization as its employer
[{'concept': 'Q502895'}, 'P108', 'Q622441']
SELECT DISTINCT ?c WHERE { ?c property:P108 resource:Q622441 . ?c rdf:type ontology:Q502895 }
Abraham Garrod Thomas
Abraham Garrod Thomas has that political organization as its employer
Abraham Garrod Thomas
action filter_type
action find_reverse
entity Liberal Party
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Liberal Party']
SELECT DISTINCT ?c WHERE { ?c property:employer resource:Liberal_Party . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4668868
P7
Q502895
USER
Who is that one a sibling of ?
(Q4668868,P7,c(Q502895))
action filter_type
action find
entity Q4668868
relation P7
type Q502895
['Q4668868', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4668868 property:P7 ?h . ?h rdf:type ontology:Q502895 }
Abraham Garrod Thomas
action filter_type
action find
entity Abraham Garrod Thomas
relation brother
type common name
['Abraham Garrod Thomas', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Abraham_Garrod_Thomas property:brother ?h . ?h rdf:type ontology:common_name }
[]
common name
Q16026297
SYSTEM
John Aeron Thomas
Q16026297
(Q4668868,P7,c(Q502895))
action filter_type
action find
entity Q4668868
relation P7
type Q502895
That one a sibling of is [ANSWER]
['Q4668868', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4668868 property:P7 ?h . ?h rdf:type ontology:Q502895 }
John Aeron Thomas
That one a sibling of is John Aeron Thomas
John Aeron Thomas
action filter_type
action find
entity Abraham Garrod Thomas
relation brother
type common name
['Abraham Garrod Thomas', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Abraham_Garrod_Thomas property:brother ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16026297
P39
Q12737077
USER
What was the position held by that person ?
(Q16026297,P39,c(Q12737077))
action filter_type
action find
entity Q16026297
relation P39
type Q12737077
['Q16026297', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q16026297 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
John Aeron Thomas
action filter_type
action find
entity John Aeron Thomas
relation position held
type occupation
['John Aeron Thomas', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:John_Aeron_Thomas property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q16026297,P39,c(Q12737077))
action filter_type
action find
entity Q16026297
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q16026297', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q16026297 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The position held by that person was a Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity John Aeron Thomas
relation position held
type occupation
['John Aeron Thomas', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:John_Aeron_Thomas property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16026297
P27
Q15617994
USER
How many administrative territories are John Aeron Thomas a civilian of ?
(Q16026297,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16026297
relation P27
type Q15617994
['Q16026297', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q16026297 property:P27 ?a }
John Aeron Thomas
action count
action filter_type
action find
entity John Aeron Thomas
relation country of citizenship
type designation for an administrative territorial entity
['John Aeron Thomas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_Aeron_Thomas property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q16026297,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16026297
relation P27
type Q15617994
[ANSWER]
['Q16026297', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q16026297 property:P27 ?a }
United Kingdom
1
action count
action filter_type
action find
entity John Aeron Thomas
relation country of citizenship
type designation for an administrative territorial entity
['John Aeron Thomas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_Aeron_Thomas property:country_of_citizenship ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5341581
P21
Q290
USER
Which sex does Edward Anthony Strauss possess ?
(Q5341581,P21,c(Q290))
action filter_type
action find
entity Q5341581
relation P21
type Q290
['Q5341581', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q5341581 property:P21 ?s . ?s rdf:type ontology:Q290 }
Edward Anthony Strauss
action filter_type
action find
entity Edward Anthony Strauss
relation gender
type sex
['Edward Anthony Strauss', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Edward_Anthony_Strauss property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5341581,P21,c(Q290))
action filter_type
action find
entity Q5341581
relation P21
type Q290
Edward Anthony Strauss possesses a [ANSWER]
['Q5341581', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q5341581 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Edward Anthony Strauss possesses a male
male
action filter_type
action find
entity Edward Anthony Strauss
relation gender
type sex
['Edward Anthony Strauss', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Edward_Anthony_Strauss property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5341581
P27
Q15617994
USER
Which administrative territory is Edward Anthony Strauss a civilian of ?
(Q5341581,P27,c(Q15617994))
action filter_type
action find
entity Q5341581
relation P27
type Q15617994
['Q5341581', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q5341581 property:P27 ?q }
Edward Anthony Strauss
action filter_type
action find
entity Edward Anthony Strauss
relation country of citizenship
type designation for an administrative territorial entity
['Edward Anthony Strauss', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Edward_Anthony_Strauss property:country_of_citizenship ?q }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5341581,P27,c(Q15617994))
action filter_type
action find
entity Q5341581
relation P27
type Q15617994
The [ANSWER] is Edward Anthony Strauss a civilian of
['Q5341581', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q5341581 property:P27 ?q }
United Kingdom
The United Kingdom is Edward Anthony Strauss a civilian of
United Kingdom
action filter_type
action find
entity Edward Anthony Strauss
relation country of citizenship
type designation for an administrative territorial entity
['Edward Anthony Strauss', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Edward_Anthony_Strauss property:country_of_citizenship ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1876493
Q15617994
USER
And what about Luis Naon?
(Q1876493,P27,c(Q15617994))
action filter_type
action find
entity Q1876493
relation P27
type Q15617994
['Q1876493', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1876493 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Luis Naon
action filter_type
action find
entity Luis Naon
relation country of citizenship
type designation for an administrative territorial entity
['Luis Naon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Luis_Naon property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q1876493,P27,c(Q15617994))
action filter_type
action find
entity Q1876493
relation P27
type Q15617994
[ANSWER]
['Q1876493', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1876493 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Argentina
Argentina
action filter_type
action find
entity Luis Naon
relation country of citizenship
type designation for an administrative territorial entity
['Luis Naon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Luis_Naon property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q56061 Q15617994
USER
Which administrative territories are around 2 cities and administrative territories the capital of ?
(c(Q15617994),P36,c(Q515)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
value 2
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?k ) WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } GROUP BY ?n } . FILTER ( ?k = 2 ) }
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?k ) WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?n } . FILTER ( ?k = 2 ) }
[]
city administrative territorial entity designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q155 Q1020 Q41 Q30 Q230 Q1033 Q199688 Q517333 Q924
(c(Q15617994),P36,c(Q515)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
value 2
[ANSWERS] are around 2 cities and administrative territories the capital of
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?k ) WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } GROUP BY ?n } . FILTER ( ?k = 2 ) }
Brazil Malawi Greece United States of America Georgia Nigeria Almohad Principality of Polotsk Tanzania
Brazil, United States of America and Georgia are around 2 cities and administrative territories the capital of
Brazil United States of America Georgia
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?k ) WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?n } . FILTER ( ?k = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q823822 Q230
P530 P17
Q1048835
USER
Which political territories have diplomatic relations with Georgia or are Ogooué-Ivindo Province located in ?
OR((Q230,P530,c(Q1048835)), (Q823822,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q230
relation P530
action find
entity Q823822
relation P17
type Q1048835
{'OR': [['Q230', 'P530', {'concept': 'Q1048835'}], ['Q823822', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . { { resource:Q230 property:P530 ?d } UNION { resource:Q823822 property:P17 ?d } } }
Ogooué-Ivindo Province Georgia
action filter_type
action union
action find
entity Georgia
relation diplomatic relation
action find
entity Ogooué-Ivindo Province
relation country
type political territorial entity
{'OR': [['Georgia', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Ogooué-Ivindo Province', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . { { resource:Georgia property:diplomatic_relation ?d } UNION { resource:Ogooué-Ivindo_Province property:country ?d } } }
[]
political territorial entity
Q781 Q408 Q40 Q769 Q1000 Q778 Q183 Q16 Q766 Q35
SYSTEM
Some of them are Antigua and Barbuda, Australia, Austria, Grenada, Gabon, The Bahamas, Germany, Canada, Jamaica, Denmark
Q1000 Q40 Q781 Q183 Q778 Q408 Q769 Q35 Q16 Q664 Q766
OR((Q230,P530,c(Q1048835)), (Q823822,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q230
relation P530
action find
entity Q823822
relation P17
type Q1048835
[ANSWERS] have diplomatic relations with Georgia or are Ogooué-Ivindo Province located in
{'OR': [['Q230', 'P530', {'concept': 'Q1048835'}], ['Q823822', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . { { resource:Q230 property:P530 ?d } UNION { resource:Q823822 property:P17 ?d } } }
Gabon Austria Antigua and Barbuda Germany The Bahamas Australia Grenada Denmark Canada New Zealand Jamaica
Antigua and Barbuda, Australia, Austria, Grenada, Gabon, The Bahamas, Germany, Canada, Jamaica and Denmark have diplomatic relations with Georgia or are Ogooué-Ivindo Province located in
Antigua and Barbuda Australia Austria Grenada Gabon The Bahamas Germany Canada Jamaica Denmark
action filter_type
action union
action find
entity Georgia
relation diplomatic relation
action find
entity Ogooué-Ivindo Province
relation country
type political territorial entity
{'OR': [['Georgia', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Ogooué-Ivindo Province', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . { { resource:Georgia property:diplomatic_relation ?d } UNION { resource:Ogooué-Ivindo_Province property:country ?d } } }
[]