Simple Question (Direct)
Simple Question
Q961607
P106
Q12737077
USER
What are the job of Václav Karel Holan Rovenský ?
(Q961607,P106,c(Q12737077))
action filter_type
action find
entity Q961607
relation P106
type Q12737077
['Q961607', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q961607 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Václav Karel Holan Rovenský
action filter_type
action find
entity Václav Karel Holan Rovenský
relation occupation
type occupation
['Václav Karel Holan Rovenský', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Václav_Karel_Holan_Rovenský property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q36834 Q765778 Q158852
SYSTEM
composer, organist, conductor
Q765778 Q158852 Q36180 Q36834 Q328325
(Q961607,P106,c(Q12737077))
action filter_type
action find
entity Q961607
relation P106
type Q12737077
The job of Václav Karel Holan Rovenský are a [ANSWERS]
['Q961607', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q961607 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
organist conductor writer composer stonemason
The job of Václav Karel Holan Rovenský are a composer, organist and conductor
composer organist conductor
action filter_type
action find
entity Václav Karel Holan Rovenský
relation occupation
type occupation
['Václav Karel Holan Rovenský', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Václav_Karel_Holan_Rovenský property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q961607
P98
Q571
USER
Which book did that person act as an editor for ?
(c(Q571),P98,Q36834) (c(Q571),P98,Q765778) (c(Q571),P98,Q158852)
action filter_type
action find_reverse
entity Q961607
relation P98
type Q571
[{'concept': 'Q571'}, 'P98', 'Q36834'] [{'concept': 'Q571'}, 'P98', 'Q765778'] [{'concept': 'Q571'}, 'P98', 'Q158852']
SELECT DISTINCT ?n WHERE { ?n property:P98 resource:Q961607 . ?n rdf:type ontology:Q571 }
Václav Karel Holan Rovenský
action filter_type
action find_reverse
entity Václav Karel Holan Rovenský
relation editor
type book
[{'concept': 'book'}, 'editor', 'composer'] [{'concept': 'book'}, 'editor', 'organist'] [{'concept': 'book'}, 'editor', 'conductor']
SELECT DISTINCT ?n WHERE { ?n property:editor resource:Václav_Karel_Holan_Rovenský . ?n rdf:type ontology:book }
[]
book
Q19524010
SYSTEM
Capella regia musicalis
Q19524010
(c(Q571),P98,Q36834) (c(Q571),P98,Q765778) (c(Q571),P98,Q158852)
action filter_type
action find_reverse
entity Q961607
relation P98
type Q571
[ANSWER] that person acted as an editor
[{'concept': 'Q571'}, 'P98', 'Q36834'] [{'concept': 'Q571'}, 'P98', 'Q765778'] [{'concept': 'Q571'}, 'P98', 'Q158852']
SELECT DISTINCT ?n WHERE { ?n property:P98 resource:Q961607 . ?n rdf:type ontology:Q571 }
Capella regia musicalis
Capella regia musicalis that person acted as an editor
Capella regia musicalis
action filter_type
action find_reverse
entity Václav Karel Holan Rovenský
relation editor
type book
[{'concept': 'book'}, 'editor', 'composer'] [{'concept': 'book'}, 'editor', 'organist'] [{'concept': 'book'}, 'editor', 'conductor']
SELECT DISTINCT ?n WHERE { ?n property:editor resource:Václav_Karel_Holan_Rovenský . ?n rdf:type ontology:book }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19524010
P800
Q502895
USER
Which person has that book as a notable work ?
(c(Q502895),P800,Q19524010)
action filter_type
action find_reverse
entity Q19524010
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q19524010']
SELECT DISTINCT ?f WHERE { ?f property:P800 resource:Q19524010 . ?f rdf:type ontology:Q502895 }
Capella regia musicalis
action filter_type
action find_reverse
entity Capella regia musicalis
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Capella regia musicalis']
SELECT DISTINCT ?f WHERE { ?f property:notable_work resource:Capella_regia_musicalis . ?f rdf:type ontology:common_name }
[]
common name
Q961607
SYSTEM
Václav Karel Holan Rovenský
Q961607
(c(Q502895),P800,Q19524010)
action filter_type
action find_reverse
entity Q19524010
relation P800
type Q502895
[ANSWER] has that book as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q19524010']
SELECT DISTINCT ?f WHERE { ?f property:P800 resource:Q19524010 . ?f rdf:type ontology:Q502895 }
Václav Karel Holan Rovenský
Václav Karel Holan Rovenský has that book as a notable work
Václav Karel Holan Rovenský
action filter_type
action find_reverse
entity Capella regia musicalis
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Capella regia musicalis']
SELECT DISTINCT ?f WHERE { ?f property:notable_work resource:Capella_regia_musicalis . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19524010
P50
Q502895
USER
Who penned Capella regia musicalis ?
(Q19524010,P50,c(Q502895))
action filter_type
action find
entity Q19524010
relation P50
type Q502895
['Q19524010', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q19524010 property:P50 ?z . ?z rdf:type ontology:Q502895 }
Capella regia musicalis
action filter_type
action find
entity Capella regia musicalis
relation author
type common name
['Capella regia musicalis', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Capella_regia_musicalis property:author ?z . ?z rdf:type ontology:common_name }
[]
common name
Q12022594
SYSTEM
Jan Ignác Dlouhoveský z Dlouhé Vsi
Q12022594
(Q19524010,P50,c(Q502895))
action filter_type
action find
entity Q19524010
relation P50
type Q502895
[ANSWER] penned Capella regia musicalis
['Q19524010', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q19524010 property:P50 ?z . ?z rdf:type ontology:Q502895 }
Jan Ignác Dlouhoveský z Dlouhé Vsi
Jan Ignác Dlouhoveský z Dlouhé Vsi penned Capella regia musicalis
Jan Ignác Dlouhoveský z Dlouhé Vsi
action filter_type
action find
entity Capella regia musicalis
relation author
type common name
['Capella regia musicalis', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Capella_regia_musicalis property:author ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12022594
P21
Q290
USER
What is the sex of that person ?
(Q12022594,P21,c(Q290))
action filter_type
action find
entity Q12022594
relation P21
type Q290
['Q12022594', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q12022594 property:P21 ?u }
Jan Ignác Dlouhoveský z Dlouhé Vsi
action filter_type
action find
entity Jan Ignác Dlouhoveský z Dlouhé Vsi
relation gender
type sex
['Jan Ignác Dlouhoveský z Dlouhé Vsi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Jan_Ignác_Dlouhoveský_z_Dlouhé_Vsi property:gender ?u }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12022594,P21,c(Q290))
action filter_type
action find
entity Q12022594
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q12022594', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q12022594 property:P21 ?u }
male
The sex of that person is a male
male
action filter_type
action find
entity Jan Ignác Dlouhoveský z Dlouhé Vsi
relation gender
type sex
['Jan Ignác Dlouhoveský z Dlouhé Vsi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Jan_Ignác_Dlouhoveský_z_Dlouhé_Vsi property:gender ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12022594
P140
Q879146
USER
Which Christian denomination is the religion of Jan Ignác Dlouhoveský z Dlouhé Vsi ?
(Q12022594,P140,c(Q879146))
action filter_type
action find
entity Q12022594
relation P140
type Q879146
['Q12022594', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?n WHERE { resource:Q12022594 property:P140 ?n . ?n rdf:type ontology:Q879146 }
Jan Ignác Dlouhoveský z Dlouhé Vsi
action filter_type
action find
entity Jan Ignác Dlouhoveský z Dlouhé Vsi
relation religion
type Christian denomination
['Jan Ignác Dlouhoveský z Dlouhé Vsi', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?n WHERE { resource:Jan_Ignác_Dlouhoveský_z_Dlouhé_Vsi property:religion ?n . ?n rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q12022594,P140,c(Q879146))
action filter_type
action find
entity Q12022594
relation P140
type Q879146
[ANSWER] is the religion of Jan Ignác Dlouhoveský z Dlouhé Vsi
['Q12022594', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?n WHERE { resource:Q12022594 property:P140 ?n . ?n rdf:type ontology:Q879146 }
Roman Catholic Church
Roman Catholic Church is the religion of Jan Ignác Dlouhoveský z Dlouhé Vsi
Roman Catholic Church
action filter_type
action find
entity Jan Ignác Dlouhoveský z Dlouhé Vsi
relation religion
type Christian denomination
['Jan Ignác Dlouhoveský z Dlouhé Vsi', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?n WHERE { resource:Jan_Ignác_Dlouhoveský_z_Dlouhé_Vsi property:religion ?n . ?n rdf:type ontology:Christian_denomination }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P361
Q879146 Q102496 Q56061
USER
Which Christian denominations are more number of parishes and administrative territories a portion of than that Christian denomination ?
(c(Q102496)|c(Q56061),P361,c(Q879146))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q102496
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q9592
relation P361
type Q102496
type Q56061
[[{'concept': 'Q102496'}, {'concept': 'Q56061'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:P361 resource:Q9592 . { { ?q rdf:type ontology:Q102496 } UNION { ?q rdf:type ontology:Q56061 } } } } . FILTER ( ?o > ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?s WHERE { { ?s rdf:type ontology:Q879146 . ?m rdf:type ontology:Q102496 . ?m property:P361 ?s } UNION { ?m property:P361 ?s . ?s rdf:type ontology:Q879146 . ?m rdf:type ontology:Q56061 } } GROUP BY ?s } }
action greater
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type parish
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Roman Catholic Church
relation part of
type parish
type administrative territorial entity
[[{'concept': 'parish'}, {'concept': 'administrative territorial entity'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:part_of resource:Roman_Catholic_Church . { { ?q rdf:type ontology:parish } UNION { ?q rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?o > ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?s WHERE { { ?s rdf:type ontology:Christian_denomination . ?m rdf:type ontology:parish . ?m property:part_of ?s } UNION { ?m property:part_of ?s . ?s rdf:type ontology:Christian_denomination . ?m rdf:type ontology:administrative_territorial_entity } } GROUP BY ?s } }
[]
Christian denomination parish administrative territorial entity
Q749243 Q82708
SYSTEM
Church of Sweden, Church of England
Q749243 Q82708
(c(Q102496)|c(Q56061),P361,c(Q879146))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q102496
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q9592
relation P361
type Q102496
type Q56061
[ANSWERS] are more number of parishes and administrative territories a portion of than that Christian denomination
[[{'concept': 'Q102496'}, {'concept': 'Q56061'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:P361 resource:Q9592 . { { ?q rdf:type ontology:Q102496 } UNION { ?q rdf:type ontology:Q56061 } } } } . FILTER ( ?o > ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?s WHERE { { ?s rdf:type ontology:Q879146 . ?m rdf:type ontology:Q102496 . ?m property:P361 ?s } UNION { ?m property:P361 ?s . ?s rdf:type ontology:Q879146 . ?m rdf:type ontology:Q56061 } } GROUP BY ?s } }
Church of Sweden Church of England
Church of Sweden and Church of England are more number of parishes and administrative territories a portion of than that Christian denomination
Church of Sweden Church of England
action greater
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type parish
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Roman Catholic Church
relation part of
type parish
type administrative territorial entity
[[{'concept': 'parish'}, {'concept': 'administrative territorial entity'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:part_of resource:Roman_Catholic_Church . { { ?q rdf:type ontology:parish } UNION { ?q rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?o > ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?s WHERE { { ?s rdf:type ontology:Christian_denomination . ?m rdf:type ontology:parish . ?m property:part_of ?s } UNION { ?m property:part_of ?s . ?s rdf:type ontology:Christian_denomination . ?m rdf:type ontology:administrative_territorial_entity } } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q749243
P21 P108
Q502895
USER
Which people works for Church of Sweden and are a male ?
AND((c(Q502895),P108,Q749243), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q749243
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q749243'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P21 resource:Q6581097 . ?m property:P108 resource:Q749243 . ?m rdf:type ontology:Q502895 }
male Church of Sweden
action filter_type
action intersection
action find_reverse
entity Church of Sweden
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'Church of Sweden'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:gender resource:male . ?m property:employer resource:Church_of_Sweden . ?m rdf:type ontology:common_name }
[]
common name
Q159723 Q20816949
SYSTEM
Nathan Söderblom, Israel Israelsson Näslund
Q159723 Q20816949
AND((c(Q502895),P108,Q749243), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q749243
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] work for Church of Sweden and are a male
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q749243'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P21 resource:Q6581097 . ?m property:P108 resource:Q749243 . ?m rdf:type ontology:Q502895 }
Nathan Söderblom Israel Israelsson Näslund
Nathan Söderblom and Israel Israelsson Näslund work for Church of Sweden and are a male
Nathan Söderblom Israel Israelsson Näslund
action filter_type
action intersection
action find_reverse
entity Church of Sweden
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'Church of Sweden'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:gender resource:male . ?m property:employer resource:Church_of_Sweden . ?m rdf:type ontology:common_name }
[]