-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
Description
Hi,
May I ask a if there is any example like sparql sub query? I tried to write a sparql query which includes a sub query in my case. But the result generated is not correct. The query looks like below.
SELECT ?structure ?formula
WHERE{
?structure rdf:type core:Structure;
structure:Composition ?composition.
?composition structure:formula ?formula.
{
select ?structure
where{
?structure structure:Composition ?composition1;
structure:formula ?formula1.
Filter (?formula1 in ("MnCl2", "YClO"))
}
}
}
Thank you in advance.
Best,
Huanyu