Package | Description |
---|---|
org.apache.marmotta.ldpath | |
org.apache.marmotta.platform.ldpath.api | |
org.apache.marmotta.platform.ldpath.services |
Modifier and Type | Method and Description |
---|---|
Program<Node> |
LDPath.parseProgram(Reader program)
Parse a program passed as argument and return it for further use.
|
Collection<Node> |
LDPath.pathQuery(Node context,
String path,
Map<String,String> namespaces)
Execute a single path query starting from the given context node and return a collection of nodes resulting
from the selection.
|
Collection<Node> |
LDPath.pathQuery(Node context,
String path,
Map<String,String> namespaces,
Map<Node,List<Node>> paths)
Execute a single path query starting from the given context node and return a collection of nodes resulting
from the selection.
|
<T> Collection<T> |
LDPath.pathTransform(Node context,
String path,
Map<String,String> namespaces)
Execute a single path query starting from the given context node and return a collection of nodes resulting
from the selection.
|
Map<String,Collection<?>> |
LDPath.programQuery(Node context,
Reader program)
Evaluate a path program passed as argument starting from the given context node and return a mapping for
each field in the program to the selected values.
|
Modifier and Type | Method and Description |
---|---|
Collection<org.openrdf.model.Value> |
LDPathService.pathQuery(org.openrdf.model.Value context,
String path,
Map<String,String> namespaces)
Run a path query starting from the given context node and return the result as a collection of KiWiNodes.
|
Map<org.openrdf.model.Value,Map<String,Collection<?>>> |
LDPathService.programQuery(String program)
Run a path program over all resources in the triplestore matching the program's filter and return the result for
each respurce.
|
Map<String,Collection<?>> |
LDPathService.programQuery(org.openrdf.model.Value context,
String program)
Run a path program starting from the given context node and return the result as a collection of KiWiNodes for
each field occurring in the path progrm.
|
Modifier and Type | Method and Description |
---|---|
Collection<org.openrdf.model.Value> |
LDPathServiceImpl.pathQuery(org.openrdf.model.Value context,
String path,
Map<String,String> namespaces)
Run a path query starting from the given context node and return the result as a collection of KiWiNodes.
|
Map<org.openrdf.model.Value,Map<String,Collection<?>>> |
LDPathServiceImpl.programQuery(String program)
Run a path program over all resources in the triplestore matching the program's filter and return the result for
each respurce.
|
Map<String,Collection<?>> |
LDPathServiceImpl.programQuery(org.openrdf.model.Value context,
String program)
Run a path program starting from the given context node and return the result as a collection of KiWiNodes for
each field occurring in the path progrm.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.