• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
    • RDF quality heuristics
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/opt/ClioPatria/rdfql/rdfql_util.pl
AllApplicationManualNameSummaryHelp

  • ClioPatria
    • rdfql
      • serql.pl
      • rdfql_util.pl
        • select_results/6
        • select_results/9
        • entailment_module/2
      • sparql_runtime.pl -- SPARQL runtime support
      • rdfql_runtime.pl -- SPARQL/SeRQL runtime support predicates
      • serql_runtime.pl
      • sparql.pl
      • sparql_grammar.pl -- SPARQL Parser
      • jena_properties.pl
      • text_properties.pl
      • rdf_io.pl
      • rdf_html.pl -- Write query-results as HTML table.
      • sparql_xml_result.pl
      • sparql_json_result.pl -- Write SPARQL results as JSON
      • sparql_csv_result.pl -- Write SPARQL results as CSV
      • rdf_turtle_io.pl -- Write query-result graphs as Turtle
      • serql_xml_result.pl
 select_results(+Distinct, +Group, +Having, +Aggregates, +Offset, +Limit, +SortBy, -Result, :Goal) is nondet
Select results for the template Result on backtracking over Goal.
Arguments:
Distinct- Iff 'distinct', only consider distinct solutions
Group- is a list of variables on which to group the results. These are the only variables that can be used in the HAVING filter and final projection.
Having- is a constraint (similar to FILTER) to filter grouped results.
Aggregates- List of aggregate(Function, Var)
Offset- Skip the first Offset results. Offset is applied after Distinct and SortBy
Limit- Only return the first Limit results. Limit is applied after Distinct, SortBy and Offset. The value 'inf' returns all values.
SortBy- Either 'unsorted' or a term order_by(Cols), where each Col in Cols is a term ascending(Expr) or descending(Expr).
To be done
- Group, Having and Aggregate are currently ignored.
ClioPatria (version V3.1.1-40-g9d9e003)