Merge branch 'develop' of github.com:vivo-project/VIVO into issue-vivo-111

This commit is contained in:
Brian Caruso 2013-09-24 15:34:43 -04:00
commit 5dc1a0952d
217 changed files with 35743 additions and 4680 deletions

View file

@ -72,6 +72,7 @@
<include name="rdf/**/*" /> <include name="rdf/**/*" />
<include name="test/**/*" /> <include name="test/**/*" />
<include name="themes/**/*" /> <include name="themes/**/*" />
<include name="languages/**/*" />
<include name="config/*.properties" /> <include name="config/*.properties" />
<include name="config/*.txt" /> <include name="config/*.txt" />
<include name="config/jarlist/*.txt" /> <include name="config/jarlist/*.txt" />

View file

@ -316,18 +316,35 @@
/usr/local/vivo/home /usr/local/vivo/home
</td> </td>
</tr> </tr>
<tr>
<td colspan="2">
Languages (in addition to American English) that will be built into your
VIVO site. The languages must be found in the
<code>languages</code> directory of the VIVO distribution.
See <a href="https://wiki.duraspace.org/display/VIVO/Building+a+multi-language+VIVO+instance">
the VIVO Wiki</a> for more information.
</td>
</tr>
<tr class="odd_row">
<td>
languages.addToBuild
</td>
<td>
es_MX
</td>
</tr>
</tbody> </tbody>
</table> </table>
<h3 id="runtime_properties">5. Specify runtime properties </h3> <h3 id="runtime_properties">5. Specify runtime properties </h3>
<p> <p>
In <a href="#build_properties">Step 4</a>, you defined the location of the Vitro home directory, In <a href="#build_properties">Step 4</a>, you defined the location of the VIVO home directory,
by specifying <code>vitro.home</code> in the <code>build.properties</code> file. by specifying <code>vitro.home</code> in the <code>build.properties</code> file.
Create that directory now. Create that directory now.
</p> </p>
<p> <p>
At the top level of the VIVO distribution directory, you will find a file called At the top level of the VIVO distribution directory, you will find a file called
<code>example.runtime.properties</code>. Copy this to the Vitro home directory you have created, <code>example.runtime.properties</code>. Copy this to the VIVO home directory you have created,
renaming the copy to <code>runtime.properties</code>. renaming the copy to <code>runtime.properties</code>.
Edit the file to suit your installation, as described in the following table. Edit the file to suit your installation, as described in the following table.
</p> </p>

View file

@ -49,6 +49,8 @@
<li><a href="#multiple">Multiple foaf:Person Profile Pages</a></li> <li><a href="#multiple">Multiple foaf:Person Profile Pages</a></li>
<li><a href="#homePage">Home Page Re-design</a></li> <li><a href="#homePage">Home Page Re-design</a></li>
<li><a href="#rdffiles">Auto-loaded RDF files move to the Home directory</a></li> <li><a href="#rdffiles">Auto-loaded RDF files move to the Home directory</a></li>
<li><a href="#language">Support for additional languages</a></li>
<li><a href="#extended_lod">More compact responses to Linked data requests</a></li>
<li><a href="#BOGUS">ANYTHING ELSE?</a></li> <li><a href="#BOGUS">ANYTHING ELSE?</a></li>
</ol> </ol>
</li> </li>
@ -334,8 +336,9 @@ rdf/tbox/filegraph/tbox/vivo-foaf-1.5.owl
rdf/tbox/filegraph/tbox/vivo-pws-1.5.owl rdf/tbox/filegraph/tbox/vivo-pws-1.5.owl
rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre> rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre>
<p> <p>
If you are using a three-tier build process, you will need to add a single line If you are using a three-tier build process, you will need to add two lines
to the build script so the RDF files will be merged properly across the tiers. So this: to the build script to accomodate the RDF files, and the language support (see below)
So this:
<pre>&lt;patternset id="appbase.patterns"&gt; <pre>&lt;patternset id="appbase.patterns"&gt;
&lt;include name="src/**/*" /&gt; &lt;include name="src/**/*" /&gt;
&lt;include name="lib/**/*" /&gt; &lt;include name="lib/**/*" /&gt;
@ -352,6 +355,7 @@ rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre>
&lt;include name="src/**/*" /&gt; &lt;include name="src/**/*" /&gt;
&lt;include name="lib/**/*" /&gt; &lt;include name="lib/**/*" /&gt;
&lt;include name="rdf/**/*" /&gt; &lt;include name="rdf/**/*" /&gt;
&lt;include name="languages/**/*" /&gt;
&lt;include name="test/**/*" /&gt; &lt;include name="test/**/*" /&gt;
&lt;include name="themes/**/*" /&gt; &lt;include name="themes/**/*" /&gt;
&lt;include name="config/*.properties" /&gt; &lt;include name="config/*.properties" /&gt;
@ -362,6 +366,71 @@ rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre>
&lt;/patternset&gt;</pre> &lt;/patternset&gt;</pre>
</p> </p>
<h4 id="language">Support for additional languages</h4>
<p>
VIVO 1.6 includes limited support for other languages, in addition to American English.
This limited support is described as <em>read-only</em> support on <em>public-facing</em>
pages.
</p>
<p>
<em>Read-only</em> means that there is no provision for editing multi-language
data or displays. Property values, ontology labels, etc. must all be provided in RDF files
and ingested or otherwise inserted into the data model. The Page Management user interface
does not support maintaining pages in multiple languages.
</p>
<p>
<em>Public-facing</em> means that most of the pages used for site adminstration
are only presented in American English.
</p>
<p>
These two pages in the VIVO Wiki describe how to
<a href="https://wiki.duraspace.org/display/VIVO/Building+a+multi-language+VIVO+instance">
Build VIVO with multiple languages</a> and how to
<a href="https://wiki.duraspace.org/display/VIVO/Adding+a+language+to+VIVO">
Add a new language to VIVO</a>.
</p>
<h4 id="extended_lod">More compact responses to Linked data requests</h4>
<p>
In VIVO 1.6, the response to requests for linked data is changed, to be smaller and faster.
</p>
<p>
When responding to a request for linked data about an individual, VIVO 1.6 returns:
<ul>
<li>Data properties of the individual</li>
<li>Object relationships to and from the individual</li>
<li>The RDF types and RDFS labels for any object that directly relates to the individual</li>
</ul>
This data is filtered by the usual VIVO privacy policies,
so properties such as salary or employee ID number may not be revealed
unless the requester has been properly authenticated.
</p>
<p>
VIVO releases prior to VIVO 1.6 returned a more complex set of statements,
referred to as "extended linked data":
<ul>
<li>Data properties of the individual</li>
<li>Object relationships from the individual</li>
<li>All properties of the context nodes (positions, roles, etc.) that are associated with the individual.</li>
<li>Labels of objects that are joined to the individual through context nodes.</li>
<li>Full details of time intervals that are attached to context nodes: start, end, precision.</li>
</ul>
As above, this data was filtered by the VIVO privacy policies.
Although these additional items were included,
extended linked data was based only on relationships from the individual.
Relationships to the individual were not included.
</p>
<p>
Extended linked data was costly to produce, in terms of resources,
because it required a recursive search of the data model.
Extended linked data typically contained 50% more information than its non-extended equivalent,
and took more than 10 times as long to produce.
</p>
<p>
VIVO release 1.6 can be configured to produce extended linked data like previous releases.
However, extended linked data will not be supported in future releases.
</p>
<h4 id="BOGUS">ANYTHING ELSE?</h4> <h4 id="BOGUS">ANYTHING ELSE?</h4>
<p> <p>
</p> </p>
@ -394,7 +463,7 @@ rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre>
</ul> </ul>
<h3 id="#upgrade_process">III. Upgrade Instructions</h3> <h3 id="upgrade_process">III. Upgrade Instructions</h3>
<p> <p>
1. Download the new distribution file and unpack it into a new 1. Download the new distribution file and unpack it into a new
@ -402,9 +471,9 @@ rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre>
</p> </p>
<p> <p>
2. Separate your existing <code>deploy.properties</code> file into two files, 2. Separate your existing <code>deploy.properties</code> file into two files,
as described below. The new <code>build.properties</code> file is stored in as described below. Store the new <code>build.properties</code> file in
the top level of the VIVO distribution directory. The new <code>runtime.properties</code> the top level of the VIVO distribution directory. Store the new <code>runtime.properties</code>
file is stored in your Vitro home directory. file in your VIVO home directory.
<br> <br>
</p> </p>
<table border='1' bordercolor="#CCCCCC" cellspacing="5"> <table border='1' bordercolor="#CCCCCC" cellspacing="5">
@ -441,9 +510,48 @@ rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre>
<p> <p>
If you prefer, you may start with <code>example.build.properties</code> If you prefer, you may start with <code>example.build.properties</code>
and <code>example.runtime.properties</code>, make copies, and <code>example.runtime.properties</code>, make copies,
and edit them to suit your installation. and edit them to suit your installation. Remember, the <code>runtime.properties</code> file
goes into your VIVO home directory.
</p> </p>
<p>
The properties below are new to <code>build.properties</code>. They are optional,
so you need not add them unless you want a value other than the default.
</p>
<p>
<!-- runtime.properties table from install.html -->
</p>
<table border='1' bordercolor="#CCCCCC" cellspacing="5">
<tbody>
<tr>
<th>
Property Name
</th>
<th>
Example Value
</th>
</tr>
<tr>
<td colspan="2">
Languages (in addition to American English) that will be built into your
VIVO site. The languages must be found in the
<code>languages</code> directory of the VIVO distribution.
See <a href="https://wiki.duraspace.org/display/VIVO/Building+a+multi-language+VIVO+instance">
the VIVO Wiki</a> for more information.
</td>
</tr>
<tr class="odd_row blue">
<td>
languages.addToBuild
</td>
<td>
es_MX
</td>
</tr>
</tbody>
</table>
<p> <p>
The properties below are new to <code>runtime.properties</code>. They are optional, The properties below are new to <code>runtime.properties</code>. They are optional,
so you need not add them, unless you want a value other than the default. so you need not add them, unless you want a value other than the default.
@ -550,7 +658,7 @@ rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre>
</tr> </tr>
<tr class="odd_row blue"> <tr class="odd_row blue">
<td> <td>
developer.defeatI18nCache = true developer.defeatI18nCache
</td> </td>
<td> <td>
false false
@ -568,7 +676,7 @@ rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre>
</tr> </tr>
<tr class="odd_row blue"> <tr class="odd_row blue">
<td> <td>
developer.insertFreemarkerDelimiters = true developer.insertFreemarkerDelimiters
</td> </td>
<td> <td>
false false
@ -583,7 +691,7 @@ rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre>
</tr> </tr>
<tr class="odd_row blue"> <tr class="odd_row blue">
<td> <td>
homePage.geoFocusMaps = enabled homePage.geoFocusMaps
</td> </td>
<td> <td>
enabled enabled
@ -603,13 +711,35 @@ rdf/tbox/filegraph/tbox/vivo-skos-1.5.owl</pre>
</tr> </tr>
<tr class="odd_row blue"> <tr class="odd_row blue">
<td> <td>
MultiViews.profilePageTypes=disabled MultiViews.profilePageTypes
</td> </td>
<td> <td>
disabled disabled
</td> </td>
</tr> </tr>
<tr>
<td colspan="2">
Setting this property causes VIVO 1.6 to produce extended responses to requests
for linked data. This provides compatibility with earlier releases.
The default is <code>false</code>.
<br/>
Extended linked data is costly, in terms of server resource. Typically, extended
linke data contains 50% more information than its non-extended equivalent, and
takes 10 times as long to produce.
<br/>
<b>Extended linked data will not be supported in future releases of VIVO.</b>
</td>
</tr>
<tr class="odd_row blue">
<td>
serveExtendedLinkedData
</td>
<td>
true
</td>
</tr>
</tbody> </tbody>
</table> </table>

View file

@ -37,3 +37,10 @@ webapp.name = vivo
# This includes uploaded files (usually images) and the search index. # This includes uploaded files (usually images) and the search index.
# #
vitro.home = /usr/local/vivo/home vitro.home = /usr/local/vivo/home
#
# Additional languages to be built into your VIVO site. The locales specified
# here must appear as sub-directories of [vivo]/languages in the distribution.
# Find more information on the VIVO Wiki (https://wiki.duraspace.org/display/VIVO).
#
#languages.addToBuild =

View file

@ -486,16 +486,14 @@ academic_studies_or_other = Otros estudios académicos o de formación
edit_mailing_address = Editar Dirección postal edit_mailing_address = Editar Dirección postal
create_mailing_address = Cree Dirección postal create_mailing_address = Cree Dirección postal
mailing_address_for = dirección postal mailing_address_for = dirección postal
select_a_country = Por favor, seleccione un país. enter_a_country = Por favor, introduzca un valor en el campo País.
enter_address1_value = Por favor, introduzca un valor en el campo Dirección Línea 1. enter_street_address = Por favor, introduzca un valor en el campo Dirección.
enter_a_city = Por favor, introduzca un valor en el campo Ciudad. enter_a_locality = Por favor, introduzca un valor en el campo Ciudad/Localidad.
enter_postal_code = Por favor, introduzca un valor en el campo Código Postal. enter_postal_code = Por favor, introduzca un valor en el campo Código Postal.
country = País country = País
street_Address1 = Dirección 1 street_address = Dirección
street_Address2 = Dirección 2 city_locality = Ciudad/Localidad
street_Address3 = Dirección 3 region = Estado/Provincia/Región
city = Ciudad
state = Estado
postal_code = Código Postal postal_code = Código Postal
posn_entry_for = entrada de la posición de posn_entry_for = entrada de la posición de
@ -721,7 +719,6 @@ researchers_in = investigadores en
no_faculty_found = No hay miembros de la facultad encontrados. no_faculty_found = No hay miembros de la facultad encontrados.
placeholder_image = imagen de marcador de posición placeholder_image = imagen de marcador de posición
view_all_departments = ver todos los departamentos académicos view_all_departments = ver todos los departamentos académicos
view_all_faculty = ver todos los profesores
no_departments_found = No hay departamentos académicos encontrados. no_departments_found = No hay departamentos académicos encontrados.
# #
@ -768,7 +765,6 @@ no_matching_entities_found = No hay entidades que coincidan encontrados
clear_search_query = claro consulta de búsqueda clear_search_query = claro consulta de búsqueda
short_max_entity_note = Un máximo de 10 entidades se pueden comparar. short_max_entity_note = Un máximo de 10 entidades se pueden comparar.
information_capitalized = Información information_capitalized = Información
entity_type = Del tipo de entidad
content_requires_flash = Este contenido requiere Adobe Flash Player. content_requires_flash = Este contenido requiere Adobe Flash Player.
get_flash = Obtener Flash get_flash = Obtener Flash
of_pubs = de los pubs. of_pubs = de los pubs.
@ -815,4 +811,14 @@ local_research = Investigación Local
selected_presentation = Presentación Seleccionado selected_presentation = Presentación Seleccionado
event_capitalized = Evento event_capitalized = Evento
collection_capitalized = Colección collection_capitalized = Colección
item_capitalized = Artículo item_capitalized = Artículo
telephone_number_for = número de teléfono para
telephone_number = Número de Teléfono
enter_telephone_number = Por favor, introduzca un valor en el campo Número de teléfono.
email_address = Dirección de Correo Electrónico
email_address_for = dirección de correo electrónico para
enter_email_address = Por favor, introduzca un valor en el campo Dirección de Correo Electrónico.
full_name = Nombre y apellidos
full_name_for = nombre y apellidos para
first_name = Primer nombre
last_name = Apellido

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before After
Before After

View file

@ -1,47 +0,0 @@
<rdf:RDF
xmlns:vitro-public="http://vitro.mannlib.cornell.edu/ns/vitro/public#"
xmlns:c4o="http://purl.org/spar/c4o/"
xmlns:ero="http://purl.obolibrary.org/obo/"
xmlns:pvs="http://vivoweb.org/ontology/provenance-support#"
xmlns:owl2="http://www.w3.org/2006/12/owl2-xml#"
xmlns:scirr="http://vivoweb.org/ontology/scientific-research-resource#"
xmlns:vivo="http://vivoweb.org/ontology/core#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:bibo="http://purl.org/ontology/bibo/"
xmlns:afn="http://jena.hpl.hp.com/ARQ/function#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:scires="http://vivoweb.org/ontology/scientific-research#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:geo="http://aims.fao.org/aos/geopolitical.owl#"
xmlns:skco="http://www.w3.org/2004/02/skos/core#"
xmlns:event="http://purl.org/NET/c4dm/event.owl#"
xmlns:dcelem="http://purl.org/dc/elements/1.1/"
xmlns:vitro="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"
xmlns:vann="http://purl.org/vocab/vann/"
xmlns:skos="http://www.w3.org/2008/05/skos#"
xmlns:swvs="http://www.w3.org/2003/06/sw-vocab-status/ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:fabio="http://purl.org/spar/fabio/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal"
>0.7</owl:versionInfo>
<owl:Class rdf:about="http://vivoweb.org/ontology/core#ConceptSemanticType">
<vitro:exampleAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Semantic Type for given concept, for example UMLS's type returned for concepts</vitro:exampleAnnot>
<vitro:descriptionAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Semantic Type for given concept, for example UMLS's type returned for concepts.</vitro:descriptionAnnot>
<vitro:shortDef rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Concept Semantic Type</vitro:shortDef>
</owl:Class>
<owl:ObjectProperty rdf:about="http://vivoweb.org/ontology/core#hasConceptSemanticType">
<rdfs:range rdf:resource="http://vivoweb.org/ontology/core#ConceptSemanticType"/>
<owl:inverseOf rdf:resource="http://vivoweb.org/ontology/core#isConceptSemanticTypeOf"/>
</owl:ObjectProperty>
</rdf:RDF>

View file

@ -3,9 +3,6 @@ PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
ASK { ASK {
graph <http://vitro.mannlib.cornell.edu/default/vitro-kb-applicationMetadata> {
<http://vitro.mannlib.cornell.edu/default/vitro-kb-2> vitro:updatedToOntology ?u . <http://vitro.mannlib.cornell.edu/default/vitro-kb-2> vitro:updatedToOntology ?u .
?u vitro:updatedOntology <http://vivoweb.org/ontology/core> . ?u vitro:toOntologyVersion "1.6" .
?u vitro:toOntologyVersion "1.5" . }
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,562 @@
<rdf:RDF
xmlns:vitro-public="http://vitro.mannlib.cornell.edu/ns/vitro/public#"
xmlns:geo="http://aims.fao.org/aos/geopolitical.owl#"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:ero="http://purl.obolibrary.org/obo/"
xmlns:event="http://purl.org/NET/c4dm/event.owl#"
xmlns:pvs="http://vivoweb.org/ontology/provenance-support#"
xmlns:dcelem="http://purl.org/dc/elements/1.1/"
xmlns:j.0="http://www.w3.org/2006/12/owl2-xml#"
xmlns:vivo="http://vivoweb.org/ontology/core#"
xmlns:j.1="http://purl.org/vocab/vann/"
xmlns:vitro="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:j.2="http://www.w3.org/2008/05/skos#"
xmlns:afn="http://jena.hpl.hp.com/ARQ/function#"
xmlns:bibo="http://purl.org/ontology/bibo/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:j.3="http://www.w3.org/2003/06/sw-vocab-status/ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:scires="http://vivoweb.org/ontology/scientific-research#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" >
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasCoordinate">
<rdfs:label xml:lang="en-US">hasCoordinate</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameShortFR">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nameShortFR</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#disputed">
<rdfs:label xml:lang="en-US">disputed</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#area">
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<rdfs:label xml:lang="en-US">area</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#agriculturalAreaNotes">
<rdfs:label xml:lang="en-US">agriculturalAreaNotes</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameListZH">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nameListZH</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameListES">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">nameListES</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#codeFAOTERM">
<rdfs:label xml:lang="en-US">codeFAOTERM</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameListAR">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">nameListAR</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#populationYear">
<rdfs:label xml:lang="en-US">populationYear</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#codeCurrency">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">codeCurrency</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nationalityES">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">nationalityES</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameOfficialRU">
<rdfs:label xml:lang="en-US">nameOfficialRU</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#economic_region">
<rdfs:label xml:lang="en-US">economic_region</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#codeUNDP">
<rdfs:label xml:lang="en-US">codeUNDP</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#non_self_governing">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<rdfs:label xml:lang="en-US">non_self_governing</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameShortES">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">nameShortES</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#isPredecessorOf">
<rdfs:label xml:lang="en-US">isPredecessorOf</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:selectFromExistingAnnot>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#GDPTotalInCurrentPrices">
<rdfs:label xml:lang="en-US">GDPTotalInCurrentPrices</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasMaxLatitude">
<rdfs:label xml:lang="en-US">hasMaxLatitude</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasStatistics">
<rdfs:label xml:lang="en-US">hasStatistics</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#other">
<rdfs:label xml:lang="en-US">other</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasCurrency">
<rdfs:label xml:lang="en-US">hasCurrency</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#GDP">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">GDP</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#landArea">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">landArea</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameListIT">
<rdfs:label xml:lang="en-US">nameListIT</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#countryAreaNotes">
<rdfs:label xml:lang="en-US">countryAreaNotes</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#populationUnit">
<rdfs:label xml:lang="en-US">populationUnit</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameCurrencyRU">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nameCurrencyRU</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasBorderWith">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:selectFromExistingAnnot>
<rdfs:label xml:lang="en-US">hasBorderWith</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#landAreaUnit">
<rdfs:label xml:lang="en-US">landAreaUnit</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nationalityAR">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">nationalityAR</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl">
<vitro:ontologyPrefixAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string">geo</vitro:ontologyPrefixAnnot>
<rdfs:label xml:lang="en-US">geopolitical.owl</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameCurrencyEN">
<rdfs:label xml:lang="en-US">nameCurrencyEN</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameOfficialAR">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nameOfficialAR</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#validSince">
<rdfs:label xml:lang="en-US">validSince</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#isInGroup">
<rdfs:label xml:lang="en-US">isInGroup</rdfs:label>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:selectFromExistingAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameListEN">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">nameListEN</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasCode">
<rdfs:label xml:lang="en-US">hasCode</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameListFR">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nameListFR</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#countryAreaYear">
<rdfs:label xml:lang="en-US">countryAreaYear</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#organization">
<rdfs:label xml:lang="en-US">organization</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasShortName">
<rdfs:label xml:lang="en-US">hasShortName</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#codeGAUL">
<rdfs:label xml:lang="en-US">codeGAUL</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameListRU">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nameListRU</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#populationNotes">
<rdfs:label xml:lang="en-US">populationNotes</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasMinLongitude">
<rdfs:label xml:lang="en-US">hasMinLongitude</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameShortAR">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nameShortAR</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#validUntil">
<rdfs:label xml:lang="en-US">validUntil</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasMember">
<rdfs:label xml:lang="en-US">hasMember</rdfs:label>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:selectFromExistingAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasMinLatitude">
<rdfs:label xml:lang="en-US">hasMinLatitude</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#GDPYear">
<rdfs:label xml:lang="en-US">GDPYear</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#agriculturalAreaYear">
<rdfs:label xml:lang="en-US">agriculturalAreaYear</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameOfficialEN">
<rdfs:label xml:lang="en-US">nameOfficialEN</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#territory">
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<rdfs:label xml:lang="en-US">territory</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#agriculturalArea">
<rdfs:label xml:lang="en-US">agriculturalArea</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameCurrencyAR">
<rdfs:label xml:lang="en-US">nameCurrencyAR</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameOfficialZH">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nameOfficialZH</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#GDPNotes">
<rdfs:label xml:lang="en-US">GDPNotes</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nationalityZH">
<rdfs:label xml:lang="en-US">nationalityZH</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameOfficialES">
<rdfs:label xml:lang="en-US">nameOfficialES</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#populationTotal">
<rdfs:label xml:lang="en-US">populationTotal</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#population">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">population</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nationalityFR">
<rdfs:label xml:lang="en-US">nationalityFR</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameCurrencyZH">
<rdfs:label xml:lang="en-US">nameCurrencyZH</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameOfficialIT">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">nameOfficialIT</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#landAreaYear">
<rdfs:label xml:lang="en-US">landAreaYear</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nationalityIT">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nationalityIT</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#group">
<rdfs:label xml:lang="en-US">group</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameShortEN">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">nameShortEN</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameCurrencyIT">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nameCurrencyIT</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasListName">
<rdfs:label xml:lang="en-US">hasListName</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#agriculturalAreaTotal">
<rdfs:label xml:lang="en-US">agriculturalAreaTotal</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#landAreaNotes">
<rdfs:label xml:lang="en-US">landAreaNotes</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasMaxLongitude">
<rdfs:label xml:lang="en-US">hasMaxLongitude</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameShortRU">
<rdfs:label xml:lang="en-US">nameShortRU</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nationalityEN">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">nationalityEN</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#codeISO3">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">codeISO3</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#special_group">
<rdfs:label xml:lang="en-US">special_group</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#countryAreaUnit">
<rdfs:label xml:lang="en-US">countryAreaUnit</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasOfficialName">
<rdfs:label xml:lang="en-US">hasOfficialName</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#codeDBPediaID">
<rdfs:label xml:lang="en-US">codeDBPediaID</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#countryArea">
<rdfs:label xml:lang="en-US">countryArea</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameShortIT">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">nameShortIT</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#codeFAOSTAT">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">codeFAOSTAT</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameCurrencyFR">
<rdfs:label xml:lang="en-US">nameCurrencyFR</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#GDPUnit">
<rdfs:label xml:lang="en-US">GDPUnit</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#codeAGROVOC">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<rdfs:label xml:lang="en-US">codeAGROVOC</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasNationality">
<rdfs:label xml:lang="en-US">hasNationality</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameShortZH">
<rdfs:label xml:lang="en-US">nameShortZH</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#isSuccessorOf">
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:selectFromExistingAnnot>
<rdfs:label xml:lang="en-US">isSuccessorOf</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameCurrencyES">
<rdfs:label xml:lang="en-US">nameCurrencyES</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#countryAreaTotal">
<rdfs:label xml:lang="en-US">countryAreaTotal</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#agriculturalAreaUnit">
<rdfs:label xml:lang="en-US">agriculturalAreaUnit</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#geographical_region">
<rdfs:label xml:lang="en-US">Transnational Region</rdfs:label>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouplocations"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#codeISO2">
<rdfs:label xml:lang="en-US">codeISO2</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nameOfficialFR">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nameOfficialFR</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#nationalityRU">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">nationalityRU</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#self_governing">
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
<rdfs:label xml:lang="en-US">self_governing</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#codeUN">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<rdfs:label xml:lang="en-US">codeUN</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#isAdministeredBy">
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:selectFromExistingAnnot>
<rdfs:label xml:lang="en-US">isAdministeredBy</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#landAreaTotal">
<rdfs:label xml:lang="en-US">landAreaTotal</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#nobody"/>
</rdf:Description>
</rdf:RDF>

View file

@ -0,0 +1,33 @@
<rdf:RDF
xmlns:geo="http://aims.fao.org/aos/geopolitical.owl#"
xmlns:vitro-public="http://vitro.mannlib.cornell.edu/ns/vitro/public#"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:ero="http://purl.obolibrary.org/obo/"
xmlns:event="http://purl.org/NET/c4dm/event.owl#"
xmlns:pvs="http://vivoweb.org/ontology/provenance-support#"
xmlns:dcelem="http://purl.org/dc/elements/1.1/"
xmlns:j.0="http://www.w3.org/2006/12/owl2-xml#"
xmlns:vivo="http://vivoweb.org/ontology/core#"
xmlns:swrlb="http://www.w3.org/2003/11/swrlb#"
xmlns:j.1="http://purl.org/vocab/vann/"
xmlns:vitro="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:j.2="http://www.w3.org/2008/05/skos#"
xmlns:afn="http://jena.hpl.hp.com/ARQ/function#"
xmlns:bibo="http://purl.org/ontology/bibo/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:j.3="http://www.w3.org/2003/06/sw-vocab-status/ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:scires="http://vivoweb.org/ontology/scientific-research#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:swrl="http://www.w3.org/2003/11/swrl#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" >
<rdf:Description rdf:about="http://www.w3.org/2000/01/rdf-schema#isDefinedBy">
<rdfs:label xml:lang="en-US">is defined by</rdfs:label>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:selectFromExistingAnnot>
<vitro:inPropertyGroupAnnot rdf:resource="http://vivoweb.org/ontology#vitroPropertyGroupoverview"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
</rdf:RDF>

View file

@ -0,0 +1,267 @@
<rdf:RDF
xmlns:vitro-public="http://vitro.mannlib.cornell.edu/ns/vitro/public#"
xmlns:c4o="http://purl.org/spar/c4o/"
xmlns:geo="http://aims.fao.org/aos/geopolitical.owl#"
xmlns:skco="http://www.w3.org/2004/02/skos/core#"
xmlns:ero="http://purl.obolibrary.org/obo/"
xmlns:event="http://purl.org/NET/c4dm/event.owl#"
xmlns:pvs="http://vivoweb.org/ontology/provenance-support#"
xmlns:dcelem="http://purl.org/dc/elements/1.1/"
xmlns:j.0="http://www.w3.org/2006/12/owl2-xml#"
xmlns:vivo="http://vivoweb.org/ontology/core#"
xmlns:vann="http://purl.org/vocab/vann/"
xmlns:vitro="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:skos="http://www.w3.org/2008/05/skos#"
xmlns:afn="http://jena.hpl.hp.com/ARQ/function#"
xmlns:bibo="http://purl.org/ontology/bibo/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:swvs="http://www.w3.org/2003/06/sw-vocab-status/ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:scires="http://vivoweb.org/ontology/scientific-research#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:fabio="http://purl.org/spar/fabio/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/">
<rdfs:label xml:lang="en-US">Research Resources (eagle-i)</rdfs:label>
<vitro:ontologyPrefixAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>ero</vitro:ontologyPrefixAnnot>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000020">
<rdfs:label xml:lang="en-US">Biological Specimen</rdfs:label>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayRankAnnot>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouppublications"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#studyPopulationCount">
<rdfs:label xml:lang="en-US">study population count</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>20</vitro:displayRankAnnot>
<vitro:inPropertyGroupAnnot rdf:resource="http://vivoweb.org/ontology#vitroPropertyGroupoverview"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#documentationFor">
<rdfs:label xml:lang="en-US">documentation for</rdfs:label>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>true</vitro:selectFromExistingAnnot>
<vitro:inPropertyGroupAnnot rdf:resource="http://vivoweb.org/ontology#vitroPropertyGroupoverview"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/OBI_0000272">
<rdfs:label xml:lang="en-US">Protocol</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouppublications"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>15</vitro:displayRankAnnot>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#Phase4ClinicalTrial">
<rdfs:label xml:lang="en-US">Phase 4 Clinical Trial</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>4</vitro:displayRankAnnot>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouppublications"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#accessProvidedBy">
<rdfs:label xml:lang="en-US">access provided by</rdfs:label>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>true</vitro:selectFromExistingAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research">
<rdfs:label xml:lang="en-US">Scientific Research</rdfs:label>
<vitro:ontologyPrefixAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>scires</vitro:ontologyPrefixAnnot>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000015">
<rdfs:label xml:lang="en-US">Human Study</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayRankAnnot>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouppublications"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#Phase2ClinicalTrial">
<rdfs:label xml:lang="en-US">Phase 2 Clinical Trial</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>5</vitro:displayRankAnnot>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouppublications"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000392">
<rdfs:label xml:lang="en-US">Storage Service</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGroupactivities"/>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>20</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#nctId">
<rdfs:label xml:lang="en-US">National Clinical Trials (NCT) number</rdfs:label>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>1</vitro:displayLimitAnnot>
<vitro:inPropertyGroupAnnot rdf:resource="http://vivoweb.org/ontology#vitroPropertyGroupidentifiers"/>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>4</vitro:displayRankAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:publicDescriptionAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>ClinicalTrials.gov registry number</vitro:publicDescriptionAnnot>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000460">
<rdfs:label xml:lang="en-US">has documentation</rdfs:label>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>true</vitro:selectFromExistingAnnot>
<vitro:inPropertyGroupAnnot rdf:resource="http://vivoweb.org/ontology#vitroPropertyGroupoverview"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000394">
<rdfs:label xml:lang="en-US">Production Service</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGroupactivities"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>20</vitro:displayRankAnnot>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000481">
<rdfs:label xml:lang="en-US">realizes protocol</rdfs:label>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>true</vitro:selectFromExistingAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000006">
<rdfs:label xml:lang="en-US">Reagent</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouppublications"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#Phase1ClinicalTrial">
<rdfs:label xml:lang="en-US">Phase 1 Clinical Trial</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>4</vitro:displayRankAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouppublications"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/OBI_0100026">
<rdfs:label xml:lang="en-US">Organism</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouppublications"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000016">
<rdfs:label xml:lang="en-US">Clinical Trial</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#irbNumber">
<rdfs:label xml:lang="en-US">Institutional Review Board (IRB) number</rdfs:label>
<vitro:inPropertyGroupAnnot rdf:resource="http://vivoweb.org/ontology#vitroPropertyGroupidentifiers"/>
<vitro:publicDescriptionAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Institutional Review Board (IRB) number for a Clinical Trial</vitro:publicDescriptionAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#Phase3ClinicalTrial">
<rdfs:label xml:lang="en-US">Phase 3 Clinical Trial</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouppublications"/>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayRankAnnot>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000004">
<rdfs:label xml:lang="en-US">Instrument</rdfs:label>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGroupequipment"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>10</vitro:displayRankAnnot>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000029">
<rdfs:label xml:lang="en-US">provides access to</rdfs:label>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>true</vitro:selectFromExistingAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#Phase0ClinicalTrial">
<rdfs:label xml:lang="en-US">Phase 0 Clinical Trial</rdfs:label>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayRankAnnot>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGrouppublications"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>6</vitro:displayLimitAnnot>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000014">
<rdfs:label xml:lang="en-US">Research Project</rdfs:label>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayRankAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGroupactivities"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#protocolRealizedBy">
<rdfs:label xml:lang="en-US">protocol realized by</rdfs:label>
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>true</vitro:selectFromExistingAnnot>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000391">
<rdfs:label xml:lang="en-US">Access Service</rdfs:label>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>20</vitro:displayRankAnnot>
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGroupactivities"/>
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>-1</vitro:displayLimitAnnot>
</rdf:Description>
</rdf:RDF>

View file

@ -0,0 +1,14 @@
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:vitro="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" >
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#moniker">
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#editor"/>
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#editor"/>
<rdfs:label xml:lang="en-US">moniker (deprecated)</rdfs:label>
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">3</vitro:displayLimitAnnot>
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">100</vitro:displayRankAnnot>
<vitro:descriptionAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string">This property is deprecated.</vitro:descriptionAnnot>
</rdf:Description>
</rdf:RDF>

View file

@ -0,0 +1,23 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?advisee <http://purl.obolibrary.org/obo/RO_0000053> _:AdviseeRole .
_:AdviseeRole <http://purl.obolibrary.org/obo/RO_0000052> ?advisee .
_:AdviseeRole a vivo:AdviseeRole .
?advisor <http://purl.obolibrary.org/obo/RO_0000053> _:AdvisorRole .
_:AdvisorRole <http://purl.obolibrary.org/obo/RO_0000052> ?advisor .
_:AdvisorRole a vivo:AdvisorRole .
_:AdviseeRole vivo:relatedBy ?advisingRelationship .
?advisingRelationship vivo:relates _:AdviseeRole .
_:AdvisorRole vivo:relatedBy ?advisingRelationship .
?advisingRelationship vivo:relates _:AdvisorRole .
?advisingRelationship vivo:relates ?advisee .
?advisingRelationship vivo:relates ?advisor .
?advisee vivo:relatedBy ?advisingRelationship .
?advisor vivo:relatedBy ?advisingRelationship .
} WHERE {
?advisee vivo:adviseeIn ?advisingRelationship .
?advisor vivo:advisorIn ?advisingRelationship .
}

View file

@ -0,0 +1,17 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?person vivo:relatedBy _:Editorship .
_:Editorship a vivo:Editorship .
_:Editorship vivo:relates ?person .
_:Editorship vivo:relates ?document .
?document vivo:relatedBy _:Editorship .
} WHERE {
{
?person vivo:editorOf ?document
} UNION {
?document vivo:editor ?person
}
}

View file

@ -0,0 +1,15 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?person <http://purl.obolibrary.org/obo/RO_0000053> _:leaderRole .
_:leaderRole <http://purl.obolibrary.org/obo/RO_0000052> ?person .
_:leaderRole a vivo:LeaderRole .
_:leaderRole vivo:roleContributesTo ?org .
?org vivo:contributingRole _:leaderRole .
} WHERE {
{ ?person vivo:currentlyHeadOf ?org }
UNION
{ ?org vivo:currentlyHeadedBy ?person }
}

View file

@ -0,0 +1,15 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?person <http://purl.obolibrary.org/obo/RO_0000053> _:memberRole .
_:memberRole <http://purl.obolibrary.org/obo/RO_0000052> ?person .
_:memberRole a vivo:MemberRole .
_:memberRole vivo:roleContributesTo ?org .
?org vivo:contributingRole _:memberRole .
} WHERE {
{ ?person vivo:currentMemberOf ?org }
UNION
{ ?org vivo:hasCurrentMember ?person }
}

View file

@ -0,0 +1,17 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?agent <http://purl.obolibrary.org/obo/RO_0000053> _:adminRole .
_:adminRole a vivo:AdministratorRole .
_:adminRole <http://purl.obolibrary.org/obo/RO_0000052> ?agent .
_:adminRole vivo:relatedBy ?grant .
?grant vivo:relates _:adminRole .
?grant vivo:relates ?agent .
?agent vivo:relatedBy ?grant .
} WHERE {
{ ?agent vivo:administers ?grant }
UNION
{ ?grant vivo:administeredBy ?agent }
}

View file

@ -0,0 +1,11 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
CONSTRUCT {
?s vivo:orcidId ?orcidURI .
?orcidURI a owl:Thing .
} WHERE {
?s vivo:orcidId ?orcidString
FILTER(isLiteral(?orcidString))
BIND(IRI(concat("http://orcid.org/", str(?orcidString))) AS ?orcidURI)
}

View file

@ -0,0 +1,12 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?agent vivo:relatedBy ?grant .
?grant vivo:relates ?agent
} WHERE {
?agent <http://purl.obolibrary.org/obo/RO_0000053> ?role .
?role vivo:relatedBy ?grant
FILTER NOT EXISTS { ?grant vivo:relates ?agent }
}

View file

@ -0,0 +1,31 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> _:awardedDegree .
_:awardedDegree <http://purl.obolibrary.org/obo/RO_0002353> ?educationalProcess .
_:awardedDegree a vivo:AwardedDegree .
_:awardedDegree vivo:relates ?degree .
?degree vivo:relatedBy _:awardedDegree .
_:awardedDegree vivo:relates ?person .
?person vivo:relatedBy _:awardedDegree .
_:awardedDegree vivo:assignedBy ?org .
?org vivo:assigns _:awardedDegree .
?educationalProcess <http://purl.obolibrary.org/obo/BFO_0000055> ?role .
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?educationalProcess .
} WHERE {
?person <http://purl.obolibrary.org/obo/RO_0000056> ?educationalProcess .
?educationalProcess a vivo:EducationalProcess .
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> ?degree .
?degree a vivo:AcademicDegree .
OPTIONAL {
?educationalProcess <http://purl.obolibrary.org/obo/RO_0000057> ?org .
?org a foaf:Organization
}
OPTIONAL {
?educationalProcess vivo:contributingAdvising ?advising .
?advising vivo:relates ?role .
?role a <http://purl.obolibrary.org/obo/BFO_0000023> .
}
}

View file

@ -0,0 +1,24 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?s arg:ARG_2000028 _:vcard .
_:vcard arg:ARG_2000029 ?s .
_:vcard a v:Individual .
} WHERE {
?s a foaf:Person
FILTER (
EXISTS { ?s foaf:firstName ?firstName } ||
EXISTS { ?s foaf:lastName ?lastName } ||
EXISTS { ?s vivo:middleName ?middleName } ||
EXISTS { ?s vivo:email ?email } ||
EXISTS { ?s vivo:primaryEmail ?primaryEmail } ||
EXISTS { ?s vivo:phoneNumber ?phoneNumber } ||
EXISTS { ?s vivo:primaryPhoneNumber ?primaryPhoneNumber } ||
EXISTS { ?s vivo:faxNumber ?faxNumber } ||
EXISTS { ?s vivo:mailingAddress ?address } ||
EXISTS { ?s vivo:webpage ?webpage }
)
}

View file

@ -0,0 +1,21 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?s arg:ARG_2000028 _:vcard .
_:vcard arg:ARG_2000029 ?s .
_:vcard a v:Organization .
} WHERE {
?s a foaf:Organization
FILTER (
EXISTS { ?s vivo:email ?email } ||
EXISTS { ?s vivo:primaryEmail ?primaryEmail } ||
EXISTS { ?s vivo:phoneNumber ?phoneNumber } ||
EXISTS { ?s vivo:primaryPhoneNumber ?primaryPhoneNumber } ||
EXISTS { ?s vivo:faxNumber ?faxNumber } ||
EXISTS { ?s vivo:mailingAddress ?address } ||
EXISTS { ?s vivo:webpage ?webpage }
)
}

View file

@ -0,0 +1,21 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?s arg:ARG_2000028 _:vcard .
_:vcard arg:ARG_2000029 ?s .
_:vcard a v:Group .
} WHERE {
?s a foaf:Group
FILTER (
EXISTS { ?s vivo:email ?email } ||
EXISTS { ?s vivo:primaryEmail ?primaryEmail } ||
EXISTS { ?s vivo:phoneNumber ?phoneNumber } ||
EXISTS { ?s vivo:primaryPhoneNumber ?primaryPhoneNumber } ||
EXISTS { ?s vivo:faxNumber ?faxNumber } ||
EXISTS { ?s vivo:mailingAddress ?address } ||
EXISTS { ?s vivo:webpage ?webpage }
)
}

View file

@ -0,0 +1,15 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
CONSTRUCT {
?s arg:ARG_2000028 _:vcard .
_:vcard arg:ARG_2000029 ?s .
_:vcard a v:Individual .
} WHERE {
?s vivo:webpage ?webpage
FILTER NOT EXISTS { ?s a foaf:Agent }
FILTER NOT EXISTS { ?s arg:ARG_2000028 ?existingvcard }
}

View file

@ -0,0 +1,36 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
CONSTRUCT {
?vcard v:hasName _:name .
_:name a v:Name .
_:name v:givenName ?firstName .
_:name vivo:middleName ?middleName .
_:name v:familyName ?lastName .
_:name v:honorificPrefix ?prefix .
_:name v:honorificSuffix ?suffix .
} WHERE {
?s arg:ARG_2000028 ?vcard .
OPTIONAL {
?s foaf:firstName ?firstName .
BIND("yes" as ?test)
}
OPTIONAL {
?s foaf:lastName ?lastName .
BIND("yes" as ?test)
}
OPTIONAL {
?s vivo:middleName ?middleName
BIND("yes" as ?test)
}
OPTIONAL {
?s bibo:prefixName ?prefix
}
OPTIONAL {
?s bibo:suffixName ?suffix
}
FILTER(bound(?test))
}

View file

@ -0,0 +1,14 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
CONSTRUCT {
?vcard v:hasTitle _:title .
_:title a v:Title .
_:title v:title ?preferredTitle .
} WHERE {
?s arg:ARG_2000028 ?vcard .
?s <http://vivoweb.org/ontology/core#preferredTitle> ?preferredTitle .
}

View file

@ -0,0 +1,13 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?vcard v:hasEmail _:email .
_:email a v:Email .
_:email v:email ?email .
} WHERE {
?s arg:ARG_2000028 ?vcard .
?s vivo:email ?email
}

View file

@ -0,0 +1,14 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?vcard v:hasEmail _:primaryEmail .
_:primaryEmail a v:Email .
_:primaryEmail a v:Work .
_:primaryEmail v:email ?primaryEmail .
} WHERE {
?s arg:ARG_2000028 ?vcard .
?s vivo:primaryEmail ?primaryEmail
}

View file

@ -0,0 +1,14 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?vcard v:hasTelephone _:telephone .
_:telephone a v:Telephone .
_:telephone a v:Voice .
_:telephone v:telephone ?phoneNumber .
} WHERE {
?s arg:ARG_2000028 ?vcard .
?s vivo:phoneNumber ?phoneNumber
}

View file

@ -0,0 +1,15 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?vcard v:hasTelephone _:primaryTelephone .
_:primaryTelephone a v:Telephone .
_:primaryTelephone a v:Voice .
_:primaryTelephone a v:Work .
_:primaryTelephone v:telephone ?primaryPhoneNumber .
} WHERE {
?s arg:ARG_2000028 ?vcard .
?s vivo:primaryPhoneNumber ?primaryPhoneNumber
}

View file

@ -0,0 +1,14 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?vcard v:hasTelephone _:fax .
_:fax a v:Telephone .
_:fax a v:Fax.
_:fax v:telephone ?faxNumber .
} WHERE {
?s arg:ARG_2000028 ?vcard .
?s vivo:faxNumber ?faxNumber
}

View file

@ -0,0 +1,37 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?vcard v:hasAddress _:address .
_:address a v:Address .
_:address v:streetAddress ?streetAddress .
_:address v:locality ?addressCity .
_:address v:region ?addressState .
_:address v:postalCode ?addressPostalCode .
_:address v:country ?addressCountry .
} WHERE {
?s arg:ARG_2000028 ?vcard .
?s vivo:mailingAddress ?address .
?address vivo:addressCity ?addressCity .
?address vivo:addressState ?addressState .
?address vivo:addressCountry ?addressCountry .
?address vivo:addressPostalCode ?addressPostalCode .
OPTIONAL {
?address vivo:address1 ?address1 .
?address vivo:address2 ?address2 .
?address vivo:address3 ?address3 .
BIND (CONCAT(?address1, ", ", ?address2, ", ", ?address3) AS ?streetAddress)
}
OPTIONAL {
?address vivo:address1 ?address1 .
?address vivo:address2 ?address2 .
FILTER NOT EXISTS { ?address vivo:address3 ?address3 }
BIND (CONCAT(?address1, ", ", ?address2) AS ?streetAddress)
}
OPTIONAL {
?address vivo:address1 ?address1
BIND(?address1 as ?streetAddress)
}
}

View file

@ -0,0 +1,19 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?vcard v:hasURL _:url .
_:url a v:URL .
_:url v:url ?linkURI .
_:url rdfs:label ?linkAnchorText
} WHERE {
?s arg:ARG_2000028 ?vcard .
?s vivo:webpage ?webpage .
?webpage vivo:linkURI ?linkURI .
OPTIONAL {
?webpage vivo:linkAnchorText ?linkAnchorText
}
}

View file

@ -0,0 +1,19 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?advisee vivo:adviseeIn ?advisingRelationship .
?advisingRelationship vivo:advisee ?advisee .
?advisor vivo:advisorIn ?advisingRelationship .
?advisingRelationship vivo:advisor ?advisor
} WHERE {
?advisee vivo:adviseeIn ?advisingRelationship .
OPTIONAL {
?advisingRelationship vivo:advisee ?advisee .
}
?advisor vivo:advisorIn ?advisingRelationship .
OPTIONAL {
?advisingRelationship vivo:advisor ?advisor
}
}

View file

@ -0,0 +1,14 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?person vivo:editorOf ?document .
?document vivo:editor ?person
} WHERE {
{
?person vivo:editorOf ?document
} UNION {
?document vivo:editor ?person
}
}

View file

@ -0,0 +1,9 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
CONSTRUCT {
?s vivo:orcidId ?orcidString .
} WHERE {
?s vivo:orcidId ?orcidString
FILTER(isLiteral(?orcidString))
}

View file

@ -0,0 +1,19 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> ?degree .
?degree <http://purl.obolibrary.org/obo/RO_0002353> ?educationalProcess .
?educationalProcess <http://purl.obolibrary.org/obo/RO_0000057> ?org .
?org <http://purl.obolibrary.org/obo/RO_0000056> ?educationalProcess .
} WHERE {
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> ?degree .
?person <http://purl.obolibrary.org/obo/RO_0000056> ?educationalProcess .
?degree a vivo:AcademicDegree .
OPTIONAL { ?degree <http://purl.obolibrary.org/obo/RO_0002353> ?educationalProcess }
OPTIONAL {
?educationalProcess <http://purl.obolibrary.org/obo/RO_0000057> ?org .
?org a foaf:Organization .
}
}

View file

@ -0,0 +1,67 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
CONSTRUCT {
?s foaf:firstName ?firstName .
?s foaf:lastName ?lastName .
?s vivo:middleName ?middleName .
?s bibo:prefixName ?prefix .
?s bibo:suffixName ?suffix .
?s vivo:email ?email .
?s vivo:primaryEmail ?primaryEmail .
?s vivo:phoneNumber ?phoneNumber .
?s vivo:primaryPhoneNumber ?primaryPhoneNumber .
?s vivo:faxNumber ?faxNumber .
?s vivo:mailingAddress ?address .
?address ?addressP ?addressO .
?s vivo:webpage ?webpage .
?webpage ?webpageP ?webpageO .
} WHERE {
{
?s foaf:firstName ?firstName .
}
UNION {
?s foaf:lastName ?lastName .
}
UNION {
?s vivo:middleName ?middleName
}
UNION {
?s bibo:prefixName ?prefix
}
UNION {
?s bibo:suffixName ?suffix
}
UNION {
?s vivo:email ?email
}
UNION {
?s vivo:primaryEmail ?primaryEmail
}
UNION {
?s vivo:phoneNumber ?phoneNumber
}
UNION {
?s vivo:primaryPhoneNumber ?primaryPhoneNumber
}
UNION {
?s vivo:faxNumber ?faxNumber
}
UNION {
?s vivo:mailingAddress ?address .
}
UNION {
?s vivo:mailingAddress ?address .
?address ?addressP ?addressO
}
UNION {
?s vivo:webpage ?webpage
}
UNION {
?s vivo:webpage ?webpage .
?webpage ?webpageP ?webpageO
}
}

View file

@ -2,9 +2,9 @@
@prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
<http://vitro.mannlib.cornell.edu/default/vitro-kb-2> vitro:updatedToOntology <http://vitro.mannlib.cornell.edu/ns/vitro/metadata/migration/v1.5> . <http://vitro.mannlib.cornell.edu/default/vitro-kb-2> vitro:updatedToOntology <http://vitro.mannlib.cornell.edu/ns/vitro/metadata/migration/v1.6> .
<http://vitro.mannlib.cornell.edu/ns/vitro/metadata/migration/v1.5> rdf:type owl:Thing . <http://vitro.mannlib.cornell.edu/ns/vitro/metadata/migration/v1.6> rdf:type owl:Thing .
<http://vitro.mannlib.cornell.edu/ns/vitro/metadata/migration/v1.5> vitro:updatedOntology <http://vivoweb.org/ontology/core> . <http://vitro.mannlib.cornell.edu/ns/vitro/metadata/migration/v1.6> vitro:updatedOntology <http://vivoweb.org/ontology/core> .
<http://vitro.mannlib.cornell.edu/ns/vitro/metadata/migration/v1.5> vitro:fromOntologyVersion "1.4" . <http://vitro.mannlib.cornell.edu/ns/vitro/metadata/migration/v1.6> vitro:fromOntologyVersion "1.5" .
<http://vitro.mannlib.cornell.edu/ns/vitro/metadata/migration/v1.5> vitro:toOntologyVersion "1.5" . <http://vitro.mannlib.cornell.edu/ns/vitro/metadata/migration/v1.6> vitro:toOntologyVersion "1.6" .

View file

@ -32,14 +32,14 @@ edu.cornell.mannlib.vitro.webapp.web.images.PlaceholderUtil$Setup
# Update the URIs on Permission Sets on UserAccounts from model (1.4) to 1.5. # Update the URIs on Permission Sets on UserAccounts from model (1.4) to 1.5.
edu.cornell.mannlib.vitro.webapp.servlet.setup.UpdatePermissionSetUris edu.cornell.mannlib.vitro.webapp.servlet.setup.UpdatePermissionSetUris
# Invokes process to perform updates to align with ontology changes if needed -->
# Needs to run before submodels are attached and Pellet is set up -->
#edu.cornell.mannlib.vitro.webapp.servlet.setup.UpdateKnowledgeBase
edu.cornell.mannlib.vitro.webapp.servlet.setup.FileGraphSetup edu.cornell.mannlib.vitro.webapp.servlet.setup.FileGraphSetup
edu.cornell.mannlib.vitro.webapp.servlet.setup.SimpleReasonerSetup edu.cornell.mannlib.vitro.webapp.servlet.setup.SimpleReasonerSetup
# Invokes process to perform updates to align with ontology changes if needed -->
# Needs to run before submodels are attached and Pellet is set up -->
edu.cornell.mannlib.vitro.webapp.servlet.setup.UpdateKnowledgeBase
# Must run after JenaDataSourceSetup # Must run after JenaDataSourceSetup
edu.cornell.mannlib.vitro.webapp.servlet.setup.ThemeInfoSetup edu.cornell.mannlib.vitro.webapp.servlet.setup.ThemeInfoSetup

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config>
<query-select>
PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
SELECT DISTINCT ?vcard ?email
?emailAddress
WHERE {
?subject ?property ?vcard .
?vcard vcard:hasEmail ?email
OPTIONAL { ?email vcard:email ?emailAddress }
MINUS {?email a vcard:Work}
}
</query-select>
<query-construct>
PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
CONSTRUCT {
?subject ?property ?vcard .
?vcard vcard:hasEmail ?email .
?email ?emailProperty ?emailValue
} WHERE {
{
?subject ?property ?vcard
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasEmail ?email
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasEmail ?email .
?email ?emailProperty ?emailValue
}
}
</query-construct>
<template>propStatement-emailAddress.ftl</template>
<postprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.MaintainDuplicatesObjectPropertyDataPostProcessor</postprocessor>
</list-view-config>

View file

@ -1,159 +1,183 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt --> <!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config> <list-view-config>
<query-select> <query-select>
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt; PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt; PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
SELECT DISTINCT <collated>?subclass</collated> SELECT DISTINCT <collated>?subclass</collated>
?advisory ?advisory
?advisoryLabel ?advisoryLabel
?localName ?localName
?advisee ?advisee
?adviseeLabel ?adviseeLabel
?degreeLabel ?degreeLabel
?degreeAbbr ?degreeAbbr
?dateTimeStart ?dateTimeStart
?dateTimeEnd ?dateTimeEnd
WHERE { WHERE {
?subject ?property ?advisory ?subject ?property ?advisory
LET ( ?localName := afn:localname(?advisory) ) LET ( ?localName := afn:localname(?advisory) )
OPTIONAL { ?advisory rdfs:label ?advisoryLabel } OPTIONAL { ?advisory rdfs:label ?advisoryLabel }
OPTIONAL { ?advisory core:advisee ?advisee OPTIONAL { ?advisory core:relates ?advisee .
OPTIONAL { ?advisee rdfs:label ?adviseeLabel } ?advisee a foaf:Person .
} OPTIONAL { ?advisee rdfs:label ?adviseeLabel }
OPTIONAL { ?advisory core:degreeCandidacy ?degree }
OPTIONAL { ?degree rdfs:label ?degreeLabel } OPTIONAL { ?advisory core:relates ?degree .
OPTIONAL { ?degree core:abbreviation ?degreeAbbr } ?degree a core:AcademicDegree .
} OPTIONAL { ?degree rdfs:label ?degreeLabel }
<collated> OPTIONAL { ?degree core:abbreviation ?degreeAbbr }
OPTIONAL { ?advisory vitro:mostSpecificType ?subclass . }
?subclass rdfs:subClassOf core:AdvisingRelationship <collated>
} OPTIONAL { ?advisory vitro:mostSpecificType ?subclass .
</collated> ?subclass rdfs:subClassOf core:AdvisingRelationship
OPTIONAL { ?advisory core:dateTimeInterval ?dateTimeInterval }
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue . </collated>
?dateTimeStartValue core:dateTime ?dateTimeStart OPTIONAL { ?advisory core:dateTimeInterval ?dateTimeInterval
} OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
} ?dateTimeStartValue core:dateTime ?dateTimeStart
OPTIONAL { ?advisory core:dateTimeInterval ?dateTimeInterval }
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue . }
?dateTimeEndValue core:dateTime ?dateTimeEnd OPTIONAL { ?advisory core:dateTimeInterval ?dateTimeInterval
} OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
} ?dateTimeEndValue core:dateTime ?dateTimeEnd
}
}
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd)
</query-select> FILTER ( ?subject != ?advisee )
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd)
<query-construct> </query-select>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; <query-construct>
CONSTRUCT { PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
?subclass rdfs:subClassOf core:AdvisingRelationship PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
} WHERE { CONSTRUCT {
?subclass rdfs:subClassOf core:AdvisingRelationship ?subclass rdfs:subClassOf core:AdvisingRelationship
} } WHERE {
</query-construct> ?subclass rdfs:subClassOf core:AdvisingRelationship
}
<query-construct> </query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; <query-construct>
CONSTRUCT { PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
?subject ?property ?advisory . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?advisory ?advisoryProperty ?advisoryValue . CONSTRUCT {
?advisory rdfs:label ?advisoryLabel ?subject ?property ?advisory .
} WHERE { ?advisory a core:AdvisingRelationship .
{ ?advisory ?advisoryProperty ?advisoryValue .
?subject ?property ?advisory ?advisory rdfs:label ?advisoryLabel
} UNION { } WHERE {
?subject ?property ?advisory . {
?advisory ?advisoryProperty ?advisoryValue ?subject ?property ?advisory .
} UNION { ?advisory a core:AdvisingRelationship
?subject ?property ?advisory . } UNION {
?advisory ?advisoryProperty ?advisoryValue . ?subject ?property ?advisory .
?advisory rdfs:label ?advisoryLabel ?advisory a core:AdvisingRelationship .
} ?advisory ?advisoryProperty ?advisoryValue
} } UNION {
</query-construct> ?subject ?property ?advisory .
?advisory a core:AdvisingRelationship .
<query-construct> ?advisory ?advisoryProperty ?advisoryValue .
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; ?advisory rdfs:label ?advisoryLabel
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; }
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; }
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt; </query-construct>
CONSTRUCT { <query-construct>
?subject ?property ?advisory . PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
?advisory core:advisee ?advisee . PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
?advisee rdfs:label ?adviseeLabel . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?advisory core:degreeCandidacy ?degree . PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
?degree rdfs:label ?degreeLabel .
?degree core:abbreviation ?degreeAbbr CONSTRUCT {
} WHERE { ?subject ?property ?advisory .
{ ?advisory a core:AdvisingRelationship .
?subject ?property ?advisory ?advisory core:relates ?advisee .
} UNION { ?advisee a foaf:Person .
?subject ?property ?advisory. ?advisee rdfs:label ?adviseeLabel .
?advisory core:advisee ?advisee ?advisory core:relates ?degree .
} UNION { ?degree a core:AcademicDegree .
?subject ?property ?advisory . ?degree rdfs:label ?degreeLabel .
?advisory core:advisee ?advisee . ?degree core:abbreviation ?degreeAbbr
?advisee rdfs:label ?adviseeLabel } WHERE {
} UNION { {
?subject ?property ?advisory . ?subject ?property ?advisory .
?advisory core:degreeCandidacy ?degree ?advisory a core:AdvisingRelationship .
} UNION { } UNION {
?subject ?property ?advisory . ?subject ?property ?advisory.
?advisory core:degreeCandidacy ?degree . ?advisory a core:AdvisingRelationship .
?degree rdfs:label ?degreeLabel ?advisory core:relates ?advisee .
} UNION { ?advisee a foaf:Person .
?subject ?property ?advisory . } UNION {
?advisory core:degreeCandidacy ?degree . ?subject ?property ?advisory .
?degree rdfs:label ?degreeLabel . ?advisory a core:AdvisingRelationship .
?degree core:abbreviation ?degreeAbbr ?advisory core:relates ?advisee .
} ?advisee a foaf:Person .
} ?advisee rdfs:label ?adviseeLabel
</query-construct> } UNION {
?subject ?property ?advisory .
<query-construct> ?advisory a core:AdvisingRelationship .
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; ?advisory core:relates ?degree .
CONSTRUCT { ?degree a core:AcademicDegree .
?subject ?property ?award . } UNION {
?award core:dateTimeInterval ?dateTimeInterval . ?subject ?property ?advisory .
?dateTimeInterval core:start ?dateTimeStartValue . ?advisory a core:AdvisingRelationship .
?dateTimeStartValue core:dateTime ?dateTimeStart ?advisory core:relates ?degree .
} WHERE { ?degree a core:AcademicDegree .
?subject ?property ?award . ?degree rdfs:label ?degreeLabel
?award core:dateTimeInterval ?dateTimeInterval . } UNION {
?dateTimeInterval core:start ?dateTimeStartValue . ?subject ?property ?advisory .
?dateTimeStartValue core:dateTime ?dateTimeStart ?advisory a core:AdvisingRelationship .
} ?advisory core:relates ?degree .
</query-construct> ?degree a core:AcademicDegree .
?degree rdfs:label ?degreeLabel .
<query-construct> ?degree core:abbreviation ?degreeAbbr
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; }
CONSTRUCT { }
?subject ?property ?award . </query-construct>
?award core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue . <query-construct>
?dateTimeEndValue core:dateTime ?dateTimeEnd PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
} WHERE { CONSTRUCT {
?subject ?property ?award . ?subject ?property ?advisory .
?award core:dateTimeInterval ?dateTimeInterval . ?advisory a core:AdvisingRelationship .
?dateTimeInterval core:end ?dateTimeEndValue . ?award core:dateTimeInterval ?dateTimeInterval .
?dateTimeEndValue core:dateTime ?dateTimeEnd ?dateTimeInterval core:start ?dateTimeStartValue .
} ?dateTimeStartValue core:dateTime ?dateTimeStart
</query-construct> } WHERE {
?subject ?property ?advisory .
<template>propStatement-advisorIn.ftl</template> ?advisory a core:AdvisingRelationship .
</list-view-config> ?award core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
}
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?advisory .
?advisory a core:AdvisingRelationship .
?award core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
} WHERE {
?subject ?property ?advisory .
?advisory a core:AdvisingRelationship .
?award core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
</query-construct>
<template>propStatement-advisorIn.ftl</template>
</list-view-config>

View file

@ -10,6 +10,7 @@
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
SELECT DISTINCT ?subclass SELECT DISTINCT ?subclass
?authorship ?authorship
@ -27,7 +28,8 @@
?hideThis ?hideThis
WHERE { WHERE {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship core:linkedInformationResource ?infoResource . ?authorship core:relates ?infoResource .
?infoResource a bibo:Document .
?infoResource rdfs:label ?infoResourceName ?infoResource rdfs:label ?infoResourceName
OPTIONAL { ?infoResource bibo:volume ?volume } OPTIONAL { ?infoResource bibo:volume ?volume }
@ -40,7 +42,8 @@
OPTIONAL { ?infoResource core:publisher ?publisherObj . OPTIONAL { ?infoResource core:publisher ?publisherObj .
?publisherObj rdfs:label ?publisher ?publisherObj rdfs:label ?publisher
} }
OPTIONAL { ?infoResource core:editor ?editorObj . OPTIONAL { ?infoResource core:relatedBy ?editorship .
?editorObj core:relatedBy ?editorship .
?editorObj rdfs:label ?editor ?editorObj rdfs:label ?editor
} }
OPTIONAL { ?infoResource core:partOf ?partOfObj . OPTIONAL { ?infoResource core:partOf ?partOfObj .
@ -80,7 +83,8 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship ?authorshipProperty ?authorshipValue . ?authorship ?authorshipProperty ?authorshipValue .
?authorship core:linkedInformationResource ?infoResource . ?authorship core:relates ?infoResource .
?infoResource a bibo:Document .
?infoResource rdfs:label ?infoResourceName . ?infoResource rdfs:label ?infoResourceName .
?infoResource core:hasPublicationVenue ?publishedIn . ?infoResource core:hasPublicationVenue ?publishedIn .
?publishedIn rdfs:label ?journal ?publishedIn rdfs:label ?journal
@ -116,6 +120,7 @@
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship ?authorshipProperty ?authorshipValue . ?authorship ?authorshipProperty ?authorshipValue .
@ -123,7 +128,10 @@
?infoResource ?infoResourceProperty ?infoResourceValue . ?infoResource ?infoResourceProperty ?infoResourceValue .
?infoResource bibo:reproducedIn ?appearsInObj . ?infoResource bibo:reproducedIn ?appearsInObj .
?infoResource core:publisher ?publisherObj . ?infoResource core:publisher ?publisherObj .
?infoResource core:editor ?editorObj . ?infoResource core:relatedBy ?editorship .
?editorship a core:Editorship .
?editorship core:relates ?editorObj .
?editorObj a foaf:Person .
?infoResource core:partOf ?partOfObj . ?infoResource core:partOf ?partOfObj .
?appearsInObj rdfs:label ?appearsIn . ?appearsInObj rdfs:label ?appearsIn .
?publisherObj rdfs:label ?publisher . ?publisherObj rdfs:label ?publisher .
@ -138,29 +146,31 @@
?authorship ?authorshipProperty ?authorshipValue ?authorship ?authorshipProperty ?authorshipValue
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship core:linkedInformationResource ?infoResource ?authorship core:relates ?infoResource
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship core:linkedInformationResource ?infoResource . ?authorship core:relates ?infoResource .
?infoResource a bibo:Document .
?infoResource ?infoResourceProperty ?infoResourceValue ?infoResource ?infoResourceProperty ?infoResourceValue
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship core:linkedInformationResource ?infoResource . ?authorship core:relates ?infoResource .
?infoResource bibo:reproducedIn ?appearsInObj . ?infoResource bibo:reproducedIn ?appearsInObj .
?appearsInObj rdfs:label ?appearsIn ?appearsInObj rdfs:label ?appearsIn
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship core:linkedInformationResource ?infoResource . ?authorship core:relates ?infoResource .
?infoResource core:publisher ?publisherObj . ?infoResource core:publisher ?publisherObj .
?publisherObj rdfs:label ?publisher ?publisherObj rdfs:label ?publisher
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship core:linkedInformationResource ?infoResource . ?authorship core:relates ?infoResource .
?infoResource core:editor ?editorObj . ?infoResource core:relatedBy ?editorship .
?editorship core:relates ?editorObj .
?editorObj rdfs:label ?editor ?editorObj rdfs:label ?editor
} UNION { } UNION {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship core:linkedInformationResource ?infoResource . ?authorship core:relates ?infoResource .
?infoResource core:partOf ?partOfObj . ?infoResource core:partOf ?partOfObj .
?partOfObj rdfs:label ?partOf ?partOfObj rdfs:label ?partOf
} }
@ -170,14 +180,17 @@
<query-construct> <query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship core:linkedInformationResource ?infoResource . ?authorship core:relates ?infoResource .
?infoResource a bibo:Document .
?infoResource core:dateTimeValue ?dateTimeValue . ?infoResource core:dateTimeValue ?dateTimeValue .
?dateTimeValue core:dateTime ?dateTime ?dateTimeValue core:dateTime ?dateTime
} WHERE { } WHERE {
?subject ?property ?authorship . ?subject ?property ?authorship .
?authorship core:linkedInformationResource ?infoResource . ?authorship core:relates ?infoResource .
?infoResource a bibo:Document .
?infoResource core:dateTimeValue ?dateTimeValue . ?infoResource core:dateTimeValue ?dateTimeValue .
?dateTimeValue core:dateTime ?dateTime ?dateTimeValue core:dateTime ?dateTime
} }

View file

@ -1,147 +1,167 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt --> <!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config> <list-view-config>
<query-select> <query-select>
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt; PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt; PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
SELECT DISTINCT ?awardReceipt SELECT DISTINCT ?awardReceipt
?receiptLabel ?receiptLabel
?award ?award
?awardLabel ?awardLabel
?conferredBy ?assignedBy
?conferredByLabel ?assignedByLabel
?dateTimeStart ?dateTimeStart
?dateTimeEnd ?dateTimeEnd
?dateTime ?dateTime
WHERE { WHERE {
?subject ?property ?awardReceipt . ?subject ?property ?awardReceipt .
OPTIONAL { ?awardReceipt rdfs:label ?receiptLabel } ?awardReceipt a core:AwardReceipt .
OPTIONAL { ?awardReceipt core:receiptOf ?award . OPTIONAL { ?awardReceipt rdfs:label ?receiptLabel }
?award core:receipt ?awardReceipt OPTIONAL { ?awardReceipt core:relates ?award .
OPTIONAL { ?award rdfs:label ?awardLabel } ?award a core:Award .
OPTIONAL { ?award core:awardConferredBy ?conferredBy ?award core:relatedBy ?awardReceipt
OPTIONAL { ?conferredBy rdfs:label ?conferredByLabel } OPTIONAL { ?award rdfs:label ?awardLabel }
} OPTIONAL { ?award core:assignedBy ?assignedBy
} OPTIONAL { ?assignedBy rdfs:label ?assignedByLabel }
OPTIONAL { ?awardReceipt core:dateTimeInterval ?dateTimeInterval }
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue . }
?dateTimeStartValue core:dateTime ?dateTimeStart OPTIONAL { ?awardReceipt core:dateTimeInterval ?dateTimeInterval
} OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
} ?dateTimeStartValue core:dateTime ?dateTimeStart
OPTIONAL { ?awardReceipt core:dateTimeInterval ?dateTimeInterval }
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue . }
?dateTimeEndValue core:dateTime ?dateTimeEnd OPTIONAL { ?awardReceipt core:dateTimeInterval ?dateTimeInterval
} OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
} ?dateTimeEndValue core:dateTime ?dateTimeEnd
OPTIONAL { ?awardReceipt core:dateTimeValue ?dateTimeValue }
OPTIONAL { ?dateTimeValue core:dateTime ?dateTime } }
} OPTIONAL { ?awardReceipt core:dateTimeValue ?dateTimeValue
} ORDER BY DESC(?dateTime) DESC(?dateTimeEnd) OPTIONAL { ?dateTimeValue core:dateTime ?dateTime }
</query-select> }
} ORDER BY DESC(?dateTime) DESC(?dateTimeEnd)
<query-construct> </query-select>
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; <query-construct>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT { PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
?subject ?property ?awardReceipt .
?awardReceipt rdfs:label ?receiptLabel . CONSTRUCT {
?awardReceipt core:receiptOf ?award . ?subject ?property ?awardReceipt .
?award core:receipt ?awardReceipt . ?awardReceipt a core:AwardReceipt .
?award rdfs:label ?awardLabel . ?awardReceipt rdfs:label ?receiptLabel .
?award core:awardConferredBy ?conferredBy . ?awardReceipt core:relates ?award .
?conferredBy rdfs:label ?conferredByLabel ?award a core:Award .
} WHERE { ?award core:relatedBy ?awardReceipt .
{ ?award rdfs:label ?awardLabel .
?subject ?property ?awardReceipt ?award core:assignedBy ?assignedBy .
} UNION { ?assignedBy rdfs:label ?assignedByLabel
?subject ?property ?awardReceipt . } WHERE {
?awardReceipt rdfs:label ?receiptLabel {
} UNION { ?subject ?property ?awardReceipt .
?subject ?property ?awardReceipt . ?awardReceipt a core:AwardReceipt .
?awardReceipt rdfs:label ?receiptLabel . } UNION {
?awardReceipt core:receiptOf ?award . ?subject ?property ?awardReceipt .
?award core:receipt ?awardReceipt ?awardReceipt a core:AwardReceipt .
} UNION { ?awardReceipt rdfs:label ?receiptLabel
?subject ?property ?awardReceipt . } UNION {
?awardReceipt rdfs:label ?receiptLabel . ?subject ?property ?awardReceipt .
?awardReceipt core:receiptOf ?award . ?awardReceipt a core:AwardReceipt .
?award core:receipt ?awardReceipt . ?awardReceipt rdfs:label ?receiptLabel .
?award rdfs:label ?awardLabel ?awardReceipt core:relates ?award .
} UNION { ?award a core:Award .
?subject ?property ?awardReceipt . ?award core:relatedBy ?awardReceipt
?awardReceipt rdfs:label ?receiptLabel . } UNION {
?awardReceipt core:receiptOf ?award . ?subject ?property ?awardReceipt .
?award core:receipt ?awardReceipt . ?awardReceipt a core:AwardReceipt .
?award rdfs:label ?awardLabel . ?awardReceipt rdfs:label ?receiptLabel .
?award core:awardConferredBy ?conferredBy ?awardReceipt core:relates ?award .
} UNION { ?award a core:Award .
?subject ?property ?awardReceipt . ?award core:relatedBy ?awardReceipt .
?awardReceipt rdfs:label ?receiptLabel . ?award rdfs:label ?awardLabel
?awardReceipt core:receiptOf ?award . } UNION {
?award core:receipt ?awardReceipt . ?subject ?property ?awardReceipt .
?award rdfs:label ?awardLabel . ?awardReceipt a core:AwardReceipt .
?award core:awardConferredBy ?conferredBy . ?awardReceipt rdfs:label ?receiptLabel .
?conferredBy rdfs:label ?conferredByLabel ?awardReceipt core:relates ?award .
} ?award a core:Award .
} ?award core:relatedBy ?awardReceipt .
</query-construct> ?award rdfs:label ?awardLabel .
?award core:assignedBy ?assignedBy
<query-construct> } UNION {
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; ?subject ?property ?awardReceipt .
CONSTRUCT { ?awardReceipt a core:AwardReceipt .
?subject ?property ?awardReceipt . ?awardReceipt rdfs:label ?receiptLabel .
?awardReceipt core:dateTimeInterval ?dateTimeInterval . ?awardReceipt core:relates ?award .
?dateTimeInterval core:start ?dateTimeStartValue . ?award a core:Award .
?dateTimeStartValue core:dateTime ?dateTimeStart ?award core:relatedBy ?awardReceipt .
} WHERE { ?award rdfs:label ?awardLabel .
?subject ?property ?awardReceipt . ?award core:assignedBy ?assignedBy .
?awardReceipt core:dateTimeInterval ?dateTimeInterval . ?assignedBy rdfs:label ?assignedByLabel
?dateTimeInterval core:start ?dateTimeStartValue . }
?dateTimeStartValue core:dateTime ?dateTimeStart }
} </query-construct>
</query-construct>
<query-construct>
<query-construct> PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; CONSTRUCT {
CONSTRUCT { ?subject ?property ?awardReceipt .
?subject ?property ?awardReceipt . ?awardReceipt a core:AwardReceipt .
?awardReceipt core:dateTimeInterval ?dateTimeInterval . ?awardReceipt core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue . ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd ?dateTimeStartValue core:dateTime ?dateTimeStart
} WHERE { } WHERE {
?subject ?property ?awardReceipt . ?subject ?property ?awardReceipt .
?awardReceipt core:dateTimeInterval ?dateTimeInterval . ?awardReceipt a core:AwardReceipt .
?dateTimeInterval core:end ?dateTimeEndValue . ?awardReceipt core:dateTimeInterval ?dateTimeInterval .
?dateTimeEndValue core:dateTime ?dateTimeEnd ?dateTimeInterval core:start ?dateTimeStartValue .
} ?dateTimeStartValue core:dateTime ?dateTimeStart
</query-construct> }
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; <query-construct>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?awardReceipt . ?subject ?property ?awardReceipt .
?awardReceipt core:dateTimeValue ?dateTimeValue . ?awardReceipt a core:AwardReceipt .
?dateTimeValue core:dateTime ?dateTime ?awardReceipt core:dateTimeInterval ?dateTimeInterval .
} WHERE { ?dateTimeInterval core:end ?dateTimeEndValue .
?subject ?property ?awardReceipt . ?dateTimeEndValue core:dateTime ?dateTimeEnd
?awardReceipt core:dateTimeValue ?dateTimeValue . } WHERE {
?dateTimeValue core:dateTime ?dateTime ?subject ?property ?awardReceipt .
} ?awardReceipt a core:AwardReceipt .
</query-construct> ?awardReceipt core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
<template>propStatement-awardOrHonor.ftl</template> ?dateTimeEndValue core:dateTime ?dateTimeEnd
</list-view-config> }
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT {
?subject ?property ?awardReceipt .
?awardReceipt a core:AwardReceipt .
?awardReceipt core:dateTimeValue ?dateTimeValue .
?dateTimeValue core:dateTime ?dateTime
} WHERE {
?subject ?property ?awardReceipt .
?awardReceipt a core:AwardReceipt .
?awardReceipt core:dateTimeValue ?dateTimeValue .
?dateTimeValue core:dateTime ?dateTime
}
</query-construct>
<template>propStatement-awardOrHonor.ftl</template>
</list-view-config>

View file

@ -20,12 +20,19 @@
?majorField ?deptOrSchool ?info ?majorField ?deptOrSchool ?info
?dateTimeStart ?dateTimeEnd ?dateTimeStart ?dateTimeEnd
WHERE { WHERE {
?subject ?property ?edTraining ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess
OPTIONAL {?edTraining vitro:mostSpecificType ?trainingType . OPTIONAL {?edTraining vitro:mostSpecificType ?trainingType .
?trainingType rdfs:subClassOf core:EducationalTraining . ?trainingType rdfs:subClassOf core:EducationalProcess .
?trainingType rdfs:label ?typeName ?trainingType rdfs:label ?typeName
} }
OPTIONAL { ?edTraining core:trainingAtOrganization ?org . OPTIONAL { ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
?awardedDegree core:relates ?degree .
?degree a core:AcademicDegree
OPTIONAL { ?degree rdfs:label ?degreeName }
OPTIONAL { ?degree core:abbreviation ?degreeAbbr }
}
OPTIONAL { ?awardedDegree core:assignedBy ?org .
?org rdfs:label ?orgName ?org rdfs:label ?orgName
<collated> <collated>
OPTIONAL { ?org vitro:mostSpecificType ?subclass . OPTIONAL { ?org vitro:mostSpecificType ?subclass .
@ -33,10 +40,6 @@
} }
</collated> </collated>
} }
OPTIONAL { ?edTraining core:degreeEarned ?degree
OPTIONAL { ?degree rdfs:label ?degreeName }
OPTIONAL { ?degree core:abbreviation ?degreeAbbr }
}
OPTIONAL { ?edTraining core:majorField ?majorField } OPTIONAL { ?edTraining core:majorField ?majorField }
OPTIONAL { ?edTraining core:departmentOrSchool ?deptOrSchool } OPTIONAL { ?edTraining core:departmentOrSchool ?deptOrSchool }
OPTIONAL { ?edTraining core:supplementalInformation ?info } OPTIONAL { ?edTraining core:supplementalInformation ?info }
@ -69,30 +72,44 @@
CONSTRUCT { CONSTRUCT {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining ?edTrainingProp ?edTrainingValue . ?edTraining ?edTrainingProp ?edTrainingValue .
?edTraining core:trainingAtOrganization ?org . ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
?awardedDegree core:assignedBy ?org .
?org rdfs:label ?orgName . ?org rdfs:label ?orgName .
?edTraining core:degreeEarned ?degree . ?awardedDegree core:relates ?degree .
?edTraining core:dateTimeInterval ?dateTimeInterval ?edTraining core:dateTimeInterval ?dateTimeInterval
} WHERE { } WHERE {
{ {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess
} }
UNION { UNION {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining ?edTrainingProp ?edTrainingValue ?edTraining ?edTrainingProp ?edTrainingValue
} }
UNION { UNION {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining core:trainingAtOrganization ?org . ?edTraining a core:EducationalProcess .
?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
}
UNION {
?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
?awardedDegree core:assignedBy ?org .
?org rdfs:label ?orgName ?org rdfs:label ?orgName
} }
UNION { UNION {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining core:degreeEarned ?degree . ?edTraining a core:EducationalProcess .
?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
?awardedDegree core:relates ?degree
} }
UNION { UNION {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining core:dateTimeInterval ?dateTimeInterval ?edTraining core:dateTimeInterval ?dateTimeInterval
} }
} }
@ -104,17 +121,20 @@
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining vitro:mostSpecificType ?trainingType . ?edTraining vitro:mostSpecificType ?trainingType .
?trainingType rdfs:subClassOf core:EducationalTraining . ?trainingType rdfs:subClassOf core:EducationalTraining .
?trainingType rdfs:label ?typeName ?trainingType rdfs:label ?typeName
} WHERE { } WHERE {
{ {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining vitro:mostSpecificType ?trainingType . ?edTraining vitro:mostSpecificType ?trainingType .
?trainingType rdfs:subClassOf core:EducationalTraining ?trainingType rdfs:subClassOf core:EducationalTraining
} UNION } UNION
{ {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining vitro:mostSpecificType ?trainingType . ?edTraining vitro:mostSpecificType ?trainingType .
?trainingType rdfs:subClassOf core:EducationalTraining . ?trainingType rdfs:subClassOf core:EducationalTraining .
?trainingType rdfs:label ?typeName ?trainingType rdfs:label ?typeName
@ -127,16 +147,23 @@
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT { CONSTRUCT {
?degree a core:AcademicDegree .
?degree rdfs:label ?degreeName . ?degree rdfs:label ?degreeName .
?degree core:abbreviation ?degreeAbbr ?degree core:abbreviation ?degreeAbbr
} WHERE { } WHERE {
{ {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining core:degreeEarned ?degree . ?edTraining a core:EducationalProcess .
?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
?awardedDegree core:relates ?degree .
?degree a core:AcademicDegree .
?degree rdfs:label ?degreeName ?degree rdfs:label ?degreeName
} UNION { } UNION {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining core:degreeEarned ?degree . ?edTraining a core:EducationalProcess .
?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
?awardedDegree core:relates ?degree .
?degree a core:AcademicDegree .
?degree core:abbreviation ?degreeAbbr ?degree core:abbreviation ?degreeAbbr
} }
} }
@ -151,6 +178,7 @@
?dateTimeStartValue core:dateTime ?dateTimeStart . ?dateTimeStartValue core:dateTime ?dateTimeStart .
} WHERE { } WHERE {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining core:dateTimeInterval ?dateTimeInterval . ?edTraining core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue . ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart . ?dateTimeStartValue core:dateTime ?dateTimeStart .
@ -166,6 +194,7 @@
?dateTimeEndValue core:dateTime ?dateTimeEnd ?dateTimeEndValue core:dateTime ?dateTimeEnd
} WHERE { } WHERE {
?subject ?property ?edTraining . ?subject ?property ?edTraining .
?edTraining a core:EducationalProcess .
?edTraining core:dateTimeInterval ?dateTimeInterval . ?edTraining core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue . ?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd ?dateTimeEndValue core:dateTime ?dateTimeEnd

View file

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config>
<query-select>
PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
SELECT DISTINCT ?vcard ?fullName
?firstName
?middleName
?lastName
WHERE {
?subject ?property ?vcard .
?vcard vcard:hasName ?fullName
OPTIONAL { ?fullName vcard:givenName ?firstName }
OPTIONAL { ?fullName vcard:middleName ?middleName }
OPTIONAL { ?fullName vcard:familyName ?lastName }
}
</query-select>
<query-construct>
PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
CONSTRUCT {
?subject ?property ?vcard .
?vcard vcard:hasName ?fullName .
?fullName ?fullNameProperty ?fullNameValue
} WHERE {
{
?subject ?property ?vcard
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasName ?fullName
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasName ?fullName .
?fullName ?fullNameProperty ?fullNameValue
}
}
</query-construct>
<template>propStatement-fullName.ftl</template>
<postprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.MaintainDuplicatesObjectPropertyDataPostProcessor</postprocessor>
</list-view-config>

View file

@ -1,354 +1,385 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt --> <!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config> <list-view-config>
<query-select> <query-select>
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt; PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
PREFIX event: &lt;http://purl.org/NET/c4dm/event.owl#&gt; PREFIX event: &lt;http://purl.org/NET/c4dm/event.owl#&gt;
SELECT DISTINCT <collated>?subclass</collated> SELECT DISTINCT <collated>?subclass</collated>
?role ?roleLabel ?role ?roleLabel
?event1 ?event1Name ?event1Label ?event1 ?event1Name ?event1Label
?event2 ?event2Label ?event2 ?event2Label
?series ?seriesLabel ?series ?seriesLabel
?event3 ?event3
?dateTimeStart ?dateTimeStart
?dateTimeEnd ?dateTimeEnd
WHERE { WHERE {
?subject ?property ?role ?subject ?property ?role
OPTIONAL { ?role rdfs:label ?roleLabel } OPTIONAL { ?role rdfs:label ?roleLabel }
OPTIONAL { ?role vivo:roleRealizedIn ?event1 OPTIONAL { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1
LET (?event1Name := afn:localname(?event1)) LET (?event1Name := afn:localname(?event1))
OPTIONAL { ?event1 rdfs:label ?event1Label } OPTIONAL { ?event1 rdfs:label ?event1Label }
OPTIONAL { ?event2 a event:Event . OPTIONAL { ?event2 a event:Event .
OPTIONAL { ?event2 rdfs:label ?event2Label } OPTIONAL { ?event2 rdfs:label ?event2Label }
{ {
?event1 vivo:eventWithin ?event2 ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event2
} UNION { } UNION {
?event2 vivo:includesEvent ?event1 ?event2 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1
} }
} }
OPTIONAL { OPTIONAL {
{ {
?event1 vivo:eventWithin ?event3 . ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event3 .
?event3 vivo:eventWithin ?event2 ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event2
} UNION { } UNION {
?event2 vivo:includesEvent ?event3 . ?event2 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event3 .
?event3 vivo:includesEvent ?event1 ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1
} }
OPTIONAL { ?event2 rdfs:label ?event2Label } OPTIONAL { ?event2 rdfs:label ?event2Label }
} }
OPTIONAL { ?series a vivo:EventSeries . OPTIONAL { ?series a vivo:EventSeries .
OPTIONAL { ?series rdfs:label ?seriesLabel } OPTIONAL { ?series rdfs:label ?seriesLabel }
{ {
?event1 vivo:inEventWithin ?series ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?series
} UNION { } UNION {
?series vivo:seriesForEvent ?event1 ?series &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1
} }
} }
OPTIONAL { OPTIONAL {
{ {
?event1 vivo:eventWithin ?event3 . ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event3 .
?event3 vivo:inEventSeries ?series ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?series
} UNION { } UNION {
?event3 vivo:includesEvent ?event1 . ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1 .
?series vivo:seriesForEvent ?event3 ?series &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event3
} }
OPTIONAL { ?series rdfs:label ?seriesLabel } OPTIONAL { ?series rdfs:label ?seriesLabel }
} }
<collated> <collated>
?event1 vitro:mostSpecificType ?subclass . ?event1 vitro:mostSpecificType ?subclass .
{ {
?subclass rdfs:subClassOf event:Event ?subclass rdfs:subClassOf event:Event
} UNION { } UNION {
?subclass owl:equivalentClass event:Event ?subclass owl:equivalentClass event:Event
} }
</collated> </collated>
} }
OPTIONAL { ?role vivo:dateTimeInterval ?dateTimeInterval OPTIONAL { ?role vivo:dateTimeInterval ?dateTimeInterval
OPTIONAL { ?dateTimeInterval vivo:start ?dateTimeStartValue . OPTIONAL { ?dateTimeInterval vivo:start ?dateTimeStartValue .
?dateTimeStartValue vivo:dateTime ?dateTimeStart ?dateTimeStartValue vivo:dateTime ?dateTimeStart
} }
OPTIONAL { ?dateTimeInterval vivo:end ?dateTimeEndValue . OPTIONAL { ?dateTimeInterval vivo:end ?dateTimeEndValue .
?dateTimeEndValue vivo:dateTime ?dateTimeEnd ?dateTimeEndValue vivo:dateTime ?dateTimeEnd
} }
} }
<critical-data-required> <critical-data-required>
FILTER ( bound(?event1) ) FILTER ( bound(?event1) )
</critical-data-required> </critical-data-required>
} ORDER BY <collated>?subclass</collated> DESC(?dateTime) ?event1Label ?event1Name } ORDER BY <collated>?subclass</collated> DESC(?dateTime) ?event1Label ?event1Name
</query-select> </query-select>
<query-construct> <query-construct>
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt; PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
PREFIX event: &lt;http://purl.org/NET/c4dm/event.owl#&gt; PREFIX event: &lt;http://purl.org/NET/c4dm/event.owl#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role vivo:roleRealizedIn ?event1 . ?role a ?objectType .
?event1 vitro:mostSpecificType ?subclass . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?subclass rdfs:subClassOf event:Event . ?event1 vitro:mostSpecificType ?subclass .
?subclass owl:equivalentClass event:Event . ?subclass rdfs:subClassOf event:Event .
} WHERE { ?subclass owl:equivalentClass event:Event .
{ } WHERE {
?subject ?property ?role . {
?role vivo:roleRealizedIn ?event1 . ?subject ?property ?role .
?event1 vitro:mostSpecificType ?subclass . ?role a ?objectType .
?subclass rdfs:subClassOf event:Event ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
} UNION { ?event1 vitro:mostSpecificType ?subclass .
?subject ?property ?role . ?subclass rdfs:subClassOf event:Event
?role vivo:roleRealizedIn ?event1 . } UNION {
?event1 vitro:mostSpecificType ?subclass . ?subject ?property ?role .
?subclass owl:equivalentClass event:Event ?role a ?objectType .
} ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
} ?event1 vitro:mostSpecificType ?subclass .
</query-construct> ?subclass owl:equivalentClass event:Event
}
<query-construct> }
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; </query-construct>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT { <query-construct>
?subject ?property ?role . PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
?role ?roleProperty ?roleValue . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?event1 rdfs:label ?event1Label CONSTRUCT {
} WHERE { ?subject ?property ?role .
{ ?role a ?objectType .
?subject ?property ?role ?role ?roleProperty ?roleValue .
} UNION { ?event1 rdfs:label ?event1Label
?subject ?property ?role . } WHERE {
?role ?roleProperty ?roleValue {
} UNION { ?subject ?property ?role .
?subject ?property ?role . ?role a ?objectType .
?role vivo:roleRealizedIn ?event1 . } UNION {
?event1 rdfs:label ?event1Label ?subject ?property ?role .
} ?role a ?objectType .
} ?role ?roleProperty ?roleValue
</query-construct> } UNION {
?subject ?property ?role .
<query-construct> ?role a ?objectType .
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; ?event1 rdfs:label ?event1Label
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; }
PREFIX event: &lt;http://purl.org/NET/c4dm/event.owl#&gt; }
</query-construct>
CONSTRUCT {
?subject ?property ?role . <query-construct>
?event2 a event:Event . PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
?event1 vivo:eventWithin ?event2 . PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
?event2 vivo:includesEvent ?event1 . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?event2 rdfs:label ?event2Label PREFIX event: &lt;http://purl.org/NET/c4dm/event.owl#&gt;
} WHERE {
CONSTRUCT {
{ ?subject ?property ?role .
?subject ?property ?role . ?role a ?objectType .
?role vivo:roleRealizedIn ?event1 . ?event2 a event:Event .
?event2 a event:Event . ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event2 .
?event1 vivo:eventWithin ?event2 ?event2 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1 .
} UNION { ?event2 rdfs:label ?event2Label
?subject ?property ?role . } WHERE {
?role vivo:roleRealizedIn ?event1 .
?event2 a event:Event . {
?event1 vivo:eventWithin ?event2 . ?subject ?property ?role .
?event2 rdfs:label ?event2Label ?role a ?objectType .
} UNION { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?subject ?property ?role . ?event2 a event:Event .
?role vivo:roleRealizedIn ?event1 . ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event2
?event2 a event:Event . } UNION {
?event2 vivo:includesEvent ?event1 ?subject ?property ?role .
} UNION { ?role a ?objectType .
?subject ?property ?role . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?role vivo:roleRealizedIn ?event1 . ?event2 a event:Event .
?event2 a event:Event . ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event2 .
?event2 vivo:includesEvent ?event1 . ?event2 rdfs:label ?event2Label
?event2 rdfs:label ?event2Label } UNION {
} ?subject ?property ?role .
} ?role a ?objectType .
</query-construct> ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?event2 a event:Event .
<query-construct> ?event2 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; } UNION {
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; ?subject ?property ?role .
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; ?role a ?objectType .
PREFIX event: &lt;http://purl.org/NET/c4dm/event.owl#&gt; ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?event2 a event:Event .
CONSTRUCT { ?event2 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1 .
?subject ?property ?role . ?event2 rdfs:label ?event2Label
?event3 vivo:eventWithin ?event2 . }
?event2 vivo:includesEvent ?event3 . }
?event2 a event:Event . </query-construct>
?event1 vivo:eventWithin ?event3 .
?event3 vivo:includesEvent ?event1 . <query-construct>
?event2 rdfs:label ?event2Label PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
} WHERE { PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
{ PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?subject ?property ?role . PREFIX event: &lt;http://purl.org/NET/c4dm/event.owl#&gt;
?role vivo:roleRealizedIn ?event1 .
?event2 a event:Event . CONSTRUCT {
?event1 vivo:eventWithin ?event3 . ?subject ?property ?role .
?event3 vivo:eventWithin ?event2 ?role a ?objectType .
} UNION { ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event2 .
?subject ?property ?role . ?event2 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event3 .
?role vivo:roleRealizedIn ?event1 . ?event2 a event:Event .
?event2 a event:Event . ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event3 .
?event1 vivo:eventWithin ?event3 . ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1 .
?event3 vivo:eventWithin ?event2 . ?event2 rdfs:label ?event2Label
?event2 rdfs:label ?event2Label } WHERE {
} UNION { {
?subject ?property ?role . ?subject ?property ?role .
?role vivo:roleRealizedIn ?event1 . ?role a ?objectType .
?event2 a event:Event . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?event2 vivo:includesEvent ?event3 . ?event2 a event:Event .
?event3 vivo:includesEvent ?event1 ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event3 .
} UNION { ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event2
?subject ?property ?role . } UNION {
?role vivo:roleRealizedIn ?event1 . ?subject ?property ?role .
?event2 a event:Event . ?role a ?objectType .
?event2 vivo:includesEvent ?event3 . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?event3 vivo:includesEvent ?event1 . ?event2 a event:Event .
?event2 rdfs:label ?event2Label ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event3 .
} ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event2 .
} ?event2 rdfs:label ?event2Label
</query-construct> } UNION {
?subject ?property ?role .
<query-construct> ?role a ?objectType .
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; ?event2 a event:Event .
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; ?event2 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event3 .
PREFIX event: &lt;http://purl.org/NET/c4dm/event.owl#&gt; ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1
} UNION {
CONSTRUCT { ?subject ?property ?role .
?subject ?property ?role . ?role a ?objectType .
?series a vivo:EventSeries . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?event1 vivo:inEventSeries ?series . ?event2 a event:Event .
?series vivo:seriesForEvent ?event1 . ?event2 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event3 .
?series rdfs:label ?seriesLabel ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1 .
} WHERE { ?event2 rdfs:label ?event2Label
}
{ }
?subject ?property ?role . </query-construct>
?role vivo:roleRealizedIn ?event1 .
?series a vivo:EventSeries . <query-construct>
?event1 vivo:inEventSeries ?series PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
} UNION { PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
?subject ?property ?role . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?role vivo:roleRealizedIn ?event1 . PREFIX event: &lt;http://purl.org/NET/c4dm/event.owl#&gt;
?series a vivo:EventSeries .
?event1 vivo:inEventSeries ?series . CONSTRUCT {
?series rdfs:label ?seriesLabel ?subject ?property ?role .
} UNION { ?role a ?objectType .
?subject ?property ?role . ?series a vivo:EventSeries .
?role vivo:roleRealizedIn ?event1 . ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?series .
?series a vivo:EventSeries . ?series &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1 .
?series vivo:seriesForEvent ?event1 ?series rdfs:label ?seriesLabel
} UNION { } WHERE {
?subject ?property ?role .
?role vivo:roleRealizedIn ?event1 . {
?series a vivo:EventSeries . ?subject ?property ?role .
?series vivo:seriesForEvent ?event1 . ?role a ?objectType .
?series rdfs:label ?seriesLabel ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
} ?series a vivo:EventSeries .
} ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?series
</query-construct> } UNION {
?subject ?property ?role .
<query-construct> ?role a ?objectType .
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; ?series a vivo:EventSeries .
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?series .
?series rdfs:label ?seriesLabel
CONSTRUCT { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?workshop vivo:inEventSeries ?series . ?role a ?objectType .
?series vivo:seriesForEvent ?event3 . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?series a vivo:EventSeries . ?series a vivo:EventSeries .
?event1 vivo:eventWithin ?event3 . ?series &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1
?event3 vivo:includesEvent ?event1 . } UNION {
?series rdfs:label ?seriesLabel ?subject ?property ?role .
} WHERE { ?role a ?objectType .
{ ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?subject ?property ?role . ?series a vivo:EventSeries .
?role vivo:roleRealizedIn ?event1 . ?series &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1 .
?series a vivo:EventSeries . ?series rdfs:label ?seriesLabel
?event1 vivo:eventWithin ?event3 . }
?event3 vivo:inEventSeries ?series }
} UNION { </query-construct>
?subject ?property ?role .
?role vivo:roleRealizedIn ?event1 . <query-construct>
?series a vivo:EventSeries . PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
?event1 vivo:eventWithin ?event3 . PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
?event3 vivo:inEventSeries ?series . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?series rdfs:label ?seriesLabel
} UNION { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role vivo:roleRealizedIn ?event1 . ?role a ?objectType .
?series a vivo:EventSeries . ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?series .
?series vivo:seriesForEvent ?event3 . ?series &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event3 .
?workshop vivo:includesEvent ?event1 ?series a vivo:EventSeries .
} UNION { ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event3 .
?subject ?property ?role . ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1 .
?role vivo:roleRealizedIn ?event1 . ?series rdfs:label ?seriesLabel
?series a vivo:EventSeries . } WHERE {
?series vivo:seriesForEvent ?event3 . {
?event3 vivo:includesEvent ?event1 . ?subject ?property ?role .
?series rdfs:label ?seriesLabel ?role a ?objectType .
} ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
} ?series a vivo:EventSeries .
</query-construct> ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event3 .
?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?series
<query-construct> } UNION {
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; ?subject ?property ?role .
CONSTRUCT { ?role a ?objectType .
?subject ?property ?role . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?role vivo:dateTimeInterval ?dateTimeInterval . ?series a vivo:EventSeries .
?dateTimeInterval vivo:start ?dateTimeStartValue . ?event1 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?event3 .
?dateTimeStartValue vivo:dateTime ?dateTimeStart ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?series .
} WHERE { ?series rdfs:label ?seriesLabel
?subject ?property ?role . } UNION {
?role vivo:dateTimeInterval ?dateTimeInterval . ?subject ?property ?role .
?dateTimeInterval vivo:start ?dateTimeStartValue . ?role a ?objectType .
?dateTimeStartValue vivo:dateTime ?dateTimeStart ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
} ?series a vivo:EventSeries .
</query-construct> ?series &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event3 .
?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1
<query-construct> } UNION {
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; ?subject ?property ?role .
CONSTRUCT { ?role a ?objectType .
?subject ?property ?role . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?event1 .
?role vivo:dateTimeInterval ?dateTimeInterval . ?series a vivo:EventSeries .
?dateTimeInterval vivo:end ?dateTimeEndValue . ?series &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event3 .
?dateTimeEndValue vivo:dateTime ?dateTimeEnd ?event3 &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?event1 .
} WHERE { ?series rdfs:label ?seriesLabel
?subject ?property ?role . }
?role vivo:dateTimeInterval ?dateTimeInterval . }
?dateTimeInterval vivo:end ?dateTimeEndValue . </query-construct>
?dateTimeEndValue vivo:dateTime ?dateTimeEnd
} <query-construct>
</query-construct> PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
<template>propStatement-hasAttendeeRole.ftl</template> CONSTRUCT {
</list-view-config> ?subject ?property ?role .
?role a ?objectType .
?role vivo:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval vivo:start ?dateTimeStartValue .
?dateTimeStartValue vivo:dateTime ?dateTimeStart
} WHERE {
?subject ?property ?role .
?role a ?objectType .
?role vivo:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval vivo:start ?dateTimeStartValue .
?dateTimeStartValue vivo:dateTime ?dateTimeStart
}
</query-construct>
<query-construct>
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?role .
?role a ?objectType .
?role vivo:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval vivo:end ?dateTimeEndValue .
?dateTimeEndValue vivo:dateTime ?dateTimeEnd
} WHERE {
?subject ?property ?role .
?role a ?objectType .
?role vivo:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval vivo:end ?dateTimeEndValue .
?dateTimeEndValue vivo:dateTime ?dateTimeEnd
}
</query-construct>
<template>propStatement-hasAttendeeRole.ftl</template>
</list-view-config>

View file

@ -1,164 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config>
<query-select>
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
SELECT DISTINCT <collated>?subclass</collated> ?subclassLabel
# send the property to the template, since this view supports multiple role properties
?property
?role
?activity ?activityName
?activityLabel
?infoResource ?infoResourceName
?infoResourceLabel
?dateTimeStart ?dateTimeEnd WHERE {
?subject ?property ?role
OPTIONAL { ?role core:roleContributesTo ?activity
LET (?activityName := afn:localname(?activity))
OPTIONAL { ?activity rdfs:label ?activityLabel }
}
OPTIONAL { ?role core:roleRealizedIn ?activity
LET (?activityName := afn:localname(?activity))
OPTIONAL { ?activity rdfs:label ?activityLabel }
}
# NB Currently we can only retrieve subclass for either the
# infoResource or the activity, but not both. Later, we could have
# the query retrieve both and write a custom preprocessor to merge
# the results into a single subclass column.
?infoResource vitro:mostSpecificType ?subclass .
?subclass rdfs:subClassOf ?superclass
FILTER ( ( ?property = core:hasEditorRole &amp;&amp; ?superclass = bibo:Collection ) ||
( ?property = core:hasReviewerRole &amp;&amp; ?superclass = core:InformationResource )
)
# Get subclass label for display in uncollated view
?subclass rdfs:label ?subclassLabel
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
}
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
}
<critical-data-required>
FILTER ( bound(?infoResource) )
</critical-data-required>
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityLabel ?activityName
</query-select>
<query-construct>
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
CONSTRUCT {
?subject ?property ?role .
?role core:roleContributesTo ?infoResource .
?infoResource vitro:mostSpecificType ?subclass .
?subclass rdfs:subClassOf ?superclass .
?subclass rdfs:label ?subclassLabel
} WHERE {
?subject ?property ?role .
?role core:roleContributesTo ?infoResource .
?infoResource vitro:mostSpecificType ?subclass .
?subclass rdfs:subClassOf ?superclass .
?subclass rdfs:label ?subclassLabel
FILTER ( ?superclass = bibo:Collection || ?superclass = core:InformationResource )
}
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT {
?subject ?property ?role .
?role ?roleProperty ?roleValue .
?activity rdfs:label ?activityName
} WHERE {
{
?subject ?property ?role
} UNION {
?subject ?property ?role .
?role ?roleProperty ?roleValue
} UNION {
?subject ?property ?role .
?role core:roleContributesTo ?activity .
?activity rdfs:label ?activityName
} UNION {
?subject ?property ?role .
?role core:roleRealizedIn ?activity .
?activity rdfs:label ?activityName
}
}
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?role .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
} WHERE {
?subject ?property ?role .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
}
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?role .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
} WHERE {
?subject ?property ?role .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT {
?subject ?property ?role .
?role ?roleProperty ?roleValue .
?infoResource rdfs:label ?infoResourceLabel
} WHERE {
{
?subject ?property ?role
} UNION {
?subject ?property ?role .
?role ?roleProperty ?roleValue .
} UNION {
?subject ?property ?role .
?role core:roleContributesTo ?infoResource .
?infoResource rdfs:label ?infoResourceLabel .
}
}
</query-construct>
<template>propStatement-hasEditReviewRole.ftl</template>
</list-view-config>

View file

@ -0,0 +1,122 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config>
<query-select>
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
SELECT DISTINCT <collated> ?subclass </collated>
?role
?subclassLabel
?activity
(afn:localname(?activity) AS ?activityLocal)
?activityName
?dateTimeStart
?dateTimeEnd
WHERE {
?subject ?property ?role
OPTIONAL { ?role core:roleContributesTo ?activity .
?activity vitro:mostSpecificType ?subclass
OPTIONAL { ?activity rdfs:label ?activityName }
OPTIONAL { ?subclass rdfs:label ?subclassLabel }
}
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
}
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
}
} ORDER BY <collated> ?subclass </collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityName
</query-select>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
CONSTRUCT {
?subject ?property ?role .
?role a core:EditorRole .
?role vitro:mostSpecificType ?roleSubclass .
?role core:roleContributesTo ?activity .
?activity rdfs:label ?activityName .
?activity vitro:mostSpecificType ?subclass .
?subclass rdfs:label ?subclassLabel
} WHERE {
{
?subject ?property ?role .
?role a core:EditorRole .
} UNION {
?subject ?property ?role .
?role a core:EditorRole .
?role vitro:mostSpecificType ?roleSubclass
} UNION {
?subject ?property ?role .
?role a core:EditorRole .
?role core:roleContributesTo ?activity
} UNION {
?subject ?property ?role .
?role a core:EditorRole .
?role core:roleContributesTo ?activity .
?activity rdfs:label ?activityName .
} UNION {
?subject ?property ?role .
?role a core:EditorRole .
?role core:roleContributesTo ?activity .
?activity vitro:mostSpecificType ?subclass
} UNION {
?subject ?property ?role .
?role a core:EditorRole .
?role core:roleContributesTo ?activity .
?activity vitro:mostSpecificType ?subclass .
?subclass rdfs:label ?subclassLabel
}
}
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?role .
?role a core:EditorRole .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
} WHERE {
?subject ?property ?role .
?role a core:EditorRole .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
}
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?role .
?role a core:EditorRole .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
} WHERE {
?subject ?property ?role .
?role a core:EditorRole .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
</query-construct>
<template>propStatement-hasEditReviewRole.ftl</template>
</list-view-config>

View file

@ -1,222 +1,243 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt --> <!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config> <list-view-config>
<query-select> <query-select>
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
SELECT DISTINCT SELECT DISTINCT
?role ?role
?activity ?activityName ?activity ?activityName
?activityLabel ?activityLabel
?awardedBy ?awardedBy
?adminedBy ?adminedBy
?awardedByLabel ?awardedByLabel
?adminedByLabel ?adminedByLabel
?dateTimeStartRole ?dateTimeEndRole ?dateTimeStartRole ?dateTimeEndRole
?dateTimeStartGrant ?dateTimeEndGrant ?dateTimeStartGrant ?dateTimeEndGrant
?hideThis ?hideThis
WHERE { WHERE {
?subject ?property ?role ?subject ?property ?role .
?role a ?objectType .
OPTIONAL { ?role core:roleRealizedIn ?activity ?role vitro:mostSpecificType ?subclass
LET (?activityName := afn:localname(?activity))
OPTIONAL { ?activity rdfs:label ?activityLabel } OPTIONAL { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity
} LET (?activityName := afn:localname(?activity))
OPTIONAL { ?role core:roleContributesTo ?activity OPTIONAL { ?activity rdfs:label ?activityLabel }
LET (?activityName := afn:localname(?activity)) }
OPTIONAL { ?activity rdfs:label ?activityLabel } OPTIONAL { ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity
} LET (?activityName := afn:localname(?activity))
OPTIONAL { ?activity core:grantAwardedBy ?awardedBy . OPTIONAL { ?activity rdfs:label ?activityLabel }
?awardedBy rdfs:label ?awardedByLabel }
} OPTIONAL { ?activity core:grantAwardedBy ?awardedBy .
OPTIONAL { ?activity core:administeredBy ?adminedBy . ?awardedBy rdfs:label ?awardedByLabel
?adminedBy rdfs:label ?adminedByLabel }
} OPTIONAL { ?activity core:administeredBy ?adminedBy .
OPTIONAL { ?role core:dateTimeInterval ?dateTimeIntervalRole ?adminedBy rdfs:label ?adminedByLabel
OPTIONAL { ?dateTimeIntervalRole core:start ?dateTimeStartValueRole . }
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole OPTIONAL { ?role core:dateTimeInterval ?dateTimeIntervalRole
} OPTIONAL { ?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
OPTIONAL { ?dateTimeIntervalRole core:end ?dateTimeEndValueRole . ?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole }
} OPTIONAL { ?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
} ?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
OPTIONAL { ?role core:roleContributesTo ?grant . }
?grant core:dateTimeInterval ?dateTimeIntervalGrant }
OPTIONAL { ?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant . OPTIONAL { ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?grant .
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant ?grant core:dateTimeInterval ?dateTimeIntervalGrant
} OPTIONAL { ?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
OPTIONAL { ?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant . ?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant }
} OPTIONAL { ?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
} ?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
OPTIONAL { ?role core:hideFromDisplay ?hideThis } }
# NOT EXISTS { ?role core:hideFromDisplay ?hideThis } }
<critical-data-required> OPTIONAL { ?role core:hideFromDisplay ?hideThis }
FILTER ( bound(?activity) ) FILTER ( bound(?activity) &amp;&amp; ?subclass = ?objectType)
</critical-data-required> } ORDER BY DESC(?dateTimeEndRole) DESC(?dateTimeStartRole) DESC(?dateTimeEndGrant) DESC(?dateTimeStartGrant) ?activityLabel ?activityName
} ORDER BY DESC(?dateTimeEndRole) DESC(?dateTimeStartRole) DESC(?dateTimeEndGrant) DESC(?dateTimeStartGrant) ?activityLabel ?activityName </query-select>
</query-select>
<query-construct>
<query-construct> PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
CONSTRUCT {
CONSTRUCT { ?subject ?property ?role .
?subject ?property ?role . ?role a ?objectType .
?role core:roleRealizedIn ?activity . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
?activity rdfs:label ?activityLabel ?activity rdfs:label ?activityLabel
} WHERE { } WHERE {
{ {
?subject ?property ?role . ?subject ?property ?role .
?role core:roleContributesTo ?activity ?role a ?objectType .
} UNION ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity
{ } UNION
?subject ?property ?role . {
?role core:roleRealizedIn ?activity . ?subject ?property ?role .
?activity rdfs:label ?activityLabel ?role a ?objectType .
} ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
} ?activity rdfs:label ?activityLabel
</query-construct> }
}
<query-construct> </query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; <query-construct>
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT { PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
?subject ?property ?role .
?role core:roleContributesTo ?activity . CONSTRUCT {
?activity rdfs:label ?activityLabel ?subject ?property ?role .
} WHERE { ?role a ?objectType .
{ ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity .
?subject ?property ?role . ?activity rdfs:label ?activityLabel
?role core:roleContributesTo ?activity } WHERE {
} UNION {
{ ?subject ?property ?role .
?subject ?property ?role . ?role a ?objectType .
?role core:roleContributesTo ?activity . ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity
?activity rdfs:label ?activityLabel } UNION
} {
} ?subject ?property ?role .
</query-construct> ?role a ?objectType .
?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity .
<query-construct> ?activity rdfs:label ?activityLabel
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; }
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; }
CONSTRUCT { </query-construct>
?subject ?property ?role .
?role ?roleProperty ?roleValue . <query-construct>
?activity rdfs:label ?activityName . PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
?activity core:grantAwardedBy ?awardedBy . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?awardedBy rdfs:label ?awardedByLabel . CONSTRUCT {
?activity core:administeredBy ?adminedBy . ?subject ?property ?role .
?adminedBy rdfs:label ?adminedByLabel ?role a ?objectType .
} WHERE { ?role ?roleProperty ?roleValue .
{ ?activity rdfs:label ?activityName .
?subject ?property ?role ?activity core:grantAwardedBy ?awardedBy .
} UNION { ?awardedBy rdfs:label ?awardedByLabel .
?subject ?property ?role . ?activity core:administeredBy ?adminedBy .
?role ?roleProperty ?roleValue ?adminedBy rdfs:label ?adminedByLabel
} UNION { } WHERE {
?subject ?property ?role . {
?role core:roleContributesTo ?activity . ?subject ?property ?role
?activity rdfs:label ?activityName } UNION {
} UNION { ?subject ?property ?role .
?subject ?property ?role . ?role a ?objectType .
?role core:roleRealizedIn ?activity . ?role ?roleProperty ?roleValue
?activity rdfs:label ?activityName } UNION {
} UNION { ?subject ?property ?role .
?subject ?property ?role . ?role a ?objectType .
?role core:roleContributesTo ?activity . ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity .
?activity core:grantAwardedBy ?awardedBy ?activity rdfs:label ?activityName
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role core:roleContributesTo ?activity . ?role a ?objectType .
?activity core:grantAwardedBy ?awardedBy . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
?awardedBy rdfs:label ?awardedByLabel ?activity rdfs:label ?activityName
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role core:roleContributesTo ?activity . ?role a ?objectType .
?activity core:administeredBy ?adminedBy ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity .
} UNION { ?activity core:grantAwardedBy ?awardedBy
?subject ?property ?role . } UNION {
?role core:roleContributesTo ?activity . ?subject ?property ?role .
?activity core:administeredBy ?adminedBy . ?role a ?objectType .
?adminedBy rdfs:label ?adminedByLabel ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity .
} ?activity core:grantAwardedBy ?awardedBy .
} ?awardedBy rdfs:label ?awardedByLabel
</query-construct> } UNION {
?subject ?property ?role .
<query-construct> ?role a ?objectType .
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity .
CONSTRUCT { ?activity core:administeredBy ?adminedBy
?subject ?property ?role . } UNION {
?role core:dateTimeInterval ?dateTimeIntervalRole . ?subject ?property ?role .
?dateTimeIntervalRole core:start ?dateTimeStartValueRole . ?role a ?objectType .
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?activity .
} WHERE { ?activity core:administeredBy ?adminedBy .
?subject ?property ?role . ?adminedBy rdfs:label ?adminedByLabel
?role core:dateTimeInterval ?dateTimeIntervalRole . }
?dateTimeIntervalRole core:start ?dateTimeStartValueRole . }
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole </query-construct>
}
</query-construct> <query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
<query-construct> CONSTRUCT {
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; ?subject ?property ?role .
CONSTRUCT { ?role a ?objectType .
?subject ?property ?role . ?role core:dateTimeInterval ?dateTimeIntervalRole .
?role core:dateTimeInterval ?dateTimeIntervalRole . ?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
?dateTimeIntervalRole core:end ?dateTimeEndValueRole . ?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole } WHERE {
} WHERE { ?subject ?property ?role .
?subject ?property ?role . ?role a ?objectType .
?role core:dateTimeInterval ?dateTimeIntervalRole . ?role core:dateTimeInterval ?dateTimeIntervalRole .
?dateTimeIntervalRole core:end ?dateTimeEndValueRole . ?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole ?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
} }
</query-construct> </query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; <query-construct>
CONSTRUCT { PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
?subject ?property ?role . CONSTRUCT {
?role core:roleContributesTo ?grant . ?subject ?property ?role .
?grant core:dateTimeInterval ?dateTimeIntervalGrant . ?role a ?objectType .
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant . ?role core:dateTimeInterval ?dateTimeIntervalRole .
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant ?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
} WHERE { ?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
?subject ?property ?role . } WHERE {
?role core:roleContributesTo ?grant . ?subject ?property ?role .
?grant core:dateTimeInterval ?dateTimeIntervalGrant . ?role a ?objectType .
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant . ?role core:dateTimeInterval ?dateTimeIntervalRole .
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant ?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
} ?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
</query-construct> }
</query-construct>
<query-construct> <query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role core:roleContributesTo ?grant . ?role a ?objectType .
?grant core:dateTimeInterval ?dateTimeIntervalGrant . ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?grant .
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant . ?grant core:dateTimeInterval ?dateTimeIntervalGrant .
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant ?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
} WHERE { ?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
?subject ?property ?role . } WHERE {
?role core:roleContributesTo ?grant . ?subject ?property ?role .
?grant core:dateTimeInterval ?dateTimeIntervalGrant . ?role a ?objectType .
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant . ?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?grant .
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant ?grant core:dateTimeInterval ?dateTimeIntervalGrant .
} ?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
</query-construct> ?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
}
<template>propStatement-hasInvestigatorRole.ftl</template> </query-construct>
</list-view-config>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?role .
?role a ?objectType .
?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?grant .
?grant core:dateTimeInterval ?dateTimeIntervalGrant .
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
} WHERE {
?subject ?property ?role .
?role a ?objectType .
?role &lt;http://vivoweb.org/ontology/core#relatedBy&gt; ?grant .
?grant core:dateTimeInterval ?dateTimeIntervalGrant .
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
}
</query-construct>
<template>propStatement-hasInvestigatorRole.ftl</template>
</list-view-config>

View file

@ -1,333 +1,363 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt --> <!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<!-- Note: ?workshop is a generic name for any intervening event between a presentation and --> <!-- Note: ?workshop is a generic name for any intervening event between a presentation and -->
<!-- a conference, such as a workshop or session or exhibit. tlw72 --> <!-- a conference, such as a workshop or session or exhibit. tlw72 -->
<list-view-config> <list-view-config>
<query-select> <query-select>
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt; PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
SELECT DISTINCT <collated>?subclass</collated> SELECT DISTINCT <collated>?subclass</collated>
?role ?roleLabel ?role ?roleLabel
?presentation ?presentationName ?presentationLabel ?presentation ?presentationName ?presentationLabel
?conference ?conferenceLabel ?conference ?conferenceLabel
?series ?seriesLabel ?series ?seriesLabel
?workshop ?workshop
?dateTime ?dateTime
WHERE { WHERE {
?subject ?property ?role ?subject ?property ?role .
?role a vivo:PresenterRole
OPTIONAL { ?role rdfs:label ?roleLabel }
OPTIONAL { ?role rdfs:label ?roleLabel }
OPTIONAL { ?role vivo:roleRealizedIn ?presentation
LET (?presentationName := afn:localname(?presentation)) OPTIONAL { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation
LET (?presentationName := afn:localname(?presentation))
OPTIONAL { ?presentation rdfs:label ?presentationLabel }
OPTIONAL { ?presentation rdfs:label ?presentationLabel }
OPTIONAL { ?conference a bibo:Conference .
OPTIONAL { ?conference rdfs:label ?conferenceLabel } OPTIONAL { ?conference a bibo:Conference .
OPTIONAL { ?conference rdfs:label ?conferenceLabel }
{
?presentation vivo:eventWithin ?conference {
} UNION { ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?conference
?conference vivo:includesEvent ?presentation } UNION {
} ?conference &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation
} }
OPTIONAL { }
{ OPTIONAL {
?presentation vivo:eventWithin ?workshop . {
?workshop vivo:eventWithin ?conference ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?workshop .
} UNION { ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?conference
?workshop vivo:includesEvent ?presentation . } UNION {
?conference vivo:includesEvent ?workshop ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation .
} ?conference &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?workshop
OPTIONAL { ?conference rdfs:label ?conferenceLabel } }
} OPTIONAL { ?conference rdfs:label ?conferenceLabel }
}
OPTIONAL { ?series a vivo:EventSeries .
OPTIONAL { ?series rdfs:label ?seriesLabel } OPTIONAL { ?series a vivo:EventSeries .
OPTIONAL { ?series rdfs:label ?seriesLabel }
{
?presentation vivo:inEventWithin ?series {
} UNION { ?presentation vivo:inEventWithin ?series
?series vivo:seriesForEvent ?presentation } UNION {
} ?series vivo:seriesForEvent ?presentation
} }
OPTIONAL { }
{ OPTIONAL {
?presentation vivo:eventWithin ?workshop . {
?workshop vivo:inEventSeries ?series ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?workshop .
} UNION { ?workshop vivo:inEventSeries ?series
?workshop vivo:includesEvent ?presentation . } UNION {
?series vivo:seriesForEvent ?workshop ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation .
} ?series vivo:seriesForEvent ?workshop
OPTIONAL { ?series rdfs:label ?seriesLabel } }
} OPTIONAL { ?series rdfs:label ?seriesLabel }
}
<collated>
?presentation vitro:mostSpecificType ?subclass . <collated>
?presentation vitro:mostSpecificType ?subclass .
{
?subclass rdfs:subClassOf vivo:Presentation {
} UNION { ?subclass rdfs:subClassOf vivo:Presentation
?subclass owl:equivalentClass vivo:Presentation } UNION {
} ?subclass owl:equivalentClass vivo:Presentation
</collated> }
</collated>
}
}
OPTIONAL { ?role vivo:dateTimeInterval ?dateTimeInterval
OPTIONAL { ?dateTimeInterval vivo:start ?dateTimeStartValue . OPTIONAL { ?role vivo:dateTimeInterval ?dateTimeInterval
?dateTimeStartValue vivo:dateTime ?dateTime OPTIONAL { ?dateTimeInterval vivo:start ?dateTimeStartValue .
} ?dateTimeStartValue vivo:dateTime ?dateTime
} }
}
<critical-data-required>
FILTER ( bound(?presentation) ) <critical-data-required>
</critical-data-required> FILTER ( bound(?presentation) )
</critical-data-required>
} ORDER BY <collated>?subclass</collated> DESC(?dateTime) ?presentationLabel ?presentationName
</query-select> } ORDER BY <collated>?subclass</collated> DESC(?dateTime) ?presentationLabel ?presentationName
</query-select>
<query-construct>
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; <query-construct>
PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt; PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
CONSTRUCT {
?subject ?property ?role . CONSTRUCT {
?role vivo:roleRealizedIn ?presentation . ?subject ?property ?role .
?presentation vitro:mostSpecificType ?subclass . ?role a vivo:PresenterRole .
?subclass rdfs:subClassOf vivo:Presentation . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?subclass owl:equivalentClass vivo:Presentation . ?presentation vitro:mostSpecificType ?subclass .
} WHERE { ?subclass rdfs:subClassOf vivo:Presentation .
{ ?subclass owl:equivalentClass vivo:Presentation .
?subject ?property ?role . } WHERE {
?role vivo:roleRealizedIn ?presentation . {
?presentation vitro:mostSpecificType ?subclass . ?subject ?property ?role .
?subclass rdfs:subClassOf vivo:Presentation ?role a vivo:PresenterRole .
} UNION { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?subject ?property ?role . ?presentation vitro:mostSpecificType ?subclass .
?role vivo:roleRealizedIn ?presentation . ?subclass rdfs:subClassOf vivo:Presentation
?presentation vitro:mostSpecificType ?subclass . } UNION {
?subclass owl:equivalentClass vivo:Presentation ?subject ?property ?role .
} ?role a vivo:PresenterRole .
} ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
</query-construct> ?presentation vitro:mostSpecificType ?subclass .
?subclass owl:equivalentClass vivo:Presentation
<query-construct> }
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; }
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; </query-construct>
CONSTRUCT {
?subject ?property ?role . <query-construct>
?role ?roleProperty ?roleValue . PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
?presentation rdfs:label ?presentationLabel PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
} WHERE { CONSTRUCT {
{ ?subject ?property ?role .
?subject ?property ?role ?role a vivo:PresenterRole .
} UNION { ?role ?roleProperty ?roleValue .
?subject ?property ?role . ?presentation rdfs:label ?presentationLabel
?role ?roleProperty ?roleValue } WHERE {
} UNION { {
?subject ?property ?role . ?subject ?property ?role .
?role vivo:roleRealizedIn ?presentation . ?role a vivo:PresenterRole
?presentation rdfs:label ?presentationLabel } UNION {
} ?subject ?property ?role .
} ?role a vivo:PresenterRole .
</query-construct> ?role ?roleProperty ?roleValue
} UNION {
<query-construct> ?subject ?property ?role .
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; ?role a vivo:PresenterRole .
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; ?presentation rdfs:label ?presentationLabel
}
CONSTRUCT { }
?subject ?property ?role . </query-construct>
?conference a bibo:Conference .
?presentation vivo:eventWithin ?conference . <query-construct>
?conference vivo:includesEvent ?presentation . PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
?conference rdfs:label ?conferenceLabel PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
} WHERE { PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
{ CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role vivo:roleRealizedIn ?presentation . ?role a vivo:PresenterRole .
?conference a bibo:Conference . ?conference a bibo:Conference .
?presentation vivo:eventWithin ?conference ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?conference .
} UNION { ?conference &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation .
?subject ?property ?role . ?conference rdfs:label ?conferenceLabel
?role vivo:roleRealizedIn ?presentation . } WHERE {
?conference a bibo:Conference .
?presentation vivo:eventWithin ?conference . {
?conference rdfs:label ?conferenceLabel ?subject ?property ?role .
} UNION { ?role a vivo:PresenterRole .
?subject ?property ?role . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?role vivo:roleRealizedIn ?presentation . ?conference a bibo:Conference .
?conference a bibo:Conference . ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?conference
?conference vivo:includesEvent ?presentation } UNION {
} UNION { ?subject ?property ?role .
?subject ?property ?role . ?role a vivo:PresenterRole .
?role vivo:roleRealizedIn ?presentation . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?conference a bibo:Conference . ?conference a bibo:Conference .
?conference vivo:includesEvent ?presentation . ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?conference .
?conference rdfs:label ?conferenceLabel ?conference rdfs:label ?conferenceLabel
} } UNION {
} ?subject ?property ?role .
</query-construct> ?role a vivo:PresenterRole .
?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
<query-construct> ?conference a bibo:Conference .
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; ?conference &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; } UNION {
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; ?subject ?property ?role .
?role a vivo:PresenterRole .
CONSTRUCT { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?subject ?property ?role . ?conference a bibo:Conference .
?workshop vivo:eventWithin ?conference . ?conference &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation .
?conference vivo:includesEvent ?workshop . ?conference rdfs:label ?conferenceLabel
?conference a bibo:Conference . }
?presentation vivo:eventWithin ?workshop . }
?workshop vivo:includesEvent ?presentation . </query-construct>
?conference rdfs:label ?conferenceLabel
} WHERE { <query-construct>
{ PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
?subject ?property ?role . PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
?role vivo:roleRealizedIn ?presentation . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?conference a bibo:Conference .
?presentation vivo:eventWithin ?workshop . CONSTRUCT {
?workshop vivo:eventWithin ?conference ?subject ?property ?role .
} UNION { ?role a vivo:PresenterRole .
?subject ?property ?role . ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?conference .
?role vivo:roleRealizedIn ?presentation . ?conference &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?workshop .
?conference a bibo:Conference . ?conference a bibo:Conference .
?presentation vivo:eventWithin ?workshop . ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?workshop .
?workshop vivo:eventWithin ?conference . ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation .
?conference rdfs:label ?conferenceLabel ?conference rdfs:label ?conferenceLabel
} UNION { } WHERE {
?subject ?property ?role . {
?role vivo:roleRealizedIn ?presentation . ?subject ?property ?role .
?conference a bibo:Conference . ?role a vivo:PresenterRole .
?conference vivo:includesEvent ?workshop . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?workshop vivo:includesEvent ?presentation ?conference a bibo:Conference .
} UNION { ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?workshop .
?subject ?property ?role . ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?conference
?role vivo:roleRealizedIn ?presentation . } UNION {
?conference a bibo:Conference . ?subject ?property ?role .
?conference vivo:includesEvent ?workshop . ?role a vivo:PresenterRole .
?workshop vivo:includesEvent ?presentation . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?conference rdfs:label ?conferenceLabel ?conference a bibo:Conference .
} ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?workshop .
} ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?conference .
</query-construct> ?conference rdfs:label ?conferenceLabel
} UNION {
<query-construct> ?subject ?property ?role .
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; ?role a vivo:PresenterRole .
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; ?conference a bibo:Conference .
?conference &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?workshop .
CONSTRUCT { ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation
?subject ?property ?role . } UNION {
?series a vivo:EventSeries . ?subject ?property ?role .
?presentation vivo:inEventSeries ?series . ?role a vivo:PresenterRole .
?series vivo:seriesForEvent ?presentation . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?series rdfs:label ?seriesLabel ?conference a bibo:Conference .
} WHERE { ?conference &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?workshop .
?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation .
{ ?conference rdfs:label ?conferenceLabel
?subject ?property ?role . }
?role vivo:roleRealizedIn ?presentation . }
?series a vivo:EventSeries . </query-construct>
?presentation vivo:inEventSeries ?series
} UNION { <query-construct>
?subject ?property ?role . PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
?role vivo:roleRealizedIn ?presentation . PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
?series a vivo:EventSeries . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?presentation vivo:inEventSeries ?series .
?series rdfs:label ?seriesLabel CONSTRUCT {
} UNION { ?subject ?property ?role .
?subject ?property ?role . ?role a vivo:PresenterRole .
?role vivo:roleRealizedIn ?presentation . ?series a vivo:EventSeries .
?series a vivo:EventSeries . ?presentation vivo:inEventSeries ?series .
?series vivo:seriesForEvent ?presentation ?series vivo:seriesForEvent ?presentation .
} UNION { ?series rdfs:label ?seriesLabel
?subject ?property ?role . } WHERE {
?role vivo:roleRealizedIn ?presentation .
?series a vivo:EventSeries . {
?series vivo:seriesForEvent ?presentation . ?subject ?property ?role .
?series rdfs:label ?seriesLabel ?role a vivo:PresenterRole .
} ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
} ?series a vivo:EventSeries .
</query-construct> ?presentation vivo:inEventSeries ?series
} UNION {
<query-construct> ?subject ?property ?role .
PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt; ?role a vivo:PresenterRole .
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; ?series a vivo:EventSeries .
?presentation vivo:inEventSeries ?series .
CONSTRUCT { ?series rdfs:label ?seriesLabel
?subject ?property ?role . } UNION {
?workshop vivo:inEventSeries ?series . ?subject ?property ?role .
?series vivo:seriesForEvent ?workshop . ?role a vivo:PresenterRole .
?series a vivo:EventSeries . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?presentation vivo:eventWithin ?workshop . ?series a vivo:EventSeries .
?workshop vivo:includesEvent ?presentation . ?series vivo:seriesForEvent ?presentation
?series rdfs:label ?seriesLabel } UNION {
} WHERE { ?subject ?property ?role .
{ ?role a vivo:PresenterRole .
?subject ?property ?role . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?role vivo:roleRealizedIn ?presentation . ?series a vivo:EventSeries .
?series a vivo:EventSeries . ?series vivo:seriesForEvent ?presentation .
?presentation vivo:eventWithin ?workshop . ?series rdfs:label ?seriesLabel
?workshop vivo:inEventSeries ?series }
} UNION { }
?subject ?property ?role . </query-construct>
?role vivo:roleRealizedIn ?presentation .
?series a vivo:EventSeries . <query-construct>
?presentation vivo:eventWithin ?workshop . PREFIX bibo: &lt;http://purl.org/ontology/bibo/&gt;
?workshop vivo:inEventSeries ?series . PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
?series rdfs:label ?seriesLabel PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
} UNION {
?subject ?property ?role . CONSTRUCT {
?role vivo:roleRealizedIn ?presentation . ?subject ?property ?role .
?series a vivo:EventSeries . ?role a vivo:PresenterRole .
?series vivo:seriesForEvent ?workshop . ?workshop vivo:inEventSeries ?series .
?workshop vivo:includesEvent ?presentation ?series vivo:seriesForEvent ?workshop .
} UNION { ?series a vivo:EventSeries .
?subject ?property ?role . ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?workshop .
?role vivo:roleRealizedIn ?presentation . ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation .
?series a vivo:EventSeries . ?series rdfs:label ?seriesLabel
?series vivo:seriesForEvent ?workshop . } WHERE {
?workshop vivo:includesEvent ?presentation . {
?series rdfs:label ?seriesLabel ?subject ?property ?role .
} ?role a vivo:PresenterRole .
} ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
</query-construct> ?series a vivo:EventSeries .
?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?workshop .
<query-construct> ?workshop vivo:inEventSeries ?series
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; } UNION {
CONSTRUCT { ?subject ?property ?role .
?subject ?property ?role . ?role a vivo:PresenterRole .
?role vivo:dateTimeInterval ?dateTimeInterval . ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?dateTimeInterval vivo:start ?dateTimeStartValue . ?series a vivo:EventSeries .
?dateTimeStartValue vivo:dateTime ?dateTimeStart ?presentation &lt;http://purl.obolibrary.org/obo/BFO_0000050&gt; ?workshop .
} WHERE { ?workshop vivo:inEventSeries ?series .
?subject ?property ?role . ?series rdfs:label ?seriesLabel
?role vivo:dateTimeInterval ?dateTimeInterval . } UNION {
?dateTimeInterval vivo:start ?dateTimeStartValue . ?subject ?property ?role .
?dateTimeStartValue vivo:dateTime ?dateTimeStart ?role a vivo:PresenterRole .
} ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
</query-construct> ?series a vivo:EventSeries .
?series vivo:seriesForEvent ?workshop .
<template>propStatement-hasPresenterRole.ftl</template> ?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation
</list-view-config> } UNION {
?subject ?property ?role .
?role a vivo:PresenterRole .
?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?presentation .
?series a vivo:EventSeries .
?series vivo:seriesForEvent ?workshop .
?workshop &lt;http://purl.obolibrary.org/obo/BFO_0000051&gt; ?presentation .
?series rdfs:label ?seriesLabel
}
}
</query-construct>
<query-construct>
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?role .
?role a vivo:PresenterRole .
?role vivo:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval vivo:start ?dateTimeStartValue .
?dateTimeStartValue vivo:dateTime ?dateTimeStart
} WHERE {
?subject ?property ?role .
?role a vivo:PresenterRole .
?role vivo:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval vivo:start ?dateTimeStartValue .
?dateTimeStartValue vivo:dateTime ?dateTimeStart
}
</query-construct>
<template>propStatement-hasPresenterRole.ftl</template>
</list-view-config>

