https://bugzilla.wikimedia.org/show_bug.cgi?id=40084

       Web browser: ---
             Bug #: 40084
           Summary: wrong value in sparql query fo
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: fpan...@imolinfo.it
                CC: jeroen_ded...@yahoo.com, mar...@semantic-mediawiki.org
    Classification: Unclassified
   Mobile Platform: ---


I used:
mediawiki 1.18.1
semantic bundle r20120327
endpoint sparql (joseki + SDB)
patch file to fix https://bugzilla.wikimedia.org/show_bug.cgi?id=37575

step1: create a no empty page named "forli"
step2: move "forli" page to "ForliCesena"
step3: create a page "Prova" with this text "[[ha provincia::Forli]]" 
step4: check on triple store the  triples of "Prova" page.

You can see:
<http://www.imolinfo.it/wiki-instances#Prova>
<http://www.imolinfo.it/wiki-instances#Propriet-C3-A0-3AHa_provincia>
<http://www.imolinfo.it/wiki-instances#http://www.imolinfo.it/wiki-instances#> 

the objec is wrong, it is a double write of base name space.
It should be

<http://www.imolinfo.it/wiki-instances/index.php/Speciale:URIResolver/ForliCesena>

Because, after the effect of move command is that in "Forli" page now contains
a redirect to "ForliCesena" page.

If you performe an RDF export of "Prova" page the value of property
"Ha_provincia" is correct:
...
<property:Ha_provincia
rdf:resource="http://www.imolinfo.it/wiki-instances/index.php/Speciale:URIResolver/ForliCesena"/>
...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to