w3c/ldp-testsuite — pull request #195 by jamesrdf (2014-10-06 14:49:33+00:00)
Title: Don't assume the LDPR primary topic is the same as the LDPR location

To support indirect containers, the test suite must distinguish between the LDPR primary topic and the LDPR location.

This pull-request adds a getPrimaryTopic method that tries to guess the LDPR primary topic. It uses the ldp:insertedContentRelation for containers and the rdf:type ex:Bug for resources to find the primary topic.