Comments (7)
I just found something that would be an interesting change to this idea.
There is a query language for JSON that is perfect for our usecase and should be easy to implement.
I understand that it's not "made" by us but would provide a feature till we do.
from lssm-v.4.
Version V.0.0.1 merged into master with #53
from lssm-v.4.
I've been looking into the examples given and found one thing that is a bit weird:
sum of personal in all buildings that have more than 3 vehicles
sum((buildings WHERE len(vehicles WHERE .building_id = ..id) > 3).personal_count)
in this example, personal_count
strikes me as odd.
I know that much of the LSSM is german (since the game is german), but as this is a query language, where everything is in english, I do believe that using the english personnel_count
would be better suited. Especially since personal
refers to something completely different in english
from lssm-v.4.
I've been looking into the examples given and found one thing that is a bit weird:
sum of personal in all buildings that have more than 3 vehicles
sum((buildings WHERE len(vehicles WHERE .building_id = ..id) > 3).personal_count)
in this example,
personal_count
strikes me as odd.
I know that much of the LSSM is german (since the game is german), but as this is a query language, where everything is in english, I do believe that using the englishpersonnel_count
would be better suited. Especially sincepersonal
refers to something completely different in english
Thats just a name used in the API of the game. And LSSMAQL is just something to use the APi of the game. So they need to use the exact names of that.
from lssm-v.4.
The attributes are the same as used in the APIs:
https://www.missionchief.com/api/buildings
https://www.missionchief.com/api/vehicles
https://www.missionchief.com/api/allianceinfo
https://www.missionchief.com/api/credits
https://www.missionchief.com/einsaetze.json
This is because Sebastian, the original founder of the game, used some "denglish" (mixing german and english) terms internally and the new developer team also does this now and then.
As the idea of LSSMAQL was/is to provide a Language to query these APIs, the exact same attribute names are required.
There are also plans to provide a GUI for LSSMAQL but unfortunately the project is on hold currently.
from lssm-v.4.
Possible alternatives:
from lssm-v.4.
after fiddling around with JSONata and GROQ in tend to favorite JSONata since a more complete feature set.
Eg. string/number conversion is not possible with groq.
from lssm-v.4.
Related Issues (20)
- [Feature request]: Add building type in settings (Operatore112.it) HOT 3
- [BUG]: Anfahrt von ELW2-Drohne wird bei Anzeige fehlender Fahrzeuge nicht als ELW1 erkannt. HOT 2
- ♻️⚡️ move core to a SharedWorker
- [build] local build supress error message for branches and releasenotes HOT 5
- [docs] evaluate switching to VitePress and rewrite the docs system HOT 3
- 🩹 [extendedCallList] Unmapped event missions HOT 4
- [Feature request]: option to make notes appear in a monospaced font HOT 3
- Harmonize the name for modules/apps/plugins HOT 1
- Auto generated content in docs HOT 3
- Easy local deployment HOT 5
- [BUG]: Tow Truck Missions not showing Crashed Cars HOT 2
- [BUG]: Portuguese server domain is not up to date HOT 11
- [BUG]: Mission Helper stuck on loading HOT 2
- [Feature request]: Move API to Cloudflare Pages HOT 2
- [BUG]: "Benötigte Fahrzeuge verschönern": THW-Einsatzekräfte werden ignoriert HOT 6
- [Refactor] replace `querySelector` with `getElementById` where possible, cache `querySelector` calls where posssible and needed HOT 1
- [BUG]: THW-Einsatzkräfte funktioniert wieder nicht (vgl. Issue #3024) HOT 1
- Leitstellenansicht im Dashboard
- 🇳🇱[mh]: oneof_fire_engine_or_rescue not translated HOT 4
- [BUG]: buildingListFilter not working on CZ version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lssm-v.4.