Documentation/AnalysisTool: Unterschied zwischen den Versionen

Aus Semantic CorA
Wechseln zu: Navigation, Suche
Zeile 14: Zeile 14:
 
== Use cases for Has Annotation virtual property ==
 
== Use cases for Has Annotation virtual property ==
 
#1. Give me all lemmata created before 1900 and relevant for project Helden und Denker, with a specified substring in Tag property.
 
#1. Give me all lemmata created before 1900 and relevant for project Helden und Denker, with a specified substring in Tag property.
[[File:AT 01.jpeg| Give me all lemmata created before 1900 and relevant for project Helden und Denker, with a specified substring in Tag.]]
+
[[File:AT 01.jpeg| 200px| Give me all lemmata created before 1900 and relevant for project Helden und Denker, with a specified substring in Tag.]]
  
 
Users could choose properties from both categories: Lemmata and Annotations.  
 
Users could choose properties from both categories: Lemmata and Annotations.  
 
The ResultSet is as follows:
 
The ResultSet is as follows:
  
[[File:AT 02.jpeg| Result Set with AT]]
+
[[File:AT 02.jpeg| 200px| Result Set with AT]]

Version vom 6. November 2014, 15:51 Uhr

This page describes AnalysisTool implementation, version two. Several improvements by the last version which extend SMW search result capabilities. In regular SMW, it is not possible to display properties (printouts) defined at the different levels on the same nested query. The printout properties should belong only to the outer query.

Example:

{{#ask: [[Category:Lemma]][[Relevant for project::Helden und Denker]][[Year of Publication::<1900]][[Has Annotation::<q>[[Category:ImageAnnotation]][[Tag::~*zz*]]</q>]]|?Relevat for project|?Lemma title|?Year of Publication|?Tag|?ImageAnnotationText|format = table}}

More, the ImageAnnotation entity is not directly linked to Lemma entity. To outcome these, we inserted two virtual properties:

  • Is annotation of article
  • Has Annotation

Use cases for Has Annotation virtual property

  1. 1. Give me all lemmata created before 1900 and relevant for project Helden und Denker, with a specified substring in Tag property.

Give me all lemmata created before 1900 and relevant for project Helden und Denker, with a specified substring in Tag.

Users could choose properties from both categories: Lemmata and Annotations. The ResultSet is as follows:

Result Set with AT