R3000
(R3000)
January 17, 2020, 9:14pm
1
I have successfully "data add" a json-ld file. I see db size in studio show 1k. When I query it bring zero rows back. JSON-LD file is full of SKOS triples. Strange the manual says:
Stardog provides two built-in database archetypes out-of-the-box: PROV and SKOS.
Do I need to set up database archetype ?... but I forgot what exactly I need to do.
The JSON-LD is an export from another tool.
Regards,
Radu
pavel
(Pavel Klinov)
January 17, 2020, 9:21pm
2
It's more likely that the query simply doesn't match the data. If you cannot share the data, please share the query and the query plan.
Best,
Pavel
R3000
(R3000)
January 17, 2020, 9:27pm
4
when I do a stardog namespace list Test2 here is what I get:
+---------+---------------------------------------------+
| Prefix | Namespace |
+---------+---------------------------------------------+
| | http://api.stardog.com/ |
| owl | http://www.w3.org/2002/07/owl# |
| rdf | http://www.w3.org/1999/02/22-rdf-syntax-ns# |
| rdfs | http://www.w3.org/2000/01/rdf-schema# |
| stardog | tag:stardog:api: |
| xsd | XML Schema |
+---------+---------------------------------------------+
Where is SKOS and PROV?
I am running Stardog v.7.0.3
pavel
(Pavel Klinov)
January 17, 2020, 9:31pm
5
Try
select * from <tag:stardog:api:context:all> { ?s ?p ?o }
R3000
(R3000)
January 17, 2020, 9:33pm
6
Yes - that brings tons of data! Thanks
P.S. The above query is not that portable
R3000
(R3000)
January 17, 2020, 9:37pm
7
What would be the equivalent delete all statement?
pavel
(Pavel Klinov)
January 17, 2020, 9:37pm
8
Correct, but select * { graph ?g { ?s ?p ?o } }
is.
The point is that if you load data in named graphs, you should also query named graphs (and not the default graph).
Best,
Pavel
system
(system)
Closed
January 31, 2020, 9:40pm
10
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.