CoLD - Color the Linked Data Web!
HowTo
To use this awesome approach the following three abilities exists:
- Put an IRI into the form on the startpage and submit. A HexCode appears, that can be copied to clipboard and used to color the specific resource in your application.
- You use the RGB Hex code, RGB JSON or RDF interface that returns the HexCode in the respective representation for automation of this workflow.
- Or you take a code snippet from the snippet page and integrate the algorithm into your application.
Examples using the HTML interface
Use the form or add the parameter ?iri=what_ever_should_be_colored as you can see if you click on one of the following links:
- color of dbpedia:Leipzig
- color of das:Netherlands
- color of aksw:SoerenAuer
- Even a dbpedia:Dipstick can be colored acceptable.
Examples using the RGB HEX interface
If you use the rgb.php instead of the index.php, you will receive only the RGB HEX code of the respective IRI. Try the following links:
- RGB of dbpedia:Leipzig or RGB/JSON of dbpedia:Leipzig
- RGB of das:Netherlands or RGB/JSON of das:Netherlands
- RGB of aksw:SoerenAuer or RGB/JSON of aksw:SoerenAuer
Examples using the RDF interface
If you use the rdf interface
- http://cold.aksw.org/rdf.php?iri=what_ever_you_want_to_color
- http://cold.aksw.org/rdf/?iri=what_ever_you_want_to_color
Returning RDF files are encoded in Turtle notation and contain a mapping between given IRI and a color resource from Linked Open Colors. For mapping of both resources we provide the color AnnotationProperty (http://cold.aksw.org/rdf/color).
Try the following links:
- RDF annotation of dbpedia:Leipzig
- RDF annotation of das:Netherlands
- RDF annotation of aksw:SoerenAuer