Help talk:In-text annotation

From semantic-mediawiki.org
Jump to: navigation, search

Contents

Thread titleRepliesLast modified
Annotation of a portion of a text already annotated314:58, 8 November 2017
Typo in "Naming properties"016:50, 29 September 2015

Annotation of a portion of a text already annotated

Hi,

I would like to make annotations on a portion of text already annotated.
E.g. I have this text "I love Rome underground" and I want to annotate both "Rome" and "Rome underground" (actually also "Underground" could be another annotation I would like to make), using different properties. Is that possible?
I have already disabled the strict mode, but this allows me only to use different properties for the same value.

Thanks for the collaboration,

Loman87 (talk)09:12, 31 October 2017
Edited by author.
Last edit: 14:58, 8 November 2017

Since the values to be annotated overlap the only way to do is to use the #set parser function, like e.g. "I love Rome underground {{#set: Is city=Rome |Is point of interest=Rome underground |Has keyword=Rome, underground |+sep=, }}"

[[kgh]] (talk)22:29, 31 October 2017

Thanks for this answer!
If I use #set I will have the data correctly assigned to the page, but I will lost the chance to have in-text annotations that are easier to understand for my users. But probably this is the only solution...
Thanks again!

Loman87 (talk)10:23, 1 November 2017

Actually I thought about this again and even found an example: This example shows that you can annotate withing an annotation, so "I love {{#set: Is point of interest=[[Has keyword::Rome]] [[Has keyword::underground]] }}" should actually work. This setup will probably a bit more confusing for your users.

[[kgh]] (talk)14:57, 8 November 2017
 
 
 

Typo in "Naming properties"

This line

 # (number sign) - for datatype "Page" since it is interpreded as part of a subobject delcaration.

has two typos:

  1. (number sign) - for datatype "Page" since it is interpreted as part of a subobject declaration.
Dunedune (talk)16:50, 29 September 2015