Questions tagged [logicblox]

LogicBlox is a "smart database" that combines transactions, analytics, planning and business logic. LogicBlox applications are primarily written using the LogiQL programming language.

From their website:

LogicBlox is a smart database that combines transactions, analytics, planning and business logic.

24 questions
0
votes
1 answer

LogiQL: Use of Transaction ID and Unique Identifiers

I am just getting started with LoqiQL and LogicBlox. While looking at the different operators, I came across the transaction ID and the unique identifiers. What are use cases for these two operators?
meow
  • 27
  • 4
0
votes
2 answers

Querying by Keys with LogicBlox

If I have two predicates (not functional): addblock 'city(city_dim_id) -> int(city_dim_id).' addblock 'city_name[city_dim_id] = name -> int(city_dim_id), string(name).' I can add facts: exec '+city(1).' exec '+city_name[0] = "N/A".' exec…
0
votes
2 answers

How to trace runs in Logicblox?

My logicblox program begins with a set T of initial facts and a set R of rules. It derives a final set of facts T'. For a run, a rule and several facts are used and it derives some new facts. How can I extract all information about the runs that…
0
votes
1 answer

Error: illegal character '#'

I tried running the logic file from Doop test set in Logic Blox 3.10. I run the analysis.js file in 1-call-site-sensitive folder using following commands in sequence: lb create testworkspace lb exec testworkspace --file analysis.logic It prompts…
william007
  • 17,375
  • 25
  • 118
  • 194
0
votes
2 answers

`error: service 'BloxPager' did not start. Aborting.`

I install the LogicBlox 3.10, using Ubuntu 14.04 64 bit When I try to do lb-services start it prompts me error: service 'BloxPager' did not start. Aborting. Following in the content in ~/lb_deployment/logs/current/BloxPagerDaemon.log <2015/11/27…
user1487718
0
votes
1 answer

error: service 'lb-compiler' did not start. Aborting

I am using Ubuntu 14.04 64 bit. While installing logicblox, I got the following errors. How should I address it? ubuntu@ubuntu:/opt/logicblox-4.1.4$ lb services start 2015-11-26 23:45:07-0800 - info: saving current logs in…
william007
  • 17,375
  • 25
  • 118
  • 194
0
votes
1 answer

How can I delete data from logicblox without warning message

In the new version of logicblox (any version later than 4.2.1), if there is a predicate "Person(p), hasPNr(p:n) -> int(n)." And I insert an data "+Person(p),+hasPNr[p]=1." Then if I want to delete data by "-Person(1)." There will be an warning…
jitron
  • 135
  • 1
  • 9
0
votes
1 answer

LogicBlox Measure Service: How do I solve this functional dependency violation?

I'm trying to use the measure service in my LogicBlox project. The hierarchy I'm trying to expose is simple: day(d), day_id(d:i) -> string(i). week(w), week_id(w:i) -> string(i). month(m), month_id(m:i) -> string(i). year(y), year_id(y:i) ->…
Zef Hemel
  • 6,457
  • 3
  • 20
  • 14
0
votes
2 answers

Get current time in LogiQL

How can I get the specific date and time that a logic file is being executed in LogiQL? What I want essentially is a way to pinpoint the unique time a certain logic is being processed by the engine, in order to use this time as a unique identifier.
Zef Hemel
  • 6,457
  • 3
  • 20
  • 14
1
2