Github user afs commented on a diff in the pull request:

    https://github.com/apache/jena/pull/218#discussion_r103077077
  
    --- Diff: 
jena-arq/src/main/java/org/apache/jena/sparql/core/assembler/AssemblerUtils.java
 ---
    @@ -76,8 +76,11 @@ static public void registerModel(Resource r, Assembler 
a) {
         /** Register an addition assembler */  
         static public void register(AssemblerGroup g, Resource r, Assembler a, 
Resource superType) {
             registerAssembler(g, r, a) ;
    -        if ( superType != null && ! superType.equals(r) ) 
    -            modelExtras.add(r, RDFS.subClassOf, superType) ;
    +        if ( superType != null && ! superType.equals(r) ) {
    +            // This is called during Jena-wide initialization.
    +            // Use function for constant (JENA-1294)
    +           modelExtras.add(r, RDFS.Init.subClassOf(), superType) ;
    --- End diff --
    
    Example of use of the calculation rather than the eventual constant.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to