GlossarWiki:Spielwiese5: Unterschied zwischen den Versionen

aus GlossarWiki, der Glossar-Datenbank der Fachhochschule Augsburg
Kowa (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Kowa (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 23: Zeile 23:
''Directly accessing the internal objects works:''
''Directly accessing the internal objects works:''


{{#ask: [[Franz Joseph I.#1]]|?Ehe:Ehemann|?Ehe:Ehefrau|?Ehe:Trauung:kirchlich|?Ehe:Trauung:Kirche}}
{{#ask: [[Franz Joseph I.#data]]|?Ehe:Ehemann|?Ehe:Ehefrau|?Ehe:Trauung:kirchlich|?Ehe:Trauung:Kirche}}


{{#ask: [[Franz Joseph I.#1]]|?Ehe:Ehemann|?Ehe:Ehefrau|format=array}}
{{#ask: [[Franz Joseph I.#data]]|?Ehe:Ehemann|?Ehe:Ehefrau|format=array}}


'''4store'''
'''4store'''

Version vom 4. Mai 2013, 16:04 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<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/ }}