Filters in SEM_MATCH
Hi
It seems like a "column" has to be selected to be used in the SEM_MATCH filter (f.ex: if I search for all enzyme ids that are not obsolete I have to select the "obsolete" column).
In the SPARQL example below the ?age is not selected.
PREFIX info: <http://somewhere/peopleInfo#>
SELECT ?resource
WHERE
?resource info:age ?age .
FILTER (?age >= 24)
ps: is full SPARQL support in the database on it's way?
Regards - Christian
Christian,
Thanks for sending the details. I have reproduced the problem. It happens when the filter argument is used with the new (curly-brace) syntax and the filter condition happens to use one or more columns not in the SELECT-list. We plan to fix it and make the fix available in a future release or patchset.
The workaround I'd recommend is to put the filter condition in a WHERE clause of the SELECT query (instead of specifying the filter condition as filter argument in the SEM_MATCH invocation) as shown below (changes in bold):
SELECT id, name
FROM table (sem_match ('{?id up:name ?name . ?id up:cofactor ?cofactor}',
sem_models ('nnupenz'), NULL,
sem_aliases (sem_alias ('up', 'http://purl.uniprot.org/core/')),*null*
)) WHERE cofactor = 'Zinc';
Other possible workarounds are:
1) add the extra column in the SELECT-list as you have done, OR
2) if the resulting table must not have that extra col, then use an outer SELECT query with the intended col list:
select id,name from (SELECT id, name, cofactor FROM TABLE(SEM_MATCH(...))), OR
3) Use the original (non-curly-brace) syntax, that is, use the following as pattern argument:
'(?id up:name ?name)( ?id up:cofactor ?cofactor)'
Thanks,
- Souri.
Similar Messages
-
Error while trying to use '{' in the query
Hi,
The below mentioned query is giving Error while trying to use '{'
Query:
select s,x from table(SEM_MATCH(
'{?s rdf:type <http://www.cs.com/sbip/dwh/mdm/data_modeling#Base_Term> .
?s ?p ?x}',
SEM_Models('foundation'),
SEM_RuleBases('OWLPRIME'),
SEM_ALIASES(SEM_ALIAS('dm','http://www.cs.com/sbip/dwh/mdm/data_modeling#'),
SEM_ALIAS('owl','http://www.w3.org/2002/07/owl#')), null, 'INVALID'))
where regexp_like(x,'Customers','i');
Error details:
ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.rdf.server.TokenMgrError: Lexical error at line 1, column 1. Encountered: "{" (123), after : ""
ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 178
ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 67
ORA-06512: at line 4
I am unable to use Option, Filter in query.
Any solution?
Please let me know do i need to apply any patch?
Note: I am using Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
Regards,
Kavitha.Hi,
For OPTIONAL support in 11.1.0.7.0, you need the following patch
Patch 7600122: CURLY BRACE SYNTAX,VIRTUAL MODELS, NETWORK INDEXES AND HINTO FRAMEWORK SUPPORT
Support for SPARQL FILTERs in SEM_MATCH is not available for 11.1.0.7.0. You will need version 11.2.0.1.0 or later for FILTER support. With 11.2.0.1.0, we recommend that you apply our latest patch set:
Patch 9819833: SEMANTIC TECHNOLOGIES 11G R2 FIX BUNDLE 2
All of the above patches are available through My Oracle Support.
Thanks,
Matt -
JSS error while trying to use amsdk.
I have a existing web application that uses AM sdk to perform SSO, which is deployed in Sun Webserver 7. It works perfectly fine.
I have developed another sample web application to do the same I deployed it in the same web container but I am getting following error.
java.lang.NoClassDefFoundError: org/mozilla/jss/provider/Provider
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.iplanet.services.util.Crypt.createInstance(Crypt.java:128)
at com.iplanet.services.util.Crypt.<clinit>(Crypt.java:101)
at com.iplanet.services.ldap.LDAPUser.getPasswd(LDAPUser.java:117)
at com.iplanet.services.ldap.ServerInstance.getPasswd(ServerInstance.jav a:128)
at com.sun.identity.security.ServerInstanceAction.run(ServerInstanceActi on.java:92)
at java.security.AccessController.doPrivileged(Native Method)
at com.iplanet.am.util.AdminUtils.<clinit>(AdminUtils.java:81)
at com.sun.identity.security.AdminDNAction.run(AdminDNAction.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.iplanet.am.sdk.AMCommonUtils.getInternalToken(AMCommonUtils.java: 118)
at com.iplanet.am.sdk.AMCommonUtils.populateManagedObjects(AMCommonUtils .java:538)
at com.iplanet.am.sdk.AMCommonUtils.<clinit>(AMCommonUtils.java:107)
at com.iplanet.am.sdk.AMHashMap.<init>(AMHashMap.java:77)
at com.iplanet.am.sdk.AMStoreConnection.<clinit>(AMStoreConnection.java: 141)
at com.sun.comms.client.web.authorization.AMSSOProvider.getAdminStoreCon nection(AMSSOProvider.java:130)
at com.sun.comms.client.web.authorization.AMSSOProvider.SingleSignOn(AMS SOProvider.java:47)
at com.sun.comms.client.web.authorization.SSOFilter.doFilter(SSOFilter.j ava:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:210)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:178)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:270)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard ContextValve.java:241)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:182)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:571)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:160)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:571)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.process(NSAPIProcess or.java:149)
at com.sun.webserver.connector.nsapi.NSAPIConnector.service(NSAPIConnect or.java:995)
Not sure why in same web container two different applications works differently. Please let me know what needs to be done to avoid the above issue.
--Balamurugan.Hi,
For OPTIONAL support in 11.1.0.7.0, you need the following patch
Patch 7600122: CURLY BRACE SYNTAX,VIRTUAL MODELS, NETWORK INDEXES AND HINTO FRAMEWORK SUPPORT
Support for SPARQL FILTERs in SEM_MATCH is not available for 11.1.0.7.0. You will need version 11.2.0.1.0 or later for FILTER support. With 11.2.0.1.0, we recommend that you apply our latest patch set:
Patch 9819833: SEMANTIC TECHNOLOGIES 11G R2 FIX BUNDLE 2
All of the above patches are available through My Oracle Support.
Thanks,
Matt -
I run an Oracle Sparql but it reported : character string buffer too small
it seemed that if there are too many filters in SEM_MATCH, Oracle Sparql will get ERROR, anyone met this problem before?There are two aspects:
for the query filters in SEM_MATCH, take (?a rdf:type ?b) as an example, we knew b should be a short string;
another aspect is if there are too much filters in SEM_MATCH, (?a rdf:type ?b) (?a ...)(?a ...).... there is also a limit to that string;
What we want to know is the size of the two variables, could you tell us the limit so we can modify our code? -
Error while trying to use oci driver
hi all,
When trying to use the utility loadjava for oci driver i get the following error
d:\>loadjava -user jar/jar -oci8 -oracleresolver checkoci.jar
SQL Error while connecting with oci8 driver to default database: Error while try
ing to retrieve text for error ORA-12538
Any idea
pl mail to [email protected]
or tell me how to connectHi,
For OPTIONAL support in 11.1.0.7.0, you need the following patch
Patch 7600122: CURLY BRACE SYNTAX,VIRTUAL MODELS, NETWORK INDEXES AND HINTO FRAMEWORK SUPPORT
Support for SPARQL FILTERs in SEM_MATCH is not available for 11.1.0.7.0. You will need version 11.2.0.1.0 or later for FILTER support. With 11.2.0.1.0, we recommend that you apply our latest patch set:
Patch 9819833: SEMANTIC TECHNOLOGIES 11G R2 FIX BUNDLE 2
All of the above patches are available through My Oracle Support.
Thanks,
Matt -
Using NULL and NOT NULL in prompted filters
Dear all,
While trying to grap the concept of prompted filters in sap bo web intelligence, I had a question whether why we cannot use NULL and NOT NULL while creating a prompted filters in our report.HI,
'Is Null' and 'Not Null' are the predefined functions in webi which only eliminate the null values or considering only null values.
'Is Null' and 'Not Null' are itself predefined functions that why you are not getting prompts.
Null values are standard across the databases so this is defined as a function in webi to specific eliminate the null values.
If something is not standard then there is option in the webi to use different operator with static values or with prompts.
More more information on Null see the Null wiki page.
Null (SQL) - Wikipedia, the free encyclopedia
Amit -
Interactive report column filters to display differently than column values
Greetings...
We use images a lot in our interactive reports to provide a visual representation to a status, or something locked for update, or what-have-you. By default, when a user clicks the column heading of a column which contains images, the drop-down list that shows up displays the actual images, which is nice for the user to identify exactly which thing they want to filter on. The problem is when the user selects on of the options in the filtering drop-down, the resulting condition that is displayed under the interactive report search bar is the HTML code of the image. I'd like something else to display there because showing the user the HTML code is atrocious.
I didn't think what I want is possible, but then I came across the Page Locks page within ApEx (page 4000:291 in ApEx 4.0.1) which displays a list of all the pages of an application and whether they are locked or not. It also allows you to bulk lock or bulk unlock a bunch of pages. That page uses an interactive report with a column called "Status" which contains images that represent whether the page is locked or not. When you click the "Status" column heading to filter, instead of seeing the images of an open and closed lock, you see the words "Page Locked" and "Page Unlocked." And even better... when you select on of them, the condition that is displayed to the user is very user-friendly.
Can someone tell me how this is done so I can replicate it in my own apps?
Shane.Why not create the IR using the text you require e.g. 'Lock', 'Unlock' and then use JQuery to replace the text in the report with the image you want. All the filters should then show the plain text and the report will display the image. e.g.
http://apex.oracle.com/pls/apex/f?p=46801:1
Here's what I did:
Firstly make sure the IR has a region template.
Then create a Dynamic Action with the following attributes:
1. Advanced
2. Event: After Refresh
3. Selection Type: Region
4. Region: [select the IR Region]
5. Action: Execute JS Code
6. Fire on page load: [checked]
7. Code:
$('td [headers="TEST"]').each(function(index) {
if ($(this).text() == 'Lock') {
$(this).empty().html('<img src="/i/htmldb/icons/locked_small.gif" alt="Lock" />');
else {
$(this).empty().html('<img src="/i/htmldb/icons/unlocked_small.gif" alt="Unlock" />');
});Where TEST is the column name.
That's it, this may also be of interest:
http://simonhunt.blogspot.com/2011/10/adjusting-interactive-report-column.html
I hope it helps
Shunt -
View Criteria - how to show the VO filtered differently at a time
My requirement is something like this-
I have a detailsVO which is a join of say employee and department table
I need to show the VO in such a way that-
department1
detailsVO <filtered rows for department1)
department2
detailsVO <filtered rows for department2)
department3
detailsVO <filtered rows for department3)
Here each filtered VO is to be show in different UI table
How do I achieve this? Any suggestions? If I use a VOCriteria with :BindDepartment, how do I bind the same detailsVO to show the details?
Please advise.How about using a tree table?
Or you may want to look at http://tompeez.wordpress.com/2011/12/29/jdeveloper-11-1-2-1-cascading-tables/ which uses two cascading tables.
Timo -
SSRS 2008 R2 Report - Sum Totals of a Filtered Group
I'm at a loss here, so any help will me much appreciated. I will do my best to explain, but if you need additional information, please let me know:
I have a very large dataset of patient data. Specifically for the numbers I need, I have a patient number field, a county field, a 1 or 0 for LastYear field, and a 1 or 0 for CurrentYear field.
Example:
PtNo County PY CY
45676 Scott 0 1
45322 Cape 1 0
47686 North 0 1
The thing I am shooting for on my report is, "Volume growth in 3 counties (+20 cases)."
I created a group and grouped by County (group name County) and I included a group filter to only include "total cases of CY" are greater than "total cases of PY" to narrow my data to only counties that had a higher current year sum
than previous year sum.
Example:
County PY CY Difference
Scott 141 143 2
Cape 90 98 8
North 78 88 10
All is working well, except I don't need to see the Counties themselves, I just need the 3 counties and a difference of 20.
I explored online and found tutorials that said to right click on the field and select "Add Total" but this total did not have my filter in it and gave me everyone. I also tried adding a row outside the group and used the RunningValue function
(i.e. RunningValue(Fields!FYTD_Current_Year.Value, Sum, "County")) but it gave me a message that states "The Value expression for the text box 'Textbox456' has a scope parameter that is not valid for an aggregate function. The scope
parameter must be set to a string constant that is equal to either the name of a containing data region or the name of a dataset."
When I move the row with the RunningValue function inside the group, it runs but I get the same information repeated twice for each county with no final total.
So I am not sure how to go about getting my values I need for my report. Anybody know how to resolve this?
Thanks,
Cyndi
cpemtp1Hi Cyndi,
Based on my understanding, you specify a filter condition in group properties. Then you want to sum the filtered values for each field.
In this scenario, we need to specify a filter condition on group level. If we use sum() function out of group, the expression will calculate the total values on dataset level instead of group level. So we can’t simply use expression to achieve this goal.
However, we can use custom code to record the filtered values for each field, then we can calculate the total based on these values. Please refer to the steps and screenshots below:
1. Add the custom code below into the report:
Public Shared Value1 as Integer=0
Public Shared Function GetValue1(Item as Integer) as Integer
value1= value1 + Item
return Item
End Function
Public Shared Function GetTotal1()
return value1
End Function
Public Shared Value2 as Integer=0
Public Shared Function GetValue2(Item as Integer) as Integer
value2= value2 + Item
return Item
End Function
Public Shared Function GetTotal2()
return value2
End Function
2. Design the tablix like below:
3. The result looks like below:
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu -
Can't view filtered VO properly in a dynamic region
Hi all,
I am using Jdeveloper 11.1.1.0
I have a view object (myVO) that has some view criterias (FilteredVO1, FilteredVO2, ecc.)
In myPage I have a dynamic region in which I can view different fragments. These fragments contain filtered data (FilteredVO1, FilteredVO2, ecc.), but I always see all the data (myVO)
If I run the application module, in FilteredVO1, FilteredVO2, ecc. I see the data properly (I see the filtered data, not all the data).
Also if I run a normal page (without fragments) with a panel tab for every FilteredVO, I see the filtered (and not all) data.
In myPageDef I have set the property "refresh" on "ifNeeded".
What's the problem? Any suggestions?
Thanks
AndreaHi Andrea,
Why do you want to set the refresh parameter? Is your task-flow has any parameters set..? Refresh parameter should be used only when you want the dynamic region to respond based on task-flow parameter. Otherwise, the dynamic region can automatically refresh based on different task-flow selection. So, precisely if you reset this param to default, it should work as expected provided these fragments uses different task-flows. See this document section [16.2 Creating ADF Dynamic Regions|http://download.oracle.com/docs/cd/E15051_01/web.1111/b31974/taskflows_regions.htm] for more info.
Regards,
~Krithika -
Can't find FILTER CONDITION for filters or Function_Name for Functions
In the Data Warehouse 11gr1 views all_iv_xform...
I can't seem to find the Filter Conditions for filters and function name for functions that are called.
I have looked at the other views in the documentation for the API's but can't seem to find this information.
Any body have any ideas where this information is?
thanks
greGselect map_component_id, position, source_parameter_name
from ALL_IV_XFORM_MAP_PARAMETERS
where map_component_id in (
SELECT map_component_id
FROM ALL_IV_XFORM_MAP_COMPONENTS
WHERE MAP_ID IN (
select MAP_ID
from ALL_IV_XFORM_MAPS
where MAP_NAME = :p_map_name
AND OPERATOR_TYPE = 'Filter'
Using map_component_id and position from above query you can see your filter condition defined in property_value:
select map_component_name, property_name, property_value
from ALL_IV_XFORM_MAP_PROPERTIES
where map_component_id = :p_comp_id; -
hi guys two days later I installed photoshop cs6 and updated my camera raw plugin but i was unable to see that plugin in my filters. pls any one help me to get rid of that ................
Good day!
If you are talking about the Camera Raw Filter that was introduced in Photoshop CC, if I remember correctly.
Regards,
Pfaffenbichler -
Unable to view Report Filters on Excel Services web part
I have an Excel 2010 file with Pivot Charts. I want users to be able to select filters for the pivot charts to modify their chart/report as needed.
This excel file with Pivot Charts is visualized using Excel Services Web Part on SharePoint 2010.
My problem: The Pivot Chart Filters do not appear on SharePoint. They are available when the file is opened in Excel 2010.
Is there a way to have chart/report filters show up on SharePoint (excel services web part)?As per the article below it seems that Pivot Chart Filtering is not available with Excel services. The article reads
"PivotChart reports are not interactive when displayed in a browser. You cannot filter a PivotChart report directly, but if you interact
with the PivotTable report that supplies data for the PivotChart report, the PivotChart report updates accordingly. This means if you filter the PivotTable report, the PivotChart report updates to show the filtered data set."
Unsupported Features in Excel Services
Though this article is for MOSS 2007 but if you read the following article for SP 2010 it reads "All other unsupported features continue
to behave as they do in Office SharePoint Server 2007 for Excel Services."
http://msdn.microsoft.com/en-us/library/ff595319(v=office.14).aspx
Amit -
Web Services API Sample w/ Filters
Does anyone know how to use a Filter in a doOracleSearch call using the Java proxies supplied for the Web Services API? I tried doing this but it appears there is a conflict with Servlet Filter class. When I used the complete path to the class, it compiles, but upon deployment and execution on OC4J I get a symbol not found error. Here is an excerpt of the problem code:
if( query != null && search_type.equals("advanced") )
String str_doc_type = request.getParameter("document_type");
int start = orderByDate ? 1 : startIndex;
int hits = orderByDate ? recencyHits : pageHitCount;
oracle.search.query.webservice.client.Filter[] myfilterArray = null;
oracle.search.query.webservice.client.Filter filterDocType = new oracle.search.query.webservice.client.Filter(112,"string","equals","4918");
myfilterArray[0] = filterDocType;
try
res = ctx.doOracleSearch(
query, // query
new Integer( start ), // start index
new Integer( hits ), // documents requested
Boolean.TRUE, // duplicates removed
Boolean.FALSE, // duplicates marked
groups, // data groups
locale.getLanguage(), // query language
null, // document language
Boolean.TRUE, // return count
null, // filter connector
myfilterArray, // filters
null // fetch attributes
catch( Exception e )
searchException = e;
}Hi,
I am trying to deploy this sample application. I received the following error:
[oracle@dev1 home]$ /home/oracle/oracle/product/10.1.8/ses1/jdk/jre/bin/java -ja
r /home/oracle/oracle/product/10.1.8/ses1/oc4j/j2ee/home/admin_client.jar deploy
er:oc4j:dev1.psa:5740 oc4jadmin oraidev1 -deploy -file /home/oracle/oracle/produ
ct/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/sample.ear -deploymentName ses
_query -bindAllWebApps http-web-site
08/05/20 11:20:29 Notification ==>Application Deployer for ses_query STARTS.
08/05/20 11:20:29 Notification ==>Copy the archive to /home/oracle/oracle/produc
t/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query.ear
08/05/20 11:20:29 Notification ==>Initialize /home/oracle/oracle/product/10.1.8/
ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query.ear begins...
08/05/20 11:20:29 Notification ==>Unpacking ses_query.ear
08/05/20 11:20:29 Notification ==>Error while unpacking ses_query.ear
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:92)
at oracle.oc4j.util.FileUtils.unjar(FileUtils.java:309)
at oracle.oc4j.util.FileUtils.autoUnpack(FileUtils.java:488)
at com.evermind.server.deployment.EnterpriseArchive.<init>(EnterpriseArc
hive.java:234)
at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(Applicatio
nDeployer.java:412)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:187)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
yerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:534)
08/05/20 11:20:29 Notification ==>Operation failed with error:
Unable to find/read file META-INF/application.xml in /home/oracle/oracle/product
/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query (META-INF/application.
xml)
Deploy error: Deploy error: Operation failed with error:
Unable to find/read file META-INF/application.xml in /home/oracle/oracle/product
/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query (META-INF/application.
xml)
Please help!!
Thanks!
Regards,
Deva -
Substitute for filters in SAP BusinessObjects Dashboards
Dear all,
I am working on a dashboard application built on SAP Business Objects Dashboards 4.1.
When I deployed the application to an iPad, I realized that the filters present in the application are not supported by iPad.
Thus, is there any mobile-compatible component in SAP BO Dashboards which I can use in place of filrters for filtering the result during runtime?
Any help is highly appreciated.
Thanks And Regards,
Nalin DwivediIn combo box, all I can do is select some values from one or more rows or cells in the excel and paste it to some other destination within excel. But my whole dashboard is query-based i.e. I have created query and my charts are getting the data directly from database during runtime. Thus, the query prompt selectors I have used are directly manipulating the data coming from the database.
Since query prompt selector are not supported in mobile mode, I need a substitute for it.
Combo box is not able to help till now because the values of combo box can not manipulate the data coming from database. Moreover, I am not sure if I have used the combo box properly.
If there is any way by which it can be done with using mobile-compatible components, then please suggest me about it.
Thanks in advance.
Regards,
Nalin
Maybe you are looking for
-
my Mac is telling me that my disk is full. I have bought an external hard drive and watched a youtube tutorial on moving iTunes library to external hard drive. Will I still be able to use iTunes on my Mac for new media or will this now only work thro
-
How to create publishing custom approval workflow will assign approvers.
Hi All, I am new in sharepoint development. I have a page library where we add artical page with different department I want to create publishing custom approval workflow will assign approvers based on what department is selected for display. The de
-
Enabling ITS to a User Defined Transaction
Hello, <i>I have Module pool program which generates user id and Password in SAP. But the requirement is that it should be ITS enabled. ( The users should be able to view it in the Interner Explorer instead of SAP )</i>I heard that we have a feature
-
Broadcast E-mail, online link to current data- Issue
Hi team, i have set up the above mention settings in my IB settings, i am receiving the email, however i am receiving a very very long link in the email as shown below, "http://bomw064a.in002.siemens.net:8110/sap/bw/BEx?CMD=LDOC&DATA_PROVIDER_ID=D5UD
-
After upgrade to IOS8 can't import photos from Aperture
I upgraded to IOS8, reset my iPad to factory settings and reinstalled all my apps from scratch. When go into iTunes and I select to import photos from Aperture on my Mac it hangs. I have an old iPhoto library on my Mac and if I select photos from tha