is it possible to display literals in graphdb workbench visual graph? - graphdb

I'm using GraphDB 9.4 free edition with the Workbench web interface on Ubuntu 18.04.
I have a construct sparql query that shows all the correct triples, including literals, in the output below the query box. When I click on the "Visual" button to display the graph, the literals and associated data properties are not shown. Is there a setting to display them?
Thanks!

As far as I know, that functionality doesn't exist.
If you click on the node though, the data properties show up on the right side of the screen. But I totally agree, a function to display them directly would be nice.

Related

How to highlight SQL in PyCharm

So I've been messing around with Python using PyCharm (Community Edition), and trying to make something using a database. For this I am using SQLite3.
The program runs just fine, and does what it's supposed to do, but in a lot of tutorials I see the syntax highlighted in colors just as "Def" and "Import" is.
Whenever I write something like """CREATE TABLE""" it does not highlight it even though it runs just fine.
Been trying to figure it out for a while now but can't find an answer.
Tried installing the Database Navigator, which seemed to do nothing for this.
Tried messing around with the settings for PL/SQL (DBN) and SQL (DBN) in the settings under Color Scheme, also nothing.
Tried looking into language injection, but all I could find was people injecting from a list. But my langue injection list is empty and cant find anything on how to populate it. Now it does not even show me the option to inject when I press alt+enter either.
So I'm out of ideas as to what to search for, anyone able to help?
Support for SQL features (highlighting, running SQL from IDE, etc.) is present in (paid) PyCharm Professional Edition only. So you won't be able to have SQL highlighting in PyCHarm Community.
See here for feature comparision: https://www.jetbrains.com/pycharm/features/editions_comparison_matrix.html .

Dojo Filtering Select - how to program

I've not programmed this before and I'm not finding any examples in searching of how to implement this Dojo.
I need a field to type ahead as a drop down field and will fill in the field as they type so when they type enough characters for their needs, they can hit enter and it grabs the correct value. My view is over the 64K limit. The field I've programmed, when previewing in the browser, doesn't show the field, only values in a huge long list below it. Can someone shed some light on how to program this field? Thanks for your help.
Is there an reference book that give examples of all the various elements of xPages that go into more detail than, for example, loading a drop down with six values.
Is this the Dojo Filtering Select Extension Library control? If so, XPages Extension Library book covers those components. Mastering XPages 2nd Edition covers the core controls and generic XPages runtime topics.
Without code or more details it's hard to tell what the cause is. It sounds like the relevant Dojo classes aren't loaded. That could be because the theme used is Bootstrap, which is jQuery-based rather than Dojo-based. Alternatively, if you're not using the Extension Library control, the most likely cause is declaring the Dojo Filtering Select but not including the relevant Dojo modules. That's again one of the reasons to use the Extension Library components instead of manually coding them. Alternatively you may be using a modern IE browser against an older Domino version - IE doesn't support older versions of Dojo, requiring compatible browser / server versions.

Alternatives to Coldfusion Report Builder

Anyone know of a good solution for pdf generation (preferably with a visual layout tool) that I can use from ColdFusion instead of the CF Report Builder? It should be able to accept cfquery input.
Basically is there anything better than the crusty Adobe offering out there?
EDIT: With CF 11 and the "pixel-to-pixel" rendering of "most" CSS and HTML (see https://wikidocs.adobe.com/wiki/display/coldfusionen/PDF+Generation+in+ColdFusion+11), I wonder if anyone has attempted to do anything along the lines of 'normal reports', like page numbering, page breaks, etc. - the more traditional 8.5"x11" oriented features. I'm a bit leery of trying to just do a drop-in replacement for CF Report Builder for this reason, knowing that HTML has no concept (in the browser) of discrete pages and page breaks.
obviously you can use cfdocument to what you want, but good luck getting it to look decent. however if you want to go down the route where you generate html using CFML and then have that outputted to a pdf, you can use wkhtmltopdf. If you want a report builder type application, you can use Jaspersoft Studio. BTW ACF's reporting engine is jasper reports under the hood.
Jasper reports is an alternative that Railo folks use, you could give that a try.
I don't think so. The closest thing I am aware of is DreamWeaver. It's been a while but I believe with a Remote Development Service (RDS) password you can build a full dynamic report using the WYSIWYG design view. Add CFDocument tags around it and you have a pdf report. I believe using CFDocument with HTML / CSS is what most developers use in lieu of Report Builder. I could be wrong but I've only seen it used once and judging by the lack of search results, I don't think it was received as well as it was hoped.
Of course you could always use crystal reports and continue using CFReport that way.
If you're using SQL Server you could get away with using SQL Server Reporting Services (SSRS).

VS style snippets in SSMS 2012. Do they exist?

I am trying to setup a simple snippet in SQL Server management studio. When I heard the word "snippet", I assume that they would work like they do in Visual Studio. By that I mean that there are variables that get filled in, etc... I am not seeing that.
Can someone tell me whether SSMS 2012 supports Visual Studio style snippets. If so, can you provide an example of a snippet that supports variable replacement.
This might be close to what your looking for. Under View->Template explorer is a list of a whole bunch of structures that you regularly use when working with, building, developing databases. You can also get to it using Ctrl+Alt+T. There are literally hundreds in there. Everything from building a view to setting up a trigger to creating XML schemas.
The really nice thing with templates is you can build your own structures that you regularly use. I have built quite of few of my own templates to hold snippets that I have acquired from the likes of Brent Ozars blitz scripts and others like the improved SP_WHO from Adam Machanic and such.
While maybe not as fancy (read interactive) as the ones you'll find in the Visual Studio projects I find them very handy.
If you use these templates there is another little feature that can be very handy. If you press Ctrl-Shift-M (or use the toolbar button that shows an A->B) you get a dialog that lets you easily replace the template parameters with your own values.
Update post research into SSMS2012
I just recently started using SSMS 2012 and see there is a new feature that I wasn't aware of. When right clicking you do in fact see the 'Insert Snippet' drop down. I understand your question better now. Apparently however, these are pretty much the same as what I posted above.

How do I embed a custom user-control in MS Word?

Context: The environment is .Net 3.0 + WPF land, the DB is abstracted well out into the distance and the solution would need to work for Office 2000 and up I guess..
The need is to get a customized report for which the user would like to have certain application windows/boxes (e.g. a trend graph) displayed in Word. The window can be shown as a static image, the user can double-click and edit it (that would bring up an editor.. similar to behavior for an embedded spreadsheet) and OK out to update the object. Type some text around the box and save it or print it.
Also take into account, that I would need some mechanism to pass in data and kind of "data-bind" these app-specific boxes to it. e.g. the graph may have to bind to a specific time-range of data that it needs.
Now as a relative beginner to Word automation, what is the name of the tech / sub-tech that I would need to use for this? Also post any recommendations to books/posts that help you understand and get to running speed ASAP.. (since the business always believes the programmers are smart enough to figure it out.. we can give them complete trust.. but no time.)
I think you are going to have to look into writing an OLE embeddable/compatible application. It sounds like this may be a very large and complex task.
Is there any reason that Excel cannot do the graph that you are embedding?
I would strongly recommend making it dependant on Office 2007 and later. If you do so, you can use the ribbon and do .Net programming via VSTO.