Last modified: 2009-11-03 09:11:15 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 T23231, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21231 - print-out of subproperty values
print-out of subproperty values
Status: RESOLVED DUPLICATE of bug 12822
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-22 11:43 UTC by Philipp
Modified: 2009-11-03 09:11 UTC (History)
0 users

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


Attachments

Description Philipp 2009-10-22 11:43:30 UTC
In SMW you can state a property as subproperty of a more general property.
E.g. you can state for Property:HasProjectLeader: [[subproperty of::Property:HasResponsiblePerson]].

Now assume you want to query for all things having a responsible person and print out the responsible person:

{{#ask: [[HasResponsiblePerson::+]] | ?HasResponsiblePerson}}

You also get pages using more specialized properties (e.g. HasProjectLeader); however the printout does not work if a more specialized property is used.
Comment 1 Philipp 2009-10-22 11:53:43 UTC
Another example would be:
{{#ask:[[Category:Task]] |?Assignee.Firstname}}

The printout of a chained property value might be e.g. useful, when ?Assignee does not contain a meaningful name, but e.g. a person ID.
Comment 2 Philipp 2009-10-22 12:04:05 UTC
aaah ignore my last comment, it was meant for the enhancement of printing out chained property values
(see https://bugzilla.wikimedia.org/show_bug.cgi?id=21232).
Comment 3 Markus Krötzsch 2009-11-03 09:11:15 UTC

*** This bug has been marked as a duplicate of bug 12822 ***

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


Navigation
Links