Last modified: 2012-11-28 08:25:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42084, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40084 - wrong value in sparql query if the property value is a redirect page
wrong value in sparql query if the property value is a redirect page
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
PC Linux
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-07 15:52 UTC by Francesco Panico
Modified: 2012-11-28 08:25 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Francesco Panico 2012-09-07 15:52:15 UTC
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"/>
...
Comment 1 Jeroen De Dauw 2012-11-27 18:01:29 UTC
Which version of SMW is this, and is is still happening for SMW 1.8?
Comment 2 Francesco Panico 2012-11-28 08:25:05 UTC
semantic bundle r20120327
   == SMW 1.7.1 ==
   Released on March 5, 2012.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links