Data:Project

From DAAP
Jump to navigation Jump to search

Prefixes

@prefix daapp: <http://daap.eu/wiki/Data:Project#> .
@prefix daapo: <http://daap.eu/wiki/Data:Organization#> .

@prefix daap: <http://daap.eu/wiki/> .
@prefix daapProp: <http://daap.eu/wiki/Property:> .
@prefix device: <http://daap.eu/ontology/2015/device#> .
@prefix maintenance: <http://daap.eu/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 sh: <http://www.w3.org/ns/shacl#> .
@prefix wd: <http://www.wikidata.org/entity/> .
@prefix world: <http://daap.eu/ontology/2015/world#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

Classes

Project

Definition

daapp:Project
  rdf:type owl: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
  rdf:type sh:Shape ;
#  a sh:NodeShape ;
  sh:targetClass daapp:Project ;
  sh:property [
# doesnt work ?
#	sh:uniqueLang true ;
#	sh:languageIn ( "en" "fr" ) ;
      rdfs:label "Label" ;
      sh:minCount 3 ;
      sh:predicate rdfs:label ;
    ];
  sh:property [
      rdfs:label "contact"^^xsd:string ;
      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:predicate daapp:contact ;
      sh:class daapo:Individual ;
    ] ;
  sh:property [
      rdfs:label "item"^^xsd:string ;
      sh:nodeKind sh:IRI ;
      sh:predicate <http://daap.eu/wiki/Property: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:predicate <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:predicate rdfs:seeAlso ;
      sh:class rdfs:Resource ;
    ] ;
  sh:property [
      rdfs:label "signature"^^xsd:string ;
      sh:datatype xsd:string ;
      sh:maxCount 1 ;
      sh:minCount 1 ;
      sh:predicate daapp:signature ;
    ] ;
#  sh:property [
#      rdfs:label "use device"^^xsd:string ;
#      sh:minCount 1 ;
#      sh:nodeKind sh:IRI ;
#      sh:predicate <http://daap.eu/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:predicate <http://daap.eu/wiki/Property:protocol> ;
#    ] ;
  sh:property [
      rdfs:label "hasGeneralMethod"^^xsd:string ;
      sh:minCount 1 ;
      sh:predicate daapp:signature ;
      sh:class daapp:GeneralMethod ;
      sh:nodeKind sh:IRI ;
    ] ;
.

GeneralMethod

Definition

daapp:GeneralMethod
  rdf:type owl:Class ;
  rdfs:label "General method"@en ;
  rdfs:label "Méthode générale"@fr ;
  rdfs:subClassOf owl:Thing .

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
  rdf:type sh:Shape ;
#  a sh:NodeShape ;
  sh:targetClass daapp:GeneralMethod ;
  sh:property [
# doesnt work ?
#	sh:uniqueLang true ;
#	sh:languageIn ( "en" "fr" ) ;
      rdfs:label "Label" ;
      sh:minCount 3 ;
      sh:predicate rdfs:label ;
    ];
  sh:property [
      rdfs:label "hasCampaign"^^xsd:string ;
      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:predicate daapp:hasCampaign ;
      sh:class daapp:Campaign ;
    ] ;
.

Campaign

Definition

daapp:Campaign
  rdf:type owl:Class ;
  rdfs:label "Campaign"@en ;
  rdfs:label "Campagne"@fr ;
  rdfs:subClassOf owl:Thing .

Properties

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

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
| Folder = file://192.168.1.2/test/backup/DEV1-PC/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
  rdf:type sh:Shape ;
#  a sh:NodeShape ;
  sh:targetClass daapp:Campaign ;
  sh:property [
# doesnt work ?
#	sh:uniqueLang true ;
#	sh:languageIn ( "en" "fr" ) ;
      rdfs:label "Label" ;
      sh:minCount 2 ;
      sh:predicate rdfs:label ;
      sh:datatype rdf:langString ;
    ];
  sh:property [
      rdfs:label "Label" ;
      sh:minCount 1 ;
      sh:predicate rdfs:label ;
      sh:datatype xsd:string ;
    ];
  sh:property [
      rdfs:label "Responsible"^^xsd:string ;
      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:predicate 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:predicate daapp:dateBegin ;
    ] ;
  sh:property [
      rdfs:label "daapp:dateEnd"^^xsd:string ;
      sh:datatype xsd:date ;
      sh:maxCount 1 ;
      sh:minCount 1 ;
      sh:predicate daapp:dateEnd ;
    ] ;
  sh:property [
      rdfs:label "filesDestination"^^xsd:string ;
      sh:maxCount 1 ;
      sh:minCount 1 ;
      sh:nodeKind sh:IRI ;
      sh:predicate daapp:filesDestination ;
      sh:class rdfs:Resource ;
    ] ;

.

Properties

contact

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

signature

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

useDevice

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

hasGeneralMethod

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

hasCampaign

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

filesDestination

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

experimentalData

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

artefactData

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

ressourceData

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

protocolData

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

data

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

Examples

Instances

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

myProject: 
   rdf:type daapp:Project ;
   rdfs:label "Mon Projet"@fr ;
   rdfs:label "My Projet"@en ;

Applications

DAAP

List of projects

prefix daapp: <http://daap.eu/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
       rdf:type 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 mouse macrophages J774 by Raman and Infrared vibrational spectroscopies http://daap.eu/wiki/Lip(Sys)2/Analyse_des_macrophages_de_souris_les_J774_par_spectroscopies_vibrationnelles_Raman_et_Infrarouge Sana Tfaili http://daap.eu/wiki/User:Sana_Tfaili mailto:sana.tfaili@u-psud.fr
15:57:05 04/22/2019 -- Refresh -- Duration of query :0.012s -- CSV


VRAC

Combobox of projects

iri label orga
http://daap.eu/wiki/Analyse_des_macrophages Analysis of mouse macrophages "J774" by Raman and Infrared vibrational spectroscopies http://daap.eu/wiki/Lip(Sys)2
http://daap.eu/wiki/Lip(Sys)2/Analyse_des_macrophages_de_souris_les_J774_par_spectroscopies_vibrationnelles_Raman_et_Infrarouge Analysis of mouse macrophages J774 by Raman and Infrared vibrational spectroscopies http://daap.eu/wiki/Lip(Sys)2
15:57:05 04/22/2019 -- Refresh -- Duration of query :0.009s -- CSV


Combobox of GeneralMethod

project iri label
http://daap.eu/wiki/Analyse_des_macrophages http://daap.eu/wiki/Analyse_des_macrophages_méthode_2 Analysis of macrophages method 2
15:57:05 04/22/2019 -- Refresh -- Duration of query :0.009s -- CSV


Combobox of Campaign

iri label filesDestination
15:57:05 04/22/2019 -- Refresh -- Duration of query :0.009s -- CSV


A vérifier

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

.



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


<http://daap.eu/wiki/Property:hasContact>
  rdf:type xsd:string ;
  rdfs:label "has contact"^^xsd:string ;
.