Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] can't get apikey to work

Paul R Alexander palexander at stanford.edu
Wed Dec 18 10:04:56 PST 2013


Laura,

The schema and structure of the RDF will be changing, and so it will require changing SPARQL queries to match. Most of it will be pretty simple, like changing predicate names. However, things like mappings are structured differently in the new system and will require more changes.

Paul


On Dec 18, 2013, at 6:55 AM, Hollink, L. <l.hollink at vu.nl> wrote:

> Paul, 
> 
> Yes the api key works now, thanks!
> 
> Can you tell me a little about in what way I will have to change my code in a few months? Will the schema of the ontologies change, and will I have to adapt my SPARQL queries? Or is it a matter of changing to a different SPARQL endpoint?
> 
> Is there anything I can do now to make my code more robust agains the change?
> 
> Thanks
> Laura
> 
> 
> 
> 
> On Dec 17, 2013, at 10:01 PM, Paul R Alexander wrote:
> 
>> Laura,
>> 
>> It should work now, though please keep in mind that the RDF data available at the SPARQL endpoint will be updated in the coming months to match our new infrastructure. This will break your existing queries and you will need to transition. We’ll send out an announcement when this new data is available.
>> 
>> Paul
>> 
>> 
>> On Dec 17, 2013, at 9:22 AM, Hollink, L. <l.hollink at vu.nl> wrote:
>> 
>>> Paul, 
>>> 
>>> This one does not work for me:
>>> 
>>> http://sparql.bioontology.org/mappings/sparql?query=PREFIX+maps%3A+%3Chttp%3A%2F%2Fprotege.stanford.edu%2Fontologies%2Fmappings%2Fmappings.rdfs%23%3E+PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+SELECT+*+WHERE+%7B+%3Fmapping+maps%3Asource+%09%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FMIRO_40000632%3E+.+%3Fmapping+rdf%3Atype+maps%3AOne_To_One_Mapping+%7D+LIMIT+10&apikey=28be6cf1-10b8-4f26-8298-4cab4cd0c821
>>> 
>>> 
>>> While this one does:
>>> 
>>> http://sparql.bioontology.org/mappings/sparql?query=PREFIX+maps%3A+%3Chttp%3A%2F%2Fprotege.stanford.edu%2Fontologies%2Fmappings%2Fmappings.rdfs%23%3E+PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+SELECT+*+WHERE+%7B+%3Fmapping+maps%3Asource+%09%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FMIRO_40000632%3E+.+%3Fmapping+rdf%3Atype+maps%3AOne_To_One_Mapping+%7D+LIMIT+10&apikey=267ff7a4-a27e-427f-a374-aedc43968d28
>>> 
>>> Thanks,
>>> Laura
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Dec 17, 2013, at 6:00 PM, Steven Elliott wrote:
>>> 
>>>> FWIW I have the same problem:
>>>> http://rest.bioontology.org/bioportal/ontologies/versions/1104/all?apikey=68beb6e8-3610-4e92-b271-fdc55fa9807d
>>>> 
>>>> Steven Elliott
>>>> 520.344.0208
>>>> 
>>>> Cognitive Medical Systems, Inc.
>>>> 11722 Sorrento Valley Road, Suite G-2
>>>> San Diego, CA 92121
>>>> 
>>>> 
>>>> 
>>>> On Tue, Dec 17, 2013 at 8:54 AM, Paul R Alexander <palexander at stanford.edu> wrote:
>>>> Laura,
>>>> 
>>>> Can you provide an example URL that is failing?
>>>> 
>>>> Thanks,
>>>> Paul
>>>> 
>>>> 
>>>> > On Dec 17, 2013, at 3:05 AM, "Hollink, L." <l.hollink at vu.nl> wrote:
>>>> >
>>>> > Dear BioPortal support,
>>>> >
>>>> > I have recently created a new account for a project in which we intend to use bioportal, called eurecaproject. However, I cannot get the apikey for this new account to work. For now, I am using my own personal old apikey in the project software, but it would be much cleaner if I could use the apikey that is part of the project account.
>>>> >
>>>> > When I enter the complete query URL into a browser, I get: Internal error error_apikey_validation() takes exactly 1 argument (2 given)
>>>> >
>>>> > Code snippets:
>>>> > String apikey = "28be6cf1-10b8-4f26-8298-4cab4cd0c821"; // This is the eurecaproject apikey. It does not work
>>>> > String apikey = "267ff7a4-a27e-427f-a374-aedc43968d28"; // This is my old personal apikey. It does work.
>>>> >
>>>> > Do you have any what I am doing wrong?
>>>> >
>>>> > Thanks,
>>>> > Laura
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > bioontology-support mailing list
>>>> > bioontology-support at lists.stanford.edu
>>>> > https://mailman.stanford.edu/mailman/listinfo/bioontology-support
>>>> _______________________________________________
>>>> bioontology-support mailing list
>>>> bioontology-support at lists.stanford.edu
>>>> https://mailman.stanford.edu/mailman/listinfo/bioontology-support
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Steven Elliott
>>>> 520.344.0208
>>>> 
>>>> Cognitive Medical Systems, Inc.
>>>> 11722 Sorrento Valley Road, Suite G-2
>>>> San Diego, CA 92121
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20131218/f1e0505d/attachment.html>


More information about the bioontology-support mailing list