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

delete hasAddress did not delete the address #29

Open
naturzukunft opened this issue Nov 23, 2020 · 0 comments
Open

delete hasAddress did not delete the address #29

naturzukunft opened this issue Nov 23, 2020 · 0 comments

Comments

@naturzukunft
Copy link

  1. i created a new pod
  2. and add two adresses:
@prefix : <#>.
@prefix solid: <http://www.w3.org/ns/solid/terms#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix pim: <http://www.w3.org/ns/pim/space#>.
@prefix schema: <http://schema.org/>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix pro: <./>.
@prefix n: <http://www.w3.org/2006/vcard/ns#>.
@prefix inbox: </inbox/>.
@prefix xyz: </>.

pro:card a foaf:PersonalProfileDocument; foaf:maker :me; foaf:primaryTopic :me.

:id1606159246101 n:street-address "street".

:id1606159272029
n:postal-code "1244"; n:region "myregion"; n:street-address "street2".
:me
    a schema:Person, foaf:Person;
    n:fn "xyz";
    n:hasAddress :id1606159246101, :id1606159272029;
    ldp:inbox inbox:;
    pim:preferencesFile </settings/prefs.ttl>;
    pim:storage xyz:;
    solid:account xyz:;
    solid:privateTypeIndex </settings/privateTypeIndex.ttl>;
    solid:publicTypeIndex </settings/publicTypeIndex.ttl>;
    foaf:name "xyz".
  1. Clicked on the red minus symbol below the address in the profile editor Label: "Remove this has Address". That results in:
@prefix : <#>.
@prefix solid: <http://www.w3.org/ns/solid/terms#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix pim: <http://www.w3.org/ns/pim/space#>.
@prefix schema: <http://schema.org/>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix pro: <./>.
@prefix n: <http://www.w3.org/2006/vcard/ns#>.
@prefix inbox: </inbox/>.
@prefix xyz: </>.

pro:card a foaf:PersonalProfileDocument; foaf:maker :me; foaf:primaryTopic :me.

:id1606159246101 n:street-address "street".

:id1606159272029
n:postal-code "1244"; n:region "myregion"; n:street-address "street2".
:me
    a schema:Person, foaf:Person;
    n:fn "xyz";
    n:hasAddress :id1606159272029;
    ldp:inbox inbox:;
    pim:preferencesFile </settings/prefs.ttl>;
    pim:storage xyz:;
    solid:account xyz:;
    solid:privateTypeIndex </settings/privateTypeIndex.ttl>;
    solid:publicTypeIndex </settings/publicTypeIndex.ttl>;
    foaf:name "xyz".
  1. hasAddress reference was deleted, but the address is still there.
    That is what the red minus tells me, but the pod will get messy after a time. I cannot find a way to delete the address id1606159246101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant