schemaorg / schemaorg

Schema.org - schemas and supporting software
https://schema.org/
Apache License 2.0
5.37k stars 822 forks source link

Adding DefinedTerm as range for properties expecting also a URL or PropertyValue or Text (if it corresponds to a standard) #3250

Open ljgarcia opened 1 year ago

ljgarcia commented 1 year ago

In Bioschemas, it has become a common practice to use DefinedTerm whenever possible (e.g., to avoid ambiguity, increase interoperability). However, DefinedTerm is not always an option as it is not listed within the expected types for the range of a given property.

A specific case is measurementTechnique. Some of the examples used for that property could be found in well-known ontologies, i.e., DefinedTerm would be ideal in those cases. How can we get DefinedTerm added as a range for measurementTechnique?

More in general, properties with ranges such as URL, PropertyValue and Text (when its use suggests a standard or enumeration) could benefit from the addition of DefinedTerm to the range. How to get there?

smrgeoinfo commented 1 year ago

YES!

sneumann commented 1 year ago

There was an earlier discussion on this started by @danbri in https://github.com/schemaorg/schemaorg/issues/3250, which went stale at some point. Yours, Steffen

gtsueng commented 1 year ago

Discussion from bioschemas issue 594 created by @meier-rene

gtsueng commented 1 year ago

Similar to the keywords property which has been updated to include DefinedTerm, many keyword-like properties like measurementTechnique could also benefit from the inclusion of DefinedTerm in the range of the property. Adding the DefinedTerm as a potential expected type for measurementTechnique is beneficial as it could be faster to serve the information if it's stored as a DefinedTerm rather than have to request and parse additional data from a URL, and it would be cleaner and more sensible than plain Text.

meier-rene commented 1 year ago

I strongly support this. I have created this issue at the issue board of the bioschemas community.

A little bit of explanation: In the live sciences, but also in other scientific disciplines, the different community have started to build up ontologies/controled vocabularies to harmonize the description of scientific data with proper metadata. In schema.org the natural type to accommodate these CV terms is the DefinedTerm.

When we add structured data to scientific data we like to use the type DataSet, because its properties fit to the data we want to describe. The properties measurementTechnique and variableMeasured belong to the most important properties for scientific data. The property variableMeasured can be of type PropertyValue, which again has a property measurementTechnique. This perfectly fits our needs. But as pointed out above the proper type to describe a measurementTechnique would be the DefinedTerm. Of course it would be possible to squeeze the reference to a CV term in a Text or URL type, but in the end its more demanding to get that information back and there is a perfect type for that in schema.org.

Thats why I ask you to please add DefinedTerm as expected type to measurementTechnique.

chrisspradling1980 commented 1 year ago

An Ethanologist would be the best range of options. Also, try Wiley College of John Hopkins university. They finalized an entropy or multiple phenom events which travel amongst the masses called Epilepsia and is derived from the medical terms epileptic seizure.

I think schema.org should consider marketing their cause throughout the University/Research contacts and bolster their cause considering the entrepreneurial incline availability inside the United States crypto currency stock market. There is no centralized banking constituent to crypto however, there is an assistant which preceptors inscribes a direction.

If somehow GIS and Scheme could become partners through Dublin Core, we could teach humans how to be humanoids, per Amazon EC2 Elastic load balancing that occurs in communication. I would appreciate seeing tech reps being developed with these tools in middle school age and will fight to see them compensated as they build their incentive as a Java courier literally.

Good day & Good luck—this project is interesting and exciting to follow—Thank ALL of you for what you do and using the technology right...!

Carpe Diem CLOSURE DOSSIER

Christopher Spradling

On Tue, Jan 24, 2023, 11:46 AM ljgarcia @.***> wrote:

In Bioschemas https://bioschemas.org/, it has become a common practice to use DefinedTerm whenever possible (e.g., to avoid ambiguity, increase interoperability). However, DefinedTerm is not always an option as it is not listed within the expected types for the range of a given property.

A specific case is measurementTechnique https://schema.org/measurementTechnique. Some of the examples used for that property could be found in well-known ontologies, i.e., DefinedTerm would be ideal in those cases. How can we get DefinedTerm added as a range for measurementTechnique https://schema.org/measurementTechnique?

