Simple Question (Direct)
Simple Question
Q18587239
P172
Q2472587
USER
Which people does Janez Rozman have as his/her race ?
(Q18587239,P172,c(Q2472587))
action filter_type
action find
entity Q18587239
relation P172
type Q2472587
['Q18587239', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q18587239 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Janez Rozman
action filter_type
action find
entity Janez Rozman
relation ethnic group
type people
['Janez Rozman', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Janez_Rozman property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
people
Q15863
SYSTEM
Slovenes
Q15863
(Q18587239,P172,c(Q2472587))
action filter_type
action find
entity Q18587239
relation P172
type Q2472587
Janez Rozman has described [ANSWER] as his / her race
['Q18587239', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q18587239 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Slovenes
Janez Rozman has described Slovenes as his / her race
Slovenes
action filter_type
action find
entity Janez Rozman
relation ethnic group
type people
['Janez Rozman', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Janez_Rozman property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18587239
P140
Q879146
USER
Which Christian denomination does Janez Rozman correspond to ?
(Q18587239,P140,c(Q879146))
action filter_type
action find
entity Q18587239
relation P140
type Q879146
['Q18587239', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?d WHERE { resource:Q18587239 property:P140 ?d . ?d rdf:type ontology:Q879146 }
Janez Rozman
action filter_type
action find
entity Janez Rozman
relation religion
type Christian denomination
['Janez Rozman', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?d WHERE { resource:Janez_Rozman property:religion ?d . ?d rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q18587239,P140,c(Q879146))
action filter_type
action find
entity Q18587239
relation P140
type Q879146
Janez Rozman corresponds au [ANSWER]
['Q18587239', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?d WHERE { resource:Q18587239 property:P140 ?d . ?d rdf:type ontology:Q879146 }
Roman Catholic Church
Janez Rozman corresponds au Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Janez Rozman
relation religion
type Christian denomination
['Janez Rozman', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?d WHERE { resource:Janez_Rozman property:religion ?d . ?d rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18587239
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q9592,P19,c(Q56061))
action filter_type
action find
entity Q18587239
relation P19
type Q56061
['Q9592', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q18587239 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Janez Rozman
action filter_type
action find
entity Janez Rozman
relation place of birth
type administrative territorial entity
['Roman Catholic Church', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Janez_Rozman property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2325258
SYSTEM
Godovič
Q2325258
(Q9592,P19,c(Q56061))
action filter_type
action find
entity Q18587239
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q9592', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q18587239 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Godovič
Godovič is the birthplace of that person
Godovič
action filter_type
action find
entity Janez Rozman
relation place of birth
type administrative territorial entity
['Roman Catholic Church', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Janez_Rozman property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18587239
P20
Q56061
USER
Where did the expiration of Janez Rozman occur ?
(Q18587239,P20,c(Q56061))
action filter_type
action find
entity Q18587239
relation P20
type Q56061
['Q18587239', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q18587239 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Janez Rozman
action filter_type
action find
entity Janez Rozman
relation place of death
type administrative territorial entity
['Janez Rozman', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Janez_Rozman property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q437
SYSTEM
Ljubljana
Q437
(Q18587239,P20,c(Q56061))
action filter_type
action find
entity Q18587239
relation P20
type Q56061
The expiration of Janez Rozman occurred in [ANSWER]
['Q18587239', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q18587239 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Ljubljana
The expiration of Janez Rozman occurred in Ljubljana
Ljubljana
action filter_type
action find
entity Janez Rozman
relation place of death
type administrative territorial entity
['Janez Rozman', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Janez_Rozman property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3177455
Q56061
USER
And also tell me about Jerry Capehart?
(Q3177455,P20,c(Q56061))
action filter_type
action find
entity Q3177455
relation P20
type Q56061
['Q3177455', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q3177455 property:P20 ?p }
Jerry Capehart
action filter_type
action find
entity Jerry Capehart
relation place of death
type administrative territorial entity
['Jerry Capehart', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Jerry_Capehart property:place_of_death ?p }
[]
administrative territorial entity
Q23197
SYSTEM
Nashville
Q23197
(Q3177455,P20,c(Q56061))
action filter_type
action find
entity Q3177455
relation P20
type Q56061
[ANSWER]
['Q3177455', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q3177455 property:P20 ?p }
Nashville
Nashville
action filter_type
action find
entity Jerry Capehart
relation place of death
type administrative territorial entity
['Jerry Capehart', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Jerry_Capehart property:place_of_death ?p }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q23197 Q593813 Q48370
P190
Q56061
USER
Is that administrative territory twin town of Gersfeld and Manchester ?
(Q23197,P190,Q593813) (Q23197,P190,Q48370)
action is_in
entity Q23197
action intersection
action find_reverse
entity Q593813
relation P190
action find_reverse
entity Q48370
relation P190
['Q23197', 'P190', 'Q593813'] ['Q23197', 'P190', 'Q48370']
ASK WHERE { resource:Q23197 property:P190 resource:Q593813 . resource:Q23197 property:P190 resource:Q48370 }
Nashville Gersfeld Manchester
action is_in
entity Nashville
action intersection
action find_reverse
entity Gersfeld
relation sister city
action find_reverse
entity Manchester
relation sister city
['Nashville', 'sister city', 'Gersfeld'] ['Nashville', 'sister city', 'Manchester']
ASK WHERE { resource:Nashville property:sister_city resource:Gersfeld . resource:Nashville property:sister_city resource:Manchester }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q23197,P190,Q593813) (Q23197,P190,Q48370)
action is_in
entity Q23197
action intersection
action find_reverse
entity Q593813
relation P190
action find_reverse
entity Q48370
relation P190
[ANSWER]
['Q23197', 'P190', 'Q593813'] ['Q23197', 'P190', 'Q48370']
ASK WHERE { resource:Q23197 property:P190 resource:Q593813 . resource:Q23197 property:P190 resource:Q48370 }
NO and YES respectively
action is_in
entity Nashville
action intersection
action find_reverse
entity Gersfeld
relation sister city
action find_reverse
entity Manchester
relation sister city
['Nashville', 'sister city', 'Gersfeld'] ['Nashville', 'sister city', 'Manchester']
ASK WHERE { resource:Nashville property:sister_city resource:Gersfeld . resource:Nashville property:sister_city resource:Manchester }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2325258 Q215 Q7912438
P17
Q15617994
USER
Is Godovič present in Slovenia and Vallivue School District ?
(Q2325258,P17,Q215) (Q2325258,P17,Q7912438)
action is_in
entity Q2325258
action intersection
action find_reverse
entity Q215
relation P17
action find_reverse
entity Q7912438
relation P17
['Q2325258', 'P17', 'Q215'] ['Q2325258', 'P17', 'Q7912438']
ASK WHERE { resource:Q2325258 property:P17 resource:Q215 . resource:Q2325258 property:P17 resource:Q7912438 }
Godovič Slovenia Vallivue School District
action is_in
entity Godovič
action intersection
action find_reverse
entity Slovenia
relation country
action find_reverse
entity Vallivue School District
relation country
['Godovič', 'country', 'Slovenia'] ['Godovič', 'country', 'Vallivue School District']
ASK WHERE { resource:Godovič property:country resource:Slovenia . resource:Godovič property:country resource:Vallivue_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q2325258,P17,Q215) (Q2325258,P17,Q7912438)
action is_in
entity Q2325258
action intersection
action find_reverse
entity Q215
relation P17
action find_reverse
entity Q7912438
relation P17
[ANSWER]
['Q2325258', 'P17', 'Q215'] ['Q2325258', 'P17', 'Q7912438']
ASK WHERE { resource:Q2325258 property:P17 resource:Q215 . resource:Q2325258 property:P17 resource:Q7912438 }
YES and NO respectively
action is_in
entity Godovič
action intersection
action find_reverse
entity Slovenia
relation country
action find_reverse
entity Vallivue School District
relation country
['Godovič', 'country', 'Slovenia'] ['Godovič', 'country', 'Vallivue School District']
ASK WHERE { resource:Godovič property:country resource:Slovenia . resource:Godovič property:country resource:Vallivue_School_District }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q749243
P361
Q879146 Q56061 Q43229
USER
Which Christian denominations are approximately the same number of administrative territories and organizations a portion of as Church of Sweden ?
(c(Q56061)|c(Q43229),P361,c(Q879146))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action find_reverse_tuple_counts
relation P361
type Q879146
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q749243
relation P361
type Q56061
type Q43229
[[{'concept': 'Q56061'}, {'concept': 'Q43229'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?t WHERE { VALUES ( ?d ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } . ?n rdf:type ?d } GROUP BY ?t } . FILTER ( ?w = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P361 resource:Q749243 . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } } } } }
Church of Sweden
action approx
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type Christian denomination
type organization
action count
action filter_multi_types
action find_reverse
entity Church of Sweden
relation part of
type administrative territorial entity
type organization
[[{'concept': 'administrative territorial entity'}, {'concept': 'organization'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?t WHERE { VALUES ( ?d ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } . ?n rdf:type ?d } GROUP BY ?t } . FILTER ( ?w = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:part_of resource:Church_of_Sweden . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } } } } }
[]
Christian denomination administrative territorial entity organization
Q752470 Q1379849 Q82708
SYSTEM
Finnish Orthodox Church, Evangelical Lutheran Church of Finland, Church of England
Q682443 Q666860 Q752470 Q346575 Q749243 Q540782 Q82708 Q922480 Q1089788 Q1379849 Q9592
(c(Q56061)|c(Q43229),P361,c(Q879146))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action find_reverse_tuple_counts
relation P361
type Q879146
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q749243
relation P361
type Q56061
type Q43229
[ANSWERS] are approximately the same number of administrative territories and organizations a portion of as Church of Sweden
[[{'concept': 'Q56061'}, {'concept': 'Q43229'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?t WHERE { VALUES ( ?d ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } . ?n rdf:type ?d } GROUP BY ?t } . FILTER ( ?w = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P361 resource:Q749243 . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } } } } }
Episcopal Church Church of Norway Finnish Orthodox Church Evangelical Church Church of Sweden Anglican Church of Canada Church of England Church of Scotland Church in Wales Evangelical Lutheran Church of Finland Roman Catholic Church
Finnish Orthodox Church, Evangelical Lutheran Church of Finland and Church of England are approximately the same number of administrative territories and organizations a portion of as Church of Sweden
Finnish Orthodox Church Evangelical Lutheran Church of Finland Church of England
action approx
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type Christian denomination
type organization
action count
action filter_multi_types
action find_reverse
entity Church of Sweden
relation part of
type administrative territorial entity
type organization
[[{'concept': 'administrative territorial entity'}, {'concept': 'organization'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?t WHERE { VALUES ( ?d ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } . ?n rdf:type ?d } GROUP BY ?t } . FILTER ( ?w = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:part_of resource:Church_of_Sweden . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1089788
P361
Q879146 Q56061 Q43229
USER
And what about Church in Wales?
(c(Q56061)|c(Q43229),P361,c(Q879146))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action find_reverse_tuple_counts
relation P361
type Q879146
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q1089788
relation P361
type Q56061
type Q43229
[[{'concept': 'Q56061'}, {'concept': 'Q43229'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ontology:Q56061 . ?w rdf:type ontology:Q879146 . ?l property:P361 ?w } UNION { ?l property:P361 ?w . ?l rdf:type ontology:Q43229 . ?w rdf:type ontology:Q879146 } } GROUP BY ?w } . FILTER ( ?g = ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:P361 resource:Q1089788 . { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q56061 ) } } } } }
Church in Wales
action approx
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type Christian denomination
type organization
action count
action filter_multi_types
action find_reverse
entity Church in Wales
relation part of
type administrative territorial entity
type organization
[[{'concept': 'administrative territorial entity'}, {'concept': 'organization'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:Christian_denomination . ?l property:part_of ?w } UNION { ?l property:part_of ?w . ?l rdf:type ontology:organization . ?w rdf:type ontology:Christian_denomination } } GROUP BY ?w } . FILTER ( ?g = ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:part_of resource:Church_in_Wales . { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:organization ) ( ontology:administrative_territorial_entity ) } } } } }
[]
Christian denomination administrative territorial entity organization
Q752470 Q1379849 Q82708
SYSTEM
Finnish Orthodox Church, Evangelical Lutheran Church of Finland, Church of England
Q682443 Q666860 Q752470 Q346575 Q749243 Q540782 Q82708 Q922480 Q1089788 Q1379849 Q9592
(c(Q56061)|c(Q43229),P361,c(Q879146))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action find_reverse_tuple_counts
relation P361
type Q879146
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q1089788
relation P361
type Q56061
type Q43229
[ANSWERS]
[[{'concept': 'Q56061'}, {'concept': 'Q43229'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ontology:Q56061 . ?w rdf:type ontology:Q879146 . ?l property:P361 ?w } UNION { ?l property:P361 ?w . ?l rdf:type ontology:Q43229 . ?w rdf:type ontology:Q879146 } } GROUP BY ?w } . FILTER ( ?g = ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:P361 resource:Q1089788 . { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q56061 ) } } } } }
Episcopal Church Church of Norway Finnish Orthodox Church Evangelical Church Church of Sweden Anglican Church of Canada Church of England Church of Scotland Church in Wales Evangelical Lutheran Church of Finland Roman Catholic Church
Finnish Orthodox Church Evangelical Lutheran Church of Finland Church of England
action approx
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type Christian denomination
type organization
action count
action filter_multi_types
action find_reverse
entity Church in Wales
relation part of
type administrative territorial entity
type organization
[[{'concept': 'administrative territorial entity'}, {'concept': 'organization'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:Christian_denomination . ?l property:part_of ?w } UNION { ?l property:part_of ?w . ?l rdf:type ontology:organization . ?w rdf:type ontology:Christian_denomination } } GROUP BY ?w } . FILTER ( ?g = ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:part_of resource:Church_in_Wales . { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:organization ) ( ontology:administrative_territorial_entity ) } } } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P140
Q44539 Q12737077
USER
How many temples or occupations belong to that Christian denomination religion ?
(c(Q44539),P140,Q82708) (c(Q12737077),P140,Q82708) (c(Q44539),P140,Q752470) (c(Q12737077),P140,Q752470) (c(Q44539),P140,Q1379849) (c(Q12737077),P140,Q1379849) (c(Q44539),P140,Q82708) (c(Q12737077),P140,Q82708)
[{'concept': 'Q44539'}, 'P140', 'Q82708'] [{'concept': 'Q12737077'}, 'P140', 'Q82708'] [{'concept': 'Q44539'}, 'P140', 'Q752470'] [{'concept': 'Q12737077'}, 'P140', 'Q752470'] [{'concept': 'Q44539'}, 'P140', 'Q1379849'] [{'concept': 'Q12737077'}, 'P140', 'Q1379849'] [{'concept': 'Q44539'}, 'P140', 'Q82708'] [{'concept': 'Q12737077'}, 'P140', 'Q82708']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q9174 resource:Q82708 } UNION { ?y property:Q9174 resource:Q82708 } UNION { ?z property:Q9174 resource:Q752470 } UNION { ?y property:Q9174 resource:Q752470 } UNION { ?z property:Q9174 resource:Q1379849 } UNION { ?y property:Q9174 resource:Q1379849 } UNION { ?z property:Q9174 resource:Q82708 } UNION { ?y property:Q9174 resource:Q82708 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q528892 }
[{'concept': 'temple'}, 'religion', 'Church of England'] [{'concept': 'occupation'}, 'religion', 'Church of England'] [{'concept': 'temple'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'occupation'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'temple'}, 'religion', 'Evangelical Lutheran Church of Finland'] [{'concept': 'occupation'}, 'religion', 'Evangelical Lutheran Church of Finland'] [{'concept': 'temple'}, 'religion', 'Church of England'] [{'concept': 'occupation'}, 'religion', 'Church of England']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:religion resource:Church_of_England } UNION { ?y property:religion resource:Church_of_England } UNION { ?z property:religion resource:Finnish_Orthodox_Church } UNION { ?y property:religion resource:Finnish_Orthodox_Church } UNION { ?z property:religion resource:Evangelical_Lutheran_Church_of_Finland } UNION { ?y property:religion resource:Evangelical_Lutheran_Church_of_Finland } UNION { ?z property:religion resource:Church_of_England } UNION { ?y property:religion resource:Church_of_England } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:occupation }
[]
temple occupation
Quantitative|Count|Mult. entity type|Clarification
Q82708
SYSTEM
Did you mean Church of England ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q9174 resource:Q82708 } UNION { ?y property:Q9174 resource:Q82708 } UNION { ?z property:Q9174 resource:Q752470 } UNION { ?y property:Q9174 resource:Q752470 } UNION { ?z property:Q9174 resource:Q1379849 } UNION { ?y property:Q9174 resource:Q1379849 } UNION { ?z property:Q9174 resource:Q82708 } UNION { ?y property:Q9174 resource:Q82708 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q528892 }
Did you mean Church of England ?
Church of England
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:religion resource:Church_of_England } UNION { ?y property:religion resource:Church_of_England } UNION { ?z property:religion resource:Finnish_Orthodox_Church } UNION { ?y property:religion resource:Finnish_Orthodox_Church } UNION { ?z property:religion resource:Evangelical_Lutheran_Church_of_Finland } UNION { ?y property:religion resource:Evangelical_Lutheran_Church_of_Finland } UNION { ?z property:religion resource:Church_of_England } UNION { ?y property:religion resource:Church_of_England } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q44539),P140,Q82708) (c(Q12737077),P140,Q82708) (c(Q44539),P140,Q752470) (c(Q12737077),P140,Q752470) (c(Q44539),P140,Q1379849) (c(Q12737077),P140,Q1379849) (c(Q44539),P140,Q82708) (c(Q12737077),P140,Q82708)
[{'concept': 'Q44539'}, 'P140', 'Q82708'] [{'concept': 'Q12737077'}, 'P140', 'Q82708'] [{'concept': 'Q44539'}, 'P140', 'Q752470'] [{'concept': 'Q12737077'}, 'P140', 'Q752470'] [{'concept': 'Q44539'}, 'P140', 'Q1379849'] [{'concept': 'Q12737077'}, 'P140', 'Q1379849'] [{'concept': 'Q44539'}, 'P140', 'Q82708'] [{'concept': 'Q12737077'}, 'P140', 'Q82708']
[{'concept': 'temple'}, 'religion', 'Church of England'] [{'concept': 'occupation'}, 'religion', 'Church of England'] [{'concept': 'temple'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'occupation'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'temple'}, 'religion', 'Evangelical Lutheran Church of Finland'] [{'concept': 'occupation'}, 'religion', 'Evangelical Lutheran Church of Finland'] [{'concept': 'temple'}, 'religion', 'Church of England'] [{'concept': 'occupation'}, 'religion', 'Church of England']
[]
SYSTEM
24
Q1432667 Q19369112 Q26482490 Q18748686 Q17526635 Q17533941 Q19329520 Q7380496 Q7593137 Q19362787 Q13414944 Q19353838 Q7593106 Q5108686 Q21780538 Q19291139 Q4729339 Q19353188 Q19249015 Q19290983 Q19654888 Q18687667 Q19394800 Q19354157
(c(Q44539),P140,Q82708) (c(Q12737077),P140,Q82708) (c(Q44539),P140,Q752470) (c(Q12737077),P140,Q752470) (c(Q44539),P140,Q1379849) (c(Q12737077),P140,Q1379849) (c(Q44539),P140,Q82708) (c(Q12737077),P140,Q82708)
[ANSWER]
[{'concept': 'Q44539'}, 'P140', 'Q82708'] [{'concept': 'Q12737077'}, 'P140', 'Q82708'] [{'concept': 'Q44539'}, 'P140', 'Q752470'] [{'concept': 'Q12737077'}, 'P140', 'Q752470'] [{'concept': 'Q44539'}, 'P140', 'Q1379849'] [{'concept': 'Q12737077'}, 'P140', 'Q1379849'] [{'concept': 'Q44539'}, 'P140', 'Q82708'] [{'concept': 'Q12737077'}, 'P140', 'Q82708']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q9174 resource:Q82708 } UNION { ?y property:Q9174 resource:Q82708 } UNION { ?z property:Q9174 resource:Q752470 } UNION { ?y property:Q9174 resource:Q752470 } UNION { ?z property:Q9174 resource:Q1379849 } UNION { ?y property:Q9174 resource:Q1379849 } UNION { ?z property:Q9174 resource:Q82708 } UNION { ?y property:Q9174 resource:Q82708 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q528892 }
Bishop of Lichfield St Barnabas' Christ Church All Saints Church, East Sheen Church Of St Paul Church Of St Oswald St Bartholomew's Rural Dean St George's Church, Gravesend Emmanuel Church Vicar Christ Church St Gabriel's School Christ Church St Andrew's, Croydon St Andrew's All Saints' Church, Putney Common Christ Church St Mark's St Luke's St Paul's Church St Paul's Church St Mark's St James'
24
[{'concept': 'temple'}, 'religion', 'Church of England'] [{'concept': 'occupation'}, 'religion', 'Church of England'] [{'concept': 'temple'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'occupation'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'temple'}, 'religion', 'Evangelical Lutheran Church of Finland'] [{'concept': 'occupation'}, 'religion', 'Evangelical Lutheran Church of Finland'] [{'concept': 'temple'}, 'religion', 'Church of England'] [{'concept': 'occupation'}, 'religion', 'Church of England']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:religion resource:Church_of_England } UNION { ?y property:religion resource:Church_of_England } UNION { ?z property:religion resource:Finnish_Orthodox_Church } UNION { ?y property:religion resource:Finnish_Orthodox_Church } UNION { ?z property:religion resource:Evangelical_Lutheran_Church_of_Finland } UNION { ?y property:religion resource:Evangelical_Lutheran_Church_of_Finland } UNION { ?z property:religion resource:Church_of_England } UNION { ?y property:religion resource:Church_of_England } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q879146 Q44539
USER
Which temples are a part of around 1 Christian denomination ?
(c(Q44539),P361,c(Q879146))
action approx
action find_tuple_counts
relation P361
type Q44539
type Q879146
value 1
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?w ) WHERE { ?c property:P361 ?z . ?z rdf:type ontology:Q879146 . ?c rdf:type ontology:Q44539 } GROUP BY ?c } }
action approx
action find_tuple_counts
relation part of
type temple
type Christian denomination
value 1
[{'concept': 'temple'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?w ) WHERE { ?c property:part_of ?z . ?z rdf:type ontology:Christian_denomination . ?c rdf:type ontology:temple } GROUP BY ?c } }
[]
Christian denomination temple
Q979481 Q163687
SYSTEM
Christ Church, Philadelphia, Basilica
Q979481 Q163687
(c(Q44539),P361,c(Q879146))
action approx
action find_tuple_counts
relation P361
type Q44539
type Q879146
value 1
[ANSWERS] are a part of around 1 Christian denomination
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?w ) WHERE { ?c property:P361 ?z . ?z rdf:type ontology:Q879146 . ?c rdf:type ontology:Q44539 } GROUP BY ?c } }
Christ Church, Philadelphia Basilica
Christ Church, Philadelphia and Basilica are a part of around 1 Christian denomination
Christ Church, Philadelphia Basilica
action approx
action find_tuple_counts
relation part of
type temple
type Christian denomination
value 1
[{'concept': 'temple'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?w ) WHERE { ?c property:part_of ?z . ?z rdf:type ontology:Christian_denomination . ?c rdf:type ontology:temple } GROUP BY ?c } }
[]