Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
399 views
in Technique[技术] by (71.8m points)

querying - extracting datatype property triples from uniprot using sparql

I am new in the field of RDF databases and querying with SPARQL. I want to query the Uniprot database to retrieve a data set of 10 000 triples of the pattern subject-datatypeProperty-object, whereas it is important for me that these dataset contains differnt instances respectivly for s p and o. p shall always be a datatype property. To achieve this I tried to set up a sample query on the sparql page of uniprot:

https://sparql.uniprot.org/

For my understanding the following query shall achieve this task, but instead the website keeps loading and does not finish.

SELECT  ?s ?dp ?o
WHERE
{
  ?s ?dp ?o.
  ?dp a owl:DatatypeProperty.
}
LIMIT 10000

I have been searching for a while but could not find what I was looking for. I hope someone has a solution for my problem. If you have another idea on how to solve this problem please let me know!

Greets Johnny

question from:https://stackoverflow.com/questions/65924414/extracting-datatype-property-triples-from-uniprot-using-sparql

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...