From 78abb25c6fd79a160dc0c5bb89da9cfa99b90dea Mon Sep 17 00:00:00 2001 From: j2blake Date: Thu, 13 Nov 2014 18:00:22 -0500 Subject: [PATCH] VIVO-867 correct misspellings. --- .../webapp/search/documentBuilding/VivoISFBasicFields.java | 3 +-- .../webapp/search/documentBuilding/VivoISFMemberFields.java | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/edu/cornell/mannlib/vitro/webapp/search/documentBuilding/VivoISFBasicFields.java b/src/edu/cornell/mannlib/vitro/webapp/search/documentBuilding/VivoISFBasicFields.java index dfecb445..010fbc82 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/search/documentBuilding/VivoISFBasicFields.java +++ b/src/edu/cornell/mannlib/vitro/webapp/search/documentBuilding/VivoISFBasicFields.java @@ -20,8 +20,7 @@ public class VivoISFBasicFields extends ContextNodeFields { * Subtypes of vivo:Relationship that get handled by this class. */ private static String[] RELATIONSHIP_TYPES = { - //VIVONS + "Relationship", - VIVONS + "Postion", + VIVONS + "Position", VIVONS + "Authorship", VIVONS + "Collaboration", VIVONS + "Affiliation" diff --git a/src/edu/cornell/mannlib/vitro/webapp/search/documentBuilding/VivoISFMemberFields.java b/src/edu/cornell/mannlib/vitro/webapp/search/documentBuilding/VivoISFMemberFields.java index b7c6769a..4e7251c3 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/search/documentBuilding/VivoISFMemberFields.java +++ b/src/edu/cornell/mannlib/vitro/webapp/search/documentBuilding/VivoISFMemberFields.java @@ -34,7 +34,7 @@ public class VivoISFMemberFields extends ContextNodeFields { prefix + "SELECT (str(?rawresult) as ?result) WHERE {\n" + " ?uri rdf:type foaf:Organization . \n" + - " ?role core:roleContrigutesTo ?uri . \n" + + " ?role core:roleContributesTo ?uri . \n" + " ?person obo:RO_0000053 ?role . \n" + " ?person rdfs:label ?rawresult .\n" + "}"; @@ -46,7 +46,7 @@ public class VivoISFMemberFields extends ContextNodeFields { prefix + "SELECT (str(?rawresult) as ?result) WHERE {\n" + " ?uri rdf:type foaf:Person . \n" + - " ?uri obo:RO_0000053 / core:roleContrigutesTo / rdfs:label ?rawresult . \n" + + " ?uri obo:RO_0000053 / core:roleContributesTo / rdfs:label ?rawresult . \n" + "}";