Difference between revisions of "User:Andre"

From Security Vision
Jump to: navigation, search
Line 47: Line 47:
 
See discussion in https://www.semantic-mediawiki.org/wiki/Help:Type_Record/Record_vs._subobject
 
See discussion in https://www.semantic-mediawiki.org/wiki/Help:Type_Record/Record_vs._subobject
  
===Alternative:subobject===
+
===Alternative: [https://www.semantic-mediawiki.org/wiki/Subobject subobject]===
 
 
 
 
  
 
<pre>
 
<pre>
Line 85: Line 83:
 
  |@category=Statement_with_qualifier
 
  |@category=Statement_with_qualifier
 
}}
 
}}
 +
 +
 +
 +
Try to have a subobject as a property value
 +
 +
[[Foo::{{#subobject:|Institution=Test Institution3|Information Certainty=Rumoured|Citation reference=thelocalCopenhagenPoliceCalls2019|Description=Test Description4|@category=Statement_with_qualifier}}]]
  
 
'''Ask for all the Subobject of a page'''
 
'''Ask for all the Subobject of a page'''
Line 101: Line 105:
 
  |headers=show
 
  |headers=show
 
}}
 
}}
 
Try to have a subobject as a property value
 
 
[[Foo::{{#subobject:|Institution=Test Institution3|Information Certainty=Rumoured|Citation reference=thelocalCopenhagenPoliceCalls2019|Description=Test Description4|@category=Statement_with_qualifier}}]]
 
  
 
==Issue:  values of prop <code>Citation reference</code>==
 
==Issue:  values of prop <code>Citation reference</code>==
Line 112: Line 112:
 
===Alternative===
 
===Alternative===
 
* like in [[Property:Potentially_used_by_test]] use a different property, such as [[Property:Citation Reference]] to mention the reference from semantic cite
 
* like in [[Property:Potentially_used_by_test]] use a different property, such as [[Property:Citation Reference]] to mention the reference from semantic cite
* look futher into semantic cite and the use of [[Property:Citation reference]]  
+
* look futher into semantic cite and the use of [[Property:Citation reference]]
 
 
 
 
 
 
 
 
 
 
 
 
Reverse query is needed: to ask NOT " what pages have ''Potentially used by'' prop" but "what are the values of ''Potentially used by''"?
 
 
 
{{#ask: [[-Potentially used by::+]]
 
|?-Potentially used by
 
|?-Potentially used by.Institution=Institution
 
|?-Potentially used by.Information Certainty=Information Certainty
 
|?-Potentially used by.Citation reference=Citation reference
 
|?-Potentially used by.Description=Description
 
|format=broadtable
 
|limit=50
 
|offset=0
 
|link=all
 
|sort=
 
|order=asc
 
|headers=show
 
|searchlabel=... further results
 
|class=sortable wikitable smwtable
 
}}
 
 
 
==Issue: with values==
 
 
 
[[File:Screenshot 2022-01-17 at 11-49-01 IFRS (Interpol) - Security Vision.png]]
 
 
 
There is an issue with the Record values as seen in [[IFRS_(Interpol)]]
 
 
 
 
 
{{#ask: [[-Potentially used by test::+]]
 
|?-Potentially used by test
 
|?-Potentially used by test.Institution=Institution
 
|?-Potentially used by test.Information Certainty=Information Certainty
 
|?-Potentially used by test.Citation reference=Citation reference
 
|?-Potentially used by test.Description=Description
 
|format=broadtable
 
|limit=50
 
|offset=0
 
|link=all
 
|sort=
 
|order=asc
 
|headers=show
 
|searchlabel=... further results
 
|class=sortable wikitable smwtable
 
}}
 

Revision as of 21:17, 17 January 2022

Statements about statements: levels of certainty[edit | ]

Property:Potentially_used_by is of type Record

The datatype record is used for property values that consist of a short list of values of other datatypes. For each property that uses this datatype, the order and type of the individual fields of the record is fixed, based on a declaration with special property "Has fields" on the property page.

Searching_a_record

 Potentially used byInstitution Information Certainty Citation referenceThis property is a special property in this wiki. Description 
AFR at Brøndby IFBrøndby IF (?, , descritption value)
Amdocs (?, , descritption value)
Brøndby IF
Amdocs
 
 
descritption value
descritption value
IFRS (Interpol)Interpol (Documented, , p.149-150)InterpolDocumented p.149-150
Reporty App Nice (Stopped)Nice Municipal Police (Documented, , ?)Nice Municipal PoliceDocumented 
Statements About StatementsTest Institution (Rumoured, , Test Description)
Test Institution2 (Documented, , Test Description2)
Test Institution
Test Institution2
Rumoured
Documented
 
 
Test Description
Test Description2

2 new records[edit | ]

Test Institution (Rumoured, , Test Description)

Test Institution2 (Documented, , Test Description2)


Issue: when more than 1 Potentially used by exist in the same page[edit | ]

As show in the above query, as well as the more minimal one below, when a page has more than 1 Potentially used by entries, the entries are joint into 1 single row - making it hard to separate the statements

Institution Information Certainty Citation referenceThis property is a special property in this wiki. Description 
Brøndby IF
Amdocs
 
 
descritption value
descritption value
InterpolDocumented p.149-150
Nice Municipal PoliceDocumented 
Test Institution
Test Institution2
Rumoured
Documented
 
 
Test Description
Test Description2


issue with statements of Potentially used by being joint when in the same page

See discussion in https://www.semantic-mediawiki.org/wiki/Help:Type_Record/Record_vs._subobject

Alternative: subobject[edit | ]

{{#subobject:
 |Institution=Test Institution;
 |Information Certainty=Rumoured
 |Citation reference=thelocalCopenhagenPoliceCalls2019
 |Description=Test Description
 |@category=Statement_with_qualifier
}}

{{#subobject:
 |Institution=Test Institution2
 |Information Certainty=Speculative
 |Citation reference=sirgmetsSummaryReportProject2021
 |Description=Test Description2
 |@category=Statement_with_qualifier
}}





Try to have a subobject as a property value


Ask for all the Subobject of a page


Issue: values of prop Citation reference[edit | ]

The special Property:Citation reference seems to be doing some, which makes the values of the citations disapear from the queries

Alternative[edit | ]