Changes how person details are parsed into RDF
@@ -145,10 +145,8 @@ import { getIn } from "../utils.js";
"won:hasAttachment": hasAttachmentUrls(isOrSeeksData)
? isOrSeeksData.attachmentUris.map(uri => ({ "@id": uri }))
: undefined,
- "won:hasPerson": !isOrSeeksData.person
- ? undefined
- : {
- "@type": "foaf:Person",
+ "won:hasPerson": isOrSeeksData.person,
+
"foaf:title": getIn(isOrSeeksData, ["person", "title"])
? getIn(isOrSeeksData, ["person", "title"])
: undefined,
@@ -167,10 +165,9 @@ import { getIn } from "../utils.js";
"s:knowsAbout": getIn(isOrSeeksData, ["person", "skills"])
? getIn(isOrSeeksData, ["person", "skills"]).toJS()
: undefined,
- "dc:description": getIn(isOrSeeksData, ["person", "bio"])
- ? getIn(isOrSeeksData, ["person", "bio"])
- : undefined,
- },
+ // "dc:description": getIn(isOrSeeksData, ["person", "bio"])
+ // ? getIn(isOrSeeksData, ["person", "bio"])
+ // : undefined,
"won:hasLocation": !isOrSeeksData.location
? undefined
: {
