neontribe / Linked_Development

Linked Development
1 stars 1 forks source link

Include site in routing #34

Closed practicalparticipation closed 11 years ago

practicalparticipation commented 11 years ago

/eldis/ at the start of API calls is used to select named graph for ELDIS.

Could also have /r4d/ and /all/ (and others in future).

tobybatch commented 11 years ago

Tim,

I'm really sorry, I should have noted this. How do I specify the graph in the sparql. I can't even get it to throw that error that you did.

practicalparticipation commented 11 years ago

Either prefix the command with:

define input:default-graph-uri <http://linked-development.org/eldis&gt;

(Virtuoso specific)

or

select * from <http://linked-development.org/eldis&gt; where ...

(Generic, so preferred if possible...)

tobybatch commented 11 years ago

Thanks, I'll do the generic one