More in general, properties with ranges such as URL, PropertyValue and Text (when its use suggests a standard or enumeration) could benefit from the addition of DefinedTerm to the range. How to get there?

— Reply to this email directly, view it on GitHub https://github.com/schemaorg/schemaorg/issues/3250, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFVNUTK2V6S3PKPW2TUJ4TWUAIODANCNFSM6AAAAAAUFMDXZY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

danbri commented 1 year ago

While I am wary of adding DefinedTerm indiscriminately across all of schema.org, it does make sense at least for measurementTechnique. Any others that are high priority to folks here?

danbri commented 1 year ago

Done! This is in release 19.0, just pushed to the live site.

danbri commented 1 year ago

Nearby (and still needing attention), https://github.com/schemaorg/schemaorg/issues/3125

gtsueng commented 1 year ago

@danbri-- @ljgarcia and @nsjuty are still in the process of reviewing properties that would benefit from having DefinedTerm in the range. So far, they have identified the following properties:

More details here: https://github.com/BioSchemas/specifications/discussions/618#discussioncomment-5947631

jvandriel commented 1 year ago

@gtsueng, @ljgarcia, @nsjuty, I have an overlapping question (#3328) in regards to the use of featureList specifically. Do any of you have thoughts about this?

ljgarcia commented 1 year ago

@meier-rene @chrisspradling1980 @sneumann DefinedTerm has been added to the range for a number properties, see https://schema.org/docs/releases.html

@jvandriel featureList is not in the list, see https://schema.org/DefinedTerm We are working on a number of other properties what would benefit of having DefinedTerm in the expected range. However it is in our list so it will be added on the Bioschemas side. Hopefully schema.org will do it later. We will ping them from our PR

jvandriel commented 1 year ago

I noticed featureList in @gtsueng's last comment, hence the callout.

github-actions[bot] commented 1 year ago

This issue is being nudged due to inactivity.

naouelkaram commented 11 months ago

From the side of NFDI4Biodiversity and after a discussion with @sneumann, we strongly support this effort especially for variableMeasured where we would like to link to standard variables. Our partner PANGAEA @uschindler is using subjectOf to introduce defined terms from CHEBI, PATO and QUDT. An example can be found here: https://doi.pangaea.de/10.1594/PANGAEA.952033?format=metadata_jsonld

uschindler commented 11 months ago

Example again, this time it is clickable: https://doi.pangaea.de/10.1594/PANGAEA.952033?format=metadata_jsonld

smrgeoinfo commented 7 months ago

propertyID should take a DefinedTerm.

SubjectOf doesn't make sense to me, why not use propertyID, its already available for sdo:PropertyValue? measurementTechnique already allows a DefinedTerm, the instrument URI information makes more sense there. here's a modified extract from @uschindler example:

{
    "@type": "PropertyValue",
    "name": "Fluorescence, dissolved organic matter",
    "unitText": "cts",
    "measurementTechnique": {
        "@id": "SDN:L22::TOOL0114",
        "@type": "DefinedTerm",
        "identifier": "SDN:L22::TOOL0114",
        "name": "WET Labs {Sea-Bird WETLabs} ac-3 absorption and attenuation meter",
        "url": "http://vocab.nerc.ac.uk/collection/L22/current/TOOL0114/"
    },
    "propertyID": [
        {
            "@id": "urn:obo:pato:term:0000018",
            "@type": "DefinedTerm",
            "identifier": "urn:obo:pato:term:0000018",
            "name": "fluorescence",
            "url": "http://purl.obolibrary.org/obo/PATO_0000018"
        },
        {
            "@type": "DefinedTerm",
            "name": "dissolved organic matter",
            "alternateName": "DOM",
            "url": "https://en.wikipedia.org/wiki/Dissolved_organic_carbon"
        },
        {
            "@type": "DefinedTerm",
            "name": "Abundance or Count",
            "url":"http://qudt.org/vocab/quantitykind/Count"
        }
    ]
}
smrgeoinfo commented 7 months ago

additionalType should also take a DefinedTerm.