Difference between revisions of "Data:Project"

From DAAP
Jump to navigation Jump to search
Line 10: Line 10:
  
 
prefix daap: <http://daap.dsi.universite-paris-saclay.fr/wiki/>  
 
prefix daap: <http://daap.dsi.universite-paris-saclay.fr/wiki/>  
prefix daapProp: <http://daap.dsi.universite-paris-saclay.fr/wiki/Property:>
 
prefix device: <http://daap.dsi.universite-paris-saclay.fr/ontology/2015/device#>
 
prefix maintenance: <http://daap.dsi.universite-paris-saclay.fr/ontology/2015/maintenance#>
 
prefix owl: <http://www.w3.org/2002/07/owl#>
 
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
 
 
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
 
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 sh: <http://www.w3.org/ns/shacl#>  
prefix wd: <http://www.wikidata.org/entity/>
 
prefix world: <http://daap.dsi.universite-paris-saclay.fr/ontology/2015/world#>
 
 
prefix xsd: <http://www.w3.org/2001/XMLSchema#>  
 
prefix xsd: <http://www.w3.org/2001/XMLSchema#>  
  
Line 31: Line 25:
 
<rdf>
 
<rdf>
 
daapp:Project
 
daapp:Project
   rdf:type owl:Class ;
+
   a rdfs:Class ;
 
   rdfs:label "Project"@en ;
 
   rdfs:label "Project"@en ;
 
   rdfs:label "Projet"@fr ;
 
   rdfs:label "Projet"@fr ;
Line 136: Line 130:
 
<rdf>
 
<rdf>
 
daapp:GeneralMethod
 
daapp:GeneralMethod
   rdf:type owl:Class ;
+
   a rdfs:Class ;
 
   rdfs:label "General method"@en ;
 
   rdfs:label "General method"@en ;
   rdfs:label "Méthode générale"@fr ;
+
   rdfs:label "Méthode générale"@fr .
  rdfs:subClassOf owl:Thing .
 
  
 
</rdf>
 
</rdf>
Line 185: Line 178:
 
       sh:path daapp:hasCampaign ;
 
       sh:path daapp:hasCampaign ;
 
       sh:class daapp:Campaign ;
 
       sh:class daapp:Campaign ;
     ] ;
+
     ]  
 
.
 
.
 
</rdf>
 
</rdf>
Line 193: Line 186:
 
<rdf>
 
<rdf>
 
daapp:Campaign
 
daapp:Campaign
   rdf:type owl:Class ;
+
   a rdfs:Class ;
 
   rdfs:label "Campaign"@en ;
 
   rdfs:label "Campaign"@en ;
   rdfs:label "Campagne"@fr ;
+
   rdfs:label "Campagne"@fr .
  rdfs:subClassOf owl:Thing .
 
  
 
</rdf>
 
</rdf>
Line 236: Line 228:
 
       sh:minCount 2 ;
 
       sh:minCount 2 ;
 
       sh:path rdfs:label ;
 
       sh:path rdfs:label ;
      sh:datatype rdf:langString ;
 
 
     ];
 
     ];
 
   sh:property [
 
   sh:property [
Line 246: Line 237:
 
   sh:property [
 
   sh:property [
 
       rdfs:label "Responsible"^^xsd:string ;
 
       rdfs:label "Responsible"^^xsd:string ;
      sh:minCount 1 ;
+
#      sh:minCount 1 ;
 
       sh:nodeKind sh:IRI ;
 
       sh:nodeKind sh:IRI ;
 
       sh:path daapp:responsible ;
 
       sh:path daapp:responsible ;
Line 285: Line 276:
 
<rdf>
 
<rdf>
 
daapp:contact
 
daapp:contact
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:label "contact for this object"^^xsd:string ;
 
   rdfs:label "contact for this object"^^xsd:string ;
 
.
 
.
Line 292: Line 283:
 
<rdf>
 
<rdf>
 
daapp:signature
 
daapp:signature
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:label "Official signature of this project in the publication"^^xsd:string  
 
   rdfs:label "Official signature of this project in the publication"^^xsd:string  
 
.
 
.
Line 299: Line 290:
 
<rdf>
 
<rdf>
 
daapp:useDevice
 
daapp:useDevice
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:domain daap:Project ;
 
   rdfs:domain daap:Project ;
 
   rdfs:label "use device"^^xsd:string ;
 
   rdfs:label "use device"^^xsd:string ;
Line 308: Line 299:
 
<rdf>
 
<rdf>
 
daapp:hasGeneralMethod  
 
daapp:hasGeneralMethod  
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:label "General method";
 
   rdfs:label "General method";
 
   rdfs:label "General method"@en ;
 
   rdfs:label "General method"@en ;
Line 317: Line 308:
 
<rdf>
 
<rdf>
 
daapp:hasCampaign
 
daapp:hasCampaign
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:label "campaign"^^xsd:string  
 
   rdfs:label "campaign"^^xsd:string  
 
.
 
.
Line 324: Line 315:
 
<rdf>
 
<rdf>
 
daapp:filesDestination
 
daapp:filesDestination
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:label "destination des fichiers"@fr ;
 
   rdfs:label "destination des fichiers"@fr ;
 
   rdfs:label "files destination"@en  
 
   rdfs:label "files destination"@en  
Line 332: Line 323:
 
<rdf>
 
<rdf>
 
daapp:experimentalData  
 
daapp:experimentalData  
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:subPropertyOf daapp:data ;
 
   rdfs:subPropertyOf daapp:data ;
 
   rdfs:label ""@fr ;
 
   rdfs:label ""@fr ;
Line 341: Line 332:
 
<rdf>
 
<rdf>
 
daapp:artefactData  
 
daapp:artefactData  
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:subPropertyOf daapp:data ;
 
   rdfs:subPropertyOf daapp:data ;
 
   rdfs:label ""@fr ;
 
   rdfs:label ""@fr ;
Line 351: Line 342:
 
<rdf>
 
<rdf>
 
daapp:ressourceData
 
daapp:ressourceData
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:subPropertyOf daapp:data ;
 
   rdfs:subPropertyOf daapp:data ;
 
   rdfs:label ""@fr ;
 
   rdfs:label ""@fr ;
Line 361: Line 352:
 
<rdf>
 
<rdf>
 
daapp:protocolData  
 
daapp:protocolData  
   rdf:type rdf:Property ;
+
   a rdf:Property ;
rdfs:subPropertyOf daapp:data ;
+
  rdfs:subPropertyOf daapp:data ;
 
   rdfs:label ""@fr ;
 
   rdfs:label ""@fr ;
 
   rdfs:label ""@en  
 
   rdfs:label ""@en  
Line 371: Line 362:
 
<rdf>
 
<rdf>
 
daapp:data  
 
daapp:data  
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:label "file of data"@en  
 
   rdfs:label "file of data"@en  
 
.
 
.
Line 384: Line 375:
  
 
myProject:  
 
myProject:  
   rdf:type daapp:Project ;
+
   a daapp:Project ;
 
   rdfs:label "Mon Projet"@fr ;
 
   rdfs:label "Mon Projet"@fr ;
 
   rdfs:label "My Projet"@en .
 
   rdfs:label "My Projet"@en .
Line 400: Line 391:
 
where {
 
where {
 
   ?labelLink
 
   ?labelLink
       rdf:type daapp:Project ;
+
       a daapp:Project ;
 
       rdfs:label ?label  ;
 
       rdfs:label ?label  ;
 
       daapp:contact ?contactLink .
 
       daapp:contact ?contactLink .
Line 418: Line 409:
 
where {
 
where {
 
   ?labelLink
 
   ?labelLink
       rdf:type daapp:Project ;
+
       a daapp:Project ;
 
       rdfs:label ?label  ;
 
       rdfs:label ?label  ;
 
       daapp:contact ?contactLink .
 
       daapp:contact ?contactLink .
Line 441: Line 432:
 
where {
 
where {
 
   ?iri
 
   ?iri
       rdf:type daapp:Project ;
+
       a daapp:Project ;
 
       rdfs:label ?label ;
 
       rdfs:label ?label ;
 
     vcard:organization-unit  ?orga .     
 
     vcard:organization-unit  ?orga .     
Line 508: Line 499:
  
 
daap:checkProject
 
daap:checkProject
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:label "check project"^^xsd:string ;
 
   rdfs:label "check project"^^xsd:string ;
 
.
 
.
 
daap:checkProtocol
 
daap:checkProtocol
   rdf:type rdf:Property ;
+
   a rdf:Property ;
 
   rdfs:label "check protocol"^^xsd:string  
 
   rdfs:label "check protocol"^^xsd:string  
 
.
 
.
Line 518: Line 509:
  
 
<http://daap.dsi.universite-paris-saclay.fr/wiki/Property:hasContact>
 
<http://daap.dsi.universite-paris-saclay.fr/wiki/Property:hasContact>
   rdf:type xsd:string ;
+
   a xsd:string ;
 
   rdfs:label "has contact"^^xsd:string  
 
   rdfs:label "has contact"^^xsd:string  
 
.
 
.
 
</pre>
 
</pre>

Revision as of 19:23, 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
10:44:39 12/07/2022 -- Refresh -- Duration of query :0.023s -- 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
10:44:39 12/07/2022 -- Refresh -- Duration of query :0.02s -- 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
10:44:39 12/07/2022 -- Refresh -- Duration of query :0.016s -- CSV


Combobox of Campaign

iri label filesDestination
10:44:39 12/07/2022 -- Refresh -- Duration of query :0.013s -- 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 
.