Re: [SMW-devel] "one-to-many" validation

2011-12-08 Thread badon
Here is the bug report for the issue being discussed:

https://bugzilla.wikimedia.org/show_bug.cgi?id=26088

--
View this message in context: 
http://wikimedia.7.n6.nabble.com/one-to-many-validation-tp678004p1371217.html
Sent from the Semantic Mediawiki - Development mailing list archive at 
Nabble.com.

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


[SMW-devel] Querying internal SMW subobjects

2011-12-08 Thread solab
Hi all

I was trying the new SMW 1.17beta subobject feature on the Sandbox page

{{#subobject:street
| street name= voltastrasse
| postcode=8000
| city=zurich
| country=ch
}}

Then  i started to do some queries:

Query 1 {{#ask: [[has subobject::+]]}} ok return Sandbox

Query 2 {{#ask: [[Sandbox#street]]| ?street name  |?postcode|?city}} >ok 
return the values of the properties

Query 3 {{#ask: [[street name::+]]  }} ok return Sandbox#street

But how do i get the pages/object with subobject "street" ?

I tried with {{#ask:[[street::+]]|?}}  expecting something like 
Sandbox#_anInternalId but the return is empty

Any Idea or doc?

Cheers
Giovanni

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel