Skip to content
Snippets Groups Projects
Commit f911f052 authored by AJRubio-Montero's avatar AJRubio-Montero
Browse files

Final improvement generation of links and maps in Schedma definition and LAGO sites.

parent 1e9c88d3
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ function itemnize_json( json, context, link ) { ...@@ -24,7 +24,7 @@ function itemnize_json( json, context, link ) {
} else return json; } else return json;
var contexturl = context[vocab]; var contexturl = context[vocab];
if ( vocab == "lago" ) { if ( vocab == "lago" ) {
contexturl = ''; contexturl = 'https://lagoproject.github.io/DMP/schema/lagoSchema/';
innid = json; innid = json;
}; };
if ( contexturl[contexturl.length-1] !== '#' ) contexturl = contexturl + '#'; if ( contexturl[contexturl.length-1] !== '#' ) contexturl = contexturl + '#';
......
...@@ -24,7 +24,7 @@ function itemnize_json( json, context, link ) { ...@@ -24,7 +24,7 @@ function itemnize_json( json, context, link ) {
} else return json; } else return json;
var contexturl = context[vocab]; var contexturl = context[vocab];
if ( vocab == "lago" ) { if ( vocab == "lago" ) {
contexturl = ''; contexturl = 'https://lagoproject.github.io/DMP/schema/lagoSchema/';
innid = json; innid = json;
}; };
if ( contexturl[contexturl.length-1] !== '#' ) contexturl = contexturl + '#'; if ( contexturl[contexturl.length-1] !== '#' ) contexturl = contexturl + '#';
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
"dcat:subClassOf" : "Agent", "dcat:subClassOf" : "Agent",
"sdo:codeRepository" : { "@type" : "sdo:URL" }, "sdo:codeRepository" : { "@type" : "sdo:URL" },
"sdo:runtimePlatform" : {"@type" : "lago:runtimePlatform" }, "sdo:runtimePlatform" : {"@type" : "lago:runtimePlatform" },
"seeAlso" : [ "prov: SoftwareAgent", "sdo:SoftwareSourceCode", "Agent"], "seeAlso" : [ "prov:SoftwareAgent", "sdo:SoftwareSourceCode", "Agent"],
"comment" : [ { "@language" : "en", "@value" : "It identifies any concrete release of software used for simulation, measure, cleaning or analysis procedures. It always refers to a COMMIT in the source code, identified with a HASH at the CVS (but, it will be needed, a compressed file, using other type of hasisng, such as MD5SUM, to guarantee its immutability). Therefore, in GitHub, the @id is the link for the COMMIT (https://api.github.com/org/repo/git/commits/COMMIT_HASH and the sdo:codeRepository will be these COMMIT but browsable for humans ( https://github.com/org/repo/tree/COMMIT_HASH). It is mandatory assign an Agent:name. However, it is optional to use sdo:runtimePlatform (redefined as lago:runtimePlatform) to point to other lago:Software on which it was executed, for example to some deployment with Docker in GitHub." }, "comment" : [ { "@language" : "en", "@value" : "It identifies any concrete release of software used for simulation, measure, cleaning or analysis procedures. It always refers to a COMMIT in the source code, identified with a HASH at the CVS (but, it will be needed, a compressed file, using other type of hasisng, such as MD5SUM, to guarantee its immutability). Therefore, in GitHub, the @id is the link for the COMMIT (https://api.github.com/org/repo/git/commits/COMMIT_HASH and the sdo:codeRepository will be these COMMIT but browsable for humans ( https://github.com/org/repo/tree/COMMIT_HASH). It is mandatory assign an Agent:name. However, it is optional to use sdo:runtimePlatform (redefined as lago:runtimePlatform) to point to other lago:Software on which it was executed, for example to some deployment with Docker in GitHub." },
{ "@language" : "es", "@value" : "Identifica una versión concreta de un software usado para simular, medir, limpiar o analizar los datos de LAGO. Se refiere siempre a un COMMIT concreto en el código fuente, identificado con un código HASH en un CVS (o bien, si no fuera posible, a un fichero comprimido, univocamente identificado con algún tipo de HASH, como MD5SUM). Por tanto, en GitHub, el @id es el link del COMMIT https://api.github.com/org/repo/git/commits/COMMIT_HASH y la propiedad sdo:codeRepository sería ese COMMIT navegable para humanos https://github.com/org/repo/tree/COMMIT_HASH. Es obligatorio asignar un Agent:name. Pero es opcional el uso de sdo:runtimePlatform (redefinida como lago:runtimePlatform) para señalar otro lago:Software sobre el que se ejecuta, por ejemplo una integración Docker en GitHub)." } ] { "@language" : "es", "@value" : "Identifica una versión concreta de un software usado para simular, medir, limpiar o analizar los datos de LAGO. Se refiere siempre a un COMMIT concreto en el código fuente, identificado con un código HASH en un CVS (o bien, si no fuera posible, a un fichero comprimido, univocamente identificado con algún tipo de HASH, como MD5SUM). Por tanto, en GitHub, el @id es el link del COMMIT https://api.github.com/org/repo/git/commits/COMMIT_HASH y la propiedad sdo:codeRepository sería ese COMMIT navegable para humanos https://github.com/org/repo/tree/COMMIT_HASH. Es obligatorio asignar un Agent:name. Pero es opcional el uso de sdo:runtimePlatform (redefinida como lago:runtimePlatform) para señalar otro lago:Software sobre el que se ejecuta, por ejemplo una integración Docker en GitHub)." } ]
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment