Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
408 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 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...