Tutorial for Stardog

24 views
Skip to first unread message

shariqtariq

unread,
Mar 18, 2014, 5:20:59 PM3/18/14
to sta...@clarkparsia.com
Is there any tutorial link for Stardog that I could get access to - I am going through the documentation on the Stardog site but a lot of the functionality does not seem to work - thank you

Shariq

Kendall Clark

unread,
Mar 18, 2014, 6:01:18 PM3/18/14
to sta...@clarkparsia.com, shariq...@gmail.com
Which functionality doesn't work? We need details, man, details! :)

Cheers,
Kendall


On Tuesday, March 18, 2014, shariqtariq <shariq...@gmail.com> wrote:
Is there any tutorial link for Stardog that I could get access to - I am going through the documentation on the Stardog site but a lot of the functionality does not seem to work - thank you

Shariq

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

shariqtariq

unread,
Mar 18, 2014, 6:28:00 PM3/18/14
to sta...@clarkparsia.com
Sure thing - for example 

when I try to search the database

stardog query search -q "SPARQL" -l 10 test

I get the message

The database has search functionality disabled; please enable it if you want literal search enabled as a service or in SPARQL query evaluation.

I have tried to alter stardog.properties and database.properties with search enabled and restarted Stardog multiple times but the result remains the same

I have also tried executing

SELECT DISTINCT ?s ?score WHERE { ?s ?p ?l. ( ?l ?score ) <http://jena.hpl.hp.com/ARQ/property#textMatch> ( 'mac' 0.5 50 ). }

but the stardog panel shows a blue bar at bottom of screen and returns nothing

Wanted to get a tutorial where I could loud datasets and then execute queries/updates against that dataset

I was able to load the following into the schema

stardog data add myDB $STARDOG_HOME/examples/data/catalog.rdf

Thank You

Shariq

Mike Grove

unread,
Mar 18, 2014, 7:10:04 PM3/18/14
to stardog
On Tue, Mar 18, 2014 at 6:28 PM, shariqtariq <shariq...@gmail.com> wrote:
Sure thing - for example 

when I try to search the database

stardog query search -q "SPARQL" -l 10 test

I get the message

The database has search functionality disabled; please enable it if you want literal search enabled as a service or in SPARQL query evaluation.

I have tried to alter stardog.properties and database.properties with search enabled and restarted Stardog multiple times but the result remains the same

The database administration chapter [1] in the documentation shows all of the legal database options you can set and the man page for the CLI [2] shows you how you can set any of those options for a given database.

And, as shown here [3], you can also use the --searchable flag when creating the database to enable full-text search from the outset.
 
Cheers,

Mike



I have also tried executing

SELECT DISTINCT ?s ?score WHERE { ?s ?p ?l. ( ?l ?score ) <http://jena.hpl.hp.com/ARQ/property#textMatch> ( 'mac' 0.5 50 ). }

but the stardog panel shows a blue bar at bottom of screen and returns nothing

Wanted to get a tutorial where I could loud datasets and then execute queries/updates against that dataset

I was able to load the following into the schema

stardog data add myDB $STARDOG_HOME/examples/data/catalog.rdf

Thank You

Shariq



On Tuesday, March 18, 2014 4:20:59 PM UTC-5, shariqtariq wrote:
Is there any tutorial link for Stardog that I could get access to - I am going through the documentation on the Stardog site but a lot of the functionality does not seem to work - thank you

Shariq

Reply all
Reply to author
Forward
0 new messages