We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems it's not documented how to query a namespace. For example, how to get a list of all entities like so:
print([e for e in foaf])
Output:
[<OntologyAttribute foaf.nick>, <OntologyAttribute foaf.sha1>, <OntologyAttribute foaf.firstName>, <OntologyAttribute foaf.family_name>, <OntologyAttribute foaf.icqChatID>, <OntologyAttribute foaf.lastName>, <OntologyAttribute foaf.plan>, <OntologyAttribute foaf.name>, <OntologyAttribute foaf.givenname>, <OntologyAttribute foaf.givenName>, <OntologyAttribute foaf.age>, <OntologyAttribute foaf.accountName>, <OntologyAttribute foaf.jabberID>, <OntologyAttribute foaf.surname>, <OntologyAttribute foaf.aimChatID>, <OntologyAttribute foaf.status>, <OntologyAttribute foaf.dnaChecksum>, <OntologyAttribute foaf.birthday>, <OntologyAttribute foaf.geekcode>, <OntologyAttribute foaf.yahooChatID>, <OntologyAttribute foaf.mbox_sha1sum>, <OntologyAttribute foaf.skypeID>, <OntologyAttribute foaf.myersBriggs>, <OntologyAttribute foaf.familyName>, <OntologyAttribute foaf.gender>, <OntologyAttribute foaf.title>, <OntologyAttribute foaf.msnChatID>, <OntologyRelationship foaf.theme>, <OntologyRelationship foaf.img>, <OntologyRelationship foaf.maker>, <OntologyRelationship foaf.currentProject>, <OntologyRelationship foaf.holdsAccount>, <OntologyRelationship foaf.logo>, <OntologyRelationship foaf.workplaceHomepage>, <OntologyRelationship foaf.topic_interest>, <OntologyRelationship foaf.thumbnail>, <OntologyRelationship foaf.topic>, <OntologyRelationship foaf.interest>, <OntologyRelationship foaf.member>, <OntologyRelationship foaf.pastProject>, <OntologyRelationship foaf.knows>, <OntologyRelationship foaf.weblog>, <OntologyRelationship foaf.focus>, <OntologyRelationship foaf.workInfoHomepage>, <OntologyRelationship foaf.homepage>, <OntologyRelationship foaf.openid>, <OntologyRelationship foaf.schoolHomepage>, <OntologyRelationship foaf.phone>, <OntologyRelationship foaf.page>, <OntologyRelationship foaf.account>, <OntologyRelationship foaf.accountServiceHomepage>, <OntologyRelationship foaf.made>, <OntologyRelationship foaf.primaryTopic>, <OntologyRelationship foaf.depicts>, <OntologyRelationship foaf.tipjar>, <OntologyRelationship foaf.based_near>, <OntologyRelationship foaf.mbox>, <OntologyRelationship foaf.fundedBy>, <OntologyRelationship foaf.depiction>, <OntologyRelationship foaf.publications>, <OntologyClass foaf.Person>, <OntologyClass foaf.Document>, <OntologyClass foaf.Project>, <OntologyClass foaf.OnlineAccount>, <OntologyClass foaf.Group>, <OntologyClass foaf.Organization>, <OntologyClass foaf.Agent>, <OntologyClass foaf.PersonalProfileDocument>, <OntologyClass foaf.LabelProperty>, <OntologyClass foaf.OnlineChatAccount>, <OntologyClass foaf.OnlineEcommerceAccount>, <OntologyClass foaf.OnlineGamingAccount>, <OntologyClass foaf.Image>]
The text was updated successfully, but these errors were encountered:
Agree, actually it is even easier print(list(foaf)). It makes sense to finish PR #559 on osp-core to make this even more natural.
print(list(foaf))
Sorry, something went wrong.
/cib
Branch 148-Docs_for_how_to_query_a_namespace created!
Create draft PR for #148
7697608
kysrpex
Successfully merging a pull request may close this issue.
It seems it's not documented how to query a namespace. For example, how to get a list of all entities like so:
Output:
The text was updated successfully, but these errors were encountered: