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,
Hi Leyla,
you don't need permission just for linking to Wikidata!
And the query looks fine, I just ran it without limit, ~200K results. No problem.
Cheers, Magnus
On Mon, Oct 9, 2017 at 2:16 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
Oh and Leyla, I'm in Sulston building on Genome campus :-)
On Mon, Oct 9, 2017 at 2:21 PM Magnus Manske magnusmanske@googlemail.com wrote:
Hi Leyla,
you don't need permission just for linking to Wikidata!
And the query looks fine, I just ran it without limit, ~200K results. No problem.
Cheers, Magnus
On Mon, Oct 9, 2017 at 2:16 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
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