Thread:Talk:Semantic Result Formats/Incorrect Sum if more than one property has same numerical value/reply (2)

Thank you very much, I appreciate your response. I've taken your example and worked out something that can work for me (I understand that I don't need to separate #subobject:1, etc. like this, but it's how my use case will be):

Total Regimens:

Total Variants:

As a trial, I've put the above data on two separate pages, but I'm confused why the query only returns the sum from a single page (Regimens: 2; Variants: 5) rather than across the entire site (which I thought was the default). What needs to be changed about my query to be able to calculate a total for the number of times Regimen=1 and Variant=1 is used throughout the entire wiki?

To verify, Special:Properties shows: Regimen of type Number (4 uses) Variant of type Number (10 uses)

I'd just like to be able to display this as a number elsewhere on the site. In case it helps, the pages are: http://hemonc.org/wiki/Editing_test_page http://hemonc.org/wiki/Editing_test_page_2

Is there any way to avoid needing to manually assign #subobject:n, #subobject:n+1, #subobject:n+2, etc.? It doesn't appear so....

Thank you again--we're planning on utilizing many other functions of Semantic Mediawiki once we can learn the basics.