diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/jena/ObjectPropertyDaoJena.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/jena/ObjectPropertyDaoJena.java index 18213798b..a5eb16dff 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/jena/ObjectPropertyDaoJena.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/jena/ObjectPropertyDaoJena.java @@ -72,18 +72,19 @@ public class ObjectPropertyDaoJena extends PropertyDaoJena implements ObjectProp } } - static protected String customListViewConfigFileQueryString = + static protected String listViewConfigFileQueryString = "PREFIX display: " + "SELECT ?property ?filename WHERE { \n" + - " ?property display:customListViewConfigurationFile ?filename . \n" + + " ?property display:listViewConfigurationFile ?filename . \n" + "} LIMIT 1"; - static protected Query customListViewConfigFileQuery; + + static protected Query listViewConfigFileQuery; static { try { - customListViewConfigFileQuery = QueryFactory.create(customListViewConfigFileQueryString); + listViewConfigFileQuery = QueryFactory.create(listViewConfigFileQueryString); } catch(Throwable th){ - log.error("could not create SPARQL query for customListViewConfigFileQueryString " + th.getMessage()); - log.error(customListViewConfigFileQueryString); + log.error("could not create SPARQL query for listViewConfigFileQueryString " + th.getMessage()); + log.error(listViewConfigFileQueryString); } } @@ -894,7 +895,7 @@ public class ObjectPropertyDaoJena extends PropertyDaoJena implements ObjectProp // } // } - QueryExecution qexec = QueryExecutionFactory.create(customListViewConfigFileQuery, displayModel); + QueryExecution qexec = QueryExecutionFactory.create(listViewConfigFileQuery, displayModel); ResultSet results = qexec.execSelect(); while (results.hasNext()) { QuerySolution soln = results.next(); diff --git a/webapp/web/templates/freemarker/body/partials/individual/shortView-default.ftl b/webapp/web/templates/freemarker/body/partials/individual/shortView-default.ftl index fb7bb9bbe..808bde3c7 100644 --- a/webapp/web/templates/freemarker/body/partials/individual/shortView-default.ftl +++ b/webapp/web/templates/freemarker/body/partials/individual/shortView-default.ftl @@ -1,5 +1,5 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -<#-- Default object property statement template --> +<#-- Default object property statement short view template --> ${statement.name!"object name here"} ${statement.moniker!"moniker here"}