2020-07-28

back to Announcements

Attending: Josh (notes), Petr, Frances, June, Jason, Mark, Chris, Dom, Kevin, Simon, Seb, David,

Melissa,

Start: 2:00 pm

  1. Accepting minutes from last meeting

  1. Project Status

(2-3 minutes each)

  1. AOB

(5 min. max; tech. Discussion should be highlighted to relevant people and rescheduled)

  1. Main Topic

(20-25 minutes plus 15 minutes questions max)

Flight markup from gmail

https://developers.google.com/gmail/markup/reference/flight-reservation

<script type=”application/ld+json”>

{

“@context”: “http://schema.org”,

“@type”: “FlightReservation”

“reservationNumber”: “RXJ34P”,

“reservationStatus”: “http://schema.org/Confirmed”,

“underName”: {

“@type”: “Person”,

“name”: “Eva Green”

},

“reservationFor”: {

“@type”: “Flight”,

“flightNumber”: “110”,

“airline”: {

“@type”: “Airline”,

“name”: “United”,

“iataCode”: “UA”

},

“departureAirport”: {

“@type”: “Airport”,

“name”: “San Francisco Airport”,

“iataCode”: “SFO”

},

“departureTime”: “2027-03-04T20:15:00-08:00”,

“arrivalAirport”: {

“@type”: “Airport”,

“name”: “John F. Kennedy International Airport”,

“iataCode”: “JFK”

},

“arrivalTime”: “2027-03-05T06:30:00-05:00”

}

}

</script>

Fake example

{

“@context”: [

“../../../.zattrs”

https://openmicroscopy.org/json-ld/v1/image.jsonld”,

https://openmicroscopy.org/json-ld/v1/masks.jsonld

],

“@id”: “https://idr.openmicroscopy.org/image/1”,

“@type”: “ome:image”,

“name”: “Example”,

“dimensions”: [“x”, “y”, “z”, “c”, “t”]

}

Current difficulty of complexity/verbosity

See https://gitlab.com/openmicroscopy/incubator/ome-owl/-/tree/master/ontology/RDF/JSON-LD/2016-06/sample

“http://www.openmicroscopy.org/rdf/2016-06/ome_core/physicalSizeX”: {

“@id”: “_:b5”,

“@type”: “PATO:0000117”,

“http://qudt.org/schema/qudt/unit”: {

“@id”: “http://www.openmicroscopy.org/rdf/2016-06/ome_core/Unit/UnitLength#um”,

“@type”: “http://www.w3.org/2000/01/rdf-schema#Class”

},

“http://www.w3.org/1999/02/22-rdf-syntax-ns#value”: {

“@type”: “http://www.w3.org/2001/XMLSchema#float”,

“@value”: “100000.0”

}

},

Versus

“physicalSizeX” : {

“@type” : “PATO:0000117”,

“unit” : “unitLength:um”,

“value” : {

“@type” : “xsd:float”,

“@value” : “100000.0”

}

},

omero-marshal example

See https://github.com/ome/omero-marshal/blob/master/tests/unit/test\_image\_pixels\_encoder.py

‘@id’: 1,

‘@type’: ‘%s#Image’ % OME_SCHEMA_URL,

‘AcquisitionDate’: 1,

‘Name’: ‘image_name_1’,

‘omero:archived’: False,

‘Description’: ‘image_description_1’,

‘omero:partial’: False,

‘omero:series’: 0,

‘omero:format’: {

‘@id’: 1,

‘@type’: ‘TBD#Format’,

‘value’: ‘PNG’,

‘omero:details’: {‘@type’: ‘TBD#Details’},

},

‘Pixels’: {

‘@id’: 1,

‘@type’: ‘%s#Pixels’ % OME_SCHEMA_URL,

‘omero:methodology’: ‘methodology’,

‘PhysicalSizeX’: {

‘@type’: ‘TBD#LengthI’,

‘Unit’: ‘MICROMETER’,

‘Symbol’: ‘µm’,

‘Value’: 1.0

},

‘PhysicalSizeY’: {

‘@type’: ‘TBD#LengthI’,

‘Unit’: ‘MICROMETER’,

‘Symbol’: ‘µm’,

‘Value’: 2.0

},

‘PhysicalSizeZ’: {

‘@type’: ‘TBD#LengthI’,

‘Unit’: ‘MICROMETER’,

‘Symbol’: ‘µm’,

‘Value’: 3.0

},

‘omero:sha1’: ‘61ee8b5601a84d5154387578466c8998848ba089’,

‘SignificantBits’: 16,

‘SizeX’: 1,

‘SizeY’: 2,

‘SizeZ’: 3,

‘SizeC’: 4,

‘SizeT’: 5,

‘TimeIncrement’: {

‘@type’: ‘TBD#TimeI’,

‘Unit’: ‘MILLISECOND’,

‘Symbol’: ‘ms’,

‘Value’: 1.0

},

‘omero:waveIncrement’: 2.0,

‘omero:waveStart’: 1,

‘DimensionOrder’: {

‘@id’: 1,

‘@type’: ‘TBD#DimensionOrder’,

‘value’: ‘XYZCT’,

‘omero:details’: {‘@type’: ‘TBD#Details’}

},

‘Type’: {

‘@id’: 1,

‘@type’: ‘TBD#PixelsType’,

‘value’: ‘bit’,

‘omero:details’: {‘@type’: ‘TBD#Details’}

},

‘Channels’: [{

‘@id’: 1,

‘@type’: ‘%s#Channel’ % OME_SCHEMA_URL,

‘AcquisitionMode’: {

‘@id’: 1,

‘@type’: ‘TBD#AcquisitionMode’,

‘omero:details’: {‘@type’: ‘TBD#Details’},

‘value’: ‘WideField’

},

‘Color’: -1,

‘ContrastMethod’: {

‘@id’: 8,

‘@type’: ‘TBD#ContrastMethod’,

‘omero:details’: {‘@type’: ‘TBD#Details’},

‘value’: ‘Fluorescence’

},

‘EmissionWavelength’: {

‘@type’: ‘TBD#LengthI’,

‘Symbol’: ‘nm’,

‘Unit’: ‘NANOMETER’,

‘Value’: 509.0

},

‘ExcitationWavelength’: {

‘@type’: ‘TBD#LengthI’,

‘Symbol’: ‘nm’,

‘Unit’: ‘NANOMETER’,

‘Value’: 488.0

},

‘Fluor’: ‘GFP’,

‘Illumination’: {

‘@id’: 1,

‘@type’: ‘TBD#Illumination’,

‘omero:details’: {‘@type’: ‘TBD#Details’},

‘value’: ‘Transmitted’

},

‘NDFilter’: 1.0,

‘Name’: ‘GFP/488’,

‘PinholeSize’: {

‘@type’: ‘TBD#LengthI’,

‘Symbol’: ‘nm’,

‘Unit’: ‘NANOMETER’,

‘Value’: 1.0

},

‘PockelCellSetting’: 0,

‘SamplesPerPixel’: 2,

‘omero:LogicalChannelId’: 1,

‘omero:details’: {‘@type’: ‘TBD#Details’},

‘omero:lookupTable’: ‘rainbow’,

‘omero:photometricInterpretation’: {

‘@id’: 1,

‘@type’: ‘TBD#PhotometricInterpretation’,

‘omero:details’: {‘@type’: ‘TBD#Details’},

‘value’: ‘RGB’

}

}

Provenance example

[

{

“@id” : “:labeled_image_123”,

“@type” : “prov:Entity”, // subclass prov:Entity?

“qualifiedDerivation” : {

“@type” : “prov:Derivation”,

“entity” : “:source_image”,

“hadActivity” : “:label_creation”

}

“wasDerivedFrom” : “:source_image”

}, {

“@id” : “:label_creation”,

“@type” : “prov:Activity”,

“startedAtTime” : “2020-07-16T01:52:02Z”,

“endedAtTime” : “2020-07-16T03:00:02Z”,

“wasAssociatedWith” : “https://orcid.org/0000-0003-4028-811X” // Josh

}

]

https://www.w3.org/TR/prov-o/

{

“@graph” : [ {

“@id” : “http://cultura.linkeddata.es/BNE/resource/C1001/XX2197892”,

“@type” : [ “frbr:Work”, “prov:Entity” ],

“language” : “lang:spa”,

“wasAttributedTo” : “:cervantes”

}, {

“@id” : “:cervantes”,

“@type” : “prov:Person”,

“name” : “Miguel de Cervantes”

}, {

“@id” : “:ormsby”,

“@type” : “prov:Person”,

“name” : “John Ormsby”

}, {

“@id” : “http://www.gutenberg.org/ebooks/996”,

“@type” : [ “frbr:Work”, “prov:Entity” ],

“language” : “lang:eng”,

“title” : “Don Quixote”,

“hadPrimarySource” : “http://cultura.linkeddata.es/BNE/resource/C1001/XX2197892”,

“wasAttributedTo” : “:ormsby”

} ],

“@id” : “urn:x-arq:DefaultGraphNode”,

“@context” : {

“name” : “http://xmlns.com/foaf/0.1/name”,

“hadPrimarySource” : {

“@id” : “http://www.w3.org/ns/prov#hadPrimarySource”,

“@type” : “@id”

},

“language” : {

“@id” : “http://purl.org/dc/terms/language”,

“@type” : “@id”

},

“wasAttributedTo” : {

“@id” : “http://www.w3.org/ns/prov#wasAttributedTo”,

“@type” : “@id”

},

“title” : “http://purl.org/dc/terms/title”,

“@base” : “http://example.com/”,

”” : “http://example.com/”,

“owl” : “http://www.w3.org/2002/07/owl#”,

“xsd” : “http://www.w3.org/2001/XMLSchema#”,

“dcterms” : “http://purl.org/dc/terms/”,

“rdfs” : “http://www.w3.org/2000/01/rdf-schema#”,

“lang” : “http://lexvo.org/id/iso639-3/”,

“frbr” : “http://purl.org/vocab/frbr/core#”,

“prov” : “http://www.w3.org/ns/prov#”,

“foaf” : “http://xmlns.com/foaf/0.1/”

}

}

https://www.w3.org/TR/2013/REC-prov-o-20130430/#narrative-example-qualified-5

{

“@graph” : [

{

“@id” : “_:b0”,

“@type” : “prov:Generation”,

“activity” : “:illustrationActivity”,

“atTime” : “2011-07-14T15:52:14Z”

}, {

“@id” : “:bar_chart”,

“@type” : “prov:Entity”,

“qualifiedGeneration” : “_:b0”,

“wasGeneratedBy” : “:illustrationActivity”

}, {

“@id” : “:illustrationActivity”,

“@type” : “prov:Activity”

}

],

“@context” : {

“qualifiedGeneration” : {

“@id” : “http://www.w3.org/ns/prov#qualifiedGeneration”,

“@type” : “@id”

},

“wasGeneratedBy” : {

“@id” : “http://www.w3.org/ns/prov#wasGeneratedBy”,

“@type” : “@id”

},

“atTime” : {

“@id” : “http://www.w3.org/ns/prov#atTime”,

“@type” : “http://www.w3.org/2001/XMLSchema#dateTime”

},

“activity” : {

“@id” : “http://www.w3.org/ns/prov#activity”,

“@type” : “@id”

},

“@base” : “http://example.org#”,

”” : “http://example.org#”,

“xsd” : “http://www.w3.org/2001/XMLSchema#”,

“prov” : “http://www.w3.org/ns/prov#”

}

}

https://www.w3.org/TR/prov-o/\#qualifiedGeneration

{

“@graph” : [ {

“@id” : “_:b0”,

“@type” : “prov:Derivation”,

“entity” : “:aggregatedByRegions”,

“hadActivity” : “:chart_creation”,

“hadGeneration” : “:chat_plotting”

}, {

“@id” : “:bar_chart”,

“@type” : “prov:Entity”,

“qualifiedDerivation” : “_:b0”,

“wasDerivedFrom” : “:aggregatedByRegions”

}, {

“@id” : “:chart_creation”,

“@type” : “prov:Activity”,

“endedAtTime” : “2011-07-16T03:00:02Z”,

“startedAtTime” : “2011-07-16T01:52:02Z”,

“wasAssociatedWith” : “:derek”

}, {

“@id” : “:chat_plotting”,

“@type” : “prov:Generation”,

“atTime” : “2011-07-16T03:00:02Z”

} ],

“@id” : “urn:x-arq:DefaultGraphNode”,

“@context” : {

“hadActivity” : {

“@id” : “http://www.w3.org/ns/prov#hadActivity”,

“@type” : “@id”

},

“hadGeneration” : {

“@id” : “http://www.w3.org/ns/prov#hadGeneration”,

“@type” : “@id”

},

“entity” : {

“@id” : “http://www.w3.org/ns/prov#entity”,

“@type” : “@id”

},

“endedAtTime” : {

“@id” : “http://www.w3.org/ns/prov#endedAtTime”,

“@type” : “http://www.w3.org/2001/XMLSchema#dateTime”

},

“startedAtTime” : {

“@id” : “http://www.w3.org/ns/prov#startedAtTime”,

“@type” : “http://www.w3.org/2001/XMLSchema#dateTime”

},

“wasAssociatedWith” : {

“@id” : “http://www.w3.org/ns/prov#wasAssociatedWith”,

“@type” : “@id”

},

“qualifiedDerivation” : {

“@id” : “http://www.w3.org/ns/prov#qualifiedDerivation”,

“@type” : “@id”

},

“wasDerivedFrom” : {

“@id” : “http://www.w3.org/ns/prov#wasDerivedFrom”,

“@type” : “@id”

},

“atTime” : {

“@id” : “http://www.w3.org/ns/prov#atTime”,

“@type” : “http://www.w3.org/2001/XMLSchema#dateTime”

},

“@base” : “http://example.com/”,

”” : “http://example.com/”,

“owl” : “http://www.w3.org/2002/07/owl#”,

“xsd” : “http://www.w3.org/2001/XMLSchema#”,

“rdfs” : “http://www.w3.org/2000/01/rdf-schema#”,

“prov” : “http://www.w3.org/ns/prov#”

}

}

Other prov links:

back to top