oeg-upm / soca

Software Catalog Creator. A repository that given an organization URL, it will create a software catalog for browsing all repositories
Apache License 2.0
12 stars 5 forks source link

Ontology repos should show Ontology URI #43

Closed dgarijo closed 2 years ago

dgarijo commented 2 years ago

Right now they only show whether the repo is an ontology or not. However, SOMEF returns all the URIs that could be loaded in the repo. I think we should provide that info.

dakixr commented 2 years ago

Good idea :D

Should I use the URI or file_url data?

    "ontologies": {
        "excerpt": [
            {
                "uri": "http://bimerr.iot.linkeddata.es/def/building#",
                "file_url": "https://raw.githubusercontent.com/oeg-upm/bimerr-building/master/documentation/ontology.nt"
            },
            {
                "uri": "http://bimerr.iot.linkeddata.es/def/building#",
                "file_url": "https://raw.githubusercontent.com/oeg-upm/bimerr-building/master/documentation/ontology.xml"
            },
            {
                "uri": "http://bimerr.iot.linkeddata.es/def/building#",
                "file_url": "https://raw.githubusercontent.com/oeg-upm/bimerr-building/master/documentation/ontology.ttl"
            },
            {
                "uri": "http://bimerr.iot.linkeddata.es/def/building#",
                "file_url": "https://raw.githubusercontent.com/oeg-upm/bimerr-building/master/ontology/building.ttl"
            }
        ],
        "confidence": [
            1.0
        ],
        "technique": "File Exploration"
    }
dgarijo commented 2 years ago

URI, but omitting repeated URIs please. For example, in the example above the same ontology is returned in multiple serializations

dakixr commented 2 years ago

Perfect, that's how I implemented it