Transfering DMN to SHACL inferencing rules - shacl

I am searching for a way to transfer business rules noted in Decision Model and Notation (DMN) to SHACL-Rules. I am open for any suggestion.
Thanks!
I searched already by google and found only SWRL2SHACL

Related

IFC conversion method changes position of resulting SVF

When converting IFC files to SVF with the Autodesk Model Derivative API, I would like to start using the "modern" converter instead of the "legacy" one. However, when using Forge Viewer, the models that were created with the modern conversion method end up with a different position and/or orientation than the legacy ones.
I have tried to get to the bottom of what the difference consists of, and it seems to at least have something to do with the TrueNorth property of the IfcRepresentationContext in the IfcProject. Also, the ObjectPlacement of the IfcSite is probably part of it. But I haven't found a combination of properties to reliably compensate for the difference for all my IFC files. The IFCs typically come from Revit, but may have various origins.
Many of our customers have projects with several existing models, so ideally, any new models should align with the existing ones even if the conversion method has changed.
I submitted an issue item NWLMV-164 on your behalf to ask our engineering team to allocate time to investigate it. Now it can be traced back to NWLMV-88. As result, it needs some time to explore and find the solution to fix this issue. Please take a note of either NWLMV prefix ids. You're welcome to track updates in the future by sending an email to forge[DOT]help[AT]autodesk[DOT]com quoting the NWLMV prefix ids. We appreciate your understanding and patience.

Determine type of vehicle used for travelling

Is there a way using one of the google maps apis to determine the most probably used vehicle type for a recorded route?
For example is there an automated way to determine if I‘m travelling by train? Or do I have to implement that myself?
You can specify the transit_mode to indicate the vehicle type that the calculated route should prefer.
But what you're looking for is information for the vehicle type that is most probably used for a given route, which is not currently something that the API provides.
I recommend you file a feature request for this in Google's issue tracker so that Google's Tech Engineers can consider implementing this. For now, you would need to implement this yourself indeed.
Hope this helps!

Graphhopper flexible routing ignore street segment

I've read alot about flexible queries but unfortunatelly I couldn't find something satisfying yet.
I want the routing algorithm to ignore a street segmet, because its flooded or broken. Is that possible (maybe by putting geopoints into the GHRequest)? If it is, what is the best practice for the implementation?
update:
Do i need to create a custom Weighting and set the forbiddenEdges which i get out of OpenStreetMap.org?
Thanks for answers
Yes, a custom Weighting is currently necessary where you feed GraphHopper edgeIDs (!= OSM IDs). Get these edgeIDs via LocationIndex.findClosest.
Please create an issue if you want to have this via web API.

Drafting ontology from API example and documention

While making good ontology is for sure big and mostly manual effort, it could be interesting to know if there are any techniques / tools, which automate making vendor-specific, intermediate ontologies for ETL process, given, say, rich-enough JSON examples combined with API documentation.
I am aware of Linked Data standards and techniques, but may be there is something in the form of library to make a draft RDFS+ ontology from API call responses?
For example, there are some libraries to guess JSON Schema (I have even written a primitive one myself), so the task does not seem to have problems in theory.
Please, do not consider this question as "software recommendation" one, because I doubt there is any software for this, but at least educated guess at direction I can take with this. I also believe, this is very important for semantic / linked data projects, and I wonder why I can't find any hints and need to ask for help from more experienced here.

Mechanical Turk: Using HTML in the API

Question for anyone who's used Mechanical Turk: Is it possible to take an HTML template created on Mechanical Turk's website, and then create more HITs based on that template from the command line tools or API?
According to the API docs, it's not possible to create new HTML and add it...from the API. However, what I want to do here is use a HIT template I already created. It would seem like there should be a way to use that template (and load up new data in the API), since Amazon already approved it and I'm using it for HITs already. But I haven't seen a way in the documentation to do so.
The main reason I want the HTML is so I can apply styles that I can't apply by using a questions file. If there was some sort of "rich" question file, that might solve the problem.
You could post a job on Mechanical Turk to have a person take your template and insert your data into it for each HIT you want to create.
(yes, this is at least half sarcasm)
I know this is an old question, but the API has been updated to allow this using HITLayout: http://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_HITLayoutArticle.html.
As far as I know, I haven't seen a way to use manually created questions from the API.
If you're planning on doing programmatic access, it may be easier to use the API in its entirety (i.e., specify your questions via XML and create HITs from that question):
http://www.codeplex.com/MTurkDotNet (.NET SDK)
The API is pretty easy to use, and there several code samples.
Alternatively, you can use the "External Question" question type which may be better suited -- you can host the entire question form yourself.