Hi,
I've posted some tickets on some graph/filter/union problems (831,832,833,835) few days ago.
Those look like some major problems with the db(especially 832) and if they are valid i'm wondering how other developers work with graphs because the problems should show up pretty quick, unless most users don't use quads.
I've also tested the issues on other triple store just to validate them, and on older version of bigdata 1.2.3 (also has the problems).
So maybe you can take a look just to check if they are valid.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you sure that the KB is in the quads mode? Check the VoID description of the service. If it is running in triples mode then you will not see the expected behavior.
Bryan
Hi,
I've posted some tickets on some graph/filter/union problems (831,832,833,835) few days ago.
Those look like some major problems with the db(especially 832) and if they are valid i'm wondering how other developers work with graphs because the problems should show up pretty quick, unless most users don't use quads.
I've also tested the issues on other triple store just to validate them, and on older version of bigdata 1.2.3 (also has the problems).
So maybe you can take a look just to check if they are valid.
Config file: RWStore.properties
.................
##
## Setup for QUADS mode without the full text index.
##
com.bigdata.rdf.sail.truthMaintenance=false
com.bigdata.rdf.store.AbstractTripleStore.quads=true
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok. Please attach the properties used to create the KB instance to the ticket. You can get this from the REST API (list properties for namespace).
Bryan
And please verify that this is replicated against the current revision on the main development branch (branches/BIGDATA_RELEASE_1_3_0) for the new SVN location (see the source forge project site or our blog for this information if you have not updated to the new SVN yet).
Bryan
Ok. Please attach the properties used to create the KB instance to the ticket. You can get this from the REST API (list properties for namespace).
Bryan
The other computer is also in quads mode, now i'm using version from
"svn.code.sf.net/p/bigdata/code/branches/BIGDATA_RELEASE_1_3_0/" and bugs still remain.
I can view the ticket but i can't edit it so i'm attaching to this post prop file that has initial config + properties for namespace in last part.
The other computer is also in quads mode, now i'm using version from
"svn.code.sf.net/p/bigdata/code/branches/BIGDATA_RELEASE_1_3_0/" and bugs still remain.
I can view the ticket but i can't edit it so i'm attaching to this post prop file that has initial config + properties for namespace in last part.
The VALUES syntax is not yet supported. We still support BINDINGS instead. ticket 841 should be closed as a duplicate of the ticket for the last call sparql changes and would be addressed be moving to openrdf 2.7 or 2.8.
I have the other items on my list to check, but I have not had the opportunity to do so yet. I will try to get to this soon.
I hope you can address the issues with UNION and FILTER soon. I am hoping to use Bigdata for the Arvados (http://arvados.org) metadata database and have already invested substantial time working out how to build a permissions model. However, I can't build my permission rules without UNION, and I don't think I can ask users to go without FILTER, so this is a showstopper for me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We've been behind on the open source support issues due to a surge in customer feature development and services. I certainly will get to this as soon as possible. If you would like to help, maybe you can drill down into the query and see if you can figure out why it is failing. That would make it easier for us to identify a fix.
My guess is that the filter is being silently dropped during a rewrite of the UNION. This would be one of the AST optimizers. If you look at AST2BOpUtility, you can see that it runs the AST optimizers here:
// Run the AST query rewrites / query optimizers.finalQueryRootoptimizedQuery=(QueryRoot)ctx.optimizers.optimize(ctx,originalQuery,bindingSets);
Probably one of these rewrite stages is responsible for dropping the FILTER. It would help if you could (a) identify whether the FILTER is being dropped by a query rewrite stage; and (b) which one is dropping the FILTER.
I hope you can address the issues with UNION and FILTER soon. I am hoping to use Bigdata for the Arvados (http://arvados.org) metadata database and have already invested substantial time working out how to build a permissions model. However, I can't build my permission rules without UNION, and I don't think I can ask users to go without FILTER, so this is a showstopper for me.
Also, using the NSS [x] Explain should show you what is happening in the query translation phase.
It does not show the step by step rewrite of the query, but it does show the before and after rewrite of the query. You can enable logging on the ASTOptimizerList to see the before/after of each step in the query rewrite:
public class ASTOptimizerList extends LinkedList<iastoptimizer> implements</iastoptimizer>
IASTOptimizer {
private static final Logger log = Logger.getLogger(ASTOptimizerList.class);
We've been behind on the open source support issues due to a surge in customer feature development and services. I certainly will get to this as soon as possible. If you would like to help, maybe you can drill down into the query and see if you can figure out why it is failing. That would make it easier for us to identify a fix.
My guess is that the filter is being silently dropped during a rewrite of the UNION. This would be one of the AST optimizers. If you look at AST2BOpUtility, you can see that it runs the AST optimizers here:
// Run the AST query rewrites / query optimizers.finalQueryRootoptimizedQuery=(QueryRoot)ctx.optimizers.optimize(ctx,originalQuery,bindingSets);
Probably one of these rewrite stages is responsible for dropping the FILTER. It would help if you could (a) identify whether the FILTER is being dropped by a query rewrite stage; and (b) which one is dropping the FILTER.
I hope you can address the issues with UNION and FILTER soon. I am hoping to use Bigdata for the Arvados (http://arvados.org) metadata database and have already invested substantial time working out how to build a permissions model. However, I can't build my permission rules without UNION, and I don't think I can ask users to go without FILTER, so this is a showstopper for me.
Hi,
I've posted some tickets on some graph/filter/union problems (831,832,833,835) few days ago.
Those look like some major problems with the db(especially 832) and if they are valid i'm wondering how other developers work with graphs because the problems should show up pretty quick, unless most users don't use quads.
I've also tested the issues on other triple store just to validate them, and on older version of bigdata 1.2.3 (also has the problems).
So maybe you can take a look just to check if they are valid.
Thanks
Are you sure that the KB is in the quads mode? Check the VoID description of the service. If it is running in triples mode then you will not see the expected behavior.
Bryan
From: feugen24 feugen24@users.sf.netamp#102;amp#101;amp#117;amp#103;amp#101;amp#110;amp#50;amp#52;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Reply-To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Date: Wednesday, March 5, 2014 3:53 PM
To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Subject: [bigdata:discussion] Bigdata graph issues
Hi,
I've posted some tickets on some graph/filter/union problems (831,832,833,835) few days ago.
Those look like some major problems with the db(especially 832) and if they are valid i'm wondering how other developers work with graphs because the problems should show up pretty quick, unless most users don't use quads.
I've also tested the issues on other triple store just to validate them, and on older version of bigdata 1.2.3 (also has the problems).
So maybe you can take a look just to check if they are valid.
Thanks
Bigdata graph issueshttps://sourceforge.net/p/bigdata/discussion/676946/thread/ce881ada/?limit=25#c8b4
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bigdata/discussion/676946/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
I've checked on the setup from my home pc, i'll double check tomorrow the other one(job pc) just to be sure.
Endpoint description:
rdf:Description rdf:nodeID="service">.....
feature rdf:resource="http://www.bigdata.com/rdf#/features/KB/Mode/Quads"/>
Config file: RWStore.properties
.................
##
## Setup for QUADS mode without the full text index.
##
com.bigdata.rdf.sail.truthMaintenance=false
com.bigdata.rdf.store.AbstractTripleStore.quads=true
Ok. Please attach the properties used to create the KB instance to the ticket. You can get this from the REST API (list properties for namespace).
Bryan
From: feugen24 feugen24@users.sf.netamp#102;amp#101;amp#117;amp#103;amp#101;amp#110;amp#50;amp#52;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Reply-To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Date: Wednesday, March 5, 2014 4:57 PM
To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Subject: [bigdata:discussion] Bigdata graph issues
I've checked on the setup from my home pc, i'll double check tomorrow the other one(job pc) just to be sure.
Endpoint description:
rdf:Description rdf:nodeID="service">.....
feature rdf:resource="http://www.bigdata.com/rdf#/features/KB/Mode/Quads"/>
Config file: RWStore.properties
.................
Setup for QUADS mode without the full text index.
com.bigdata.rdf.sail.truthMaintenance=false
com.bigdata.rdf.store.AbstractTripleStore.quads=true
Bigdata graph issueshttps://sourceforge.net/p/bigdata/discussion/676946/thread/ce881ada/?limit=25#3922
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bigdata/discussion/676946/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
And please verify that this is replicated against the current revision on the main development branch (branches/BIGDATA_RELEASE_1_3_0) for the new SVN location (see the source forge project site or our blog for this information if you have not updated to the new SVN yet).
Bryan
From: Bryan Thompson thompsonbry@users.sf.netamp#116;amp#104;amp#111;amp#109;amp#112;amp#115;amp#111;amp#110;amp#98;amp#114;amp#121;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Reply-To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Date: Wednesday, March 5, 2014 5:05 PM
To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Subject: [bigdata:discussion] Re: Bigdata graph issues
Ok. Please attach the properties used to create the KB instance to the ticket. You can get this from the REST API (list properties for namespace).
Bryan
From: feugen24 feugen24@users.sf.net<mailto:feugen24@users.sf.netfeugen24@users.sf.netamp#102;amp#101;amp#117;amp#103;amp#101;amp#110;amp#50;amp#52;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Reply-To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.net<mailto:676946@discussion.bigdata.p.re.sf.net676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Date: Wednesday, March 5, 2014 4:57 PM
To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.net<mailto:676946@discussion.bigdata.p.re.sf.net676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Subject: [bigdata:discussion] Bigdata graph issues
I've checked on the setup from my home pc, i'll double check tomorrow the other one(job pc) just to be sure.
Endpoint description:
rdf:Description rdf:nodeID="service">.....
feature rdf:resource="http://www.bigdata.com/rdf#/features/KB/Mode/Quads"/>
Config file: RWStore.properties
.................
Setup for QUADS mode without the full text index.
com.bigdata.rdf.sail.truthMaintenance=false
com.bigdata.rdf.store.AbstractTripleStore.quads=true
Bigdata graph issueshttps://sourceforge.net/p/bigdata/discussion/676946/thread/ce881ada/?limit=25#3922
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bigdata/discussion/676946/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Bigdata graph issueshttp://sourceforge.net/p/bigdata/discussion/676946/thread/ce881ada/?limit=25#3922/083f
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bigdata/discussion/676946/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
The other computer is also in quads mode, now i'm using version from
"svn.code.sf.net/p/bigdata/code/branches/BIGDATA_RELEASE_1_3_0/" and bugs still remain.
I can view the ticket but i can't edit it so i'm attaching to this post prop file that has initial config + properties for namespace in last part.
Ok. I've asked Martyn to look at the trac attachment issue.
In general, the database is in broad commercial use in triples, triple + inference, and quads modes.
All databases have bugs. One of the advantages that we offer our customers is rapid turn around on the platform, with patches often in 1-2 days.
Thanks for reporting the problem. We will look at these tickets at see what the underlying problems are.
Thanks,
Bryan
From: feugen24 feugen24@users.sf.netamp#102;amp#101;amp#117;amp#103;amp#101;amp#110;amp#50;amp#52;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Reply-To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Date: Thursday, March 6, 2014 4:24 AM
To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Subject: [bigdata:discussion] Bigdata graph issues
The other computer is also in quads mode, now i'm using version from
"svn.code.sf.net/p/bigdata/code/branches/BIGDATA_RELEASE_1_3_0/" and bugs still remain.
I can view the ticket but i can't edit it so i'm attaching to this post prop file that has initial config + properties for namespace in last part.
Attachment: RWStore.properties (2.5 kB; application/octet-stream)
Bigdata graph issueshttps://sourceforge.net/p/bigdata/discussion/676946/thread/ce881ada/?limit=25#11da
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bigdata/discussion/676946/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Hi,
Could someone check on "query engine" component new defects? , at least to the point it marks them as valid.
http://trac.bigdata.com/query?status=new&component=Query+Engine&col=id&col=summary&col=type&col=status&col=priority&col=milestone&col=component&order=priority
Thanks
The VALUES syntax is not yet supported. We still support BINDINGS instead. ticket 841 should be closed as a duplicate of the ticket for the last call sparql changes and would be addressed be moving to openrdf 2.7 or 2.8.
I have the other items on my list to check, but I have not had the opportunity to do so yet. I will try to get to this soon.
Bryan
On Mar 19, 2014, at 3:40 AM, "feugen24" feugen24@users.sf.netamp#102;amp#101;amp#117;amp#103;amp#101;amp#110;amp#50;amp#52;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116; wrote:
Hi,
Could someone check on "query engine" component new defects? , at least to the point it marks them as valid.
http://trac.bigdata.com/query?status=new&component=Query+Engine&col=id&col=summary&col=type&col=status&col=priority&col=milestone&col=component&order=priority
Thanks
Bigdata graph issueshttps://sourceforge.net/p/bigdata/discussion/676946/thread/ce881ada/?limit=25#69ca
Sent from sourceforge.nethttp://sourceforge.net because you indicated interest in https://sourceforge.net/p/bigdata/discussion/676946/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Hello,
Can you please verify that you can now attach items to the ticket?
If so, please attach the data from above to the ticket.
We are digging out from under and hope to address some of these issues this month.
Thanks,
Bryan
Hi Bryan,
I hope you can address the issues with UNION and FILTER soon. I am hoping to use Bigdata for the Arvados (http://arvados.org) metadata database and have already invested substantial time working out how to build a permissions model. However, I can't build my permission rules without UNION, and I don't think I can ask users to go without FILTER, so this is a showstopper for me.
Peter,
We've been behind on the open source support issues due to a surge in customer feature development and services. I certainly will get to this as soon as possible. If you would like to help, maybe you can drill down into the query and see if you can figure out why it is failing. That would make it easier for us to identify a fix.
My guess is that the filter is being silently dropped during a rewrite of the UNION. This would be one of the AST optimizers. If you look at AST2BOpUtility, you can see that it runs the AST optimizers here:
Probably one of these rewrite stages is responsible for dropping the FILTER. It would help if you could (a) identify whether the FILTER is being dropped by a query rewrite stage; and (b) which one is dropping the FILTER.
Thanks,
Bryan
From: Peter Amstutz tetron@users.sf.netamp#116;amp#101;amp#116;amp#114;amp#111;amp#110;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Reply-To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Date: Monday, April 7, 2014 9:42 AM
To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Subject: [bigdata:discussion] Bigdata graph issues
Hi Bryan,
I hope you can address the issues with UNION and FILTER soon. I am hoping to use Bigdata for the Arvados (http://arvados.org) metadata database and have already invested substantial time working out how to build a permissions model. However, I can't build my permission rules without UNION, and I don't think I can ask users to go without FILTER, so this is a showstopper for me.
Bigdata graph issueshttps://sourceforge.net/p/bigdata/discussion/676946/thread/ce881ada/?limit=25#f86a
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bigdata/discussion/676946/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Peter,
Also, using the NSS [x] Explain should show you what is happening in the query translation phase.
It does not show the step by step rewrite of the query, but it does show the before and after rewrite of the query. You can enable logging on the ASTOptimizerList to see the before/after of each step in the query rewrite:
public class ASTOptimizerList extends LinkedList<iastoptimizer> implements</iastoptimizer>
….
Thanks,
Bryan
From: Bryan Thompson thompsonbry@users.sf.netamp#116;amp#104;amp#111;amp#109;amp#112;amp#115;amp#111;amp#110;amp#98;amp#114;amp#121;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Reply-To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Date: Monday, April 7, 2014 9:55 AM
To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Subject: [bigdata:discussion] Re: Bigdata graph issues
Peter,
We've been behind on the open source support issues due to a surge in customer feature development and services. I certainly will get to this as soon as possible. If you would like to help, maybe you can drill down into the query and see if you can figure out why it is failing. That would make it easier for us to identify a fix.
My guess is that the filter is being silently dropped during a rewrite of the UNION. This would be one of the AST optimizers. If you look at AST2BOpUtility, you can see that it runs the AST optimizers here:
Probably one of these rewrite stages is responsible for dropping the FILTER. It would help if you could (a) identify whether the FILTER is being dropped by a query rewrite stage; and (b) which one is dropping the FILTER.
Thanks,
Bryan
From: Peter Amstutz tetron@users.sf.net<mailto:tetron@users.sf.nettetron@users.sf.netamp#116;amp#101;amp#116;amp#114;amp#111;amp#110;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Reply-To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.net<mailto:676946@discussion.bigdata.p.re.sf.net676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Date: Monday, April 7, 2014 9:42 AM
To: "[bigdata:discussion]" 676946@discussion.bigdata.p.re.sf.net<mailto:676946@discussion.bigdata.p.re.sf.net676946@discussion.bigdata.p.re.sf.netamp#54;amp#55;amp#54;amp#57;amp#52;amp#54;amp#64;amp#100;amp#105;amp#115;amp#99;amp#117;amp#115;amp#115;amp#105;amp#111;amp#110;amp#46;amp#98;amp#105;amp#103;amp#100;amp#97;amp#116;amp#97;amp#46;amp#112;amp#46;amp#114;amp#101;amp#46;amp#115;amp#102;amp#46;amp#110;amp#101;amp#116;
Subject: [bigdata:discussion] Bigdata graph issues
Hi Bryan,
I hope you can address the issues with UNION and FILTER soon. I am hoping to use Bigdata for the Arvados (http://arvados.org) metadata database and have already invested substantial time working out how to build a permissions model. However, I can't build my permission rules without UNION, and I don't think I can ask users to go without FILTER, so this is a showstopper for me.
Bigdata graph issueshttps://sourceforge.net/p/bigdata/discussion/676946/thread/ce881ada/?limit=25#f86a
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bigdata/discussion/676946/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Bigdata graph issueshttp://sourceforge.net/p/bigdata/discussion/676946/thread/ce881ada/?limit=25#f86a/b540
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bigdata/discussion/676946/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Peter,
Why don't you try this:
~~~~~
prefix xsd: http://www.w3.org/2001/XMLSchema#SELECT *
where {
?user http://arvados.org/schema/api_token <token:ckeddwmn3586gsdadbzxosz331crwpfxax58r0k8iq299nmwf>
{
?user http://arvados.org/schema/user_is_admin false .
?s ?p ?o .
FILTER strStarts(str(?s), "http://arvados.org/schema/modified") .
?user http://arvados.org/schema/permission/can_read ?s .
} union {
?user http://arvados.org/schema/user_is_admin true .
?s ?p ?o .
FILTER strStarts(str(?s), "http://arvados.org/schema/modified") .
}
}
LIMIT 100
~~~~~~</token:ckeddwmn3586gsdadbzxosz331crwpfxax58r0k8iq299nmwf>
-Mike