Difference between revisions of "Events/Trainings/SEM/Modélisation"

From Wikibase Personal data
Jump to navigation Jump to search
Line 24: Line 24:
 
(pdio:Q834 "440044")
 
(pdio:Q834 "440044")
 
|selector_predicates=?predicates
 
|selector_predicates=?predicates
|predicates=pdiot:P3
+
|predicates=
 +
pdiot:P3
 
pdiot:P28
 
pdiot:P28
 
|label=Lumascape-like}}
 
|label=Lumascape-like}}

Revision as of 12:07, 15 January 2020

Exemples

Voir Visualizations

Modélisons un graphe

  • session post-it
  • sur machine

Faisons le tourner

PREFIX pdio: <https://wiki.personaldata.io/entity/>
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
#defaultView:Graph
SELECT  ?object ?objectLabel ?rgb ?subject ?subjectLabel 
WHERE {
  VALUES (?object ?rgb) {
    (pdio:Q110 "FF0000")
(pdio:Q495 "00FF00")
(pdio:Q559 "0000FF")
(pdio:Q153 "333333")
(pdio:Q491 "888800")  
(pdio:Q807 "008888")
(pdio:Q492 "880088")
(pdio:Q498 "440000")
(pdio:Q810 "004400")
(pdio:Q556 "000044")
(pdio:Q504 "004444")
(pdio:Q874 "444400")
(pdio:Q834 "440044")
    }
  VALUES ?predicates {
    pdiot:P3
pdiot:P28
    } 
  ?subject ?predicate ?object
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" . 
  }
}
LIMIT 1000

Lumascape-like (embedded)