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

get all properties from the ontology #17

Open
ahmad88me opened this issue Apr 21, 2020 · 2 comments
Open

get all properties from the ontology #17

ahmad88me opened this issue Apr 21, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@ahmad88me
Copy link
Member

Currently, the following query is used

    PREFIX owl: <http://www.w3.org/2002/07/owl#>
    select ?a 
        where{
         {?a ?b owl:ObjectProperty} UNION
         {?a a rdf:Property } UNION
         {?a ?b owl:DatatypeProperty}
        }

however, not all properties are fetched with this query. I am looking for a query to fetch all properties

@ahmad88me ahmad88me added the help wanted Extra attention is needed label Apr 21, 2020
@dachafra
Copy link
Member

and using an external lib such as https://pypi.org/project/Owlready2/?
I used it in the OWL2YARRRML parser and it works pretty well

@ahmad88me
Copy link
Member Author

Thanks David, I will check it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants