How to get just the nodes without showing the URI in sem_match?
Hello
I try only to retrieve all individuals in an rdf/xml ontology of test without displaying the uri. I tried strafter () and replace the functions in the filter clause to the query of sem_match without success. The uri will not go away. This is the query:
Select one
table (sem_match ('{? a RDF: type: a.? a: seqNumber? n.}))
filter (strafter (str(?a), ""http://www.example.com/test.owl# ""))
}',
sem_models ('test'),
NULL,
sem_aliases (sem_alias (", 'http://www.example.com/test.owl#')),
order of null)) by one
I changed () () to replace strafter. The result is always the same.
Select one
table (sem_match ('{? a RDF: type: A.}))
Filter (Replace (STR(?a), ""http://www.example.com/test.owl# "," ""))
}',
sem_models ('test'),
NULL,
sem_aliases (sem_alias (", 'http://www.example.com/test.owl#')),
(null)) ORDER BY one
Here are the results:
http://www.example.com/test.OWL#A1
http://www.example.com/test.OWL#A2
http://www.example.com/test.OWL#A3
http://www.example.com/test.OWL#A4
http://www.example.com/test.OWL#A5
http://www.example.com/test.OWL#A6
http://www.example.com/test.OWL#A7
http://www.example.com/test.OWL#A8
How can I get just the nodes without showing the uri? Where am I wrong in the query? I know that I can add some annotations to the label so that I can get just the nodes. but it will more data entry. Thank you very much in advance.
Hong
Salvation Hong,
SEM_MATCH returns 8 columns for each variable (var, var, var$ _PREFIX, $RDFVID, $ var, var$ _SUFFIX RDFVTYP, var$ RDFCLOB, var, var and $RDFLTYP$ RDFLANG). var$ _SUFFIX is what you are looking for.
Select a _suffix $
table (sem_match ('{? a RDF: type: A.}',))
sem_models ('test'),
NULL,
sem_aliases (sem_alias (", 'http://www.example.com/test.owl#'));
(null)) ORDER BY;
Thank you
Matt
Tags: Database
Similar Questions
-
\b in the transition from text to text elements. How to get just the plain text?
I use C++ FDK and get TextItems with FTI_String from the active document. But the text in the text elements contains characters that do not appear in the text. For example, \b. What is this character and how can I get only the plain text without any character of metadata of FrameMaker.
Ch,
I think you could see tabs. Presented as an escape sequence, \b translates the BACKSPACE (0x08) ASCII character. For some reason, that's how the tabs are represented when you get the text of a document with the API. You expect to show that \t or ASCII 0 x 09, but they did not.
There is no way to avoid retrieving a character entered by the user when you F_ApiGetText(). You must simply do a search and replace once you have the string in your code.
I hope I understand what you're asking here.
Russ
-
Vista Ultimate 64-bit
How to get disabled login user (without password) at startup, so NOT to SHOW it to all (and needed clicked) and so after the switch, go to desktop directly?
Also after inactivity, how to not go to sleep mode and press "power on" to bring back?
Hello
If you want to start directly on the desktop?
How to automatically connect at startup in Vista
http://www.Vistax64.com/tutorials/66966-logon-automatically.htmlOr
How to make Vista require a user name and password when connecting
http://www.Vistax64.com/tutorials/89812-logon-username-password.html=========================================
Start - Control Panel - Power Options - upper left - require a password on wake up
tick her do not require a password - save the changes.I hope this helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
-
You could just tell me how to get to the photo shop, so I can work on the photos?
Please just tell me how to get to the photo shop. I'm not interested in learning all about photo shop, I just change my photos.
You have a copy saved in Photoshop, or a trial version which is still valid, or you are looking to get Photoshop? If you want to buy Photoshop, there are a variety of flavors to the choice. Go to the page linked below to find them and links to acquire the software.
http://www.Adobe.com/products/photoshopfamily.html?promoid=JOLIW
-
How to get out the mode safe mode with msconfig.
I'm working on my computer and need to start in safe mode. I ran the msconfig and reboot the laptop. I get to the login screen, but when I get my username and password it tells me that the user name and password is not correct. How to get out the mode safe mode with msconfig.
When you run msconfig to get set to Safe Mode, you just activate/check the option/SafeBoot at startup. INI tab or did you do something else?
There is some malware that if you use the/SafeBoot option, you will not be able to use your system again until you remove the switch/SafeBoot the boot.ini for you can boot normally.
Maybe it's not your exact problem, but I will never suggest to anyone to use the option / SafeBoot never again - too risky when troubleshooting since you can always start new or will never connect again until you remove the switch/SafeBoot.
Anywho, if that's what you have done, you can start in the XP Recovery Console and then either make a new boot.ini file containing the switch/SafeBoot or simply rename the boot.ini file, you have something like boot.ini.old if you don't have a boot.ini file (I know it seems like a weird idea).
In a single partition configuration, XP is not even a file boot.ini to boot. XP will complain if there is no boot.ini file, but will always start very well without one (non-believers - try it!).
After you get booted up and logged in, you can rename boot.ini.old in boot.ini and run msconfig to remove the option/SafeBoot, and never use it again.
-
How to get all the fonts in the paragraph?
Hi all
Especially in Indesign Javascript list how to get all the fonts section (without a loop in each character). For example, I used "Minion Pro" to the first character and all other characters are "Zapf Dingbats" fonts. I use code below to get the paragraph font. But it shows only first typeface. If multiple fonts are used for including the paragraph then I need all the list fonts or result "undefined".
var myPara = app.selection [0] .paragraphs [0];
Alert (myPara.appliedFont.FontFamily);
Thank you and best regards,
Robert S
var myPara = app.selection [0] .paragraphs [0];
Alert (myPara.textStyleRanges.everyItem (.appliedFont));
-
Att/yahoo updated my email, which suggests to select Firefox as the browser, but how to get back the taskbar?
Hi, you are missing the taskbar Windows, which usually appears at the bottom of the screen? Firefox normally does not block the taskbar if you do not use the mode full-screen. To check if you are using full-screen, you can use the F11 key that toggles between full screen and normal mode.
Or if you meant the menu bar (File, Edit, View), you have two options:
(1) display on request: press the ALT key to press F10 to display bar temporarily
(2) time full display: you can use one of the following methods to view the list of the toolbar, and then select menu bar it:
- Right click on a place empty on the tab bar (or the button '+')
- Press the Alt key to activate the classic menu bar > view > toolbars
- in customize mode > show/hide toolbars (see: Customize Firefox commands, buttons, and toolbars)
Success?
-
How to get back the bar under the top search bar?
How to get back the bar under the bar top search which were listed in all things, such as facebook, outlook, uncle henry wtc that I dragged from the entries in the top search bar? I lost him after a refresh. I also can't connect to mozilla accounts with my user name and password. Thank you.
You can enable (or disable) built-in Bookmarks Toolbar in Firefox using one of the following methods to view the list of the toolbar:
- Right click on a place empty on the tab bar (or the button '+')
- Press the Alt key to activate the classic menu bar > view > toolbars
- in customize mode > show/hide toolbars
Does it work? And your bookmarks are still there?
About your accounts of Mozilla, what kind of accounts are - websites? Sync? etc.
-
I can't open Firefox. Home page comes up, I get just the reporter Crash asking me to restart/quit but every time I do the same message always comes back. I was not able to use Firefox for days now.
In recent days, we have a lot of crashes with Trusteer report. If you have this program, try to disable it and see if that stops the noise.
You can stop the report by using the Start Menu > programs > Trusteer report > report stop
You can ask their helpdesk when a version update of their products will be available or, if you do not need this software, uninstall.
http://www.Trusteer.com/support/en/report-problemIf you do not report, so we have a crash report ID. When you send a report of the Mozilla crash puts it right in a gigantic database. We have no way to seek without the ID of the report. I don't know what the problem is without searching the crash report. Please get the ID of your last report of the accident report.
See https://support.mozilla.com/en-US/kb/Firefox%20crashes
or http://kb.mozillazine.org/Firefox_crashes -
Fonts of computer how to get back the original font?
Hi I just installed this game yesterday called special forces.
When I switched on my computer: today, the fonts from my computer changed everything for the font set.
still, the resolution is 1024 x 768, I wouldn't change a thing. How to get back the original font?
Help!
Hello, LynA1103,
Did you change Windows themes when you installed the game?
Have you tried a system restore to a date and time before installing the game?
What is the system restore
http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore
Right-click on desktop and select Customize
Select the appearance and color of the window
Click on the properties of classical appearance open for more color options
Select the theme under the color scheme
Click Advanced settings
Click on the title bar Active
Select font of choice
Select the color of the font of choice
Click Ok, apply, Ok
-
cartridges aren't coming out,
says paper jam, no paper in the printer,
How to get out the cartridges without killing printer.?
I did the thing video together 3 times and still won't come out? I'll call hp remote and hope they can fix it thank you
-
How to get around the problem of printing from the printer driver Adobe PDF for Notepad instead of a PDF Document? I tried the tool 'Repair Acrobat Installation' and other problems listed on the forums, but nothing worked. In the Notepad document is the following ' % [ProductName: distill] % X937B6DD4 not found, using the mail service.» X07BB154E not found, by using the messaging service. % [Page: 1] %% % [Page: 2] % % [Page: 3] % % [Page: 4] % % [Page: 5] % X4EEBB81F not found, by using the messaging service. %% [Error: invalidfont;] OffendingCommand: show; ErrorInfo: CharOffsets ss %% [Flushing: rest of work (end of file) will be ignored] %% %% [warning: PostScript error.] No PDF file produced. ] %%."
The log file indicates that the Distiller cannot find fonts and besides, fonts with very weird names. (These names can often appear when printing from an application, WPF such as Internet Explorer 9, 10 or 11.)
My best guess is that the problem is with the options set for the PostScript of PDF from Adobe printer driver instance. Exit the application you were initially impression since. Open the Adobe PDF printer Properties . Then click the Advanced tab. Then click on the button default printing . This should produce a significant window default print Adobe PDF is already opened in the Adobe PDF settings tab. On this tab, there is a checkbox to rely on system only fonts; do not use fonts in the document. If this box is checked, uncheck it and press apply , then OK. Then go to the general tab and press the button Preferences giving the window entitled Adobe PDF printing preferences. Again once, look for the box to rely on system only fonts; do not use document fonts. If this box is checked, uncheck it and press apply , then OK. Then back in the Adobe PDF Properties dialog box main, press apply (if it is enabled), and then click OK. Re-enter the app you were original print and try to print again. Let us know if that fixes the problem.
-Dov
PS: Unfortunately, rely on fonts system only turned on by default, causing problems for many applications. I always recommend turning it off (i.e., unchecking it)!
-
How to get to the BIOS on new XPS 8700?
How to get to the BIOS on new XPS 8700?
This is a brand new machine with Win 8.1, a SSD boot drive, etc.
I need to get in the BIOS so that I can prepare for the recovery with Acronis backup program. This program will generate a recovery disk or flash drive. If my boot drive does not start, I will use the recovery point, but I need to have the BIOS first try to start from that before the C drive.
Reading messages on the Acronis forum, I heard for the first time on UEFI - I barely understand what it is - but apparently, a replacement for the BIOS?
Is it likely that my new machine has UEFI rather than a BIOS? and how do to it? Press a function button for the system to start? A person on the Acronis forum suggested to win 8.1 to restart and hold the SHIFT key while doing.
I do not experiment on my PC unless I am sure it is the right method. This is my 4th Dell-all previous versions came with a manual that could give me the answer to a question like that.
The "missing manual" is perhaps on the Dell website?
Joe
Your system is UEFI.
As the UEFI systems start very quickly, you start typing (do not hold) F2 as soon as you power on open configuration. Otherwise, it will just start normally from the hard disk.
Alternatively, you can start to type F12 as soon as you turn on that should give you a start with options menu to boot from the optical drive or USB. Note: To boot from USB FlashDrive bootable is connected before you turn on the system, otherwise it does not appear as an option in the menu of F12.
See page 82 in the Manual.
-
Hello
I have a table as below
emp_id (integer)
id_est (integer)
dt_est (date)
for each emp_id I have several id_est with several dt_est... as below
emp_id id_est dt_est
1 1 10-01 - 2009
1 2 2009 - 01 - 13
2 3 2009 - 01 - 10
2 4 2009 - 01 - 12
2 5 2009 - 01 - 14
3 6 2009 - 01 - 12
4 7 2009 - 01 - 15
5 8 2009 - 01 - 17
5 9 2009 - 01 - 19
I would get just the news lines function date each emp_id, so my result should be as below
emp_id id_est dt_est
1 2 2009 - 01 - 13
2 5 2009 - 01 - 14
3 6 2009 - 01 - 12
4 7 2009 - 01 - 15
5 9 2009 - 01 - 19
How I do that?
Thank youHello
Try this code.
Salim cordially.
SELECT id_emp, MAX (id_est), MAX (dt_est) FROM t GROUP BY id_emp
-
My favorite toolbar after installation of El Capitan is on the left. How to get to the top when I open Safari?
Chances are you have the sidebar option.
To hide the side, go to view and click the Hide sidebar
Maybe you are looking for
-
CP3505n: Old printer driver need new Mac
My old iMac crashed and I am having to start over with a new onw now running El Capitan. I need the driver for my printer CP3505. I can find the link to download an upgrade of the driver, but my problem is that the original driver is no longer on my
-
Help me build a stepper motor control in LV?
I need control a single linear axis slide that is driven by a motor nema 34. It will be very simple move, start, move at a constant speed, stop, return. I do not have the engine. I can use a controller and a software company that sells me the slide,
-
They me connected to Vsark. Now I wonder if I've been hacked. They gave the number is 888-766-7769 vSark Technologies Inc.
-
How to remove an MSN account?
Network discovery sharing sharing inbound network incoming Remote Desktop RDP TS Remote Desktop Remote Assistance Network * E-mail address is removed from the privacy * is no longer a valid email... the woman... my mother died on May 6, 2010... recen
-
can someone provide me with processes of generation and deployment for bb os 6
If possible common build process for all blackberry platforms. The docs that are provided by blackberry drove me crazy. Those who are really help less. Please provide me the details as soon as possible