Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
イエナについての知識はほとんどありません。特定のタイプのリソースを取得するメソッドを作成するにはどうすればよいですか?
public static String[] getResourcesOfType(String typeName) { ... }
SELECT * { ?x a <typeURI> }
ここで、「a」は rdf:type の短縮形です。
または使用
model.listStatements(null, RDF.type, <ResourceForTheType>)