Simple Question (Direct)
Simple Question
Q1672574
P106
Q12737077
USER
Which occupation is the profession of Irene Utpadel ?
(Q1672574,P106,c(Q12737077))
action filter_type
action find
entity Q1672574
relation P106
type Q12737077
['Q1672574', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q1672574 property:P106 ?z }
Irene Utpadel
action filter_type
action find
entity Irene Utpadel
relation occupation
type occupation
['Irene Utpadel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Irene_Utpadel property:occupation ?z }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1672574,P106,c(Q12737077))
action filter_type
action find
entity Q1672574
relation P106
type Q12737077
The [ANSWER] is the profession of Irene Utpadel
['Q1672574', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q1672574 property:P106 ?z }
politician
The politician is the profession of Irene Utpadel
politician
action filter_type
action find
entity Irene Utpadel
relation occupation
type occupation
['Irene Utpadel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Irene_Utpadel property:occupation ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1672574
P21
Q290
USER
What is the sex of Irene Utpadel ?
(Q1672574,P21,c(Q290))
action filter_type
action find
entity Q1672574
relation P21
type Q290
['Q1672574', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1672574 property:P21 ?i . ?i rdf:type ontology:Q290 }
Irene Utpadel
action filter_type
action find
entity Irene Utpadel
relation gender
type sex
['Irene Utpadel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Irene_Utpadel property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1672574,P21,c(Q290))
action filter_type
action find
entity Q1672574
relation P21
type Q290
The sex of Irene Utpadel is the [ANSWER]
['Q1672574', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1672574 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
The sex of Irene Utpadel is the female
female
action filter_type
action find
entity Irene Utpadel
relation gender
type sex
['Irene Utpadel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Irene_Utpadel property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11688536
Q290
USER
And what about Bolesław Dobrowolski?
(Q11688536,P21,c(Q290))
action filter_type
action find
entity Q11688536
relation P21
type Q290
['Q11688536', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q11688536 property:P21 ?k . ?k rdf:type ontology:Q290 }
Bolesław Dobrowolski
action filter_type
action find
entity Bolesław Dobrowolski
relation gender
type sex
['Bolesław Dobrowolski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Bolesław_Dobrowolski property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11688536,P21,c(Q290))
action filter_type
action find
entity Q11688536
relation P21
type Q290
[ANSWER]
['Q11688536', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q11688536 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Bolesław Dobrowolski
relation gender
type sex
['Bolesław Dobrowolski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Bolesław_Dobrowolski property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11688536
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q11688536
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q11688536 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Bolesław Dobrowolski
action filter_type
action find
entity Bolesław Dobrowolski
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bolesław_Dobrowolski property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q835423
SYSTEM
Strzyżów
Q835423
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q11688536
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q11688536 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Strzyżów
That person was born in Strzyżów
Strzyżów
action filter_type
action find
entity Bolesław Dobrowolski
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bolesław_Dobrowolski property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5126229 Q1672574
P27
Q1048835
USER
Which political territories do Irene Utpadel or Clare Oliver belong to ?
OR((Q1672574,P27,c(Q1048835)), (Q5126229,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1672574
relation P27
action find
entity Q5126229
relation P27
type Q1048835
{'OR': [['Q1672574', 'P27', {'concept': 'Q1048835'}], ['Q5126229', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1672574 property:P27 ?j } UNION { resource:Q5126229 property:P27 ?j } } . ?j rdf:type ontology:Q1048835 }
Clare Oliver Irene Utpadel
action filter_type
action union
action find
entity Irene Utpadel
relation country of citizenship
action find
entity Clare Oliver
relation country of citizenship
type political territorial entity
{'OR': [['Irene Utpadel', 'country of citizenship', {'concept': 'political territorial entity'}], ['Clare Oliver', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Irene_Utpadel property:country_of_citizenship ?j } UNION { resource:Clare_Oliver property:country_of_citizenship ?j } } . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q1672574,P27,c(Q1048835)), (Q5126229,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1672574
relation P27
action find
entity Q5126229
relation P27
type Q1048835
Irene Utpadel or Clare Oliver belong to [ANSWERS]
{'OR': [['Q1672574', 'P27', {'concept': 'Q1048835'}], ['Q5126229', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1672574 property:P27 ?j } UNION { resource:Q5126229 property:P27 ?j } } . ?j rdf:type ontology:Q1048835 }
Australia Germany
Irene Utpadel or Clare Oliver belong to Australia and Germany
Australia Germany
action filter_type
action union
action find
entity Irene Utpadel
relation country of citizenship
action find
entity Clare Oliver
relation country of citizenship
type political territorial entity
{'OR': [['Irene Utpadel', 'country of citizenship', {'concept': 'political territorial entity'}], ['Clare Oliver', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Irene_Utpadel property:country_of_citizenship ?j } UNION { resource:Clare_Oliver property:country_of_citizenship ?j } } . ?j rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6294408
P27
Q502895
USER
Are Josée Vigneron-Ramackers a native of those political territories ?
(Q6294408,P27,Q408) (Q6294408,P27,Q183)
action is_in
entity prev_answer
action find
entity Q6294408
relation P27
['Q6294408', 'P27', 'Q408'] ['Q6294408', 'P27', 'Q183']
ASK WHERE { resource:Q6294408 property:P27 ?j . VALUES ( ?j ) { ( resource:Q408 ) ( resource:Q183 ) } }
Josée Vigneron-Ramackers
action is_in
entity prev_answer
action find
entity Josée Vigneron-Ramackers
relation country of citizenship
['Josée Vigneron-Ramackers', 'country of citizenship', 'Australia'] ['Josée Vigneron-Ramackers', 'country of citizenship', 'Germany']
ASK WHERE { resource:Josée_Vigneron-Ramackers property:country_of_citizenship ?j . VALUES ( ?j ) { ( resource:Australia ) ( resource:Germany ) } }
[]
common name
SYSTEM
NO
(Q6294408,P27,Q408) (Q6294408,P27,Q183)
action is_in
entity prev_answer
action find
entity Q6294408
relation P27
[ANSWER]
['Q6294408', 'P27', 'Q408'] ['Q6294408', 'P27', 'Q183']
ASK WHERE { resource:Q6294408 property:P27 ?j . VALUES ( ?j ) { ( resource:Q408 ) ( resource:Q183 ) } }
No
action is_in
entity prev_answer
action find
entity Josée Vigneron-Ramackers
relation country of citizenship
['Josée Vigneron-Ramackers', 'country of citizenship', 'Australia'] ['Josée Vigneron-Ramackers', 'country of citizenship', 'Germany']
ASK WHERE { resource:Josée_Vigneron-Ramackers property:country_of_citizenship ?j . VALUES ( ?j ) { ( resource:Australia ) ( resource:Germany ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q408 Q1832440
P530
Q15617994
USER
Does Bustard Green have diplomatic relations with Australia ?
(Q408,P530,Q1832440)
action is_in
entity Q1832440
action find
entity Q408
relation P530
['Q408', 'P530', 'Q1832440']
ASK WHERE { resource:Q408 property:P530 resource:Q1832440 }
Australia Bustard Green
action is_in
entity Bustard Green
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Bustard Green']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Bustard_Green }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q408,P530,Q1832440)
action is_in
entity Q1832440
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q1832440']
ASK WHERE { resource:Q408 property:P530 resource:Q1832440 }
No
action is_in
entity Bustard Green
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Bustard Green']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Bustard_Green }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P551
Q95074
USER
Who reside at that political territory ?
action filter_type
action find_reverse
entity Q408
relation P551
type Q95074
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q95074 . ?h property:P551 resource:Q408 }
Australia
action filter_type
action find_reverse
entity Australia
relation residence
type fictional character
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:fictional_character . ?h property:residence resource:Australia }
[]
fictional character
Q27556028 Q27561644 Q27564450
SYSTEM
Marahute, Frank, Red
Q27556028 Q27561644 Q27564306 Q27564450
action filter_type
action find_reverse
entity Q408
relation P551
type Q95074
[ANSWERS] reside at that political territory
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q95074 . ?h property:P551 resource:Q408 }
Marahute Frank Krebbs Red
Marahute, Frank and Red reside at that political territory
Marahute Frank Red
action filter_type
action find_reverse
entity Australia
relation residence
type fictional character
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:fictional_character . ?h property:residence resource:Australia }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15416 Q95074
USER
Which fictional characters were more number of television programs a source of inspiration for than that fictional character ?
(c(Q95074),P941,c(Q15416))
[{'concept': 'Q95074'}, 'P941', {'concept': 'Q15416'}]
SELECT DISTINCT ?z WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q15416 }
[{'concept': 'fictional character'}, 'inspired by', {'concept': 'television program'}]
SELECT DISTINCT ?z WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:television_program }
[]
television program fictional character
Comparative|More/Less|Single entity type|Clarification
Q27561644
SYSTEM
Did you mean Frank ?
(c(Q95074),P941,c(Q15416))
[ANSWER]
[{'concept': 'Q95074'}, 'P941', {'concept': 'Q15416'}]
SELECT DISTINCT ?z WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q15416 }
Did you mean Frank ?
Frank
[{'concept': 'fictional character'}, 'inspired by', {'concept': 'television program'}]
SELECT DISTINCT ?z WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q95074),P941,c(Q15416))
[{'concept': 'Q95074'}, 'P941', {'concept': 'Q15416'}]
[{'concept': 'fictional character'}, 'inspired by', {'concept': 'television program'}]
[]
Q3437147
SYSTEM
Robin Hood
Q3437147
(c(Q95074),P941,c(Q15416))
[ANSWER] was more number of television programs a source of inspiration for than that fictional character
[{'concept': 'Q95074'}, 'P941', {'concept': 'Q15416'}]
SELECT DISTINCT ?z WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q15416 }
Robin Hood
Robin Hood was more number of television programs a source of inspiration for than that fictional character
Robin Hood
[{'concept': 'fictional character'}, 'inspired by', {'concept': 'television program'}]
SELECT DISTINCT ?z WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q51293
P157
Q95074 Q6619679
USER
Which fictional humanoids were assasinated by more number of fictional characters than Jack Shephard ?
(c(Q6619679),P157,c(Q95074))
action greater
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action count
action filter_type
action find
entity Q51293
relation P157
type Q6619679
[{'concept': 'Q6619679'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?q ) WHERE { ?b property:P157 ?i . ?b rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q95074 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q51293 property:P157 ?o . ?o rdf:type ontology:Q6619679 } } . FILTER ( ?q > ?y ) }
Jack Shephard
action greater
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action count
action filter_type
action find
entity Jack Shephard
relation killed by
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?q ) WHERE { ?b property:killed_by ?i . ?b rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:fictional_character } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Jack_Shephard property:killed_by ?o . ?o rdf:type ontology:fictional_humanoid } } . FILTER ( ?q > ?y ) }
[]
fictional character fictional humanoid
Q284262 Q9093657 Q2362758
SYSTEM
Nina Myers, Victor Drazen, Ira Gaines
Q2362758 Q27101792 Q284262 Q9093657
(c(Q6619679),P157,c(Q95074))
action greater
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action count
action filter_type
action find
entity Q51293
relation P157
type Q6619679
[ANSWERS] were assasinated by more number of fictional characters than Jack Shephard
[{'concept': 'Q6619679'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?q ) WHERE { ?b property:P157 ?i . ?b rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q95074 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q51293 property:P157 ?o . ?o rdf:type ontology:Q6619679 } } . FILTER ( ?q > ?y ) }
Ira Gaines Pietro Maximoff / Quicksilver Nina Myers Victor Drazen
Nina Myers, Victor Drazen and Ira Gaines were assasinated by more number of fictional characters than Jack Shephard
Nina Myers Victor Drazen Ira Gaines
action greater
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action count
action filter_type
action find
entity Jack Shephard
relation killed by
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?q ) WHERE { ?b property:killed_by ?i . ?b rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:fictional_character } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Jack_Shephard property:killed_by ?o . ?o rdf:type ontology:fictional_humanoid } } . FILTER ( ?q > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2297974
P157
Q95074 Q6619679
USER
And also tell me about Peter Franks?
(c(Q6619679),P157,c(Q95074))
action greater
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action count
action filter_type
action find
entity Q2297974
relation P157
type Q6619679
[{'concept': 'Q6619679'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?t ) WHERE { ?g property:P157 ?d . ?g rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q95074 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q2297974 property:P157 ?o . ?o rdf:type ontology:Q6619679 } } . FILTER ( ?t > ?i ) }
Peter Franks
action greater
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action count
action filter_type
action find
entity Peter Franks
relation killed by
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?t ) WHERE { ?g property:killed_by ?d . ?g rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:fictional_character } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Peter_Franks property:killed_by ?o . ?o rdf:type ontology:fictional_humanoid } } . FILTER ( ?t > ?i ) }
[]
fictional character fictional humanoid
Q284262 Q9093657 Q2362758
SYSTEM
Nina Myers, Victor Drazen, Ira Gaines
Q2362758 Q27101792 Q284262 Q9093657
(c(Q6619679),P157,c(Q95074))
action greater
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action count
action filter_type
action find
entity Q2297974
relation P157
type Q6619679
[ANSWERS]
[{'concept': 'Q6619679'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?t ) WHERE { ?g property:P157 ?d . ?g rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q95074 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q2297974 property:P157 ?o . ?o rdf:type ontology:Q6619679 } } . FILTER ( ?t > ?i ) }
Ira Gaines Pietro Maximoff / Quicksilver Nina Myers Victor Drazen
Nina Myers Victor Drazen Ira Gaines
action greater
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action count
action filter_type
action find
entity Peter Franks
relation killed by
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?t ) WHERE { ?g property:killed_by ?d . ?g rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:fictional_character } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Peter_Franks property:killed_by ?o . ?o rdf:type ontology:fictional_humanoid } } . FILTER ( ?t > ?i ) }
[]