Thanks Andra and Magnus,
It is good to know that the query works fine, I was worried about the amount of records.
@Andra, if any doubt or so, would be the GeneWiki team our contact? Of course we would try the list first, but I think we need kind of a direct contact with the team behind the pages we are linking to.
So, please let me know how to proceed. Should we keep this discussion here, or move it to GeneWiki team mails? I do not want to misuse the list for something that might not be of broad interest.
Regards,
------------------------------
Message: 5 Date: Mon, 9 Oct 2017 15:31:02 +0200 From: Andra Waagmeester andra@micelio.be To: "Discussion list for the Wikidata project." wikidata@lists.wikimedia.org Cc: Andrew Su asu@scripps.edu, Gregory Stupp gstupp@scripps.edu Subject: Re: [Wikidata] Linking to wikidata pages Message-ID: CAMNM0fWyWeuUhHTmQc9bKGyXANC64O3NSRfK=UzmadgZ9Sc8xg@mail.gmail.com Content-Type: text/plain; charset="utf-8"
Hi Leyla,
I just tried that query without limits, and the response time is quite reasonable. I don't see any constraints in not downloading it directly from Wikidata through this SPARQL query. We, the genewiki team, are regularly maintaining protein items on Wikidata with our family of bots. Happy to discuss any cross pollination.
Cheers,
Andra Waagmeester
On Mon, Oct 9, 2017 at 3:15 PM, Leyla Garcia ljgarcia@ebi.ac.uk wrote:
Hi all,
We would like to link from our pages to wikidata pages. Who should we contact in this regard? We would need a contact other than the mailing list, if possible.
I also want to make sure we will not disturb the SPARQL endpoint service with our query. We want to retrieve all pages pointing to a UniProt entry regardless of the taxon. So far we have this query
SELECT ?item ?itemLabel ?UniProt_ID ?taxonID WHERE { ?item wdt:P352 ?UniProt_ID ; wdt:P703 ?taxon . ?taxon wdt:P31 wd:Q16521 ; wdt:P685 ?taxonID .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
I tried it with a limit of 100 and it worked fine but wondering what would be the recommended way if we want them all.
By the way, what would be the way to get that query using the query helper? I did not managed so I wrote it manually.
Regards,
_______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata