Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add semantic asset #27

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
c6ec5c2
02-2017 variation: combining into single ns/schema file
RayPlante Jan 13, 2017
1ad709c
updating examples for schema changes
RayPlante Jan 17, 2017
71240a5
'final' updated for feb 2012
RayPlante Jan 17, 2017
e24951a
updated script, regenerated mse_vocab, and updated examples for dev t…
RayPlante Jan 19, 2017
1df4700
adjustments to disable pids, add labels
RayPlante Jan 27, 2017
a8e09a8
updated vocab to version 12
RayPlante Jan 27, 2017
fd5233b
make extra ServiceAPI metadata optional
RayPlante Feb 9, 2017
7fc8f6a
presentation annotations provided by developer team; fix ServiceAPI e…
RayPlante Feb 22, 2017
2680b98
revised for version 170321 of the MSE vocab
RayPlante Mar 27, 2017
dc914df
moved enumerated types to end to configure app's side-bar filters
RayPlante Mar 27, 2017
73aae51
mitigate app issue: allow all vocab terms unchecked
RayPlante Mar 27, 2017
ece23b8
app issue mitigation: inline the mse_vocab into res-md.xsd
RayPlante Mar 27, 2017
48881b6
match the order of definitions as given by dev team in their last ite…
RayPlante Mar 27, 2017
b321146
set applicability's type to MaterialsScience
RayPlante Mar 27, 2017
4f45e32
merged in code catalog schema; additional label and ordering tweaks
RayPlante Mar 29, 2017
3472d1b
archiving migration XSL files
RayPlante Mar 29, 2017
702350c
added documentationURL for ServiceAPI; further tweaks for presentation
RayPlante Mar 30, 2017
0a8e504
updated examples to changes in feb17 schema
RayPlante Mar 30, 2017
72cfaf9
fancy tree module corrections
RayPlante Mar 30, 2017
20a593b
12to13 bug fix: publisher
RayPlante Apr 19, 2017
d7e340d
updates to material vocabulary
RayPlante Oct 4, 2019
b42fd16
add new semantic types and subtypes
ztrautt Oct 26, 2019
e210966
limit semantic asset type name to 50 characters or fewer
ztrautt Dec 16, 2019
fb8dacc
initial commit
ztrautt Jan 16, 2020
8403ae6
trimmed down and reorganized semantic asset list
RayPlante Feb 28, 2020
66c73a0
tweaked list after generating definitions for schema
RayPlante Feb 28, 2020
05ddc74
udpated Semantic Asset role defition in res-md.xsd:
RayPlante Feb 28, 2020
fda4fd0
Merge pull request #1 from RayPlante/add-semantic-asset
ztrautt Mar 5, 2020
290ed92
change color
ztrautt Mar 5, 2020
9bd55bb
prefix enumeration with semantic asset to enable root of fancy tree
ztrautt Mar 5, 2020
363ba34
update refinements
ztrautt Mar 9, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 37 additions & 53 deletions examples/xml/annotated-example.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<rsm:Resource xmlns="" xsi:type="rac:AccessibleResource"
<Resource xmlns="http://schema.nist.gov/xml/res-md/1.0wd-02-2017"
xsi:type="rsm:AccessibleResource"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:rsm="http://schema.nist.gov/xml/res-md/1.0wd"
xmlns:dcr="http://schema.nist.gov/xml/resmd-datacite/1.0wd"
xmlns:rac="http://schema.nist.gov/xml/resmd-access/1.0wd"
xmlns:ms="http://schema.nist.gov/xml/mat-sci_res-md/1.0wd"
xmlns:mse="https://www.nist.gov/od/sch/mse-vocab/1.0wd"
xmlns:roth="http://schema.nist.gov/xml/resmd-otherroles/1.0wd"
xsi:schemaLocation="http://schema.nist.gov/xml/res-md/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/res-md.xsd
http://schema.nist.gov/xml/resmd-datacite/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/resmd-datacite.xsd
http://schema.nist.gov/xml/resmd-access/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/resmd-access.xsd
http://schema.nist.gov/xml/mat-sci_res-md/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/mat-sci_res-md.xsd"
xmlns:rsm="http://schema.nist.gov/xml/res-md/1.0wd-02-2017"
status="active" localid="urn:nist.gov/nmrr/ipr">

<!--
Expand All @@ -39,8 +27,9 @@

<!--
This section indicates who is responsible for making this resource
available. The publisher and various name elements can be
annotated with an identifier (via pid attribute).
available. <strike>The publisher and various name elements can be
annotated with an identifier (via pid attribute).</strike> (PIDs
disabled in this version).
-->
<providers>
<publisher>
Expand All @@ -53,13 +42,13 @@
<affiliation> NIST </affiliation>
</creator>

<contributor role="DataCurator" xsi:type="dcr:DciteContributor">
<name pid="orcid:0000-0001-5929-0354"> Zachary Trautt </name>
<contributor role="DataCurator" xsi:type="rsm:DciteContributor">
<name> Zachary Trautt </name>
</contributor>

<!-- Datacite date types: Created, Accepted, Copyrighted,
Available, Collected, Issued, Submitted, Updated, Valid -->
<date role="Created" xsi:type="dcr:DciteDate"> 2008-04-01 </date>
<date role="Created" xsi:type="rsm:DciteDate"> 2008-04-01 </date>

<contact>
<name>Zachary Trautt</name>
Expand Down Expand Up @@ -115,44 +104,44 @@
additional metadata associated with them. Software is an
example that would have extended metadata.
-->
<role xsi:type="roth:Repository">
<role xsi:type="rsm:DataCollection">
<type> Collection: Repository </type>
</role>

<role xsi:type="roth:Database">
<role xsi:type="rsm:Database">
<type> Dataset: Database </type>
</role>

<!--
The applicability element provides
-->
<applicability xsi:type="ms:MaterialsScience">
<applicability>

<materialType xsi:type="mse:Ceramics_Material_type">
Ceramics: Perovskite
<materialType>
<ceramics> ceramics: carbides </ceramics>
</materialType>

<structuralFeature xsi:type="mse:Composites_Structural_Feature">
Composites: nanocomposites
<structuralFeature>
<composites> composites: nanocomposites </composites>
</structuralFeature>
<structuralFeature xsi:type="mse:Defects_Structural_Feature">
Defects: Point defects
<structuralFeature>
<defects> defects: point defects </defects>
</structuralFeature>

<propertyAddressed xsi:type="mse:Microstructural_Properties_addressed">
Microstructural
<propertyAddressed>
<structural> structural </structural>
</propertyAddressed>

<experimentalMethod xsi:type="mse:Charge_distribution_Experimental_Methods">
Charge distribution
</experimentalMethod>
<characterizationMethod>
<charge_distribution> charge distribution </charge_distribution>
</characterizationMethod>

<computationalMethod xsi:type="mse:Dislocation_Dynamics_Computational_method">
Dislocation Dynamics
<computationalMethod>
<dislocation_dynamics> dislocation dynamics </dislocation_dynamics>
</computationalMethod>

<synthesisProcessing xsi:type="mse:Annealing_Synthesis_and_Processing">
Annealing: normalizing
<synthesisProcessing>
<annealing_and_homogenization> annealing and homogenization: normalizing </annealing_and_homogenization>
</synthesisProcessing>

</applicability>
Expand All @@ -173,31 +162,28 @@
</policy>

<!--
multiple <via> elements can describe different ways for accessing
multiple <method> elements can describe different ways for accessing
a resource
-->
<via xsi:type="rac:ViaPortal">
<method xsi:type="rsm:PortalMethod">
<title> The IPR Portal </title>
<description> ... </description>

<!-- if different from landing page -->
<accessURL> https://www.ctcms.nist.gov/potentials/search </accessURL>

<details><type> InteractiveResource: Portal </type></details>
</via>
</method>

<!-- downloadable file or directory of files -->
<via xsi:type="rac:ViaDownload">
<method xsi:type="rsm:DownloadMethod">
<title> The IPR database </title>
<description> ... </description>
<accessURL> https://www.ctcms.nist.gov/potentials/data.json </accessURL>
<details><type> Download </type></details>
<format> text/json </format>
<filesize> 1100 </filesize>
</via>
</method>

<!-- service API (that may conform to some standard) -->
<via xsi:type="rac:ViaServiceAPI">
<method xsi:type="rsm:ServiceAPIMethod">
<title> The IPR search service </title>
<description> ... </description>
<details>
Expand All @@ -206,19 +192,17 @@
<specificationURL> https://... </specificationURL>
<complianceID> https://... </complianceID>
</details>
</via>
</method>

<!-- via media one can order -->
<via xsi:type="rac:ViaMedia">
<method xsi:type="rsm:MediaMethod">
<title> The IPR Database </title>
<description> ... </description>

<!-- if different from landing page -->
<accessURL> https://www.ctcms.nist.gov/potentials/order </accessURL>

<details><type> Physical Object: Storage Media </type></details>
<mediaType> CDROM </mediaType>
</via>
</method>
</access>

</rsm:Resource>
</Resource>
58 changes: 21 additions & 37 deletions examples/xml/fipy-test.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Resource xmlns="" xsi:type="rac:AccessibleResource"
<Resource xmlns="http://schema.nist.gov/xml/res-md/1.0wd-02-2017"
xsi:type="rsm:AccessibleResource"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:rsm="http://schema.nist.gov/xml/res-md/1.0wd"
xmlns:dcr="http://schema.nist.gov/xml/resmd-datacite/1.0wd"
xmlns:rac="http://schema.nist.gov/xml/resmd-access/1.0wd"
xmlns:ms="http://schema.nist.gov/xml/mat-sci_res-md/1.0wd"
xmlns:mse="https://www.nist.gov/od/sch/mse-vocab/1.0wd"
xsi:schemaLocation="http://schema.nist.gov/xml/res-md/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/res-md.xsd
http://schema.nist.gov/xml/resmd-datacite/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/resmd-datacite.xsd
http://schema.nist.gov/xml/resmd-access/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/resmd-access.xsd
http://schema.nist.gov/xml/mat-sci_res-md/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/mat-sci_res-md.xsd"
status="active" localid="urn:nist.gov/nmrr/ipr">
xmlns:rsm="http://schema.nist.gov/xml/res-md/1.0wd-02-2017"
status="active" localid="urn:nist.gov/nmrr/fipy">

<identity>
<title> FiPy: A Finite Volume PDE Solver Using Python </title>
Expand All @@ -28,18 +17,18 @@
</publisher>
<publicationYear> 2009 </publicationYear>
<creator>
<name sur="Guyer" given="Jonathan" middle="E.">Jonathan E. Guyer</name>
<name>Jonathan E. Guyer</name>
<affiliation> NIST </affiliation>
</creator>
<creator>
<name sur="Dan" given="J." middle="E.">Dan Wheeler</name>
<name>Dan Wheeler</name>
<affiliation> NIST </affiliation>
</creator>
<creator>
<name sur="Warren" given="James" middle="A.">James A. Warren</name>
<name>James A. Warren</name>
<affiliation> NIST </affiliation>
</creator>
<date role="Created" xsi:type="dcr:DciteDate"> 2008-04-01 </date>
<date role="Created" xsi:type="rsm:DciteDate"> 2008-04-01 </date>
<contact>
<name>Jonathan Guyer</name>
<emailAddress> [email protected] </emailAddress>
Expand Down Expand Up @@ -81,7 +70,7 @@
</content>

<!-- This part contains Software-specific metadata -->
<role xsi:type="rac:Software">
<role xsi:type="rsm:Software">
<type> Software </type>
<!-- <supportedOS> Mac OS X </supportedOS>
<supportedOS> Debian Linux </supportedOS>
Expand All @@ -92,15 +81,15 @@
</role>

<!-- This part contains Materials Science-specific metadata -->
<applicability xsi:type="ms:MaterialsScience">
<structuralFeature xsi:type="mse:Microstructure_Structural_Feature">
Microstructure: single crystal
<applicability xsi:type="rsm:MaterialsScience">
<structuralFeature>
<microstructures> microstructures: single crystal </microstructures>
</structuralFeature>
<structuralFeature xsi:type="mse:Microstructure_Structural_Feature">
Microstructure: polycrystalline
<structuralFeature>
<microstructures> microstructures: polycrystalline </microstructures>
</structuralFeature>
<propertyAddressed xsi:type="mse:Microstructural_Properties_addressed">
Microstructural
<propertyAddressed>
<structural>structural</structural>
</propertyAddressed>
</applicability>

Expand All @@ -110,20 +99,15 @@
<restriction> public </restriction>
<termsURL> http://www.ctcms.nist.gov/fipy/LICENSE.html </termsURL>
</policy>
<via xsi:type="rac:ViaDownload">
<accessURL use="dir" returns="text/html">
<method xsi:type="rsm:DownloadMethod">
<accessURL returns="text/html">
http://www.ctcms.nist.gov/fipy/download/
</accessURL>
</via>
<via xsi:type="rac:ViaPortal" pid="">
</method>
<method xsi:type="rsm:PortalMethod">
<title> FiPy Home page </title>
<description> </description>
<accessURL> http://www.ctcms.nist.gov/fipy/ </accessURL>
<details>
<type pid="http://purl.org/dc/dcmitype/InteractiveResource">
InteractiveResource: Portal
</type>
</details>
</via>
</method>
</access>
</Resource>
51 changes: 20 additions & 31 deletions examples/xml/fipy.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<rsm:Resource xmlns="" xsi:type="rac:AccessibleResource"
<Resource xmlns="http://schema.nist.gov/xml/res-md/1.0wd-02-2017"
xsi:type="rsm:AccessibleResource"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:rsm="http://schema.nist.gov/xml/res-md/1.0wd"
xmlns:dcr="http://schema.nist.gov/xml/resmd-datacite/1.0wd"
xmlns:rac="http://schema.nist.gov/xml/resmd-access/1.0wd"
xmlns:ms="http://schema.nist.gov/xml/mat-sci_res-md/1.0wd"
xmlns:mse="https://www.nist.gov/od/sch/mse-vocab/1.0wd"
xsi:schemaLocation="http://schema.nist.gov/xml/res-md/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/res-md.xsd
http://schema.nist.gov/xml/resmd-datacite/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/resmd-datacite.xsd
http://schema.nist.gov/xml/resmd-access/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/resmd-access.xsd
http://schema.nist.gov/xml/mat-sci_res-md/1.0wd
https://raw.githubusercontent.com/usnistgov/mgi-resmd/master/schemas/xml/mat-sci_res-md.xsd"
status="active" localid="urn:nist.gov/nmrr/ipr">
xmlns:rsm="http://schema.nist.gov/xml/res-md/1.0wd-02-2017"
status="active" localid="urn:nist.gov/nmrr/fipy">

<identity>
<title> FiPy: A Finite Volume PDE Solver Using Python </title>
Expand All @@ -28,18 +17,18 @@
</publisher>
<publicationYear> 2009 </publicationYear>
<creator>
<name sur="Guyer" given="Jonathan" middle="E.">Jonathan E. Guyer</name>
<name>Jonathan E. Guyer</name>
<affiliation> NIST </affiliation>
</creator>
<creator>
<name sur="Dan" given="J." middle="E.">Dan Wheeler</name>
<name>Dan Wheeler</name>
<affiliation> NIST </affiliation>
</creator>
<creator>
<name sur="Warren" given="James" middle="A.">James A. Warren</name>
<name>James A. Warren</name>
<affiliation> NIST </affiliation>
</creator>
<date role="Created" xsi:type="dcr:DciteDate"> 2008-04-01 </date>
<date role="Created" xsi:type="rsm:DciteDate"> 2008-04-01 </date>
<contact>
<name>Jonathan Guyer</name>
<emailAddress> [email protected] </emailAddress>
Expand Down Expand Up @@ -81,7 +70,7 @@
</content>

<!-- This part contains Software-specific metadata -->
<role xsi:type="rac:Software">
<role xsi:type="rsm:Software">
<type> Software </type>
<!--
<supportedOS> Mac OS X </supportedOS>
Expand All @@ -93,15 +82,15 @@
</role>

<!-- This part contains Materials Science-specific metadata -->
<applicability xsi:type="ms:MaterialsScience">
<structuralFeature xsi:type="mse:Microstructure_Structural_Feature">
Microstructure: single crystal
<applicability xsi:type="rsm:MaterialsScience">
<structuralFeature>
<microstructures> microstructures: single crystal </microstructures>
</structuralFeature>
<structuralFeature xsi:type="mse:Microstructure_Structural_Feature">
Microstructure: polycrystalline
<structuralFeature>
<microstructures> microstructures: polycrystalline </microstructures>
</structuralFeature>
<propertyAddressed xsi:type="mse:Microstructural_Properties_addressed">
Microstructural
<propertyAddressed>
<structural>structural</structural>
</propertyAddressed>
</applicability>

Expand All @@ -111,10 +100,10 @@
<restriction> public </restriction>
<termsURL> http://www.ctcms.nist.gov/fipy/LICENSE.html </termsURL>
</policy>
<via xsi:type="rac:ViaDownload">
<accessURL use="dir" returns="text/html">
<method xsi:type="rsm:DownloadMethod">
<accessURL returns="text/html">
http://www.ctcms.nist.gov/fipy/download/
</accessURL>
</via>
</method>
</access>
</rsm:Resource>
</Resource>
Loading