lvaudor / glitter

an R package which writes SPARQL queries
https://lvaudor.github.io/glitter
44 stars 5 forks source link

FROM? #144

Open maelle opened 1 year ago

maelle commented 1 year ago
PREFIX up: <http://purl.uniprot.org/core/>
SELECT ?taxon
FROM <http://sparql.uniprot.org/taxonomy>
WHERE
{
    ?taxon a up:Taxon .
}

@lvaudor how could we integrate FROM?

lvaudor commented 1 year ago

Maybe through a function spq_from() or spq_graph() (I think i'd rather have the latter, but you might differ)? I haven't had to specify graphs so far when building queries, I'm afraid I'm not gonna have much input on that matter.