Questions tagged [allegrograph]
AllegroGraph is a closed source graph database (triple store) created by Franz Inc. that supports semantic web standards like RDF, SPARQL, JSON-LD and SHACL.
78
questions
1
vote
0
answers
41
views
OWL - associate transitive child with great-parent
I would like to simplify my SHACL definitions by reversing the relations between shapes, properties and groups.
A typical NodeShape looks like this. Two properties in a group:
<>
a sh:...
0
votes
0
answers
64
views
Service clause failed
I am trying to query different repositories in allegrograph using sparql service clause but I am getting service clause failed error, could anyone let me know what am I doing wrong.
I think it has ...
0
votes
2
answers
313
views
Order by in SPARQL masking results
I have a long query in Sparql and and I want to order results by numeric field "sentiment"
Everything is working fine if I include the field in SELECT and GROUPBY, otherwise is crashing. But I would ...
2
votes
0
answers
563
views
SPARQL: Converting CONSTRUCT Query w/ Named Graph to SELECT Query
You are not able to specify a GRAPH in a CONSTRUCT query with SPARQL 1.1
CONSTRUCT {
GRAPH <graph:1> { ?s rdf:type ?o . }
}
WHERE {
GRAPH <graph:1> { ?s rdf:type ?o . }
VALUES (?o) {...
1
vote
1
answer
72
views
Error while installing AllegroGraph on Arch Linux
I get the following error when running install-agraph for agraph-6.6.0
An unhandled error occurred during initialization:
Loading sys:aclissl.so failed with error:
/home/<username>/agraph-6.6....
1
vote
1
answer
377
views
SPARQL: Number of Statements in each Named Graph
The following query returns the number of statements in a repository:
SELECT (COUNT(*) AS ?count)
WHERE {
?s ?p ?o
}
Is there a way to return the number of statements for each Named Graph?
This ...
1
vote
1
answer
538
views
AllegroGraph SPARQL: DELETE from both the Default Graph and Named Graphs
Using AllegroGraph 6.4.6
I am trying to generate a single SPARQL DELETE query w/ respect to quads defined:
// Example of dataset used for generation of SPARQL
const quads = [
['<1>','<2&...
4
votes
1
answer
1k
views
How to traverse RDF tree in SPARQL and find connections outside of the tree?
Considering a tree with the root node "A" and "hasChild" relationships (e.g. product structure) as following:
Target is to find out:
What nodes have parents outside of the tree?
In this case the ...
3
votes
1
answer
383
views
Is there a way to convert GraphQL queries in a Java server to SPARQL queries?
I have an AllegroGraph database which stores RDF data. The only way to retrieve these data is through SPARQL queries. The external API I have is GraphQL (it will be in Java server). Is there a way ...
2
votes
1
answer
692
views
SPARQL: Inverse result on boolean query
I am trying to have SPARQL return 'false' if a set of triples exist in an RDF database. I'm able to return 'true' with an ASK query.
ASK WHERE { ?subjID rdf:type pref:Person. }
As described here, I ...
1
vote
1
answer
860
views
SPARQL: Querying the Default Graph
With the RDF query language SPARQL, I'm trying to find a way to do a boolean query (or any other query) for anything not in a Named Graph.
ASK { GRAPH null { ?s ?p ?o } }
Can't find really any ...
0
votes
1
answer
184
views
Allegrograph reasoning
I'm getting familiar with RDF stores on example of Allegrograph. One of part I'm interested in is reasoning. I've taken an example from here: https://franz.com/agraph/support/documentation/6.4.3/...
1
vote
1
answer
82
views
Federated store with repositories on different server with reasoning
I want to create a federated store with reasoning in Allegrograph; i can do that with 2 repositories in the same Allegrograph system but when i try to create a federated store with two repositories ...
1
vote
1
answer
78
views
Federated store with repositories from different server
I want to create an abstract repository to a federated store in AllegroGraph.
I can connect to the repositories stored on different server. But when I try to combine them using federate function, it ...
1
vote
1
answer
103
views
Will Gruff work with other repos than AllegroGraph?
Seems that Gruff only works with AllegroGraph.
I've watched a presentation where it says it can connect to SPARQL endpoints, but with a lot of limitations, and to contact Franz to remove some of ...
2
votes
2
answers
552
views
How to reference different repositories in a SPARQL query (federated)?
I would like to know what are the triples that are in a repository but that are not included in other repository.
But for doing this, I would need to reference the two repositories in a federated ...
1
vote
1
answer
1k
views
Change PREFIX in SPARQL
I created an ontology with different prefixes (rdf:, rdfs:, owl:, example:, car:, bike:, ...). I use them to demarcate different domains and examples.
A small extract:
car:Software rdf:type demo:...
1
vote
1
answer
186
views
How to define semantic reasoning path and area on ontologies based on RDF with pellet reasoner?
I created a complex ontology that represents a product structure. I defined the most rules to describe configuration of the product (if you use Part A1 you can't use Part B1 --> you have to choose ...
3
votes
0
answers
268
views
Which namespace for Math functions in SPARQL?
I'm currently developing a project in which I use AllegroGraph as graph database. AllegroGraph provides full support for SPARQL 1.1 Query and Update.
I'm trying to write a SPARQL query in which I need ...
0
votes
1
answer
296
views
"Unsupported axiom" when using Pellet Reasoner on AllegroGraph RDF Triple Store
I created an RDF triple store in AllegroGraph. Now I want to run a reasoner on it using the Java API. I decided to use Pellet Reasoner (download-link). It works with the koala.owl (link).
When ...
0
votes
0
answers
131
views
What reasoner to use with AllegroGraph RDF Triple Store?
I created an Ontology in TopBraid Composer and loaded it to AllegroGraph Triple Store. RDFS++ Inferencing (explained in example 19 here) works.
Now I want to use a Semantic Reasoner that can do more ...
1
vote
1
answer
149
views
Querying AllegroGraph using dotNetRDF
I've got a AllegroGraph server running and have trouble querying remote datastore, there's very little information on documentation.
Here's my lil piece of code:
using System;
using VDS.RDF;
using ...
0
votes
1
answer
173
views
Unable to run SPARQL based on my condition
I am trying to excute a SPARQL query based on user type (user type must be employee and non employee) but am unable to excute query itself. This is the query:
Select ?user ?type Where { ?user org:...
0
votes
0
answers
107
views
How to call a registered SPIN function in Allegrograph with AGWebView?
I'm using Allegrograph as my triplestore and I try to use SPIN functions. I managed to register a simple SPIN function via the HTTP API of the AGWebView tool. Now, I'm trying to call the SPIN function ...
2
votes
1
answer
163
views
Is it possible to add customized rules to infer new relations in AllegroGraph?
In my data there are two triples:
entity1 doA entity2 .
entity2 doB entity3 .
I am looking for a way to infer the following triple and have it back in the outcome of my SPARQL query (e.g., select ?a ...
0
votes
1
answer
187
views
Installing Allegrograph on ubuntu
I’m trying to install Allegrograph on Ubuntu 14.04.2 LTS using the below instructions from here
However, I’m having problems. I have created the directory /home/me/Allegrograph_4.14.1 and have ...
1
vote
1
answer
167
views
DotNetRDF & AllegroGraph
I'm working on an application for bulk parsing and uploading to an AllegroGraph triplestore, but have run into a snag. I am able to open and read the graph in question using the below code:
...
1
vote
1
answer
106
views
conversion of string into resource or UPI in lisp prolog query
I am trying to run the prolog rules which are implemented in lisp. In the lisp code I am having the following problems:
I query the persons from AG knowledgebase, the output is in string format such ...
0
votes
0
answers
65
views
family relation in Prolog Query :transitive relations [duplicate]
I have information in AG knowlwedgebase like this
Person1 hasBrother Person2
Person1 hasSister Person 3
How can I write a rule in prolog to find out additional relations from the the above facts
...
6
votes
4
answers
1k
views
Does Sails.js or Meteor.js work with ArangoDB or OrientDB?
I'm planning to work on a social site and I would like to leverage both a document and graph database for all of the desired features. Is there a way to get Meteor.js or Sail.js (or any better) to ...
0
votes
0
answers
103
views
How to use SPARQL Filter query function in prolog query
I want to query those persons from RDF graphdatabse who are traveled at the same location and at the same date or ovelapped date. We have persons information with travlel location and their fromdata ...
-12
votes
1
answer
346
views
What is --with-indices in AllegroGraph
I am trying to load data into Allegro Graph server and one of the parameters is --with-indices. Can anybody explain what is it about?
I have read the entire Allegro Graph documentation and it ...
2
votes
0
answers
89
views
Allegrograph import rdf file failed
I've got this error when i import a rdf file into AllegroGrahp:
Import failed:
String does not represent a floating-point number (last character was .)
Where can I see the detail of error? What does ...
4
votes
1
answer
365
views
Strange SPARQL behavior using variables vs. IRI
I'm facing a strange behavior using Allegrograph 4.13
This is the data for test case
prefix : <http://example.com/example#>
INSERT DATA {
:A rdfs:label "A" .
:A :hasProp :Prop1 .
:Prop1 :...
1
vote
2
answers
284
views
allegro graph - federate repositories located on different server
I'm trying to create an abstract repository for doing a federal search on Allegro Graph. I'm able to connect to the repositories stored on different server. However, when I tried to combined them ...
0
votes
1
answer
52
views
sorting or index in knowledgebase Allegro
I have a allegrograph knowledgebase that has hundreds of triples in it. Each triple contains subject predicate and object .I need to sort out/Index of objects based on predicate for example
Sub. ...
1
vote
1
answer
95
views
subtype in Geospatial Sparql error
I use SPARQL to request:
select distinct ?place ?label ?lat ?lng where {
GEO OBJECT
SUBTYPE "http://franz.com/ns/allegrograph/3.0/geospatial/spherical/km/-180....
0
votes
1
answer
215
views
Alernative to Neo4j Graph database [closed]
Looking for graph db which could be alternative for Neo4j, can any one suggest a better one which could be easily integrated with Java application and has better performance in migrating data from ...
5
votes
1
answer
4k
views
Match where value is NULL in SPARQL
I have the following SPARQL query:
SELECT ?label ?img
WHERE
{
?uri rdfs:label ?label .
?uri vtio:hasImage ?img .
}
With results like the following:
label | img
-------------
label | link1
...
0
votes
1
answer
123
views
Is it possible to get all classes and their respective instances using a single SPARQL query?
I have a requirement to show all the classes and their respective instances when the user accesses our website. We use Allegrograph as our RDF database. So once the user selects the repository from ...
1
vote
1
answer
197
views
Comparing RDF literals in AllegroGraph Prolog in Common Lisp
I am trying to compare the objects of two triples in a knowledgebase. I have connected the knowledgebase through ACL client (Allegro CL Enterprise edition 9.0) and written the following code:
(select ...
1
vote
1
answer
223
views
Is there a way to use AllegroGraph with a Lisp other than ACL?
I'm so far only reading the documentation, and it says that in order to use the Lisp client I have to use ACL. ACL, the Express edition has a 30 day expiration date. Since I'm too far from even ...
1
vote
1
answer
293
views
AllegroGraph Client HTTPException
I´m trying to import a *.nt File into AllegroGraph by using the AllegroGraph Client (version 4.1.1) on Windows. I use the AllegroGraph WebView application to start the server. First of all, I tried to ...
1
vote
1
answer
238
views
can I do this in AllegroGraph prolog?
I have an RDF file and I need to extract some information from it in a single line.
Now, I'm using AllegroGraph with Prolog query engin :
(select (?result)
(q ?a !rdfs:label ?alabel)
(q ...
0
votes
1
answer
207
views
Unable to add the allegrograph plugin to topbraid composer
I am unable to add the allegrograph plugin to topbraid composer, getting the error message as
below:
Cannot complete the install because one or more required items could not be found.
Software ...
0
votes
1
answer
136
views
allegrograph xsd float literals
I'm uploading triples to an AG store from a graph generated in python by rdflib. Some of the objects in my triples are floats, so I add them to the graph like this:
Literal(float(float_value), ...
2
votes
1
answer
1k
views
Sparql - Order by to return empty values last
I use AllegroGraph and Sparql 1.1.
I need to do ascending sort on a column and make the Sparql query to return empty values at the last.
Sample data:
<http://mydomain.com/person1> <http://...
2
votes
1
answer
3k
views
Sparql - alphabetical sorting issue
I use AllegroGraph and Sparql to query the results. I am trying to sort based on alphabetical order, but Sparql gives the upper case more preference. Below is an analogous data and query that ...
4
votes
1
answer
2k
views
Sparql - Concatenation fails if any one variable is not bound
Hi am using AllegroGraph and Sparql query to retrieve the results. This is a sample data that reproduces my issue.
Consider below data where a person has first, middle and last names.
<http://...
1
vote
1
answer
109
views
pathLength and match functions in Allegrograph
I'm playing around with property paths and i'm using AllegroGraph Server Edition 4.9. I created a sparql query,
select ?y ?x (count(?x) as ?degree)
where{
{
?x $path ?y.
...