Simple Question (Direct)
Simple Question
Q3550199
P140
Q879146
USER
What is the religious affiliation of Isabelo de los Reyes ?
(Q3550199,P140,c(Q879146))
action filter_type
action find
entity Q3550199
relation P140
type Q879146
['Q3550199', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?u WHERE { resource:Q3550199 property:P140 ?u . ?u rdf:type ontology:Q879146 }
Isabelo de los Reyes
action filter_type
action find
entity Isabelo de los Reyes
relation religion
type Christian denomination
['Isabelo de los Reyes', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?u WHERE { resource:Isabelo_de_los_Reyes property:religion ?u . ?u rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q3550199,P140,c(Q879146))
action filter_type
action find
entity Q3550199
relation P140
type Q879146
The religious affiliation of Isabelo de los Reyes is [ANSWER]
['Q3550199', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?u WHERE { resource:Q3550199 property:P140 ?u . ?u rdf:type ontology:Q879146 }
Roman Catholic Church
The religious affiliation of Isabelo de los Reyes is Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Isabelo de los Reyes
relation religion
type Christian denomination
['Isabelo de los Reyes', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?u WHERE { resource:Isabelo_de_los_Reyes property:religion ?u . ?u rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3550199
P50
Q2342494
USER
Which collectable was written by Isabelo de los Reyes ?
(c(Q2342494),P50,Q3550199)
action filter_type
action find_reverse
entity Q3550199
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q3550199']
SELECT DISTINCT ?i WHERE { ?i property:P50 resource:Q3550199 . ?i rdf:type ontology:Q2342494 }
Isabelo de los Reyes
action filter_type
action find_reverse
entity Isabelo de los Reyes
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Isabelo de los Reyes']
SELECT DISTINCT ?i WHERE { ?i property:author resource:Isabelo_de_los_Reyes . ?i rdf:type ontology:collectable }
[]
collectable
Q4761872
SYSTEM
Ang Singsing ng Dalagang Marmol
Q4761872
(c(Q2342494),P50,Q3550199)
action filter_type
action find_reverse
entity Q3550199
relation P50
type Q2342494
[ANSWER] was written by Isabelo de los Reyes
[{'concept': 'Q2342494'}, 'P50', 'Q3550199']
SELECT DISTINCT ?i WHERE { ?i property:P50 resource:Q3550199 . ?i rdf:type ontology:Q2342494 }
Ang Singsing ng Dalagang Marmol
Ang Singsing ng Dalagang Marmol was written by Isabelo de los Reyes
Ang Singsing ng Dalagang Marmol
action filter_type
action find_reverse
entity Isabelo de los Reyes
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Isabelo de los Reyes']
SELECT DISTINCT ?i WHERE { ?i property:author resource:Isabelo_de_los_Reyes . ?i rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3550199
P25
Q502895
USER
Which person was the mother of that one ?
(Q4761872,P25,c(Q502895))
action filter_type
action find
entity Q3550199
relation P25
type Q502895
['Q4761872', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q3550199 property:P25 ?r }
Isabelo de los Reyes
action filter_type
action find
entity Isabelo de los Reyes
relation mother
type common name
['Ang Singsing ng Dalagang Marmol', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Isabelo_de_los_Reyes property:mother ?r }
[]
common name
Q3547011
SYSTEM
Leona Florentino
Q3547011
(Q4761872,P25,c(Q502895))
action filter_type
action find
entity Q3550199
relation P25
type Q502895
[ANSWER] was the mother of that one
['Q4761872', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q3550199 property:P25 ?r }
Leona Florentino
Leona Florentino was the mother of that one
Leona Florentino
action filter_type
action find
entity Isabelo de los Reyes
relation mother
type common name
['Ang Singsing ng Dalagang Marmol', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Isabelo_de_los_Reyes property:mother ?r }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15677438
P275
Q93288 Q3943414 Q2342494
USER
Which collectables are released under approximately the same number of contracts and free software licenses as English Folk-Carols ?
(c(Q2342494),P275,c(Q93288)|c(Q3943414))
action approx
action union
action find_tuple_counts
relation P275
type Q2342494
type Q93288
action find_tuple_counts
relation P275
type Q2342494
type Q3943414
action count
action filter_multi_types
action find
entity Q15677438
relation P275
type Q93288
type Q3943414
[{'concept': 'Q2342494'}, 'P275', [{'concept': 'Q93288'}, {'concept': 'Q3943414'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?d WHERE { { ?d property:P275 ?m . ?m rdf:type ontology:Q93288 . ?d rdf:type ontology:Q2342494 } UNION { ?d property:P275 ?m . ?d rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q3943414 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q15677438 property:P275 ?c . { VALUES ( ?z ) { ( ontology:Q93288 ) ( ontology:Q3943414 ) } . ?c rdf:type ?z } } } . FILTER ( ?j = ?v ) }
English Folk-Carols
action approx
action union
action find_tuple_counts
relation license
type collectable
type contract
action find_tuple_counts
relation license
type collectable
type free software license
action count
action filter_multi_types
action find
entity English Folk-Carols
relation license
type contract
type free software license
[{'concept': 'collectable'}, 'license', [{'concept': 'contract'}, {'concept': 'free software license'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?d WHERE { { ?d property:license ?m . ?m rdf:type ontology:contract . ?d rdf:type ontology:collectable } UNION { ?d property:license ?m . ?d rdf:type ontology:collectable . ?m rdf:type ontology:free_software_license } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:English_Folk-Carols property:license ?c . { VALUES ( ?z ) { ( ontology:contract ) ( ontology:free_software_license ) } . ?c rdf:type ?z } } } . FILTER ( ?j = ?v ) }
[]
contract free software license collectable
Q202975 Q722594 Q27777485
SYSTEM
Wuthering Heights, The Hour of the Dragon, Open Digital Projects: NMW Collections and Wikipedia
Q15682257 Q979108 Q830186 Q19066964 Q19040158 Q16726210 Q18059128 Q202975 Q3906638 Q15829731 Q16725717 Q15677438 Q4996905 Q27777485 Q722594 Q15690353 Q7402500 Q19962833 Q19020035 Q10888409 Q19904509 Q1130535 Q1168727 Q15705162 Q2182
(c(Q2342494),P275,c(Q93288)|c(Q3943414))
action approx
action union
action find_tuple_counts
relation P275
type Q2342494
type Q93288
action find_tuple_counts
relation P275
type Q2342494
type Q3943414
action count
action filter_multi_types
action find
entity Q15677438
relation P275
type Q93288
type Q3943414
[ANSWERS] are released under approximately the same number of contracts and free software licenses as English Folk-Carols
[{'concept': 'Q2342494'}, 'P275', [{'concept': 'Q93288'}, {'concept': 'Q3943414'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?d WHERE { { ?d property:P275 ?m . ?m rdf:type ontology:Q93288 . ?d rdf:type ontology:Q2342494 } UNION { ?d property:P275 ?m . ?d rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q3943414 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q15677438 property:P275 ?c . { VALUES ( ?z ) { ( ontology:Q93288 ) ( ontology:Q3943414 ) } . ?c rdf:type ?z } } } . FILTER ( ?j = ?v ) }
The Czar: A Tale of the Time of the First Napoleon Rights of Man Linux From Scratch Guidelines for Open Educational Resources in Higher Education An Annotated Bibliography of the Apollo Program Mahayana-Sutralamkara The illegal press 1940-1945 Wuthering Heights Plena Manlibro de Esperanta Gramatiko GEOKOD - a list of codes for the administrative division of Sweden 1862-1951 Bhâminî-Vilasa English Folk-Carols Indian Home Rule Open Digital Projects: NMW Collections and Wikipedia The Hour of the Dragon Hoyle's Games Modernized Sair Tjerita Siti Akbari Introductory Lecture of the One Hundred and Ninth Session of the Medical Department of the University of Pennsylvania A Basic Guide to Open Educational Resources Kidnapped in London First Medical College in Vermont: Castleton 1818–1862 PlanetMath Sarvodaya Elemoont QRpedia
Wuthering Heights, The Hour of the Dragon and Open Digital Projects: NMW Collections and Wikipedia are released under approximately the same number of contracts and free software licenses as English Folk-Carols
Wuthering Heights The Hour of the Dragon Open Digital Projects: NMW Collections and Wikipedia
action approx
action union
action find_tuple_counts
relation license
type collectable
type contract
action find_tuple_counts
relation license
type collectable
type free software license
action count
action filter_multi_types
action find
entity English Folk-Carols
relation license
type contract
type free software license
[{'concept': 'collectable'}, 'license', [{'concept': 'contract'}, {'concept': 'free software license'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?d WHERE { { ?d property:license ?m . ?m rdf:type ontology:contract . ?d rdf:type ontology:collectable } UNION { ?d property:license ?m . ?d rdf:type ontology:collectable . ?m rdf:type ontology:free_software_license } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:English_Folk-Carols property:license ?c . { VALUES ( ?z ) { ( ontology:contract ) ( ontology:free_software_license ) } . ?c rdf:type ?z } } } . FILTER ( ?j = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2182
P275
Q93288 Q3943414 Q2342494
USER
And what about QRpedia?
(c(Q2342494),P275,c(Q93288)|c(Q3943414))
action approx
action union
action find_tuple_counts
relation P275
type Q2342494
type Q93288
action find_tuple_counts
relation P275
type Q2342494
type Q3943414
action count
action filter_multi_types
action find
entity Q2182
relation P275
type Q93288
type Q3943414
[{'concept': 'Q2342494'}, 'P275', [{'concept': 'Q93288'}, {'concept': 'Q3943414'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?q ) WHERE { { ?k property:P275 ?g . ?k rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q93288 } UNION { ?k property:P275 ?g . ?k rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q3943414 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q2182 property:P275 ?d . { { ?d rdf:type ontology:Q93288 } UNION { ?d rdf:type ontology:Q3943414 } } } } . FILTER ( ?q = ?m ) }
QRpedia
action approx
action union
action find_tuple_counts
relation license
type collectable
type contract
action find_tuple_counts
relation license
type collectable
type free software license
action count
action filter_multi_types
action find
entity QRpedia
relation license
type contract
type free software license
[{'concept': 'collectable'}, 'license', [{'concept': 'contract'}, {'concept': 'free software license'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?q ) WHERE { { ?k property:license ?g . ?k rdf:type ontology:collectable . ?g rdf:type ontology:contract } UNION { ?k property:license ?g . ?k rdf:type ontology:collectable . ?g rdf:type ontology:free_software_license } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:QRpedia property:license ?d . { { ?d rdf:type ontology:contract } UNION { ?d rdf:type ontology:free_software_license } } } } . FILTER ( ?q = ?m ) }
[]
contract free software license collectable
Q202975 Q722594 Q27777485
SYSTEM
Wuthering Heights, The Hour of the Dragon, Open Digital Projects: NMW Collections and Wikipedia
Q15682257 Q979108 Q830186 Q19066964 Q19040158 Q16726210 Q18059128 Q202975 Q3906638 Q15829731 Q16725717 Q15677438 Q4996905 Q27777485 Q722594 Q15690353 Q7402500 Q19962833 Q19020035 Q10888409 Q19904509 Q1130535 Q1168727 Q15705162 Q2182
(c(Q2342494),P275,c(Q93288)|c(Q3943414))
action approx
action union
action find_tuple_counts
relation P275
type Q2342494
type Q93288
action find_tuple_counts
relation P275
type Q2342494
type Q3943414
action count
action filter_multi_types
action find
entity Q2182
relation P275
type Q93288
type Q3943414
[ANSWERS]
[{'concept': 'Q2342494'}, 'P275', [{'concept': 'Q93288'}, {'concept': 'Q3943414'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?q ) WHERE { { ?k property:P275 ?g . ?k rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q93288 } UNION { ?k property:P275 ?g . ?k rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q3943414 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q2182 property:P275 ?d . { { ?d rdf:type ontology:Q93288 } UNION { ?d rdf:type ontology:Q3943414 } } } } . FILTER ( ?q = ?m ) }
The Czar: A Tale of the Time of the First Napoleon Rights of Man Linux From Scratch Guidelines for Open Educational Resources in Higher Education An Annotated Bibliography of the Apollo Program Mahayana-Sutralamkara The illegal press 1940-1945 Wuthering Heights Plena Manlibro de Esperanta Gramatiko GEOKOD - a list of codes for the administrative division of Sweden 1862-1951 Bhâminî-Vilasa English Folk-Carols Indian Home Rule Open Digital Projects: NMW Collections and Wikipedia The Hour of the Dragon Hoyle's Games Modernized Sair Tjerita Siti Akbari Introductory Lecture of the One Hundred and Ninth Session of the Medical Department of the University of Pennsylvania A Basic Guide to Open Educational Resources Kidnapped in London First Medical College in Vermont: Castleton 1818–1862 PlanetMath Sarvodaya Elemoont QRpedia
Wuthering Heights The Hour of the Dragon Open Digital Projects: NMW Collections and Wikipedia
action approx
action union
action find_tuple_counts
relation license
type collectable
type contract
action find_tuple_counts
relation license
type collectable
type free software license
action count
action filter_multi_types
action find
entity QRpedia
relation license
type contract
type free software license
[{'concept': 'collectable'}, 'license', [{'concept': 'contract'}, {'concept': 'free software license'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?q ) WHERE { { ?k property:license ?g . ?k rdf:type ontology:collectable . ?g rdf:type ontology:contract } UNION { ?k property:license ?g . ?k rdf:type ontology:collectable . ?g rdf:type ontology:free_software_license } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:QRpedia property:license ?d . { { ?d rdf:type ontology:contract } UNION { ?d rdf:type ontology:free_software_license } } } } . FILTER ( ?q = ?m ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1441
Q2342494 Q3895768
USER
Which fictional locations appear in exactly 4 collectables ?
(c(Q3895768),P1441,c(Q2342494))
action equal
action find_tuple_counts
relation P1441
type Q3895768
type Q2342494
value 4
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?o = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?o ) WHERE { ?y rdf:type ontology:Q3895768 . ?t rdf:type ontology:Q2342494 . ?y property:P1441 ?t } GROUP BY ?y } }
action equal
action find_tuple_counts
relation present in work
type fictional location
type collectable
value 4
[{'concept': 'fictional location'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?o = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?o ) WHERE { ?y rdf:type ontology:fictional_location . ?t rdf:type ontology:collectable . ?y property:present_in_work ?t } GROUP BY ?y } }
[]
collectable fictional location
Q2997950
SYSTEM
Waterdeep
Q2997950
(c(Q3895768),P1441,c(Q2342494))
action equal
action find_tuple_counts
relation P1441
type Q3895768
type Q2342494
value 4
[ANSWER] appear in exactly 4 collectables
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?o = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?o ) WHERE { ?y rdf:type ontology:Q3895768 . ?t rdf:type ontology:Q2342494 . ?y property:P1441 ?t } GROUP BY ?y } }
Waterdeep
Waterdeep appear in exactly 4 collectables
Waterdeep
action equal
action find_tuple_counts
relation present in work
type fictional location
type collectable
value 4
[{'concept': 'fictional location'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?o = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?o ) WHERE { ?y rdf:type ontology:fictional_location . ?t rdf:type ontology:collectable . ?y property:present_in_work ?t } GROUP BY ?y } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2997950 Q936423
P1441
Q166142
USER
Is that fictional location shown in Neverwinter Nights: Hordes of the Underdark ?
(Q2997950,P1441,Q936423)
action is_in
entity Q936423
action find
entity Q2997950
relation P1441
['Q2997950', 'P1441', 'Q936423']
ASK WHERE { resource:Q2997950 property:P1441 resource:Q936423 }
Waterdeep Neverwinter Nights: Hordes of the Underdark
action is_in
entity Neverwinter Nights: Hordes of the Underdark
action find
entity Waterdeep
relation present in work
['Waterdeep', 'present in work', 'Neverwinter Nights: Hordes of the Underdark']
ASK WHERE { resource:Waterdeep property:present_in_work resource:Neverwinter_Nights:_Hordes_of_the_Underdark }
[]
application
SYSTEM
YES
(Q2997950,P1441,Q936423)
action is_in
entity Q936423
action find
entity Q2997950
relation P1441
[ANSWER]
['Q2997950', 'P1441', 'Q936423']
ASK WHERE { resource:Q2997950 property:P1441 resource:Q936423 }
Yes
action is_in
entity Neverwinter Nights: Hordes of the Underdark
action find
entity Waterdeep
relation present in work
['Waterdeep', 'present in work', 'Neverwinter Nights: Hordes of the Underdark']
ASK WHERE { resource:Waterdeep property:present_in_work resource:Neverwinter_Nights:_Hordes_of_the_Underdark }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4761872 Q928
P495
Q15617994
USER
Is Philippines the country of origin of Ang Singsing ng Dalagang Marmol ?
(Q4761872,P495,Q928)
action is_in
entity Q928
action find
entity Q4761872
relation P495
['Q4761872', 'P495', 'Q928']
ASK WHERE { resource:Q4761872 property:P495 resource:Q928 }
Ang Singsing ng Dalagang Marmol Philippines
action is_in
entity Philippines
action find
entity Ang Singsing ng Dalagang Marmol
relation country of origin
['Ang Singsing ng Dalagang Marmol', 'country of origin', 'Philippines']
ASK WHERE { resource:Ang_Singsing_ng_Dalagang_Marmol property:country_of_origin resource:Philippines }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q4761872,P495,Q928)
action is_in
entity Q928
action find
entity Q4761872
relation P495
[ANSWER]
['Q4761872', 'P495', 'Q928']
ASK WHERE { resource:Q4761872 property:P495 resource:Q928 }
Yes
action is_in
entity Philippines
action find
entity Ang Singsing ng Dalagang Marmol
relation country of origin
['Ang Singsing ng Dalagang Marmol', 'country of origin', 'Philippines']
ASK WHERE { resource:Ang_Singsing_ng_Dalagang_Marmol property:country_of_origin resource:Philippines }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q202975 Q699625 Q145
P495
Q15617994
USER
Is Lassee and United Kingdom a country of origin of Wuthering Heights ?
(Q202975,P495,Q699625) (Q202975,P495,Q145)
action is_in
entity Q202975
action intersection
action find_reverse
entity Q699625
relation P495
action find_reverse
entity Q145
relation P495
['Q202975', 'P495', 'Q699625'] ['Q202975', 'P495', 'Q145']
ASK WHERE { resource:Q202975 property:P495 resource:Q699625 . resource:Q202975 property:P495 resource:Q145 }
Wuthering Heights Lassee United Kingdom
action is_in
entity Wuthering Heights
action intersection
action find_reverse
entity Lassee
relation country of origin
action find_reverse
entity United Kingdom
relation country of origin
['Wuthering Heights', 'country of origin', 'Lassee'] ['Wuthering Heights', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Wuthering_Heights property:country_of_origin resource:Lassee . resource:Wuthering_Heights property:country_of_origin resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q202975,P495,Q699625) (Q202975,P495,Q145)
action is_in
entity Q202975
action intersection
action find_reverse
entity Q699625
relation P495
action find_reverse
entity Q145
relation P495
[ANSWER]
['Q202975', 'P495', 'Q699625'] ['Q202975', 'P495', 'Q145']
ASK WHERE { resource:Q202975 property:P495 resource:Q699625 . resource:Q202975 property:P495 resource:Q145 }
NO and YES respectively
action is_in
entity Wuthering Heights
action intersection
action find_reverse
entity Lassee
relation country of origin
action find_reverse
entity United Kingdom
relation country of origin
['Wuthering Heights', 'country of origin', 'Lassee'] ['Wuthering Heights', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Wuthering_Heights property:country_of_origin resource:Lassee . resource:Wuthering_Heights property:country_of_origin resource:United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q202975
P136
Q1792379
USER
What can be considered as category for that collectable ?
action filter_type
action find
entity Q202975
relation P136
type Q1792379
SELECT DISTINCT ?l WHERE { resource:Q202975 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
Wuthering Heights
action filter_type
action find
entity Wuthering Heights
relation genre
type art genre
SELECT DISTINCT ?l WHERE { resource:Wuthering_Heights property:genre ?l . ?l rdf:type ontology:art_genre }
[]
art genre
Q10992055 Q192782
SYSTEM
fantasy novel, gothic novel
Q10992055 Q192782
action filter_type
action find
entity Q202975
relation P136
type Q1792379
And [ANSWERS] can be considered as category for that collectable
SELECT DISTINCT ?l WHERE { resource:Q202975 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
fantasy novel gothic novel
And fantasy novel and gothic novel can be considered as category for that collectable
fantasy novel gothic novel
action filter_type
action find
entity Wuthering Heights
relation genre
type art genre
SELECT DISTINCT ?l WHERE { resource:Wuthering_Heights property:genre ?l . ?l rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q202975
P361
Q6619679
USER
What is a component of Wuthering Heights ?
(c(Q6619679),P361,Q202975)
action filter_type
action find_reverse
entity Q202975
relation P361
type Q6619679
[{'concept': 'Q6619679'}, 'P361', 'Q202975']
SELECT DISTINCT ?a WHERE { ?a property:P361 resource:Q202975 . ?a rdf:type ontology:Q6619679 }
Wuthering Heights
action filter_type
action find_reverse
entity Wuthering Heights
relation part of
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'part of', 'Wuthering Heights']
SELECT DISTINCT ?a WHERE { ?a property:part_of resource:Wuthering_Heights . ?a rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q2499865
SYSTEM
Heathcliff
Q2499865
(c(Q6619679),P361,Q202975)
action filter_type
action find_reverse
entity Q202975
relation P361
type Q6619679
A component of Wuthering Heights is named [ANSWER]
[{'concept': 'Q6619679'}, 'P361', 'Q202975']
SELECT DISTINCT ?a WHERE { ?a property:P361 resource:Q202975 . ?a rdf:type ontology:Q6619679 }
Heathcliff
A component of Wuthering Heights is named Heathcliff
Heathcliff
action filter_type
action find_reverse
entity Wuthering Heights
relation part of
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'part of', 'Wuthering Heights']
SELECT DISTINCT ?a WHERE { ?a property:part_of resource:Wuthering_Heights . ?a rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q202975
P674
Q6619679
USER
Who plays a role in Wuthering Heights ?
(Q202975,P674,c(Q6619679))
action filter_type
action find
entity Q202975
relation P674
type Q6619679
['Q202975', 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?n WHERE { resource:Q202975 property:P674 ?n . ?n rdf:type ontology:Q6619679 }
Wuthering Heights
action filter_type
action find
entity Wuthering Heights
relation characters
type fictional humanoid
['Wuthering Heights', 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?n WHERE { resource:Wuthering_Heights property:characters ?n . ?n rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q4251176 Q11714681 Q3047468
SYSTEM
Catherine Linton, Isabella Linton, Edgar Linton
Q11757618 Q3047468 Q11714681 Q3127428 Q4251176 Q11709806 Q6990232 Q2411295 Q2499865 Q6665881
(Q202975,P674,c(Q6619679))
action filter_type
action find
entity Q202975
relation P674
type Q6619679
[ANSWERS] play a role in Wuthering Heights
['Q202975', 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?n WHERE { resource:Q202975 property:P674 ?n . ?n rdf:type ontology:Q6619679 }
Linton Heathcliff Edgar Linton Isabella Linton Hareton Earnshaw Catherine Linton Hindley Earnshaw Nelly Dean Catherine Earnshaw Heathcliff Lockwood
Catherine Linton, Isabella Linton and Edgar Linton play a role in Wuthering Heights
Catherine Linton Isabella Linton Edgar Linton
action filter_type
action find
entity Wuthering Heights
relation characters
type fictional humanoid
['Wuthering Heights', 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?n WHERE { resource:Wuthering_Heights property:characters ?n . ?n rdf:type ontology:fictional_humanoid }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4251176
P26
Q6619679
USER
Which fictional humanoids are the life partner of that one ?
(c(Q6619679),P26,Q4251176)
action filter_type
action find
entity Q4251176
relation P26
type Q6619679
[{'concept': 'Q6619679'}, 'P26', 'Q4251176']
SELECT DISTINCT ?c WHERE { resource:Q4251176 property:P26 ?c . ?c rdf:type ontology:Q6619679 }
Catherine Linton
action filter_type
action find
entity Catherine Linton
relation spouse
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'spouse', 'Catherine Linton']
SELECT DISTINCT ?c WHERE { resource:Catherine_Linton property:spouse ?c . ?c rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Clarification for simple ques.
Q11714681
SYSTEM
Did you mean Isabella Linton ?
Q4251176 Q11714681 Q3047468
(c(Q6619679),P26,Q4251176) (c(Q6619679),P26,Q11714681) (c(Q6619679),P26,Q3047468)
[ANSWER]
[{'concept': 'Q6619679'}, 'P26', 'Q4251176'] [{'concept': 'Q6619679'}, 'P26', 'Q11714681'] [{'concept': 'Q6619679'}, 'P26', 'Q3047468']
SELECT DISTINCT ?c WHERE { resource:Q4251176 property:P26 ?c . ?c rdf:type ontology:Q6619679 }
Catherine Linton Isabella Linton Edgar Linton
Did you mean Isabella Linton ?
Isabella Linton
[{'concept': 'fictional humanoid'}, 'spouse', 'Catherine Linton'] [{'concept': 'fictional humanoid'}, 'spouse', 'Isabella Linton'] [{'concept': 'fictional humanoid'}, 'spouse', 'Edgar Linton']
SELECT DISTINCT ?c WHERE { resource:Catherine_Linton property:spouse ?c . ?c rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
USER
No, I meant Catherine Linton. Could you tell me the answer for that?
(c(Q6619679),P26,Q4251176)
Q4251176
[{'concept': 'Q6619679'}, 'P26', 'Q4251176']
[{'concept': 'fictional humanoid'}, 'spouse', 'Catherine Linton']
[]
Q11757618 Q3127428
SYSTEM
Linton Heathcliff, Hareton Earnshaw
Q3127428 Q11757618
(c(Q6619679),P26,Q4251176)
action filter_type
action find
entity Q4251176
relation P26
type Q6619679
[ANSWERS] are the life partner of that one
[{'concept': 'Q6619679'}, 'P26', 'Q4251176']
SELECT DISTINCT ?c WHERE { resource:Q4251176 property:P26 ?c . ?c rdf:type ontology:Q6619679 }
Hareton Earnshaw Linton Heathcliff
Linton Heathcliff and Hareton Earnshaw are the life partner of that one
Linton Heathcliff Hareton Earnshaw
action filter_type
action find
entity Catherine Linton
relation spouse
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'spouse', 'Catherine Linton']
SELECT DISTINCT ?c WHERE { resource:Catherine_Linton property:spouse ?c . ?c rdf:type ontology:fictional_humanoid }
[]