GlossarWiki:Spielwiese5: Unterschied zwischen den Versionen

aus GlossarWiki, der Glossar-Datenbank der Fachhochschule Augsburg
Kowa (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „{{#ask: Hat Unterobjekt::+}}“
 
Kowa (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(17 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{#ask: [[Hat Unterobjekt::+]]}}
'''setobject and SIO'''
 
{{#ask: [[-Ehe:Ehemann::+]]}}
(subobject: OK, SIO: Franz Joseph I.#1 is missing)
 
{{#ask: [[Ehe:Ehefrau::+]]}}
 
{{#ask: [[Ehe:Ehefrau::+]]|?Ehe:Ehemann|?Ehe:Ehefrau}}
(subobject: Attributes are not displayed, SIO Franz Joseph I.#1 is missing)
 
{{#ask: [[Ehe:Ehefrau::Elisabeth von Österreich-Ungarn]]|?Ehe:Ehemann|?Ehe:Ehefrau|?Ehe:Trauung:kirchlich|?Ehe:Trauung:Kirche}}
(same problems as before)
 
{{#ask: [[Franz Joseph I.]]|?Ehe:Ehemann|?Ehe:Ehefrau|format=array}}
(same problems as before)
 
{{#ask: [[Franz Joseph I.#Ehe]]}}
 
{{#ask: [[Franz Joseph I.#1]]}}
 
{{#ask: [[Franz Joseph I.#Ehe]]|?Ehe:Ehemann|?Ehe:Ehefrau|format=array}}
(same problems as before)
 
{{#ask: [[Franz Joseph I.#data]]|?Ehe:Ehemann|?Ehe:Ehefrau|format=array}}
(same problems as before)
 
{{#show: Franz Joseph I.#Ehe|?Ehe:Ehemann|?Ehe:Ehefrau}}
(same problems as before)
 
'''SIO only'''
 
''Directly accessing the internal objects works:''
 
{{#ask: [[Franz Joseph I.#data]]|?Ehe:Ehemann|?Ehe:Ehefrau|?Ehe:Trauung:kirchlich|?Ehe:Trauung:Kirche}}
 
{{#ask: [[Franz Joseph I.#data]]|?Ehe:Ehemann|?Ehe:Ehefrau|format=array}}
 
'''4store'''
 
''The subobject exists:''
 
{{#sparql:
SELECT ?p ?o
WHERE
{
  <http://glossar.hs-augsburg.de/id/Franz_Joseph_I.-23Ehe> ?p ?o .
}
|endpoint=http://glossar.hs-augsburg.de/sparql/
}}
 
''The SIO attribute "Ehe" exists:''
 
{{#sparql:
SELECT ?p ?o
WHERE
{
  {<http://glossar.hs-augsburg.de/id/Attribut-3AEhe> ?p  ?o .}
}
|endpoint=http://glossar.hs-augsburg.de/sparql/
}}
 
''But the relation between "Franz Joseph I.#1"  and "Franz Joseph I." is missing:''
{{#sparql:
SELECT ?s ?o
WHERE
{
  {?s <http://glossar.hs-augsburg.de/id/Attribut-3AEhe> ?o .}
}
|endpoint=http://glossar.hs-augsburg.de/sparql/
}}
 
''Old versions of the attributes are not removed correctly (even if the semantic database is updated).''
 
For example: The subobject
http://glossar.hs-augsburg.de/id/Franz_Joseph_I.-23Ehe:Franz_Josef_I._⚭_Elisabeth_von_Österreich-Ungarn
has been delete from the wiki several days ago.
 
{{#sparql:
SELECT ?s ?o
WHERE
{
  ?s <http://glossar.hs-augsburg.de/id/Attribut-3AEhe-3AEhemann>  ?o .
}
|endpoint=http://glossar.hs-augsburg.de/sparql/
}}
 
{{#sparql:
SELECT ?s ?o
WHERE
{
  ?s <http://glossar.hs-augsburg.de/id/Attribut-3AEhe-3ATrauung-3Akirchlich>  ?o .
}
|endpoint=http://glossar.hs-augsburg.de/sparql/
}}
 
{{#sparql:
SELECT ?s ?o
WHERE
{
  ?s <http://glossar.hs-augsburg.de/id/Attribut-3AEhe-3ATrauung-3AKirche>  ?o .
}
|endpoint=http://glossar.hs-augsburg.de/sparql/
}}
 
'''Franz_Joseph_I.'''
 
{{#sparql:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX glossar: <http://glossar.hs-augsburg.de/id/>
PREFIX attr: <http://glossar.hs-augsburg.de/id/Attribut-3A>
SELECT ?p ?o
WHERE
{
  <http://glossar.hs-augsburg.de/id/Franz_Joseph_I.> ?p ?o .
}
|endpoint=http://glossar.hs-augsburg.de/sparql/
}}

Aktuelle Version vom 5. Mai 2013, 08:30 Uhr

setobject and SIO


(subobject: OK, SIO: Franz Joseph I.#1 is missing)



(subobject: Attributes are not displayed, SIO Franz Joseph I.#1 is missing)


(same problems as before)

Franz Joseph I.<PROP><PROP> (same problems as before)

Franz Joseph I.#Ehe


Franz Joseph I.#Ehe<PROP><PROP> (same problems as before)

Franz Joseph I.#data<PROP><PROP> (same problems as before)

  

(same problems as before)

SIO only

Directly accessing the internal objects works:

 Ehe:EhemannEhe:EhefrauEhe:Trauung:kirchlichEhe:Trauung:Kirche
Franz Joseph I.#data

Franz Joseph I.#data<PROP><PROP>

4store

The subobject exists:

{{#sparql: SELECT ?p ?o WHERE {

 <http://glossar.hs-augsburg.de/id/Franz_Joseph_I.-23Ehe> ?p ?o .

} |endpoint=http://glossar.hs-augsburg.de/sparql/ }}

The SIO attribute "Ehe" exists:

{{#sparql: SELECT ?p ?o WHERE {

 {<http://glossar.hs-augsburg.de/id/Attribut-3AEhe> ?p  ?o .}

} |endpoint=http://glossar.hs-augsburg.de/sparql/ }}

But the relation between "Franz Joseph I.#1" and "Franz Joseph I." is missing: {{#sparql: SELECT ?s ?o WHERE {

 {?s <http://glossar.hs-augsburg.de/id/Attribut-3AEhe> ?o .}

} |endpoint=http://glossar.hs-augsburg.de/sparql/ }}

Old versions of the attributes are not removed correctly (even if the semantic database is updated).

For example: The subobject http://glossar.hs-augsburg.de/id/Franz_Joseph_I.-23Ehe:Franz_Josef_I._⚭_Elisabeth_von_Österreich-Ungarn has been delete from the wiki several days ago.

{{#sparql: SELECT ?s ?o WHERE {

 ?s <http://glossar.hs-augsburg.de/id/Attribut-3AEhe-3AEhemann>  ?o .

} |endpoint=http://glossar.hs-augsburg.de/sparql/ }}

{{#sparql: SELECT ?s ?o WHERE {

 ?s <http://glossar.hs-augsburg.de/id/Attribut-3AEhe-3ATrauung-3Akirchlich>  ?o .

} |endpoint=http://glossar.hs-augsburg.de/sparql/ }}

{{#sparql: SELECT ?s ?o WHERE {

 ?s <http://glossar.hs-augsburg.de/id/Attribut-3AEhe-3ATrauung-3AKirche>  ?o .

} |endpoint=http://glossar.hs-augsburg.de/sparql/ }}

Franz_Joseph_I.

{{#sparql: PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX glossar: <http://glossar.hs-augsburg.de/id/> PREFIX attr: <http://glossar.hs-augsburg.de/id/Attribut-3A> SELECT ?p ?o WHERE {

 <http://glossar.hs-augsburg.de/id/Franz_Joseph_I.> ?p ?o .

} |endpoint=http://glossar.hs-augsburg.de/sparql/ }}