user2022416
user2022416

Reputation: 71

List object resources from a instance in Jena

How can I list all Object Resources associated to a instance of Resource in Jena?

For example: Micheal has an Object Resource called "Ben" which is a instance of a Resource Person

Upvotes: 0

Views: 446

Answers (2)

AndyS
AndyS

Reputation: 16630

See the online Apache Jena javadoc:

http://jena.apache.org/documentation/javadoc/jena/

Upvotes: 0

Peiqin
Peiqin

Reputation: 388

What does an object resource reference to? Does the Person matters?

If you mean the objects that Micheal has object relation with, then you retrieve them by ListProperties of the resource, and thus get the objects of these properties.

Upvotes: 1

Related Questions