Simple Question (Direct)
Simple Question
Q27450839
P106
Q12737077
USER
Which occupations have Ștefan Oprea as his/her 's career ?
(Q27450839,P106,c(Q12737077))
action filter_type
action find
entity Q27450839
relation P106
type Q12737077
['Q27450839', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q27450839 property:P106 ?p }
Ștefan Oprea
action filter_type
action find
entity Ștefan Oprea
relation occupation
type occupation
['Ștefan Oprea', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Ștefan_Oprea property:occupation ?p }
[]
occupation
Q15809665 Q17337766
SYSTEM
film critic, theatre critic
Q15809665 Q17337766
(Q27450839,P106,c(Q12737077))
action filter_type
action find
entity Q27450839
relation P106
type Q12737077
[ANSWERS] have Ștefan Oprea as his/her 's career
['Q27450839', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q27450839 property:P106 ?p }
film critic theatre critic
Film critic and theatre critic have Ștefan Oprea as his/her 's career
film critic theatre critic
action filter_type
action find
entity Ștefan Oprea
relation occupation
type occupation
['Ștefan Oprea', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Ștefan_Oprea property:occupation ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27450839
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q15809665,P27,c(Q15617994)) (Q17337766,P27,c(Q15617994))
action filter_type
action find
entity Q27450839
relation P27
type Q15617994
['Q15809665', 'P27', {'concept': 'Q15617994'}] ['Q17337766', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q27450839 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Ștefan Oprea
action filter_type
action find
entity Ștefan Oprea
relation country of citizenship
type designation for an administrative territorial entity
['film critic', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['theatre critic', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Ștefan_Oprea property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q15809665,P27,c(Q15617994)) (Q17337766,P27,c(Q15617994))
action filter_type
action find
entity Q27450839
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q15809665', 'P27', {'concept': 'Q15617994'}] ['Q17337766', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q27450839 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Romania
Romania is that person an inhabitant of
Romania
action filter_type
action find
entity Ștefan Oprea
relation country of citizenship
type designation for an administrative territorial entity
['film critic', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['theatre critic', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Ștefan_Oprea property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27450839
P19
Q56061
USER
Where was that person born ?
(Q218,P19,c(Q56061))
action filter_type
action find
entity Q27450839
relation P19
type Q56061
['Q218', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q27450839 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Ștefan Oprea
action filter_type
action find
entity Ștefan Oprea
relation place of birth
type administrative territorial entity
['Romania', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Ștefan_Oprea property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2621221
SYSTEM
Coarnele Caprei
Q2621221
(Q218,P19,c(Q56061))
action filter_type
action find
entity Q27450839
relation P19
type Q56061
That person was born in [ANSWER]
['Q218', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q27450839 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Coarnele Caprei
That person was born in Coarnele Caprei
Coarnele Caprei
action filter_type
action find
entity Ștefan Oprea
relation place of birth
type administrative territorial entity
['Romania', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Ștefan_Oprea property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2621221 Q5347897
P19
Q502895
USER
Was Eggert Hannesson born at that administrative territory ?
(Q5347897,P19,Q2621221)
action is_in
entity Q5347897
action find
entity Q2621221
relation P19
['Q5347897', 'P19', 'Q2621221']
ASK WHERE { resource:Q2621221 property:P19 resource:Q5347897 }
Coarnele Caprei Eggert Hannesson
action is_in
entity Eggert Hannesson
action find
entity Coarnele Caprei
relation place of birth
['Eggert Hannesson', 'place of birth', 'Coarnele Caprei']
ASK WHERE { resource:Coarnele_Caprei property:place_of_birth resource:Eggert_Hannesson }
[]
common name
SYSTEM
NO
(Q5347897,P19,Q2621221)
action is_in
entity Q5347897
action find
entity Q2621221
relation P19
[ANSWER]
['Q5347897', 'P19', 'Q2621221']
ASK WHERE { resource:Q2621221 property:P19 resource:Q5347897 }
No
action is_in
entity Eggert Hannesson
action find
entity Coarnele Caprei
relation place of birth
['Eggert Hannesson', 'place of birth', 'Coarnele Caprei']
ASK WHERE { resource:Coarnele_Caprei property:place_of_birth resource:Eggert_Hannesson }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q218 Q881 Q38
P530
Q15617994
USER
Does Romania have diplomatic relations with Vietnam and Italy ?
(Q218,P530,Q881) (Q218,P530,Q38)
action is_in
entity Q218
action intersection
action find_reverse
entity Q881
relation P530
action find_reverse
entity Q38
relation P530
['Q218', 'P530', 'Q881'] ['Q218', 'P530', 'Q38']
ASK WHERE { resource:Q218 property:P530 resource:Q38 . resource:Q218 property:P530 resource:Q881 }
Romania Vietnam Italy
action is_in
entity Romania
action intersection
action find_reverse
entity Vietnam
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['Romania', 'diplomatic relation', 'Vietnam'] ['Romania', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Romania property:diplomatic_relation resource:Italy . resource:Romania property:diplomatic_relation resource:Vietnam }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q218,P530,Q881) (Q218,P530,Q38)
action is_in
entity Q218
action intersection
action find_reverse
entity Q881
relation P530
action find_reverse
entity Q38
relation P530
[ANSWER]
['Q218', 'P530', 'Q881'] ['Q218', 'P530', 'Q38']
ASK WHERE { resource:Q218 property:P530 resource:Q38 . resource:Q218 property:P530 resource:Q881 }
Yes
action is_in
entity Romania
action intersection
action find_reverse
entity Vietnam
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['Romania', 'diplomatic relation', 'Vietnam'] ['Romania', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Romania property:diplomatic_relation resource:Italy . resource:Romania property:diplomatic_relation resource:Vietnam }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4517723 Q218
P463
Q874405
USER
Which social groups had Romania or Feliks Chuev as their member ?
OR((Q218,P463,c(Q874405)), (Q4517723,P463,c(Q874405)))
action filter_type
action union
action find
entity Q218
relation P463
action find
entity Q4517723
relation P463
type Q874405
{'OR': [['Q218', 'P463', {'concept': 'Q874405'}], ['Q4517723', 'P463', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q4517723 property:P463 ?j } UNION { resource:Q218 property:P463 ?j } } . ?j rdf:type ontology:Q874405 }
Feliks Chuev Romania
action filter_type
action union
action find
entity Romania
relation member of
action find
entity Feliks Chuev
relation member of
type social group
{'OR': [['Romania', 'member of', {'concept': 'social group'}], ['Feliks Chuev', 'member of', {'concept': 'social group'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Feliks_Chuev property:member_of ?j } UNION { resource:Romania property:member_of ?j } } . ?j rdf:type ontology:social_group }
[]
social group
Q782942 Q8908 Q1425328
SYSTEM
Australia Group, Council of Europe, USSR Union of Writers
Q782942 Q8908 Q1425328
OR((Q218,P463,c(Q874405)), (Q4517723,P463,c(Q874405)))
action filter_type
action union
action find
entity Q218
relation P463
action find
entity Q4517723
relation P463
type Q874405
[ANSWERS] had Romania or Feliks Chuev as their member
{'OR': [['Q218', 'P463', {'concept': 'Q874405'}], ['Q4517723', 'P463', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q4517723 property:P463 ?j } UNION { resource:Q218 property:P463 ?j } } . ?j rdf:type ontology:Q874405 }
Australia Group Council of Europe USSR Union of Writers
Australia Group, Council of Europe and USSR Union of Writers had Romania or Feliks Chuev as their member
Australia Group Council of Europe USSR Union of Writers
action filter_type
action union
action find
entity Romania
relation member of
action find
entity Feliks Chuev
relation member of
type social group
{'OR': [['Romania', 'member of', {'concept': 'social group'}], ['Feliks Chuev', 'member of', {'concept': 'social group'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Feliks_Chuev property:member_of ?j } UNION { resource:Romania property:member_of ?j } } . ?j rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8908
P17
Q15617994
USER
How many administrative territories are Council of Europe present in ?
(Q8908,P17,c(Q15617994))
action count
action filter_type
action find
entity Q8908
relation P17
type Q15617994
['Q8908', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q8908 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Council of Europe
action count
action filter_type
action find
entity Council of Europe
relation country
type designation for an administrative territorial entity
['Council of Europe', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Council_of_Europe property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q8908,P17,c(Q15617994))
action count
action filter_type
action find
entity Q8908
relation P17
type Q15617994
[ANSWER]
['Q8908', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q8908 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Council of Europe
relation country
type designation for an administrative territorial entity
['Council of Europe', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Council_of_Europe property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q251158
P17
Q15617994
USER
Which administrative territory does Loukoléla belong to ?
(Q251158,P17,c(Q15617994))
action filter_type
action find
entity Q251158
relation P17
type Q15617994
['Q251158', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q251158 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Loukoléla
action filter_type
action find
entity Loukoléla
relation country
type designation for an administrative territorial entity
['Loukoléla', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Loukoléla property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q971
SYSTEM
Republic of the Congo
Q971
(Q251158,P17,c(Q15617994))
action filter_type
action find
entity Q251158
relation P17
type Q15617994
Loukoléla belongs to [ANSWER]
['Q251158', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q251158 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Republic of the Congo
Loukoléla belongs to Republic of the Congo
Republic of the Congo
action filter_type
action find
entity Loukoléla
relation country
type designation for an administrative territorial entity
['Loukoléla', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Loukoléla property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18472571
Q15617994
USER
And how about Nonoai Airport?
(Q18472571,P17,c(Q15617994))
action filter_type
action find
entity Q18472571
relation P17
type Q15617994
['Q18472571', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q18472571 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Nonoai Airport
action filter_type
action find
entity Nonoai Airport
relation country
type designation for an administrative territorial entity
['Nonoai Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nonoai_Airport property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q18472571,P17,c(Q15617994))
action filter_type
action find
entity Q18472571
relation P17
type Q15617994
[ANSWER]
['Q18472571', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q18472571 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Brazil
Brazil
action filter_type
action find
entity Nonoai Airport
relation country
type designation for an administrative territorial entity
['Nonoai Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nonoai_Airport property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]