Context
Wiki Pages contain a list of Subjects. (Find more details about the terminology at https://github.com/ProfessionalWiki/NeoWiki/blob/master/docs/concepts/glossary.md.)
One Subject can be marked as "Main Subject", which means it represents the same topic as the page. This allows you to say "give/show me the main subject of this page". The other Subjects on the page are called "Child Subjects".
For understanability, below is what is persisted in a wiki page (Subject bodied omitted). Note that all Subjects are in the same list, they are structurally all the same. The only difference is that the page knows what the Main Subject is by keeping track of its ID.
{
"mainSubject": "sEpfwJLnxyQy6vR",
"subjects": {
"sEpfwJLnxyQy6vR": {
},
"sEpfwJLAtndAaaA": {
},
"sEpfwJLAtndBbbB": {
},
"sEpfwJLAtndCccC": {
}
}
}
You can see the full JSON via the developer UI at https://neowiki.dev/wiki/Special:NeoJson/Rijksmuseum
Question 1/2: Automatic/enforced Relation?
Our initial thinking was to automatically create a Relation between the Child Subjects and the Main Subject, which is where these names come from. We have yet to figure out what, if anything, would make sense here.
Do the Relations go from the Child Subject to the Main Subject? Or from the Main Subject to the Child Subjects? (This interacts with "Add ability to display incoming/inverse relations".)
Are these Relations enforced? If so, how? What does this look like in the editing UIs?
Question 2/2: Is the Main Subject tag useful?
What use cases actually need the "give/show me the main subject of this page" capability?
I imagine that if the wiki happens to be where you store/manage your graph, which might be most of the ECHOLOT use cases, then a link to the wiki pages might not make sense. On the other hand, if you have a wiki where you really use normal pages, so your use case is "attach structured data to my pages", then being able to say "show me what this set of pages is about" seems useful, but no one has confirmed they actually need that.
Under consideration here is dropping of the main subject tag. At which point we'd just have Subjects. The distinction between Main Subject and Child Subjects would be removed, and so would those two terms.
If we throw out the Main Subject from the core model, you could still be able to attach Subjects to Wiki Pages via the MediaWiki page property type.
Context
Wiki Pages contain a list of Subjects. (Find more details about the terminology at https://github.com/ProfessionalWiki/NeoWiki/blob/master/docs/concepts/glossary.md.)
One Subject can be marked as "Main Subject", which means it represents the same topic as the page. This allows you to say "give/show me the main subject of this page". The other Subjects on the page are called "Child Subjects".
For understanability, below is what is persisted in a wiki page (Subject bodied omitted). Note that all Subjects are in the same list, they are structurally all the same. The only difference is that the page knows what the Main Subject is by keeping track of its ID.
You can see the full JSON via the developer UI at https://neowiki.dev/wiki/Special:NeoJson/Rijksmuseum
Question 1/2: Automatic/enforced Relation?
Our initial thinking was to automatically create a Relation between the Child Subjects and the Main Subject, which is where these names come from. We have yet to figure out what, if anything, would make sense here.
Do the Relations go from the Child Subject to the Main Subject? Or from the Main Subject to the Child Subjects? (This interacts with "Add ability to display incoming/inverse relations".)
Are these Relations enforced? If so, how? What does this look like in the editing UIs?
Question 2/2: Is the Main Subject tag useful?
What use cases actually need the "give/show me the main subject of this page" capability?
I imagine that if the wiki happens to be where you store/manage your graph, which might be most of the ECHOLOT use cases, then a link to the wiki pages might not make sense. On the other hand, if you have a wiki where you really use normal pages, so your use case is "attach structured data to my pages", then being able to say "show me what this set of pages is about" seems useful, but no one has confirmed they actually need that.
Under consideration here is dropping of the main subject tag. At which point we'd just have Subjects. The distinction between Main Subject and Child Subjects would be removed, and so would those two terms.
If we throw out the Main Subject from the core model, you could still be able to attach Subjects to Wiki Pages via the MediaWiki page property type.