diff --git a/webapp/src/main/webapp/config/listViewConfig-authorInAuthorship.xml b/webapp/src/main/webapp/config/listViewConfig-authorInAuthorship.xml index 62b15fd2..441e75ea 100644 --- a/webapp/src/main/webapp/config/listViewConfig-authorInAuthorship.xml +++ b/webapp/src/main/webapp/config/listViewConfig-authorInAuthorship.xml @@ -19,6 +19,10 @@ ?volume ?startPage ?endPage + ?doi + ?pmid + ?isbn10 + ?isbn13 ?publisher ?locale ?appearsIn @@ -36,6 +40,10 @@ OPTIONAL { ?infoResource bibo:volume ?volume } OPTIONAL { ?infoResource bibo:pageStart ?startPage } OPTIONAL { ?infoResource bibo:pageEnd ?endPage } + OPTIONAL { ?infoResource bibo:doi ?doi } + OPTIONAL { ?infoResource bibo:pmid ?doi } + OPTIONAL { ?infoResource bibo:isbn10 ?isbn10 } + OPTIONAL { ?infoResource bibo:isbn13 ?isbn13 } OPTIONAL { ?infoResource core:placeOfPublication ?locale } OPTIONAL { @@ -91,6 +99,10 @@ ?infoResource bibo:volume ?volume . ?infoResource bibo:pageStart ?startPage . ?infoResource bibo:pageEnd ?endPage . + ?infoResource bibo:doi ?doi . + ?infoResource bibo:pmid ?pmid . + ?infoResource bibo:isbn10 ?isbn10 . + ?infoResource bibo:isbn13 ?isbn13 . ?infoResource core:placeOfPublication ?locale . ?infoResource bibo:reproducedIn ?appearsInObj . ?appearsInObj rdfs:label ?appearsIn . @@ -173,6 +185,38 @@ ?infoResource bibo:pageEnd ?endPage . } UNION + { + ?subject ?property ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?infoResource . + ?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> . + ?infoResource bibo:doi ?doi . + } + UNION + { + ?subject ?property ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?infoResource . + ?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> . + ?infoResource bibo:pmid ?pmid . + } + UNION + { + ?subject ?property ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?infoResource . + ?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> . + ?infoResource bibo:isbn10 ?isbn10 . + } + UNION + { + ?subject ?property ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?infoResource . + ?infoResource a <http://purl.obolibrary.org/obo/IAO_0000030> . + ?infoResource bibo:isbn13 ?isbn13 . + } + UNION { ?subject ?property ?authorship . ?authorship a core:Authorship . diff --git a/webapp/src/main/webapp/templates/freemarker/body/individual/individual--foaf-person.ftl b/webapp/src/main/webapp/templates/freemarker/body/individual/individual--foaf-person.ftl index 75ba0772..e08d524a 100644 --- a/webapp/src/main/webapp/templates/freemarker/body/individual/individual--foaf-person.ftl +++ b/webapp/src/main/webapp/templates/freemarker/body/individual/individual--foaf-person.ftl @@ -21,6 +21,8 @@ <#include "individual-setup.ftl"> +${scripts.add('')} + <#-- First, check to see if profile page types are enabled. If not, get the 2 column template: "individual--foaf-person-2column.ftl". diff --git a/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl b/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl index 52638212..2c5ce15f 100644 --- a/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl +++ b/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl @@ -111,6 +111,20 @@ - ${resourceTitle} ${citationDetails} <@dt.yearSpan "${statement.dateTime!}" /> + <#local altMetric> + <#if altmetricEnabled??> + <#if statement.doi??> +
+ <#elseif statement.pimd??> +
+ <#elseif statement.isbn10??> +
+ <#elseif statement.isbn13??> +
+ + + + + ${resourceTitle} ${citationDetails} <@dt.yearSpan "${statement.dateTime!}" /> ${altMetric} diff --git a/webapp/src/main/webapp/themes/wilma/templates/individual--foaf-person.ftl b/webapp/src/main/webapp/themes/wilma/templates/individual--foaf-person.ftl index 32c366b7..0e1f9b92 100644 --- a/webapp/src/main/webapp/themes/wilma/templates/individual--foaf-person.ftl +++ b/webapp/src/main/webapp/themes/wilma/templates/individual--foaf-person.ftl @@ -174,4 +174,6 @@ ${scripts.add('', '', '', - '')} + '', + '')} +