View file

@ -0,0 +1,122 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config>
<query-select>
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
SELECT DISTINCT <collated> ?subclass </collated>
?role
?subclassLabel
?activity
(afn:localname(?activity) AS ?activityLocal)
?activityName
?dateTimeStart
?dateTimeEnd
WHERE {
?subject ?property ?role
OPTIONAL { ?role core:roleContributesTo ?activity .
?activity vitro:mostSpecificType ?subclass
OPTIONAL { ?activity rdfs:label ?activityName }
OPTIONAL { ?subclass rdfs:label ?subclassLabel }
}
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
}
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
}
} ORDER BY <collated> ?subclass </collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityName
</query-select>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
CONSTRUCT {
?subject ?property ?role .
?role a core:ReviewerRole .
?role vitro:mostSpecificType ?roleSubclass .
?role core:roleContributesTo ?activity .
?activity rdfs:label ?activityName .
?activity vitro:mostSpecificType ?subclass .
?subclass rdfs:label ?subclassLabel
} WHERE {
{
?subject ?property ?role .
?role a core:ReviewerRole .
} UNION {
?subject ?property ?role .
?role a core:ReviewerRole .
?role vitro:mostSpecificType ?roleSubclass
} UNION {
?subject ?property ?role .
?role a core:ReviewerRole .
?role core:roleContributesTo ?activity
} UNION {
?subject ?property ?role .
?role a core:ReviewerRole .
?role core:roleContributesTo ?activity .
?activity rdfs:label ?activityName .
} UNION {
?subject ?property ?role .
?role a core:ReviewerRole .
?role core:roleContributesTo ?activity .
?activity vitro:mostSpecificType ?subclass
} UNION {
?subject ?property ?role .
?role a core:ReviewerRole .
?role core:roleContributesTo ?activity .
?activity vitro:mostSpecificType ?subclass .
?subclass rdfs:label ?subclassLabel
}
}
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?role .
?role a core:ReviewerRole .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
} WHERE {
?subject ?property ?role .
?role a core:ReviewerRole .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
}
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?role .
?role a core:ReviewerRole .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
} WHERE {
?subject ?property ?role .
?role a core:ReviewerRole .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
</query-construct>
<template>propStatement-hasEditReviewRole.ftl</template>
</list-view-config>

View file

@ -1,149 +1,175 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt --> <!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config> <list-view-config>
<query-select> <query-select>
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
SELECT DISTINCT <collated>?subclass</collated> SELECT DISTINCT <collated>?subclass</collated>
# send the property to the template, since this view supports multiple role properties # send the property to the template, since this view supports multiple role properties
?property ?property
?role ?role
?roleLabel ?roleLabel
?activity ?activityName ?activity ?activityName
?activityLabel ?activityLabel
?dateTimeStart ?dateTimeEnd ?dateTimeStart ?dateTimeEnd
?hideThis ?hideThis
WHERE { ?objectType
?subject ?property ?role . WHERE {
?role a ?objectType ?subject ?property ?role .
?role a ?objectType .
OPTIONAL { ?role core:roleRealizedIn ?activity ?role vitro:mostSpecificType ?roleSubclass
LET (?activityName := afn:localname(?activity))
OPTIONAL { ?activity rdfs:label ?activityLabel } OPTIONAL { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity
LET (?activityName := afn:localname(?activity))
<collated> OPTIONAL { ?activity rdfs:label ?activityLabel }
?activity vitro:mostSpecificType ?subclass
</collated> <collated>
} ?activity vitro:mostSpecificType ?subclass
</collated>
OPTIONAL { ?role core:roleContributesTo ?activity }
LET (?activityName := afn:localname(?activity)) OPTIONAL { ?role core:relates ?activity
OPTIONAL { ?activity rdfs:label ?activityLabel } LET (?activityName := afn:localname(?activity))
OPTIONAL { ?activity rdfs:label ?activityLabel }
<collated>
?activity vitro:mostSpecificType ?subclass <collated>
</collated> ?activity vitro:mostSpecificType ?subclass
} </collated>
}
OPTIONAL { ?role rdfs:label ?roleLabel } OPTIONAL { ?role core:roleContributesTo ?activity
OPTIONAL { ?role core:hideFromDisplay ?hideThis } LET (?activityName := afn:localname(?activity))
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval OPTIONAL { ?activity rdfs:label ?activityLabel }
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart <collated>
} ?activity vitro:mostSpecificType ?subclass
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue . </collated>
?dateTimeEndValue core:dateTime ?dateTimeEnd }
}
} OPTIONAL { ?role rdfs:label ?roleLabel }
# NOT EXISTS { ?role core:hideFromDisplay ?hideThis } OPTIONAL { ?role core:hideFromDisplay ?hideThis }
<critical-data-required> OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval
FILTER ( bound(?activity) ) OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
</critical-data-required> ?dateTimeStartValue core:dateTime ?dateTimeStart
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityLabel ?activityName }
</query-select> OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
<query-construct> }
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; }
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; FILTER ( bound(?activity) &amp;&amp; ?objectType = ?roleSubclass )
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; } ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityLabel ?activityName
</query-select>
CONSTRUCT {
?subject ?property ?role . <query-construct>
?role core:roleContributesTo ?activity . PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
?activity vitro:mostSpecificType ?subclass . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
} WHERE { PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
?subject ?property ?role .
?role core:roleContributesTo ?activity . CONSTRUCT {
?activity vitro:mostSpecificType ?subclass ?subject ?property ?role .
} ?role core:relates ?activity .
</query-construct> ?activity vitro:mostSpecificType ?subclass .
} WHERE {
<query-construct> ?subject ?property ?role .
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; ?role core:relates ?activity .
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; ?activity vitro:mostSpecificType ?subclass
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; }
</query-construct>
CONSTRUCT {
?subject ?property ?role . <query-construct>
?role core:roleRealizedIn ?activity . PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
?activity vitro:mostSpecificType ?subclass . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
} WHERE { PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
?subject ?property ?role .
?role core:roleRealizedIn ?activity . CONSTRUCT {
?activity vitro:mostSpecificType ?subclass ?subject ?property ?role .
} ?role core:roleContributesTo ?activity .
</query-construct> ?activity vitro:mostSpecificType ?subclass .
} WHERE {
<query-construct> ?subject ?property ?role .
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; ?role core:roleContributesTo ?activity .
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; ?activity vitro:mostSpecificType ?subclass
CONSTRUCT { }
?subject ?property ?role . </query-construct>
?role ?roleProperty ?roleValue .
?activity rdfs:label ?activityName <query-construct>
} WHERE { PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
{ PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?subject ?property ?role PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
} UNION {
?subject ?property ?role . CONSTRUCT {
?role ?roleProperty ?roleValue ?subject ?property ?role .
} UNION { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
?subject ?property ?role . ?activity vitro:mostSpecificType ?subclass .
?role core:roleContributesTo ?activity . } WHERE {
?activity rdfs:label ?activityName ?subject ?property ?role .
} UNION { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
?subject ?property ?role . ?activity vitro:mostSpecificType ?subclass
?role core:roleRealizedIn ?activity . }
?activity rdfs:label ?activityName </query-construct>
}
} <query-construct>
</query-construct> PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
<query-construct> CONSTRUCT {
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; ?subject ?property ?role .
CONSTRUCT { ?role ?roleProperty ?roleValue .
?subject ?property ?role . ?activity rdfs:label ?activityName
?role core:dateTimeInterval ?dateTimeInterval . } WHERE {
?dateTimeInterval core:start ?dateTimeStartValue . {
?dateTimeStartValue core:dateTime ?dateTimeStart ?subject ?property ?role
} WHERE { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role core:dateTimeInterval ?dateTimeInterval . ?role ?roleProperty ?roleValue
?dateTimeInterval core:start ?dateTimeStartValue . } UNION {
?dateTimeStartValue core:dateTime ?dateTimeStart ?subject ?property ?role .
} ?role core:relates ?activity .
</query-construct> ?activity rdfs:label ?activityName
} UNION {
<query-construct> ?subject ?property ?role .
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; ?role &lt;http://purl.obolibrary.org/obo/BFO_0000054&gt; ?activity .
CONSTRUCT { ?activity rdfs:label ?activityName
?subject ?property ?role . } UNION {
?role core:dateTimeInterval ?dateTimeInterval . ?subject ?property ?role .
?dateTimeInterval core:end ?dateTimeEndValue . ?role core:roleContributesTo ?activity .
?dateTimeEndValue core:dateTime ?dateTimeEnd ?activity rdfs:label ?activityName
} WHERE { }
?subject ?property ?role . }
?role core:dateTimeInterval ?dateTimeInterval . </query-construct>
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd <query-construct>
} PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
</query-construct> CONSTRUCT {
?subject ?property ?role .
<template>propStatement-hasRole.ftl</template> ?role core:dateTimeInterval ?dateTimeInterval .
</list-view-config> ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
} WHERE {
?subject ?property ?role .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
}
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subject ?property ?role .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
} WHERE {
?subject ?property ?role .
?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
</query-construct>
<template>propStatement-hasRole.ftl</template>
</list-view-config>

View file

@ -1,72 +1,80 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt --> <!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config> <list-view-config>
<query-select> <query-select>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt; PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
SELECT DISTINCT <collated> ?subclass </collated> SELECT DISTINCT <collated> ?subclass </collated>
?authorship ?authorship
?person ?personName WHERE { ?person ?personName
?subject ?property ?authorship WHERE {
OPTIONAL { ?authorship core:authorRank ?rank } ?subject ?property ?authorship .
OPTIONAL { ?authorship core:linkedAuthor ?person . ?authorship a core:Authorship
?person rdfs:label ?personName OPTIONAL { ?authorship core:rank ?rank }
<collated> OPTIONAL { ?authorship core:relates ?person .
OPTIONAL { ?person vitro:mostSpecificType ?subclass . ?person a foaf:Person .
?subclass rdfs:subClassOf foaf:Person ?person rdfs:label ?personName
} <collated>
</collated> OPTIONAL { ?person vitro:mostSpecificType ?subclass .
} ?subclass rdfs:subClassOf foaf:Person
<critical-data-required> }
FILTER ( bound(?person) ) </collated>
</critical-data-required> }
} ORDER BY <collated> ?subclass </collated> ?rank ?personName <critical-data-required>
</query-select> FILTER ( bound(?person) )
</critical-data-required>
<query-construct> } ORDER BY <collated> ?subclass </collated> ?rank ?personName
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; </query-select>
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
CONSTRUCT { <query-construct>
?subclass rdfs:subClassOf foaf:Person PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
} WHERE { PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
?subclass rdfs:subClassOf foaf:Person CONSTRUCT {
} ?subclass rdfs:subClassOf foaf:Person
</query-construct> } WHERE {
?subclass rdfs:subClassOf foaf:Person
<query-construct> }
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; </query-construct>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; <query-construct>
CONSTRUCT { PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
?subject ?property ?authorship . PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?authorship ?authorshipProperty ?authorshipValue . PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
?person rdfs:label ?personName . PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
?person vitro:mostSpecificType ?subclass CONSTRUCT {
} WHERE { ?subject ?property ?authorship .
{ ?authorship ?authorshipProperty ?authorshipValue .
?subject ?property ?authorship ?authorship core:relates ?person .
} UNION { ?person a foaf:Person .
?subject ?property ?authorship . ?person rdfs:label ?personName .
?authorship ?authorshipProperty ?authorshipValue ?person vitro:mostSpecificType ?subclass
} UNION { } WHERE {
?subject ?property ?authorship . {
?authorship core:linkedAuthor ?person . ?subject ?property ?authorship
?person rdfs:label ?personName } UNION {
} UNION { ?subject ?property ?authorship .
?subject ?property ?authorship . ?authorship ?authorshipProperty ?authorshipValue
?authorship core:linkedAuthor ?person . } UNION {
?person rdfs:label ?personName . ?subject ?property ?authorship .
?person vitro:mostSpecificType ?subclass ?authorship core:relates ?person .
} ?person a foaf:Person .
} ?person rdfs:label ?personName
</query-construct> } UNION {
?subject ?property ?authorship .
<template>propStatement-informationResourceInAuthorship.ftl</template> ?authorship core:relates ?person .
</list-view-config> ?person a foaf:Person .
?person rdfs:label ?personName .
?person vitro:mostSpecificType ?subclass
}
}
</query-construct>
<template>propStatement-informationResourceInAuthorship.ftl</template>
</list-view-config>

View file

@ -1,71 +1,51 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt --> <!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config> <list-view-config>
<query-select> <query-select>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; SELECT DISTINCT ?vcard ?address
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; ?street
?locality
SELECT DISTINCT ?subclass ?region
?address ?postalCode
?localName ?country
?label
?street1 WHERE {
?street2 ?subject ?property ?vcard .
?street3 ?vcard vcard:hasAddress ?address
?city OPTIONAL { ?address vcard:streetAddress ?street }
?state OPTIONAL { ?address vcard:locality ?locality }
?postalCode OPTIONAL { ?address vcard:region ?region }
?country OPTIONAL { ?address vcard:postalCode ?postalCode }
OPTIONAL { ?address vcard:country ?country }
WHERE {
?subject ?property ?address } ORDER BY ?country ?region ?street
LET ( ?localName := afn:localname(?address) ) </query-select>
OPTIONAL { ?address rdfs:label ?label }
OPTIONAL { ?address vivo:address1 ?street1 } <query-construct>
OPTIONAL { ?address vivo:address2 ?street2 } PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
OPTIONAL { ?address vivo:address3 ?street3 } CONSTRUCT {
OPTIONAL { ?address vivo:addressCity ?city } ?subject ?property ?vcard .
OPTIONAL { ?address vivo:addressState ?state } ?vcard vcard:hasAddress ?address .
OPTIONAL { ?address vivo:addressPostalCode ?postalCode } ?address ?addressProperty ?addressValue
OPTIONAL { ?address vivo:addressCountry ?country } } WHERE {
{
OPTIONAL { ?address vitro:mostSpecificType ?subclass . ?subject ?property ?vcard
?subclass rdfs:subClassOf vivo:Address } UNION {
} ?subject ?property ?vcard .
?vcard vcard:hasAddress ?address
} ORDER BY ?country ?label } UNION {
</query-select> ?subject ?property ?vcard .
?vcard vcard:hasAddress ?address .
<query-construct> ?address ?addressProperty ?addressValue
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; }
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt; }
CONSTRUCT { </query-construct>
?subclass rdfs:subClassOf vivo:Address
} WHERE { <template>propStatement-mailingAddress.ftl</template>
?subclass rdfs:subClassOf vivo:Address <postprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.MaintainDuplicatesObjectPropertyDataPostProcessor</postprocessor>
} </list-view-config>
</query-construct>
<query-construct>
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT {
?subject ?property ?address .
?address ?addressProperty ?addressValue
} WHERE {
{
?subject ?property ?address
} UNION {
?subject ?property ?address .
?address ?addressProperty ?addressValue
}
}
</query-construct>
<template>propStatement-mailingAddress.ftl</template>
</list-view-config>

View file

@ -1,116 +1,128 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt --> <!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config> <list-view-config>
<query-select> <query-select>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
SELECT DISTINCT <collated> ?subclass </collated>
?position SELECT DISTINCT <collated> ?subclass </collated>
?positionTitle ?position
?person ?personName ?positionTitle
?dateTimeStart ?dateTimeEnd ?person ?personName
?hideThis ?dateTimeStart ?dateTimeEnd
WHERE { ?hideThis
?subject ?property ?position WHERE {
OPTIONAL { ?position core:positionForPerson ?person . ?subject ?property ?position
?person rdfs:label ?personName OPTIONAL { ?position core:relates ?person .
} ?person a foaf:Person .
<collated> ?person rdfs:label ?personName
OPTIONAL { ?position vitro:mostSpecificType ?subclass . }
?subclass rdfs:subClassOf core:Position <collated>
} OPTIONAL { ?position vitro:mostSpecificType ?subclass .
</collated> }
OPTIONAL { ?position rdfs:label ?positionTitle } </collated>
OPTIONAL { ?position core:hideFromDisplay ?hideThis } OPTIONAL { ?position rdfs:label ?positionTitle }
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval OPTIONAL { ?position core:hideFromDisplay ?hideThis }
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue . OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval
?dateTimeStartValue core:dateTime ?dateTimeStart OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
} ?dateTimeStartValue core:dateTime ?dateTimeStart
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue . }
?dateTimeEndValue core:dateTime ?dateTimeEnd OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
} ?dateTimeEndValue core:dateTime ?dateTimeEnd
# Get current positions only: end date is either null or not in the past }
} # Get current positions only: end date is either null or not in the past
# NOT EXISTS { ?position core:hideFromDisplay ?hideThis } }
FILTER ( !bound(?dateTimeEnd) || # NOT EXISTS { ?position core:hideFromDisplay ?hideThis }
afn:substring(str(?dateTimeEnd), 0, 4) &gt;= afn:substring(str(afn:now()), 0, 4) ) FILTER ( !bound(?dateTimeEnd) ||
<critical-data-required> afn:substring(str(?dateTimeEnd), 0, 4) &gt;= afn:substring(str(afn:now()), 0, 4) )
FILTER ( bound(?person) ) <critical-data-required>
</critical-data-required> FILTER ( bound(?person) )
} ORDER BY <collated> ?subclass </collated> ?personName </critical-data-required>
</query-select> } ORDER BY <collated> ?subclass </collated> ?personName
</query-select>
<query-construct>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; <query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT { PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
?subject ?property ?position . CONSTRUCT {
?position vitro:mostSpecificType ?subclass . ?subject ?property ?position .
?subclass rdfs:subClassOf core:Position ?position a core:Position .
} WHERE { ?position vitro:mostSpecificType ?subclass
?subject ?property ?position . } WHERE {
?position vitro:mostSpecificType ?subclass . ?subject ?property ?position .
?subclass rdfs:subClassOf core:Position ?position a core:Position .
} ?position vitro:mostSpecificType ?subclass
</query-construct> }
</query-construct>
<query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; <query-construct>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT { PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
?subject ?property ?position . PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
?position ?positionProperty ?positionValue . CONSTRUCT {
?person rdfs:label ?personName ?subject ?property ?position .
} WHERE { ?position a core:Position .
{ ?position ?positionProperty ?positionValue .
?subject ?property ?position ?position core:relates ?person .
} UNION { ?person a foaf:Person .
?subject ?property ?position . ?person rdfs:label ?personName
?position ?positionProperty ?positionValue } WHERE {
} UNION { {
?subject ?property ?position . ?subject ?property ?position .
?position core:positionForPerson ?person . ?position a core:Position .
?person rdfs:label ?personName } UNION {
} ?subject ?property ?position .
} ?position a core:Position .
</query-construct> ?position ?positionProperty ?positionValue
} UNION {
<query-construct> ?subject ?property ?position .
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; ?position core:relates ?person .
CONSTRUCT { ?person a foaf:Person .
?subject ?property ?position . ?person rdfs:label ?personName
?position core:dateTimeInterval ?dateTimeInterval . }
?dateTimeInterval core:start ?dateTimeStartValue . }
?dateTimeStartValue core:dateTime ?dateTimeStart </query-construct>
} WHERE {
?subject ?property ?position . <query-construct>
?position core:dateTimeInterval ?dateTimeInterval . PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
?dateTimeInterval core:start ?dateTimeStartValue . CONSTRUCT {
?dateTimeStartValue core:dateTime ?dateTimeStart ?subject ?property ?position .
} ?position a core:Position .
</query-construct> ?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
<query-construct> ?dateTimeStartValue core:dateTime ?dateTimeStart
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; } WHERE {
CONSTRUCT { ?subject ?property ?position .
?subject ?property ?position . ?position a core:Position .
?position core:dateTimeInterval ?dateTimeInterval . ?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue . ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd ?dateTimeStartValue core:dateTime ?dateTimeStart
} WHERE { }
?subject ?property ?position . </query-construct>
?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue . <query-construct>
?dateTimeEndValue core:dateTime ?dateTimeEnd PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
} CONSTRUCT {
</query-construct> ?subject ?property ?position .
?position a core:Position .
<template>propStatement-organizationForPosition.ftl</template> ?position core:dateTimeInterval ?dateTimeInterval .
</list-view-config> ?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
} WHERE {
?subject ?property ?position .
?position a core:Position .
?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
</query-construct>
<template>propStatement-organizationForPosition.ftl</template>
</list-view-config>

View file

@ -20,7 +20,7 @@
?outerOrg ?outerOrgName ?outerOrg ?outerOrgName
?dateTimeStart ?dateTimeEnd WHERE { ?dateTimeStart ?dateTimeEnd WHERE {
?subject ?property ?position ?subject ?property ?position
OPTIONAL { ?position core:positionInOrganization ?org . OPTIONAL { ?position core:relates ?org .
?org rdfs:label ?orgName ?org rdfs:label ?orgName
OPTIONAL { ?org core:subOrganizationWithin ?middleOrg . OPTIONAL { ?org core:subOrganizationWithin ?middleOrg .
?middleOrg rdfs:label ?middleOrgName ?middleOrg rdfs:label ?middleOrgName
@ -61,6 +61,7 @@
?subclass rdfs:subClassOf core:Position ?subclass rdfs:subClassOf core:Position
} WHERE { } WHERE {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position .
?position vitro:mostSpecificType ?subclass . ?position vitro:mostSpecificType ?subclass .
?subclass rdfs:subClassOf core:Position ?subclass rdfs:subClassOf core:Position
} }
@ -69,8 +70,10 @@
<query-construct> <query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position .
?position ?positionProperty ?positionValue . ?position ?positionProperty ?positionValue .
?org rdfs:label ?orgName . ?org rdfs:label ?orgName .
?org core:subOrganizationWithin ?middleOrg . ?org core:subOrganizationWithin ?middleOrg .
@ -79,34 +82,47 @@
?outerOrg rdfs:label ?outerOrgName ?outerOrg rdfs:label ?outerOrgName
} WHERE { } WHERE {
{ {
?subject ?property ?position ?subject ?property ?position .
?position a core:Position .
} UNION { } UNION {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position .
?position ?positionProperty ?positionValue ?position ?positionProperty ?positionValue
} UNION { } UNION {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position .
?position core:rank ?rank ?position core:rank ?rank
} UNION { } UNION {
?subject ?property ?position . ?subject ?property ?position .
?position core:positionInOrganization ?org . ?position a core:Position .
?position core:relates ?org .
?org a foaf:Organization .
?org rdfs:label ?orgName ?org rdfs:label ?orgName
} UNION { } UNION {
?subject ?property ?position . ?subject ?property ?position .
?position core:positionInOrganization ?org . ?position a core:Position .
?position core:relates ?org .
?org a foaf:Organization .
?org core:subOrganizationWithin ?middleOrg ?org core:subOrganizationWithin ?middleOrg
} UNION { } UNION {
?subject ?property ?position . ?subject ?property ?position .
?position core:positionInOrganization ?org . ?position a core:Position .
?position core:relates ?org .
?org a foaf:Organization .
?org core:subOrganizationWithin ?middleOrg . ?org core:subOrganizationWithin ?middleOrg .
?middleOrg rdfs:label ?middleOrgName ?middleOrg rdfs:label ?middleOrgName
} UNION { } UNION {
?subject ?property ?position . ?subject ?property ?position .
?position core:positionInOrganization ?org . ?position a core:Position .
?position core:relates ?org .
?org a foaf:Organization .
?org core:subOrganizationWithin ?middleOrg . ?org core:subOrganizationWithin ?middleOrg .
?middleOrg core:subOrganizationWithin ?outerOrg ?middleOrg core:subOrganizationWithin ?outerOrg
} UNION { } UNION {
?subject ?property ?position . ?subject ?property ?position .
?position core:positionInOrganization ?org . ?position a core:Position .
?position core:positionInOrganization ?org .
?org a foaf:Organization .
?org core:subOrganizationWithin ?middleOrg . ?org core:subOrganizationWithin ?middleOrg .
?middleOrg core:subOrganizationWithin ?outerOrg . ?middleOrg core:subOrganizationWithin ?outerOrg .
?outerOrg rdfs:label ?outerOrgName ?outerOrg rdfs:label ?outerOrgName
@ -117,12 +133,14 @@
<query-construct> <query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position .
?position core:dateTimeInterval ?dateTimeInterval . ?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue . ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart ?dateTimeStartValue core:dateTime ?dateTimeStart
} WHERE { } WHERE {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position .
?position core:dateTimeInterval ?dateTimeInterval . ?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue . ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart ?dateTimeStartValue core:dateTime ?dateTimeStart
@ -133,11 +151,13 @@
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position .
?position core:dateTimeInterval ?dateTimeInterval . ?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue . ?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd ?dateTimeEndValue core:dateTime ?dateTimeEnd
} WHERE { } WHERE {
?subject ?property ?position . ?subject ?property ?position .
?position a core:Position .
?position core:dateTimeInterval ?dateTimeInterval . ?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue . ?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd ?dateTimeEndValue core:dateTime ?dateTimeEnd
@ -145,4 +165,4 @@
</query-construct> </query-construct>
<template>propStatement-personInPosition.ftl</template> <template>propStatement-personInPosition.ftl</template>
</list-view-config> </list-view-config>

View file

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config>
<query-select>
PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
SELECT DISTINCT ?vcard ?email
?emailAddress
WHERE {
?subject ?property ?vcard .
?vcard vcard:hasEmail ?email .
?email a vcard:Work
OPTIONAL { ?email vcard:email ?emailAddress }
}
</query-select>
<query-construct>
PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
CONSTRUCT {
?subject ?property ?vcard .
?vcard vcard:hasEmail ?email .
?email a vcard:Work .
?email ?emailProperty ?emailValue
} WHERE {
{
?subject ?property ?vcard
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasEmail ?email .
?email a vcard:Work
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasEmail ?email .
?email a vcard:Work .
?email ?emailProperty ?emailValue
}
}
</query-construct>
<template>propStatement-emailAddress.ftl</template>
<postprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.MaintainDuplicatesObjectPropertyDataPostProcessor</postprocessor>
</list-view-config>

View file

@ -20,22 +20,24 @@ http://vivoweb.org/ontology/core#realizedRole and http://vivoweb.org/ontology/co
?roleLabel ?roleTypeLabel ?roleLabel ?roleTypeLabel
?indivInRole (afn:localname(?indivInRole) AS ?indivName) ?indivInRole (afn:localname(?indivInRole) AS ?indivName)
?indivLabel ?indivLabel
?dateTimeInterval ?dateTimeStart ?dateTimeEnd WHERE { ?dateTimeInterval ?dateTimeStart ?dateTimeEnd ?objectType
WHERE {
?subject ?property ?role ?subject ?property ?role .
?role a ?objectType
OPTIONAL { ?role rdfs:label ?roleLabel } OPTIONAL { ?role rdfs:label ?roleLabel }
# We need ?subclass in the uncollated query to get the roleTypeLabel # We need ?subclass in the uncollated query to get the roleTypeLabel
# for roles that have no label (e.g., InvestigatorRole and its subclasses). # for roles that have no label.
OPTIONAL { ?role vitro:mostSpecificType ?subclass . OPTIONAL { ?role vitro:mostSpecificType ?subclass .
?subclass rdfs:subClassOf core:Role
OPTIONAL { ?subclass rdfs:label ?roleTypeLabel } OPTIONAL { ?subclass rdfs:label ?roleTypeLabel }
?roleProp rdfs:subPropertyOf core:roleOf ; OPTIONAL { ?role &lt;http://purl.obolibrary.org/obo/RO_0000052&gt; ?indivInRole
rdfs:domain ?subclass .
OPTIONAL { ?role ?roleProp ?indivInRole
OPTIONAL { ?indivInRole rdfs:label ?indivLabel } OPTIONAL { ?indivInRole rdfs:label ?indivLabel }
} }
OPTIONAL { ?role &lt;http://purl.obolibrary.org/obo/BFO_0000055&gt; ?indivInRole
OPTIONAL { ?indivInRole rdfs:label ?indivLabel }
}
} }
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval
@ -52,46 +54,43 @@ http://vivoweb.org/ontology/core#realizedRole and http://vivoweb.org/ontology/co
} ORDER BY <collated>?subclass</collated> ?indivLabel ?roleLabel ?roleTypeLabel ?indivName } ORDER BY <collated>?subclass</collated> ?indivLabel ?roleLabel ?roleTypeLabel ?indivName
</query-select> </query-select>
<query-construct>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT {
?subclass rdfs:subClassOf core:Role .
?roleProp rdfs:subPropertyOf core:roleOf .
?roleProp rdfs:domain ?subclass
} WHERE {
?subclass rdfs:subClassOf core:Role .
?roleProp rdfs:subPropertyOf core:roleOf ;
rdfs:domain ?subclass
}
</query-construct>
<query-construct> <query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt; PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType .
?role ?roleProperty ?roleValue . ?role ?roleProperty ?roleValue .
?role vitro:mostSpecificType ?subclass . ?role vitro:mostSpecificType ?subclass .
?subclass rdfs:label ?roleTypeLabel . ?subclass rdfs:label ?roleTypeLabel .
?indivInRole rdfs:label ?indivLabel ?indivInRole rdfs:label ?indivLabel
} WHERE { } WHERE {
{ {
?subject ?property ?role ?subject ?property ?role .
?role a ?objectType
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType .
?role ?roleProperty ?roleValue ?role ?roleProperty ?roleValue
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType .
?role vitro:mostSpecificType ?subclass ?role vitro:mostSpecificType ?subclass
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType .
?role vitro:mostSpecificType ?subclass . ?role vitro:mostSpecificType ?subclass .
?subclass rdfs:label ?roleTypeLabel ?subclass rdfs:label ?roleTypeLabel
} UNION { } UNION {
?subject ?property ?role . ?subject ?property ?role .
?role ?roleProp ?indivInRole . ?role a ?objectType .
?role &lt;http://purl.obolibrary.org/obo/RO_0000052&gt; ?indivInRole .
?indivInRole rdfs:label ?indivLabel
} UNION {
?subject ?property ?role .
?role a ?objectType .
?role &lt;http://purl.obolibrary.org/obo/BFO_0000055&gt; ?indivInRole .
?indivInRole rdfs:label ?indivLabel ?indivInRole rdfs:label ?indivLabel
} }
} }
@ -101,11 +100,13 @@ http://vivoweb.org/ontology/core#realizedRole and http://vivoweb.org/ontology/co
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType .
?role core:dateTimeInterval ?dateTimeInterval . ?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue . ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart ?dateTimeStartValue core:dateTime ?dateTimeStart
} WHERE { } WHERE {
?subject ?property ?role . ?subject ?property ?role .
?role a ?objectType .
?role core:dateTimeInterval ?dateTimeInterval . ?role core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue . ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart ?dateTimeStartValue core:dateTime ?dateTimeStart

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config>
<query-select>
PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
SELECT DISTINCT ?vcard ?phone
?number
WHERE {
?subject ?property ?vcard .
?vcard vcard:hasTelephone ?phone
OPTIONAL { ?phone vcard:telephone ?number }
}
</query-select>
<query-construct>
PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
CONSTRUCT {
?subject ?property ?vcard .
?vcard vcard:hasTelephone ?phone .
?phone ?phoneProperty ?phoneValue
} WHERE {
{
?subject ?property ?vcard
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasTelephone ?phone
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasTelephone ?phone .
?phone ?phoneProperty ?phoneValue
}
}
</query-construct>
<template>propStatement-telephoneNumber.ftl</template>
<postprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.MaintainDuplicatesObjectPropertyDataPostProcessor</postprocessor>
</list-view-config>

View file

@ -9,35 +9,55 @@
<query-select> <query-select>
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt; PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
SELECT ?link SELECT ?vcard ?link
(afn:localname(?link) AS ?linkName) (afn:localname(?link) AS ?linkName)
?anchor ?label
?url ?url
?rank WHERE { ?rank WHERE {
?subject ?property ?link ?subject ?property ?vcard .
OPTIONAL { ?link core:linkAnchorText ?anchor } ?vcard vcard:hasURL ?link
OPTIONAL { ?link core:linkURI ?url } OPTIONAL { ?link rdfs:label ?label }
OPTIONAL { ?link vcard:url ?url }
OPTIONAL { ?link core:rank ?rank } OPTIONAL { ?link core:rank ?rank }
<critical-data-required> <critical-data-required>
FILTER ( bound(?url) ) FILTER ( bound(?url) )
</critical-data-required> </critical-data-required>
} ORDER BY ?rank ?anchor } ORDER BY ?rank ?label
</query-select> </query-select>
<query-construct> <query-construct>
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
CONSTRUCT { CONSTRUCT {
?subject ?property ?link . ?subject ?property ?vcard .
?link ?linkProp ?linkObj ?vcard vcard:hasURL ?link .
?link vcard:url ?url .
?link core:rank ?rank .
?link rdfs:label ?label
} WHERE { } WHERE {
{ {
?subject ?property ?link ?subject ?property ?vcard .
?vcard vcard:hasURL ?link
} UNION { } UNION {
?subject ?property ?link . ?subject ?property ?vcard .
?link ?linkProp ?linkObj ?vcard vcard:hasURL ?link .
?link vcard:url ?url
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasURL ?link .
?link core:rank ?rank
} UNION {
?subject ?property ?vcard .
?vcard vcard:hasURL ?link .
?link rdfs:label ?label
} }
} }
</query-construct> </query-construct>
<template>propStatement-webpage.ftl</template> <template>propStatement-webpage.ftl</template>
<postprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.MaintainDuplicatesObjectPropertyDataPostProcessor</postprocessor>
</list-view-config> </list-view-config>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

View file

@ -10,6 +10,9 @@
<#if !labelCount??> <#if !labelCount??>
<#assign labelCount = 0 > <#assign labelCount = 0 >
</#if> </#if>
<#if !localesCount??>
<#assign localesCount = 1>
</#if>
<#assign qrCodeIcon = "qr-code-icon.png"> <#assign qrCodeIcon = "qr-code-icon.png">
<#assign visRequestingTemplate = "foaf-person-2column"> <#assign visRequestingTemplate = "foaf-person-2column">
<section id="individual-intro" class="vcard person" role="region"> <section id="individual-intro" class="vcard person" role="region">
@ -40,7 +43,7 @@
<#else> <#else>
<h1 class="vcard foaf-person fn" <#if !editable>style="float:left;border-right:1px solid #A6B1B0;"</#if>> <h1 class="vcard foaf-person fn" <#if !editable>style="float:left;border-right:1px solid #A6B1B0;"</#if>>
<#-- Label --> <#-- Label -->
<@p.label individual editable labelCount/> <@p.label individual editable labelCount localesCount/>
</h1> </h1>
<#-- Display preferredTitle if it exists; otherwise mostSpecificTypes --> <#-- Display preferredTitle if it exists; otherwise mostSpecificTypes -->
<#assign title = propertyGroups.pullProperty("${core}preferredTitle")!> <#assign title = propertyGroups.pullProperty("${core}preferredTitle")!>
@ -51,7 +54,7 @@
<div id="titleContainer"><span class="display-title-not-editable">${statement.value}</span></div> <div id="titleContainer"><span class="display-title-not-editable">${statement.value}</span></div>
<#else> <#else>
<span class="display-title-editable">${statement.value}</span> <span class="display-title-editable">${statement.value}</span>
<@p.editingLinks "${title.name}" statement editable /> <@p.editingLinks "${title.name}" "" statement editable />
</#if> </#if>
</#list> </#list>
</#if> </#if>

View file

@ -12,6 +12,9 @@
<#if !labelCount??> <#if !labelCount??>
<#assign labelCount = 0 > <#assign labelCount = 0 >
</#if> </#if>
<#if !localesCount??>
<#assign localesCount = 1>
</#if>
<#assign qrCodeIcon = "qr-code-icon.png"> <#assign qrCodeIcon = "qr-code-icon.png">
<#assign individualImage> <#assign individualImage>
<@p.image individual=individual <@p.image individual=individual
@ -52,7 +55,7 @@
<div id="photo-wrapper">${individualImage}</div> <div id="photo-wrapper">${individualImage}</div>
<h1 class="vcard foaf-person fn" <#if !editable>style="float:left;border-right:1px solid #A6B1B0;"</#if>> <h1 class="vcard foaf-person fn" <#if !editable>style="float:left;border-right:1px solid #A6B1B0;"</#if>>
<#-- Label --> <#-- Label -->
<@p.label individual editable labelCount/> <@p.label individual editable labelCount localesCount/>
</h1> </h1>
<#-- Display preferredTitle if it exists; otherwise mostSpecificTypes --> <#-- Display preferredTitle if it exists; otherwise mostSpecificTypes -->
<#assign title = propertyGroups.pullProperty("${core}preferredTitle")!> <#assign title = propertyGroups.pullProperty("${core}preferredTitle")!>
@ -63,7 +66,7 @@
<div id="titleContainer"><span class="display-title-not-editable">${statement.value}</span></div> <div id="titleContainer"><span class="display-title-not-editable">${statement.value}</span></div>
<#else> <#else>
<span class="display-title-editable">${statement.value}</span> <span class="display-title-editable">${statement.value}</span>
<@p.editingLinks "${title.name}" statement editable /> <@p.editingLinks "${title.name}" "" statement editable />
</#if> </#if>
</#list> </#list>
</#if> </#if>

View file

@ -8,6 +8,12 @@
<label for="firstName">${i18n().first_name} ${requiredHint}</label> <label for="firstName">${i18n().first_name} ${requiredHint}</label>
<input size="30" type="text" id="firstName" name="firstName" value="${firstNameValue}" /> <input size="30" type="text" id="firstName" name="firstName" value="${firstNameValue}" />
</p> </p>
<#--TODO: With ISF changes, add middle name input-->
<!--p-->
<!--label for="middleName">${i18n().middle_name} ${requiredHint}</label>
<input size="30" type="text" id="middleName" name="middleName" value="${middleNameValue}" />
</p-->
<p> <p>
<label for="lastName">${i18n().last_name} ${requiredHint}</label> <label for="lastName">${i18n().last_name} ${requiredHint}</label>

View file

@ -5,6 +5,9 @@
<#--Get existing value for specific data literals and uris, in case the form is returned because of an error--> <#--Get existing value for specific data literals and uris, in case the form is returned because of an error-->
<#assign firstNameValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "firstName")/> <#assign firstNameValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "firstName")/>
<#assign lastNameValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "lastName")/> <#assign lastNameValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "lastName")/>
<#--With ISF changes, we also have a niddle name value, also add error field below-->
<#--assign middleNameValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "middleName") /-->
<#assign labelValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "label")/> <#assign labelValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "label")/>
<#assign newLabelLanguageValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "newLabelLanguage")/> <#assign newLabelLanguageValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "newLabelLanguage")/>

View file

@ -0,0 +1,4 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#--Some values for labels etc. may be different between vitro and other systems -->
<#assign returnText = "${i18n().return_to_profile}" />

View file

@ -1,9 +1,9 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Contact info on individual profile page --> <#-- Contact info on individual profile page -->
<#assign phone = propertyGroups.pullProperty("${core}phoneNumber")!> <#assign phone = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Telephone")!>
<#assign pEmail = propertyGroups.pullProperty("${core}primaryEmail")!> <#assign pEmail = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Work")!>
<#assign email = propertyGroups.pullProperty("${core}email")!> <#assign email = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Email")!>
<#if editable || ( phone?has_content || pEmail?has_content || email?has_content ) > <#if editable || ( phone?has_content || pEmail?has_content || email?has_content ) >
<h2 id="contactHeading" class="mainPropGroup">${i18n().contact_capitalized}</h2> <h2 id="contactHeading" class="mainPropGroup">${i18n().contact_capitalized}</h2>
@ -39,8 +39,8 @@
<ul id="phone-list" role="list"> <ul id="phone-list" role="list">
<#list phone.statements as statement> <#list phone.statements as statement>
<li role="listitem" <#if editable>style="padding-left:10px;"</#if>> <li role="listitem" <#if editable>style="padding-left:10px;"</#if>>
${statement.value} ${statement.number!}
<@p.editingLinks "${phone.localName}" statement editable /> <@p.editingLinks "${phone.localName}" "${phone.name}" statement editable />
</li> </li>
</#list> </#list>
</ul> </ul>
@ -65,8 +65,8 @@
<#list email.statements as statement> <#list email.statements as statement>
<li role="listitem" <#if editable>style="padding-left:10px;"</#if>> <li role="listitem" <#if editable>style="padding-left:10px;"</#if>>
<a class="email" href="mailto:${statement.value}" title="${i18n().email}">${statement.value}</a> <a class="email" href="mailto:${statement.emailAddress!}" title="${i18n().email}">${statement.emailAddress!}</a>
<@p.editingLinks "${email.localName}" statement editable /> <@p.editingLinks "${email.localName}" "${email.name}" statement editable />
</li> </li>
</#list> </#list>
</ul> </ul>

View file

@ -2,19 +2,19 @@
<#-- Contact info on individual profile page --> <#-- Contact info on individual profile page -->
<#assign phone = propertyGroups.pullProperty("${core}phoneNumber")!> <#assign phone = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Telephone")!>
<#assign primaryEmail = propertyGroups.pullProperty("${core}primaryEmail")!> <#assign primaryEmail = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Work")!>
<#assign addlEmail = propertyGroups.pullProperty("${core}email")!> <#assign addlEmail = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Email")!>
<#if phone?has_content || primaryEmail?has_content || addlEmail?has_content > <#if phone?has_content || primaryEmail?has_content || addlEmail?has_content >
<ul style="font-size:1em;padding-bottom:4px"><li><strong>${i18n().contact_info}</strong></li></ul> <ul style="font-size:1em;padding-bottom:4px"><li><strong>${i18n().contact_info}</strong></li></ul>
</#if> </#if>
<#-- Primary Email --> <#-- Primary Email -->
<@emailLinks "${core}primaryEmail" primaryEmail /> <@emailLinks "primaryEmail" primaryEmail />
<#-- Additional Emails --> <#-- Additional Emails -->
<@emailLinks "${core}email" addlEmail /> <@emailLinks "email" addlEmail />
<#-- Phone --> <#-- Phone -->
@ -24,8 +24,8 @@
<ul id="individual-phone" role="list" <#if editable>style="list-style:none;margin-left:0;"</#if>> <ul id="individual-phone" role="list" <#if editable>style="list-style:none;margin-left:0;"</#if>>
<#list phone.statements as statement> <#list phone.statements as statement>
<li role="listitem"> <li role="listitem">
${statement.value} ${statement.number!}
<@p.editingLinks "${phone.localName}" statement editable /> <@p.editingLinks "${phone.localName}" "${phone.name}" statement editable />
</li> </li>
</#list> </#list>
</ul> </ul>
@ -33,7 +33,7 @@
</#if> </#if>
<#macro emailLinks property email> <#macro emailLinks property email>
<#if property == "${core}primaryEmail"> <#if property == "primaryEmail">
<#local listId = "primary-email"> <#local listId = "primary-email">
<#local label = "${i18n().primary_email_capitalized}"> <#local label = "${i18n().primary_email_capitalized}">
<#else> <#else>
@ -46,8 +46,8 @@
<ul id="${listId}" class="individual-emails" role="list" <#if editable>style="list-style:none;margin-left:0;"</#if>> <ul id="${listId}" class="individual-emails" role="list" <#if editable>style="list-style:none;margin-left:0;"</#if>>
<#list email.statements as statement> <#list email.statements as statement>
<li role="listitem"> <li role="listitem">
<a class="email" href="mailto:${statement.value}" title="${i18n().email}">${statement.value}</a> <a class="email" href="mailto:${statement.emailAddress!}" title="${i18n().email}">${statement.emailAddress!}</a>
<@p.editingLinks "${email.localName}" statement editable /> <@p.editingLinks "${email.localName}" "${email.name}" statement editable />
</li> </li>
</#list> </#list>
</ul> </ul>

View file

@ -10,7 +10,7 @@
<div class="overview-value"> <div class="overview-value">
${statement.value} ${statement.value}
</div> </div>
<@p.editingLinks "${overview.name}" statement editable /> <@p.editingLinks "${overview.name}" "" statement editable />
</div> </div>
</#list> </#list>
</#if> </#if>

View file

@ -1,11 +1,11 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- List of positions for the individual --> <#-- List of positions for the individual -->
<#assign positions = propertyGroups.pullProperty("${core}personInPosition")!> <#assign positions = propertyGroups.pullProperty("${core}relatedBy", "${core}Position")!>
<#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> <#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<#assign localName = positions.localName> <#assign localName = positions.localName>
<h2 id="${localName}" class="mainPropGroup">${positions.name?capitalize} <@p.addLink positions editable /> <@p.verboseDisplay positions /></h2> <h2 id="${localName}" class="mainPropGroup">${positions.name?capitalize} <@p.addLink positions editable /> <@p.verboseDisplay positions /></h2>
<ul id="individual-${localName}" role="list"> <ul id="individual-${localName}" role="list">
<@p.objectProperty positions editable /> <@p.objectProperty positions editable />
</ul> </ul>
</#if> </#if>

View file

@ -1,14 +1,7 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- This snippet will be included in lib-vivo-properties.ftl, so users will be able to have a
different view when extending wilma theme
<#assign webpage = propertyGroups.pullProperty("${core}webpage")!> <#assign webpage = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#URL")!>
<@p.objectPropertyListing webpage editable />
-->
<#assign webpage = propertyGroups.pullProperty("${core}webpage")!>
<#if webpage?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> <#if webpage?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<#if !editable && individual.person() > <#if !editable && individual.person() >
<ul style="font-size:0.9em;padding-bottom:4px"><li><strong>${i18n().websites}</strong></li></ul> <ul style="font-size:0.9em;padding-bottom:4px"><li><strong>${i18n().websites}</strong></li></ul>
@ -19,4 +12,3 @@
<@p.objectProperty webpage editable /> <@p.objectProperty webpage editable />
</ul> </ul>
</#if> </#if>

View file

@ -29,5 +29,5 @@
</#if> </#if>
</#local> </#local>
${linkedIndividual} <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" /> ${linkedIndividual} <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
</#macro> </#macro>

View file

@ -15,9 +15,9 @@
<#local linkedIndividual> <#local linkedIndividual>
<#if statement.award??> <#if statement.award??>
<a href="${profileUrl(statement.uri("award"))}" title="${i18n().award_name}">${statement.awardLabel!statement.localName}</a> <a href="${profileUrl(statement.uri("award"))}" title="${i18n().award_name}">${statement.awardLabel!statement.localName!}</a>
<#else> <#else>
<a href="${profileUrl(statement.uri("awardReceipt"))}" title="${i18n().award_receipt_name}">${statement.receiptLabel!statement.localName}</a> <a href="${profileUrl(statement.uri("awardReceipt"))}" title="${i18n().award_receipt_name}">${statement.receiptLabel!statement.localName!}</a>
</#if> </#if>
</#local> </#local>
@ -29,12 +29,12 @@
</#if> </#if>
</#local> </#local>
<#local conferredByOrg> <#local assignedByOrg>
<#if statement.conferredBy?has_content && statement.conferredByLabel?has_content> <#if statement.assignedBy?has_content && statement.assignedByLabel?has_content>
${i18n().conferred_by} <a href="${profileUrl(statement.uri("conferredBy"))}" title="${i18n().conferred_by}">${statement.conferredByLabel}</a> ${i18n().conferred_by} <a href="${profileUrl(statement.uri("assignedBy"))}" title="${i18n().conferred_by}">${statement.assignedByLabel}</a>
</#if> </#if>
</#local> </#local>
<@s.join [ linkedIndividual, conferredByOrg!, dateTimeVal! ] /> <@s.join [ linkedIndividual, assignedByOrg!, dateTimeVal! ] />
</#macro> </#macro>

View file

@ -0,0 +1,17 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#--
This template must be self-contained and not rely on other variables set for the individual page, because it
is also used to generate the property statement during a deletion.
-->
<@showAdditionalEmail statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
next statement -->
<#macro showAdditionalEmail statement>
<#if statement.emailAddress?has_content>
${statement.emailAddress}
</#if>
</#macro>

View file

@ -0,0 +1,17 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#--
This template must be self-contained and not rely on other variables set for the individual page, because it
is also used to generate the property statement during a deletion.
-->
<@showFullName statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
next statement -->
<#macro showFullName statement>
<#if statement.fullName?has_content>
${statement.firstName!}&nbsp;${statement.middleName!}&nbsp;${statement.lastName!}
</#if>
</#macro>

View file

@ -15,7 +15,7 @@
<#macro showRole statement property> <#macro showRole statement property>
<#local linkedIndividual> <#local linkedIndividual>
<#if statement?has_content && statement.activity?has_content> <#if statement?has_content && statement.activity?has_content>
<a href="${profileUrl(statement.uri("activity"))}" title="${i18n().activity_name}">${statement.activityLabel!statement.activityName}</a> <a href="${profileUrl(statement.uri("activity"))}" title="${i18n().activity_name}">${statement.activityLabel!statement.activityName!}</a>
</#if> </#if>
</#local> </#local>
@ -24,6 +24,5 @@
</#local> </#local>
<#-- If property is collated, then subclass label is redundant information --> <#-- If property is collated, then subclass label is redundant information -->
${linkedIndividual} <#if ! property.collatedBySubclass>${statement.subclassLabel!}</#if> ${dateTime!} ${linkedIndividual} <#if ! property.collatedBySubclass>&nbsp;(${statement.subclassLabel!})</#if> ${dateTime!}
</#macro> </#macro>

Some files were not shown because too many files have changed in this diff Show more