Simple Question (Direct)
Simple Question
Q17457241
P800
Q838948
USER
What was notable work done by Benjamín Menéndez Navarro ?
(Q17457241,P800,c(Q838948))
action filter_type
action find
entity Q17457241
relation P800
type Q838948
['Q17457241', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . resource:Q17457241 property:P800 ?e }
Benjamín Menéndez Navarro
action filter_type
action find
entity Benjamín Menéndez Navarro
relation notable work
type work of art
['Benjamín Menéndez Navarro', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . resource:Benjamín_Menéndez_Navarro property:notable_work ?e }
[]
work of art
Q17496298
SYSTEM
Naturalezas
Q17496298
(Q17457241,P800,c(Q838948))
action filter_type
action find
entity Q17457241
relation P800
type Q838948
Notable work done by Benjamín Menéndez Navarro was in [ANSWER]
['Q17457241', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . resource:Q17457241 property:P800 ?e }
Naturalezas
Notable work done by Benjamín Menéndez Navarro was in Naturalezas
Naturalezas
action filter_type
action find
entity Benjamín Menéndez Navarro
relation notable work
type work of art
['Benjamín Menéndez Navarro', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . resource:Benjamín_Menéndez_Navarro property:notable_work ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17457241
P170
Q838948
USER
What was developed by Benjamín Menéndez Navarro ?
(c(Q838948),P170,Q17457241)
action filter_type
action find_reverse
entity Q17457241
relation P170
type Q838948
[{'concept': 'Q838948'}, 'P170', 'Q17457241']
SELECT DISTINCT ?y WHERE { ?y property:P170 resource:Q17457241 . ?y rdf:type ontology:Q838948 }
Benjamín Menéndez Navarro
action filter_type
action find_reverse
entity Benjamín Menéndez Navarro
relation creator
type work of art
[{'concept': 'work of art'}, 'creator', 'Benjamín Menéndez Navarro']
SELECT DISTINCT ?y WHERE { ?y property:creator resource:Benjamín_Menéndez_Navarro . ?y rdf:type ontology:work_of_art }
[]
work of art
Q17496298
SYSTEM
Naturalezas
Q17496298
(c(Q838948),P170,Q17457241)
action filter_type
action find_reverse
entity Q17457241
relation P170
type Q838948
[ANSWER] was developed by Benjamín Menéndez Navarro
[{'concept': 'Q838948'}, 'P170', 'Q17457241']
SELECT DISTINCT ?y WHERE { ?y property:P170 resource:Q17457241 . ?y rdf:type ontology:Q838948 }
Naturalezas
Naturalezas was developed by Benjamín Menéndez Navarro
Naturalezas
action filter_type
action find_reverse
entity Benjamín Menéndez Navarro
relation creator
type work of art
[{'concept': 'work of art'}, 'creator', 'Benjamín Menéndez Navarro']
SELECT DISTINCT ?y WHERE { ?y property:creator resource:Benjamín_Menéndez_Navarro . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17496298
P186
Q214609
USER
Which material is used to manufacture that work of art ?
(Q17496298,P186,c(Q214609))
action filter_type
action find
entity Q17496298
relation P186
type Q214609
['Q17496298', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?k WHERE { resource:Q17496298 property:P186 ?k . ?k rdf:type ontology:Q214609 }
Naturalezas
action filter_type
action find
entity Naturalezas
relation material used
type material
['Naturalezas', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?k WHERE { resource:Naturalezas property:material_used ?k . ?k rdf:type ontology:material }
[]
material
Q22731
SYSTEM
stone
Q22731
(Q17496298,P186,c(Q214609))
action filter_type
action find
entity Q17496298
relation P186
type Q214609
The [ANSWER] is used to manufacture that work of art
['Q17496298', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?k WHERE { resource:Q17496298 property:P186 ?k . ?k rdf:type ontology:Q214609 }
stone
The stone is used to manufacture that work of art
stone
action filter_type
action find
entity Naturalezas
relation material used
type material
['Naturalezas', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?k WHERE { resource:Naturalezas property:material_used ?k . ?k rdf:type ontology:material }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17496298
P17
Q15617994
USER
Which administrative territory is Naturalezas located in ?
(Q17496298,P17,c(Q15617994))
action filter_type
action find
entity Q17496298
relation P17
type Q15617994
['Q17496298', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q17496298 property:P17 ?s }
Naturalezas
action filter_type
action find
entity Naturalezas
relation country
type designation for an administrative territorial entity
['Naturalezas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Naturalezas property:country ?s }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q17496298,P17,c(Q15617994))
action filter_type
action find
entity Q17496298
relation P17
type Q15617994
Naturalezas is located in [ANSWER]
['Q17496298', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q17496298 property:P17 ?s }
Spain
Naturalezas is located in Spain
Spain
action filter_type
action find
entity Naturalezas
relation country
type designation for an administrative territorial entity
['Naturalezas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Naturalezas property:country ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4410609
Q15617994
USER
And also tell me about Svichkivka?
(Q4410609,P17,c(Q15617994))
action filter_type
action find
entity Q4410609
relation P17
type Q15617994
['Q4410609', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4410609 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Svichkivka
action filter_type
action find
entity Svichkivka
relation country
type designation for an administrative territorial entity
['Svichkivka', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Svichkivka property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q4410609,P17,c(Q15617994))
action filter_type
action find
entity Q4410609
relation P17
type Q15617994
[ANSWER]
['Q4410609', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4410609 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Ukraine
Ukraine
action filter_type
action find
entity Svichkivka
relation country
type designation for an administrative territorial entity
['Svichkivka', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Svichkivka property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q212 Q2405431 Q1440382
P530
Q1048835
USER
Does that administrative territory have tactful political relations with Vila and Fradelos ?
(Q212,P530,Q2405431) (Q212,P530,Q1440382)
action is_in
entity Q212
action intersection
action find_reverse
entity Q2405431
relation P530
action find_reverse
entity Q1440382
relation P530
['Q212', 'P530', 'Q2405431'] ['Q212', 'P530', 'Q1440382']
ASK WHERE { resource:Q212 property:P530 resource:Q1440382 . resource:Q212 property:P530 resource:Q2405431 }
Ukraine Vila Fradelos
action is_in
entity Ukraine
action intersection
action find_reverse
entity Vila
relation diplomatic relation
action find_reverse
entity Fradelos
relation diplomatic relation
['Ukraine', 'diplomatic relation', 'Vila'] ['Ukraine', 'diplomatic relation', 'Fradelos']
ASK WHERE { resource:Ukraine property:diplomatic_relation resource:Fradelos . resource:Ukraine property:diplomatic_relation resource:Vila }
[]
political territorial entity
SYSTEM
NO
(Q212,P530,Q2405431) (Q212,P530,Q1440382)
action is_in
entity Q212
action intersection
action find_reverse
entity Q2405431
relation P530
action find_reverse
entity Q1440382
relation P530
[ANSWER]
['Q212', 'P530', 'Q2405431'] ['Q212', 'P530', 'Q1440382']
ASK WHERE { resource:Q212 property:P530 resource:Q1440382 . resource:Q212 property:P530 resource:Q2405431 }
No
action is_in
entity Ukraine
action intersection
action find_reverse
entity Vila
relation diplomatic relation
action find_reverse
entity Fradelos
relation diplomatic relation
['Ukraine', 'diplomatic relation', 'Vila'] ['Ukraine', 'diplomatic relation', 'Fradelos']
ASK WHERE { resource:Ukraine property:diplomatic_relation resource:Fradelos . resource:Ukraine property:diplomatic_relation resource:Vila }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17457241 Q1321
P1412
Q34770
USER
Does Benjamín Menéndez Navarro speak in Spanish ?
(Q17457241,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q17457241
relation P1412
['Q17457241', 'P1412', 'Q1321']
ASK WHERE { resource:Q17457241 property:P1412 resource:Q1321 }
Benjamín Menéndez Navarro Spanish
action is_in
entity Spanish
action find
entity Benjamín Menéndez Navarro
relation languages spoken, written or signed
['Benjamín Menéndez Navarro', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Benjamín_Menéndez_Navarro property:languages_spoken,_written_or_signed resource:Spanish }
[]
language
SYSTEM
YES
(Q17457241,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q17457241
relation P1412
[ANSWER]
['Q17457241', 'P1412', 'Q1321']
ASK WHERE { resource:Q17457241 property:P1412 resource:Q1321 }
Yes
action is_in
entity Spanish
action find
entity Benjamín Menéndez Navarro
relation languages spoken, written or signed
['Benjamín Menéndez Navarro', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Benjamín_Menéndez_Navarro property:languages_spoken,_written_or_signed resource:Spanish }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q234460 Q811979
USER
How many works of art are exactly 2 texts or architectural structures a portion of ?
(c(Q234460)|c(Q811979),P361,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action find_reverse_tuple_counts
relation P361
type Q838948
type Q811979
value 2
[[{'concept': 'Q234460'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?r ) WHERE { { ?u rdf:type ontology:Q838948 . ?o rdf:type ontology:Q234460 . ?o property:P361 ?u } UNION { ?o property:P361 ?u . ?u rdf:type ontology:Q838948 . ?o rdf:type ontology:Q811979 } } GROUP BY ?u } . FILTER ( ?r = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation part of
type work of art
type text
action find_reverse_tuple_counts
relation part of
type work of art
type architectural structure
value 2
[[{'concept': 'text'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?r ) WHERE { { ?u rdf:type ontology:work_of_art . ?o rdf:type ontology:text . ?o property:part_of ?u } UNION { ?o property:part_of ?u . ?u rdf:type ontology:work_of_art . ?o rdf:type ontology:architectural_structure } } GROUP BY ?u } . FILTER ( ?r = 2 ) }
[]
work of art text architectural structure
SYSTEM
2
Q29478 Q489772
(c(Q234460)|c(Q811979),P361,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action find_reverse_tuple_counts
relation P361
type Q838948
type Q811979
value 2
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?r ) WHERE { { ?u rdf:type ontology:Q838948 . ?o rdf:type ontology:Q234460 . ?o property:P361 ?u } UNION { ?o property:P361 ?u . ?u rdf:type ontology:Q838948 . ?o rdf:type ontology:Q811979 } } GROUP BY ?u } . FILTER ( ?r = 2 ) }
Faust Seven Wonders of the Ancient World
2
action count
action equal
action union
action find_reverse_tuple_counts
relation part of
type work of art
type text
action find_reverse_tuple_counts
relation part of
type work of art
type architectural structure
value 2
[[{'concept': 'text'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?r ) WHERE { { ?u rdf:type ontology:work_of_art . ?o rdf:type ontology:text . ?o property:part_of ?u } UNION { ?o property:part_of ?u . ?u rdf:type ontology:work_of_art . ?o rdf:type ontology:architectural_structure } } GROUP BY ?u } . FILTER ( ?r = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q312562
P921
Q191067
USER
Which articles were mainly based on James Macpherson ?
(c(Q191067),P921,Q312562)
action filter_type
action find_reverse
entity Q312562
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q312562']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q191067 . ?x property:P921 resource:Q312562 }
James Macpherson
action filter_type
action find_reverse
entity James Macpherson
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'James Macpherson']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:article . ?x property:main_subject resource:James_Macpherson }
[]
article
Q19022483 Q21004337
SYSTEM
Macpherson, James (1736-1796) (DNB00), EB-11 / Macpherson, James
Q19022483 Q21004337
(c(Q191067),P921,Q312562)
action filter_type
action find_reverse
entity Q312562
relation P921
type Q191067
[ANSWERS]
[{'concept': 'Q191067'}, 'P921', 'Q312562']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q191067 . ?x property:P921 resource:Q312562 }
Macpherson, James (1736-1796) (DNB00) EB-11 / Macpherson, James
Macpherson, James (1736-1796) (DNB00) and EB-11 / Macpherson, James were mainly based on James Macpherson
Macpherson, James (1736-1796) (DNB00) EB-11 / Macpherson, James
action filter_type
action find_reverse
entity James Macpherson
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'James Macpherson']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:article . ?x property:main_subject resource:James_Macpherson }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19022483 Q21004337
P921
Q502895
USER
What topics were discussed in Macpherson, James (1736-1796) (DNB00) and EB-11 / Macpherson, James ?
(Q19022483,P921,c(Q502895)) (Q21004337,P921,c(Q502895))
action union
action filter_type
action find
entity Q19022483
relation P921
type Q502895
action filter_type
action find
entity Q21004337
relation P921
type Q502895
['Q19022483', 'P921', {'concept': 'Q502895'}] ['Q21004337', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?b property:P921 ?u . VALUES ( ?b ) { ( resource:Q19022483 ) ( resource:Q21004337 ) } }
Macpherson, James (1736-1796) (DNB00) EB-11 / Macpherson, James
action union
action filter_type
action find
entity Macpherson, James (1736-1796) (DNB00)
relation main subject
type common name
action filter_type
action find
entity EB-11 / Macpherson, James
relation main subject
type common name
['Macpherson, James (1736-1796) (DNB00)', 'main subject', {'concept': 'common name'}] ['EB-11 / Macpherson, James', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?b property:main_subject ?u . VALUES ( ?b ) { ( resource:Macpherson,_James_(1736-1796)_(DNB00) ) ( resource:EB-11_/_Macpherson,_James ) } }
[]
common name
Q312562 Q312562
SYSTEM
James Macpherson
Q312562 Q312562
(Q19022483,P921,c(Q502895)) (Q21004337,P921,c(Q502895))
action union
action filter_type
action find
entity Q19022483
relation P921
type Q502895
action filter_type
action find
entity Q21004337
relation P921
type Q502895
[ANSWER] and [ANSWER] were discussed in Macpherson, James (1736-1796) (DNB00) and EB-11 / Macpherson, James
['Q19022483', 'P921', {'concept': 'Q502895'}] ['Q21004337', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?b property:P921 ?u . VALUES ( ?b ) { ( resource:Q19022483 ) ( resource:Q21004337 ) } }
James Macpherson James Macpherson
James Macpherson and James Macpherson were discussed in Macpherson, James (1736-1796) (DNB00) and EB-11 / Macpherson, James
James Macpherson James Macpherson
action union
action filter_type
action find
entity Macpherson, James (1736-1796) (DNB00)
relation main subject
type common name
action filter_type
action find
entity EB-11 / Macpherson, James
relation main subject
type common name
['Macpherson, James (1736-1796) (DNB00)', 'main subject', {'concept': 'common name'}] ['EB-11 / Macpherson, James', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?b property:main_subject ?u . VALUES ( ?b ) { ( resource:Macpherson,_James_(1736-1796)_(DNB00) ) ( resource:EB-11_/_Macpherson,_James ) } }
[]