step

Full identifier: http://purl.org/np/RA5fShzytGWKODQD_DrLMyDYV-JMdqZ2XZhY9-aXKmboU#step

Assigned to 2 classes:

Minted in Nanopublication

 Make white background of image transparent ScriptTask Step comment approve/disapprove edit as derived nanopublication

This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#LinguisticSystem LinguisticSystem http://www.w3.org/2000/01/rdf-schema#label label (this is a literal) "python" .
This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#LinguisticSystem LinguisticSystem http://www.w3.org/2002/07/owl#versionInfo versionInfo (this is a literal) "3.7.9.final.0" .
This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#img img http://www.w3.org/2000/01/rdf-schema#comment comment (this is a literal) "None" .
This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#img img http://www.w3.org/2000/01/rdf-schema#label label (this is a literal) "img" .
This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#out1 out1 http://www.w3.org/2000/01/rdf-schema#comment comment (this is a literal) "None" .
This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#out1 out1 http://www.w3.org/2000/01/rdf-schema#label label (this is a literal) "out1" .
This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#step step http://purl.org/dc/terms/language language This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#LinguisticSystem LinguisticSystem .
This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#step step http://purl.org/net/p-plan#hasInputVar hasInputVar This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#img img .
This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#step step http://purl.org/net/p-plan#hasOutputVar hasOutputVar This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#out1 out1 .
This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#step step http://www.w3.org/2000/01/rdf-schema#label label (this is a literal) "Make white background of image transparent" .
This is the identifier for this whole nanopublication. http://purl.org/np/RA5fShzytG... This nanopublication the nanopublication consists of an introduction of the given resource http://purl.org/nanopub/x/introduces introduces This is a local identifier minted within the nanopublication. http://purl.org/np/RA5fShzytG...#step step .

References

Nanopublication Part Subject Predicate Object Published By Published On
links a nanopublication to its assertion http://www.nanopub.org/nschema#hasAssertion assertion
step
(unknown)
2021-06-14T16:10:06.100Z
links a nanopublication to its assertion http://www.nanopub.org/nschema#hasAssertion assertion
step
(unknown)
2021-06-14T16:09:45.106Z
links a nanopublication to its assertion http://www.nanopub.org/nschema#hasAssertion assertion
step
(unknown)
2021-06-14T16:09:45.106Z
links a nanopublication to its assertion http://www.nanopub.org/nschema#hasAssertion assertion
step
(unknown)
2021-06-14T16:09:42.142Z
links a nanopublication to its assertion http://www.nanopub.org/nschema#hasAssertion assertion
step
(unknown)
2021-06-14T16:09:42.142Z
links a nanopublication to its assertion http://www.nanopub.org/nschema#hasAssertion assertion
step
Make white background of image transparent
(unknown)
2021-06-14T16:09:42.142Z
links a nanopublication to its assertion http://www.nanopub.org/nschema#hasAssertion assertion
step
@is_fairstep(label='Make white background of image transparent') def white_to_transparency(img): from PIL import Image img = img.convert("RGBA") data = img.getdata() new_data = [] for item in data: if item[0] == 255 and item[1] == 255 and item[2] == 255: new_data.append((255, 255, 255, 0)) else: new_data.append(item) img.putdata(new_data) return img
(unknown)
2021-06-14T16:09:42.142Z
links a nanopublication to its assertion http://www.nanopub.org/nschema#hasAssertion assertion
step
(unknown)
2021-06-14T16:09:42.142Z
links a nanopublication to its assertion http://www.nanopub.org/nschema#hasAssertion assertion
step
(unknown)
2021-06-14T16:09:42.142Z
links a nanopublication to its assertion http://www.nanopub.org/nschema#hasAssertion assertion
step
(unknown)
2021-06-14T16:09:42.142Z

Show All

Raw

TriG(txt), JSON-LD(txt), N-Quads(txt), XML(txt)