I have defined a rdf class for Books. Another rdf class for describing people. The Book class contains authoredBy field which links book instances to people instances.
Properties of Book
Book
-Id
-name
-authoredBy
Person
-id
-firstName
-LastName
-designation
For retrieving book properties, i use the following sparql query
DESCRIBE ?book WHERE { ?book a rdf:Book ;
}
I am able to retrieve all the properties belonging to Book using DESCRIBE i.e the predicate , subject and object. However when it comes to authoredBy field, the above query returns me only URI of the author.
I would like to see all predicates that belong to author as well (i.e its firstname, lastname). Can the above DESCRIBE query be modified to achieve this ?