hi, I've got semantic wiki installed in our mediawiki, but I'm a little unclear about how to test it is really working, other than it appears in the versions page.
Is there some simple API that should now be enabled? some particular syntax that we can now use?
I have worked through the FAQ in the main website and searched around, but if anyone could provide some simple examples of the new functionality that is enabled and how it can quickly be manually tested I'd be very grateful
A starting point is Getting started. Just follow the steps shown in the image collection of step 1.
There is also an introduction but probably I should also create a more condensed version just showing an even simpler example than the one starting at page 29.
thanks @kghbln the image collection is really small in my browser and difficult to read. I ran through your slides in the second link and gleaned that I could put in things like:
This聽page聽is聽about聽the聽book聽called聽[[Has聽book聽title::The聽Picture聽of聽Dorian聽Gray]]聽written聽by聽[[Has聽book聽author::Oscar聽Wilde]].聽It聽was聽last聽published聽by聽[[Has聽book聽publisher::Titan聽 Books]]聽in聽the聽[[Has聽book聽publishing聽country::UK]],聽[[Has聽book聽publishing聽year::2015]].聽The聽ISBN聽is聽[[Has聽book聽ISBN::978颅1783293650]].聽My聽personal聽rating聽for聽this聽book聽is聽[[Has聽book聽rating::1]].
[[Category:Book]]
in a page, which I did: https://hlp-wiki-develop.agileventures.org/Test_Page
and then in the same or other pages I can do queries on that marked up data like so:
{{#ask:
聽[[Category:Book]]
聽[[Has聽book聽title::The聽Picture聽of聽Dorian聽Gray]]
}}
given that that latter query is working in our wiki, I'm guessing we've installed correctly ...
so basically we can mark up any text with predicates and can then query that data and display it in other locations.
Is the search only by embedded script, or is there an API endpoint e.g. /semantic_ask?category=book&title=The%20Picture%20of%20Dorian%20Gray or similar?
Thanks for posting back!
the image collection is really small in my browser and difficult to read.
So I created https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/2839
given that that latter query is working in our wiki, I'm guessing we've installed correctly ...
Yes
or is there an API endpoint
aha, so we can use things like:
/api.php?action=ask&query=[[Modification date::%2B]]|%3FModification date|sort%3DModification date|order%3Ddesc&format=jsonfm
great thanks! :-)
... also when you edit a page you should see a note like:

the image collection is really small in my browser and difficult to read.
If you click the image then you get a slideshow and you can browse back and forth.
@mwjames ah thanks - we have the visual editor installed and so don't see that pop up in the editor I think ...
The easiest method I'd recommend is looking for a property that is always present: Property:Modification_date.
(or Special:Browse/Main_Page, but the name of the Main Page could be different depending on your localisation and settings).
Most helpful comment
The easiest method I'd recommend is looking for a property that is always present: Property:Modification_date.
(or Special:Browse/Main_Page, but the name of the Main Page could be different depending on your localisation and settings).