Difference between revisions of "Data:Project"

From DAAP
Jump to navigation Jump to search
Line 75: Line 75:
 
   sh:property [
 
   sh:property [
 
       rdfs:label "organization-unit"^^xsd:string ;
 
       rdfs:label "organization-unit"^^xsd:string ;
      sh:maxCount 1 ;
+
#      sh:maxCount 1 ;
      sh:minCount 1 ;
+
#      sh:minCount 1 ;
 
       sh:nodeKind sh:IRI ;
 
       sh:nodeKind sh:IRI ;
 
       sh:path  <http://www.w3.org/2006/vcard/ns#organization-unit> ;
 
       sh:path  <http://www.w3.org/2006/vcard/ns#organization-unit> ;
Line 83: Line 83:
 
   sh:property [
 
   sh:property [
 
       rdfs:label "see also website"^^xsd:string ;
 
       rdfs:label "see also website"^^xsd:string ;
      sh:maxCount 1 ;
+
#      sh:maxCount 1 ;
      sh:minCount 1 ;
+
#      sh:minCount 1 ;
 
       sh:nodeKind sh:IRI ;
 
       sh:nodeKind sh:IRI ;
 
       sh:path  rdfs:seeAlso ;
 
       sh:path  rdfs:seeAlso ;
Line 91: Line 91:
 
       rdfs:label "signature"^^xsd:string ;
 
       rdfs:label "signature"^^xsd:string ;
 
       sh:datatype xsd:string ;
 
       sh:datatype xsd:string ;
      sh:maxCount 1 ;
+
#      sh:maxCount 1 ;
      sh:minCount 1 ;
+
#      sh:minCount 1 ;
 
       sh:path  daapp:signature ;
 
       sh:path  daapp:signature ;
 
     ] ;
 
     ] ;
Line 111: Line 111:
 
   sh:property [
 
   sh:property [
 
       rdfs:label "hasGeneralMethod"^^xsd:string ;
 
       rdfs:label "hasGeneralMethod"^^xsd:string ;
      sh:minCount 1 ;
+
#      sh:minCount 1 ;
 
       sh:path  daapp:hasGeneralMethod ;
 
       sh:path  daapp:hasGeneralMethod ;
 
       sh:class daapp:GeneralMethod ;
 
       sh:class daapp:GeneralMethod ;
Line 245: Line 245:
 
       rdfs:label "daapp:dateBegin"^^xsd:string ;
 
       rdfs:label "daapp:dateBegin"^^xsd:string ;
 
       sh:datatype xsd:date ;
 
       sh:datatype xsd:date ;
       sh:maxCount 1 ;
+
#       sh:maxCount 1 ;
       sh:minCount 1 ;
+
#       sh:minCount 1 ;
 
       sh:path daapp:dateBegin ;
 
       sh:path daapp:dateBegin ;
 
     ] ;
 
     ] ;
Line 252: Line 252:
 
       rdfs:label "daapp:dateEnd"^^xsd:string ;
 
       rdfs:label "daapp:dateEnd"^^xsd:string ;
 
       sh:datatype xsd:date ;
 
       sh:datatype xsd:date ;
       sh:maxCount 1 ;
+
#       sh:maxCount 1 ;
       sh:minCount 1 ;
+
#       sh:minCount 1 ;
 
       sh:path daapp:dateEnd ;
 
       sh:path daapp:dateEnd ;
 
     ] ;
 
     ] ;
 
   sh:property [
 
   sh:property [
 
       rdfs:label "filesDestination"^^xsd:string ;
 
       rdfs:label "filesDestination"^^xsd:string ;
      sh:maxCount 1 ;
+
#      sh:maxCount 1 ;
      sh:minCount 1 ;
+
#      sh:minCount 1 ;
 
       sh:nodeKind sh:IRI ;
 
       sh:nodeKind sh:IRI ;
 
       sh:path daapp:filesDestination ;
 
       sh:path daapp:filesDestination ;
Line 265: Line 265:
 
   sh:property [
 
   sh:property [
 
       rdfs:label "filesFinalDestination"^^xsd:string ;
 
       rdfs:label "filesFinalDestination"^^xsd:string ;
      sh:maxCount 1 ;
+
#      sh:maxCount 1 ;
      sh:minCount 1 ;
+
#      sh:minCount 1 ;
 
       sh:nodeKind sh:IRI ;
 
       sh:nodeKind sh:IRI ;
 
       sh:path daapp:filesFinalDestination ;
 
       sh:path daapp:filesFinalDestination ;

Revision as of 19:42, 18 November 2021

Modèle RDF

Modele RDF pour les projets dans DAAP.png

Prefixes

prefix daapp: <http://daap.dsi.universite-paris-saclay.fr/wiki/Data:Project#> 
prefix daapo: <http://daap.dsi.universite-paris-saclay.fr/wiki/Data:Organization#> 

prefix daap: <http://daap.dsi.universite-paris-saclay.fr/wiki/> 
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix sh: <http://www.w3.org/ns/shacl#> 
prefix xsd: <http://www.w3.org/2001/XMLSchema#>


Classes

Project

Definition

daapp:Project
  a rdfs:Class ;
  rdfs:label "Project"@en ;
  rdfs:label "Projet"@fr ;
  rdfs:subClassOf <http://www.w3.org/2006/vcard/ns#Group> .

Properties

  • rdfs:label : @fr et @en
  • daapp:contact
  • daapp:item
  • daapp:useDevice
  • daapp:picture
  • daapp:hasGeneralMethod
  • rdfs:seeAlso
  • vcard:organization-unit

Infobox inputs

Under construction
Module:Project
{{#invoke:Project|infobox
| Title in English = 
| Title in French = 
| Contact = 
| Website = 
| Keywords =
| Organization = 
}}

Contraints

daapp:Project
  a sh:NodeShape ;
  sh:targetClass daapp:Project ;
  sh:property daapp:ProjectPropertyLabel ;
  sh:property [
      rdfs:label "contact"^^xsd:string ;
      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:path daapp:contact ;
      sh:class daapo:Individual ;
    ] ;
  sh:property [
      rdfs:label "item"^^xsd:string ;
      sh:nodeKind sh:IRI ;
      sh:path daapp:item ;
      sh:class <http://wikiba.se/ontology#Item> ;
    ] ;
  sh:property [
      rdfs:label "organization-unit"^^xsd:string ;
#      sh:maxCount 1 ;
#      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:path  <http://www.w3.org/2006/vcard/ns#organization-unit> ;
      sh:class <http://www.w3.org/2006/vcard/ns#Organization> ;
    ] ;
  sh:property [
      rdfs:label "see also website"^^xsd:string ;
#      sh:maxCount 1 ;
#      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:path  rdfs:seeAlso ;
    ] ;
  sh:property [
      rdfs:label "signature"^^xsd:string ;
      sh:datatype xsd:string ;
#      sh:maxCount 1 ;
#      sh:minCount 1 ;
      sh:path  daapp:signature ;
    ] ;
#  sh:property [
#      rdfs:label "use device"^^xsd:string ;
#      sh:minCount 1 ;
#      sh:nodeKind sh:IRI ;
#      sh:path  <http://daap.dsi.universite-paris-saclay.fr/wiki/Property:useDevice> ;
#      sh:class daap:Device ;
#    ] ;
#  sh:property [
#      sh:class daapp:Protocol ;
#      sh:minCount 1 ;
#      sh:name "protocol"^^xsd:string ;
#      sh:nodeKind sh:IRI ;
#      sh:path  <http://daap.dsi.universite-paris-saclay.fr/wiki/Property:protocol> ;
#    ] ;
  sh:property [
      rdfs:label "hasGeneralMethod"^^xsd:string ;
#      sh:minCount 1 ;
      sh:path  daapp:hasGeneralMethod ;
      sh:class daapp:GeneralMethod ;
      sh:nodeKind sh:IRI ;
    ] 
.

daapp:ProjectPropertyLabel 
      sh:uniqueLang true ;
      sh:languageIn ( "en" "fr" "" ) ;
      rdfs:label "Label" ;
      sh:minCount 3 ;
      sh:path rdfs:label .

GeneralMethod

Definition

daapp:GeneralMethod
  a rdfs:Class ;
  rdfs:label "General method"@en ;
  rdfs:label "Méthode générale"@fr .

Properties

  • daapp:hasCampaign
  • rdfs:label
  • daapp:useDevice

Infobox inputs

Under construction

Module:GeneralMethod

{{#invoke:GeneralMethod|infobox
| Title in English = 
| Title in French = 
|  Campagne 1 = Analyse des macrophages Campagne 1 : 2017
|  Campagne 2 = 
|  Campagne 3 =
|  Campagne 4 =
|  Campagne 5 =
|  Campagne 6 =
|  Campagne 7 =
|  Campagne 8 =
|  Campagne 9 =
|  Campagne 10 =
}}

Contraints

daapp:GeneralMethod
  a sh:NodeShape ;
  sh:targetClass daapp:GeneralMethod ;
  sh:property [
      sh:uniqueLang true ;
      sh:languageIn ( "en" "fr" "" ) ;
      rdfs:label "Label" ;
      sh:minCount 3 ;
      sh:path rdfs:label ;
    ];
  sh:property [
      rdfs:label "hasCampaign"^^xsd:string ;
      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:path daapp:hasCampaign ;
      sh:class daapp:Campaign ;
    ] 
.

Campaign

Definition

daapp:Campaign
  a rdfs:Class ;
  rdfs:label "Campaign"@en ;
  rdfs:label "Campagne"@fr .

Properties

  • daapp:responsible
  • daapp:dateBegin
  • daapp:dateEnd
  • rdfs:label
  • daapp:filesDestination
  • daapp:filesFinalDestination

Infobox inputs

Under construction

Module:Campaign

{{#invoke:Campaign|infobox
| Title in English = Macrophage analysis Campaign 1: 2017
| Title in French = Analyse des macrophages Campagne 1 : 2017
| Private folder = file://192.168.1.2/backup/test
| Public folder = http://example.com/test
| Script pretreatment matlab = file://192.168.1.2/test/script1.m
| Script spectral matrix generation matlab = file://192.168.1.2/test/script2.m
| Script automatic = true
| DateBegin = 2017-12-20
| DateEnd = 2017-12-30
| Responsible = Sana Tfaili
}}

Contraints

daapp:Campaign
  a sh:NodeShape ;
  sh:targetClass daapp:Campaign ;
  sh:property [
      sh:uniqueLang true ;
      sh:languageIn ( "en" "fr" "" ) ;
      rdfs:label "Label" ;
      sh:minCount 2 ;
      sh:path rdfs:label ;
    ];
  sh:property [
      rdfs:label "Label" ;
      sh:minCount 1 ;
      sh:path rdfs:label ;
      sh:datatype xsd:string ;
    ];
  sh:property [
      rdfs:label "Responsible"^^xsd:string ;
#      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:path daapp:responsible ;
      sh:class daapo:Individual ;
    ] ;
  sh:property [
      rdfs:label "daapp:dateBegin"^^xsd:string ;
      sh:datatype xsd:date ;
#       sh:maxCount 1 ;
#       sh:minCount 1 ;
      sh:path daapp:dateBegin ;
    ] ;
  sh:property [
      rdfs:label "daapp:dateEnd"^^xsd:string ;
      sh:datatype xsd:date ;
#       sh:maxCount 1 ;
#       sh:minCount 1 ;
      sh:path daapp:dateEnd ;
    ] ;
  sh:property [
      rdfs:label "filesDestination"^^xsd:string ;
#      sh:maxCount 1 ;
#      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:path daapp:filesDestination ;
    ] ;
  sh:property [
      rdfs:label "filesFinalDestination"^^xsd:string ;
#      sh:maxCount 1 ;
#      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:path daapp:filesFinalDestination ;
    ] .

Properties

contact

daapp:contact
  a rdf:Property ;
  rdfs:label "contact for this object"^^xsd:string ;
.

signature

daapp:signature
  a rdf:Property ;
  rdfs:label "Official signature of this project in the publication"^^xsd:string 
.

useDevice

daapp:useDevice
  a rdf:Property ;
  rdfs:domain daap:Project ;
  rdfs:label "use device"^^xsd:string ;
  rdfs:range daap:Device 
.

hasGeneralMethod

daapp:hasGeneralMethod 
  a rdf:Property ;
  rdfs:label "General method";
  rdfs:label "General method"@en ;
  rdfs:label "Méthode générale"@fr 
.

hasCampaign

daapp:hasCampaign
  a rdf:Property ;
  rdfs:label "campaign"^^xsd:string 
.

filesDestination

daapp:filesDestination
  a rdf:Property ;
  rdfs:label "destination des fichiers"@fr ;
  rdfs:label "files destination"@en 
.

experimentalData

daapp:experimentalData 
  a rdf:Property ;
  rdfs:subPropertyOf daapp:data ;
  rdfs:label ""@fr ;
  rdfs:label ""@en 
.

artefactData

daapp:artefactData 
  a rdf:Property ;
  rdfs:subPropertyOf daapp:data ;
  rdfs:label ""@fr ;
  rdfs:label ""@en 
.

ressourceData

daapp:ressourceData
  a rdf:Property ;
  rdfs:subPropertyOf daapp:data ;
  rdfs:label ""@fr ;
  rdfs:label ""@en 
.

protocolData

daapp:protocolData 
  a rdf:Property ;
   rdfs:subPropertyOf daapp:data ;
  rdfs:label ""@fr ;
  rdfs:label ""@en 
.

data

daapp:data 
  a rdf:Property ;
  rdfs:label "file of data"@en 
.

Examples

Instances

prefix myProject: <http://example.com/myproject> 

myProject: 
   a daapp:Project ;
   rdfs:label "Mon Projet"@fr ;
   rdfs:label "My Projet"@en .

Applications

DAAP

List of projects

prefix daapp: <http://daap.dsi.universite-paris-saclay.fr/wiki/Data:Project#> 
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix vcard: <http://www.w3.org/2006/vcard/ns#>

select DISTINCT  ?label ?labelLink ?contact ?contactLink ?contactLinkEmail
where {
  ?labelLink
       a daapp:Project ;
       rdfs:label ?label   ;
       daapp:contact ?contactLink .
  ?contactLink vcard:email ?contactLinkEmail .
  ?contactLink vcard:fn ?contact .

  FILTER langMatches( lang(?label), "EN" )
      } 
limit 5
label labelLink contact contactLink contactLinkEmail
Analysis of macrophages http://daap.dsi.universite-paris-saclay.fr/wiki/Analyse_des_macrophages Sana Tfaili http://daap.dsi.universite-paris-saclay.fr/wiki/User:Sana_Tfaili mailto:sana.tfaili@u-psud.fr
Phospholipids analysis by Raman vibrational spectroscopy http://daap.dsi.universite-paris-saclay.fr/wiki/Lip(Sys)2/Analyse_des_phospholipides_par_spectroscopie_vibrationnelle_Raman Sana Tfaili http://daap.dsi.universite-paris-saclay.fr/wiki/User:Sana_Tfaili mailto:sana.tfaili@u-psud.fr
Phospholipid analysis by Raman vibrational spectroscopy http://daap.dsi.universite-paris-saclay.fr/wiki/Lip(Sys)2/Analyse_des_phospholipides_par_spectroscopie_vibrationnelle_Raman Sana Tfaili http://daap.dsi.universite-paris-saclay.fr/wiki/User:Sana_Tfaili mailto:sana.tfaili@u-psud.fr
22:40:40 12/02/2023 -- Refresh -- Duration of query :1.038s -- CSV


VRAC

Combobox of projects

iri label orga
http://daap.dsi.universite-paris-saclay.fr/wiki/Analyse_des_macrophages Analysis of macrophages http://daap.dsi.universite-paris-saclay.fr/wiki/Lip(Sys)2
http://daap.dsi.universite-paris-saclay.fr/wiki/Lip(Sys)2/Analyse_des_phospholipides_par_spectroscopie_vibrationnelle_Raman Phospholipid analysis by Raman vibrational spectroscopy http://daap.dsi.universite-paris-saclay.fr/wiki/Lip(Sys)2
http://daap.dsi.universite-paris-saclay.fr/wiki/Lip(Sys)2/Analyse_des_phospholipides_par_spectroscopie_vibrationnelle_Raman Phospholipids analysis by Raman vibrational spectroscopy http://daap.dsi.universite-paris-saclay.fr/wiki/Lip(Sys)2
22:40:41 12/02/2023 -- Refresh -- Duration of query :1.035s -- CSV


Combobox of GeneralMethod

project iri label
http://daap.dsi.universite-paris-saclay.fr/wiki/Analyse_des_macrophages http://daap.dsi.universite-paris-saclay.fr/wiki/Analyse_des_macrophages_méthode_1 Analysis of macrophages method 1
http://daap.dsi.universite-paris-saclay.fr/wiki/Analyse_des_macrophages http://daap.dsi.universite-paris-saclay.fr/wiki/Analyse_des_macrophages_méthode_2 Analysis of macrophages method 2
22:40:41 12/02/2023 -- Refresh -- Duration of query :0.029s -- CSV


Combobox of Campaign

iri label filesDestination
22:40:42 12/02/2023 -- Refresh -- Duration of query :1.054s -- CSV


A vérifier

 ;
  sh:property [
      rdfs:label "check by"^^xsd:string ;
      sh:maxCount 1 ;
      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:path daapp:checkBy ;
      sh:class daapp:Individual ;
    ] 

.



daap:checkProject
  a rdf:Property ;
  rdfs:label "check project"^^xsd:string ;
.
daap:checkProtocol
  a rdf:Property ;
  rdfs:label "check protocol"^^xsd:string 
.


<http://daap.dsi.universite-paris-saclay.fr/wiki/Property:hasContact>
  a xsd:string ;
  rdfs:label "has contact"^^xsd:string 
.