简体   繁体   中英

SPARQL Query on DBpedia for tiger woods types

I want to find all types to which Tiger woods belongs. I am struggling with semantic and getting errors

In RDF, that a resource x has a given type t is expressed by the triple " x rdf:type t ." In your case, x is dbr:Tiger_Woods , so you can use a query like this:

select ?type { dbr:Tiger_Woods rdf:type ?type }

SPARQL results

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM