Simple Question (Direct)
Simple Question
Q13375240
P140
Q879146
USER
What is the religion associated with Anton Srholec ?
(Q13375240,P140,c(Q879146))
action filter_type
action find
entity Q13375240
relation P140
type Q879146
['Q13375240', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { resource:Q13375240 property:P140 ?y . ?y rdf:type ontology:Q879146 }
Anton Srholec
action filter_type
action find
entity Anton Srholec
relation religion
type Christian denomination
['Anton Srholec', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { resource:Anton_Srholec property:religion ?y . ?y rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q13375240,P140,c(Q879146))
action filter_type
action find
entity Q13375240
relation P140
type Q879146
The religion associated with Anton Srholec is a [ANSWER]
['Q13375240', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { resource:Q13375240 property:P140 ?y . ?y rdf:type ontology:Q879146 }
Roman Catholic Church
The religion associated with Anton Srholec is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Anton Srholec
relation religion
type Christian denomination
['Anton Srholec', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { resource:Anton_Srholec property:religion ?y . ?y rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13375240
P20
Q56061
USER
Where did the demise of Anton Srholec occur ?
(Q13375240,P20,c(Q56061))
action filter_type
action find
entity Q13375240
relation P20
type Q56061
['Q13375240', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q13375240 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Anton Srholec
action filter_type
action find
entity Anton Srholec
relation place of death
type administrative territorial entity
['Anton Srholec', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Anton_Srholec property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1780
SYSTEM
Bratislava
Q1780
(Q13375240,P20,c(Q56061))
action filter_type
action find
entity Q13375240
relation P20
type Q56061
The demise of Anton Srholec occurred in [ANSWER]
['Q13375240', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q13375240 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Bratislava
The demise of Anton Srholec occurred in Bratislava
Bratislava
action filter_type
action find
entity Anton Srholec
relation place of death
type administrative territorial entity
['Anton Srholec', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Anton_Srholec property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1780
P276
Q625994
USER
Which convention is situated at that administrative territory ?
(c(Q625994),P276,Q1780)
action filter_type
action find_reverse
entity Q1780
relation P276
type Q625994
[{'concept': 'Q625994'}, 'P276', 'Q1780']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q1780 . ?q rdf:type ontology:Q625994 }
Bratislava
action filter_type
action find_reverse
entity Bratislava
relation location
type convention
[{'concept': 'convention'}, 'location', 'Bratislava']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Bratislava . ?q rdf:type ontology:convention }
[]
convention
Q24406273
SYSTEM
ELAG 2009 conference
Q24406273
(c(Q625994),P276,Q1780)
action filter_type
action find_reverse
entity Q1780
relation P276
type Q625994
[ANSWER] is situated at that administrative territory
[{'concept': 'Q625994'}, 'P276', 'Q1780']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q1780 . ?q rdf:type ontology:Q625994 }
ELAG 2009 conference
ELAG 2009 conference is situated at that administrative territory
ELAG 2009 conference
action filter_type
action find_reverse
entity Bratislava
relation location
type convention
[{'concept': 'convention'}, 'location', 'Bratislava']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Bratislava . ?q rdf:type ontology:convention }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q24406273 Q631634 Q1780
P276
Q56061
USER
Is that convention located at Trunch and Bratislava ?
(Q24406273,P276,Q631634) (Q24406273,P276,Q1780)
action is_in
entity Q24406273
action intersection
action find_reverse
entity Q631634
relation P276
action find_reverse
entity Q1780
relation P276
['Q24406273', 'P276', 'Q631634'] ['Q24406273', 'P276', 'Q1780']
ASK WHERE { resource:Q24406273 property:P276 resource:Q1780 . resource:Q24406273 property:P276 resource:Q631634 }
ELAG 2009 conference Trunch Bratislava
action is_in
entity ELAG 2009 conference
action intersection
action find_reverse
entity Trunch
relation location
action find_reverse
entity Bratislava
relation location
['ELAG 2009 conference', 'location', 'Trunch'] ['ELAG 2009 conference', 'location', 'Bratislava']
ASK WHERE { resource:ELAG_2009_conference property:location resource:Bratislava . resource:ELAG_2009_conference property:location resource:Trunch }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q24406273,P276,Q631634) (Q24406273,P276,Q1780)
action is_in
entity Q24406273
action intersection
action find_reverse
entity Q631634
relation P276
action find_reverse
entity Q1780
relation P276
[ANSWER]
['Q24406273', 'P276', 'Q631634'] ['Q24406273', 'P276', 'Q1780']
ASK WHERE { resource:Q24406273 property:P276 resource:Q1780 . resource:Q24406273 property:P276 resource:Q631634 }
NO and YES respectively
action is_in
entity ELAG 2009 conference
action intersection
action find_reverse
entity Trunch
relation location
action find_reverse
entity Bratislava
relation location
['ELAG 2009 conference', 'location', 'Trunch'] ['ELAG 2009 conference', 'location', 'Bratislava']
ASK WHERE { resource:ELAG_2009_conference property:location resource:Bratislava . resource:ELAG_2009_conference property:location resource:Trunch }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q13375240 Q9234 Q214
P27
Q15617994
USER
Is Anton Srholec a civilian of Castiglione Torinese and Slovakia ?
(Q13375240,P27,Q9234) (Q13375240,P27,Q214)
action is_in
entity Q13375240
action intersection
action find_reverse
entity Q9234
relation P27
action find_reverse
entity Q214
relation P27
['Q13375240', 'P27', 'Q9234'] ['Q13375240', 'P27', 'Q214']
ASK WHERE { resource:Q13375240 property:P27 resource:Q9234 . resource:Q13375240 property:P27 resource:Q214 }
Anton Srholec Castiglione Torinese Slovakia
action is_in
entity Anton Srholec
action intersection
action find_reverse
entity Castiglione Torinese
relation country of citizenship
action find_reverse
entity Slovakia
relation country of citizenship
['Anton Srholec', 'country of citizenship', 'Castiglione Torinese'] ['Anton Srholec', 'country of citizenship', 'Slovakia']
ASK WHERE { resource:Anton_Srholec property:country_of_citizenship resource:Castiglione_Torinese . resource:Anton_Srholec property:country_of_citizenship resource:Slovakia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q13375240,P27,Q9234) (Q13375240,P27,Q214)
action is_in
entity Q13375240
action intersection
action find_reverse
entity Q9234
relation P27
action find_reverse
entity Q214
relation P27
[ANSWER]
['Q13375240', 'P27', 'Q9234'] ['Q13375240', 'P27', 'Q214']
ASK WHERE { resource:Q13375240 property:P27 resource:Q9234 . resource:Q13375240 property:P27 resource:Q214 }
NO and YES respectively
action is_in
entity Anton Srholec
action intersection
action find_reverse
entity Castiglione Torinese
relation country of citizenship
action find_reverse
entity Slovakia
relation country of citizenship
['Anton Srholec', 'country of citizenship', 'Castiglione Torinese'] ['Anton Srholec', 'country of citizenship', 'Slovakia']
ASK WHERE { resource:Anton_Srholec property:country_of_citizenship resource:Castiglione_Torinese . resource:Anton_Srholec property:country_of_citizenship resource:Slovakia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13375240
P106
Q12737077
USER
What are the professions of that person ?
action filter_type
action find
entity Q13375240
relation P106
type Q12737077
SELECT DISTINCT ?v WHERE { resource:Q13375240 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Anton Srholec
action filter_type
action find
entity Anton Srholec
relation occupation
type occupation
SELECT DISTINCT ?v WHERE { resource:Anton_Srholec property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q250867 Q36180
SYSTEM
Catholic priest, writer
Q250867 Q36180
action filter_type
action find
entity Q13375240
relation P106
type Q12737077
The professions of that person are [ANSWERS]
SELECT DISTINCT ?v WHERE { resource:Q13375240 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Catholic priest writer
The professions of that person are Catholic priest and writer
Catholic priest writer
action filter_type
action find
entity Anton Srholec
relation occupation
type occupation
SELECT DISTINCT ?v WHERE { resource:Anton_Srholec property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1780
P36
Q15617994
USER
Which administrative territory consists of Bratislava as its capital ?
(c(Q15617994),P36,Q1780)
action filter_type
action find_reverse
entity Q1780
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q1780']
SELECT DISTINCT ?c WHERE { ?c property:P36 resource:Q1780 . ?c rdf:type ontology:Q15617994 }
Bratislava
action filter_type
action find_reverse
entity Bratislava
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bratislava']
SELECT DISTINCT ?c WHERE { ?c property:capital resource:Bratislava . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(c(Q15617994),P36,Q1780)
action filter_type
action find_reverse
entity Q1780
relation P36
type Q15617994
[ANSWER] consists of Bratislava as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q1780']
SELECT DISTINCT ?c WHERE { ?c property:P36 resource:Q1780 . ?c rdf:type ontology:Q15617994 }
Slovakia
Slovakia consists of Bratislava as its capital
Slovakia
action filter_type
action find_reverse
entity Bratislava
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bratislava']
SELECT DISTINCT ?c WHERE { ?c property:capital resource:Bratislava . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214
P194
Q1752346
USER
Which assembly is the legislative body for that administrative territory ?
(Q214,P194,c(Q1752346))
action filter_type
action find
entity Q214
relation P194
type Q1752346
['Q214', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?b WHERE { resource:Q214 property:P194 ?b . ?b rdf:type ontology:Q1752346 }
Slovakia
action filter_type
action find
entity Slovakia
relation legislative body
type assembly
['Slovakia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?b WHERE { resource:Slovakia property:legislative_body ?b . ?b rdf:type ontology:assembly }
[]
assembly
Q1139204
SYSTEM
National Council of Slovakia
Q1139204
(Q214,P194,c(Q1752346))
action filter_type
action find
entity Q214
relation P194
type Q1752346
[ANSWER] is the legislative body for that administrative territory
['Q214', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?b WHERE { resource:Q214 property:P194 ?b . ?b rdf:type ontology:Q1752346 }
National Council of Slovakia
National Council of Slovakia is the legislative body for that administrative territory
National Council of Slovakia
action filter_type
action find
entity Slovakia
relation legislative body
type assembly
['Slovakia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?b WHERE { resource:Slovakia property:legislative_body ?b . ?b rdf:type ontology:assembly }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q928
P805
Q15617994 Q1752346
USER
Which administrative territories are around the same number of assemblies a subject as Philippines ?
(c(Q1752346),P805,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
action count
action filter_type
action find
entity Q928
relation P805
type Q15617994
[{'concept': 'Q1752346'}, 'P805', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:P805 ?l . ?l rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1752346 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q928 property:P805 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?j ) }
Philippines
action approx
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
action count
action filter_type
action find
entity Philippines
relation subject of
type designation for an administrative territorial entity
[{'concept': 'assembly'}, 'subject of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:subject_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:assembly } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Philippines property:subject_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?j ) }
[]
designation for an administrative territorial entity assembly
Q928 Q856076
SYSTEM
Philippines, municipality of Finland
Q928 Q856076
(c(Q1752346),P805,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
action count
action filter_type
action find
entity Q928
relation P805
type Q15617994
[ANSWERS] are around the same number of assemblies a subject as Philippines
[{'concept': 'Q1752346'}, 'P805', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:P805 ?l . ?l rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1752346 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q928 property:P805 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?j ) }
Philippines municipality of Finland
Philippines and municipality of Finland are around the same number of assemblies a subject as Philippines
Philippines municipality of Finland
action approx
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
action count
action filter_type
action find
entity Philippines
relation subject of
type designation for an administrative territorial entity
[{'concept': 'assembly'}, 'subject of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:subject_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:assembly } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Philippines property:subject_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q856076
P805
Q15617994 Q1752346
USER
And also tell me about municipality of Finland?
(c(Q1752346),P805,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
action count
action filter_type
action find
entity Q856076
relation P805
type Q15617994
[{'concept': 'Q1752346'}, 'P805', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:Q856076 property:P805 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P805 ?d . ?c rdf:type ontology:Q1752346 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } }
municipality of Finland
action approx
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
action count
action filter_type
action find
entity municipality of Finland
relation subject of
type designation for an administrative territorial entity
[{'concept': 'assembly'}, 'subject of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:municipality_of_Finland property:subject_of ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:subject_of ?d . ?c rdf:type ontology:assembly . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity assembly
Q928 Q856076
SYSTEM
Philippines, municipality of Finland
Q928 Q856076
(c(Q1752346),P805,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
action count
action filter_type
action find
entity Q856076
relation P805
type Q15617994
[ANSWERS]
[{'concept': 'Q1752346'}, 'P805', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:Q856076 property:P805 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P805 ?d . ?c rdf:type ontology:Q1752346 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } }
Philippines municipality of Finland
Philippines municipality of Finland
action approx
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
action count
action filter_type
action find
entity municipality of Finland
relation subject of
type designation for an administrative territorial entity
[{'concept': 'assembly'}, 'subject of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:municipality_of_Finland property:subject_of ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:subject_of ?d . ?c rdf:type ontology:assembly . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q534957
P138
Q82799 Q1190554 Q56061
USER
Which administrative territories are named after greater number of names and events than Cleburne ?
(c(Q56061),P138,c(Q82799)|c(Q1190554))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q82799
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action count
action filter_multi_types
action find
entity Q534957
relation P138
type Q82799
type Q1190554
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?p WHERE { { ?p property:P138 ?r . ?p rdf:type ontology:Q56061 . ?r rdf:type ontology:Q82799 } UNION { ?p property:P138 ?r . ?p rdf:type ontology:Q56061 . ?r rdf:type ontology:Q1190554 } } GROUP BY ?p } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Q534957 property:P138 ?b . { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:Q82799 ) ( ontology:Q1190554 ) } } } } }
Cleburne
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type name
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Cleburne
relation named after
type name
type event
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'name'}, {'concept': 'event'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?p WHERE { { ?p property:named_after ?r . ?p rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:name } UNION { ?p property:named_after ?r . ?p rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:event } } GROUP BY ?p } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Cleburne property:named_after ?b . { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:name ) ( ontology:event ) } } } } }
[]
name event administrative territorial entity
Q167895 Q639408 Q7974195
SYSTEM
Kalamata, Waterloo, Waterloo
Q639408 Q167895 Q7974195 Q1620075 Q3947651
(c(Q56061),P138,c(Q82799)|c(Q1190554))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q82799
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action count
action filter_multi_types
action find
entity Q534957
relation P138
type Q82799
type Q1190554
[ANSWERS] are named after greater number of names and events than Cleburne
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?p WHERE { { ?p property:P138 ?r . ?p rdf:type ontology:Q56061 . ?r rdf:type ontology:Q82799 } UNION { ?p property:P138 ?r . ?p rdf:type ontology:Q56061 . ?r rdf:type ontology:Q1190554 } } GROUP BY ?p } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Q534957 property:P138 ?b . { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:Q82799 ) ( ontology:Q1190554 ) } } } } }
Waterloo Kalamata Waterloo Hippos San Martino della Battaglia
Kalamata, Waterloo and Waterloo are named after greater number of names and events than Cleburne
Kalamata Waterloo Waterloo
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type name
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Cleburne
relation named after
type name
type event
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'name'}, {'concept': 'event'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?p WHERE { { ?p property:named_after ?r . ?p rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:name } UNION { ?p property:named_after ?r . ?p rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:event } } GROUP BY ?p } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Cleburne property:named_after ?b . { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:name ) ( ontology:event ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1027521
P138
Q82799 Q1190554 Q56061
USER
And what about Ermelo?
(c(Q56061),P138,c(Q82799)|c(Q1190554))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q82799
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action count
action filter_multi_types
action find
entity Q1027521
relation P138
type Q82799
type Q1190554
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?r WHERE { VALUES ( ?j ) { ( ontology:Q82799 ) ( ontology:Q1190554 ) } . ?k rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:Q82799 ) ( ontology:Q1190554 ) } } . resource:Q1027521 property:P138 ?w } } . FILTER ( ?x > ?q ) }
Ermelo
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type name
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Ermelo
relation named after
type name
type event
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'name'}, {'concept': 'event'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?r WHERE { VALUES ( ?j ) { ( ontology:name ) ( ontology:event ) } . ?k rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:name ) ( ontology:event ) } } . resource:Ermelo property:named_after ?w } } . FILTER ( ?x > ?q ) }
[]
name event administrative territorial entity
Q167895 Q639408 Q7974195
SYSTEM
Kalamata, Waterloo, Waterloo
Q639408 Q167895 Q7974195 Q1620075 Q3947651
(c(Q56061),P138,c(Q82799)|c(Q1190554))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q82799
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action count
action filter_multi_types
action find
entity Q1027521
relation P138
type Q82799
type Q1190554
[ANSWERS]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?r WHERE { VALUES ( ?j ) { ( ontology:Q82799 ) ( ontology:Q1190554 ) } . ?k rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:Q82799 ) ( ontology:Q1190554 ) } } . resource:Q1027521 property:P138 ?w } } . FILTER ( ?x > ?q ) }
Waterloo Kalamata Waterloo Hippos San Martino della Battaglia
Kalamata Waterloo Waterloo
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type name
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Ermelo
relation named after
type name
type event
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'name'}, {'concept': 'event'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?r WHERE { VALUES ( ?j ) { ( ontology:name ) ( ontology:event ) } . ?k rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:name ) ( ontology:event ) } } . resource:Ermelo property:named_after ?w } } . FILTER ( ?x > ?q ) }
[]