Thread:Semantic-mediawiki.org:Community portal/Semantic Internal Objects to Headings/reply (4)

I put in the following ask and get no output:

I think this is because no property value corresponds to “Bruce Wayne” so I change NameFirst::Bruce Wayne to NameFirst::Bruce:

This returns: Bruce-. I want to get rid of that “-” so I experimentally remove a “-” from the query and view the page without it. This makes for an unwanted output so I edit the query and repair what I broke. Then I try deleting another “-”. This testing proves that if I remove the “-” from “searchlabel”, I get a pure property value: Bruce

Lessons learned
In an #ask the first parameters are the object you are querying and the property value you are searching for. They come before the first pipe “|”. Otherwise, place order is not a factor so the following are equivalent:



Many formatting instructions can apply to a single query as long as no two contradict. Each must be separated by a pipe “|”.

This solution provides a fine grained example of how to provide multiple formatting instructions to a query. It also provides a working example so that an inexperienced user can make individual changes and see the result. This helps a new user get over a number of very basic mistakes. By new user I mean myself.

Thank you for walking me through this solution Alexander Mashin.

Equipped with this example, I feel confident of making a better class of mistakes.