Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concept tree not showing narrowers #154

Open
nicholascar opened this issue Mar 12, 2024 · 2 comments
Open

Concept tree not showing narrowers #154

nicholascar opened this issue Mar 12, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nicholascar
Copy link
Member

The expandable Concept tree on many vocab's home page doesn't expand showing narrower concepts, e.g.

https://gsq-prez.dev.kurrawong.ai/v/vocab/defn:address-classes

which should allow Thoroughfare to be expanded, as per the data shown on the Concept's page:

https://gsq-prez.dev.kurrawong.ai/v/vocab/defn:address-classes/ddrss-clsss:thoroughfare

@nicholascar nicholascar added the bug Something isn't working label Mar 12, 2024
@nicholascar
Copy link
Member Author

nicholascar commented Mar 12, 2024

I think the hierarchy only works with broader, not narrower, e.g. for Borehole Status:

https://gsq-prez.dev.kurrawong.ai/v/vocab/def:borehole-status

see

https://gsq-prez.dev.kurrawong.ai/v/vocab/def:borehole-status/brhl-stts:drilling-completed which indicates its braoder term

We need the UI tree to understand narrower as well as, or in addition to, broader

@jamiefeiss
Copy link
Collaborator

jamiefeiss commented Mar 14, 2024

Upon inspection of both https://gsq-prez.dev.kurrawong.ai/v/vocab/defn:address-classes and https://gsq-prez.dev.kurrawong.ai/v/vocab/defn:geocode-types, it looks like the narrower concepts aren't being shown under the expanded parent concept as those narrower concepts are also top concepts. For example (shortened for simplicity):

<https://linked.data.gov.au/def/address-classes/thoroughfare> skos:inScheme <https://linked.data.gov.au/def/address-classes> ;
    skos:narrower <https://linked.data.gov.au/def/address-classes/street> ;
    skos:prefLabel "Thoroughfare"@en ;
.

<https://linked.data.gov.au/def/address-classes> a skos:ConceptScheme ;
    skos:hasTopConcept <https://linked.data.gov.au/def/address-classes/street>,
        <https://linked.data.gov.au/def/address-classes/thoroughfare> ;
    skos:prefLabel "Address Classes"@en ;
.

Where "street" is a narrower concept of "thoroughfare", but "street" is also a top concept.

Is this a valid scenario where narrower concepts can also be top concepts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants