Simple Question (Direct)
Simple Question
Q1716908
P106
Q12737077
USER
What are the professions of Jürg Jegge ?
(Q1716908,P106,c(Q12737077))
action filter_type
action find
entity Q1716908
relation P106
type Q12737077
['Q1716908', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q1716908 property:P106 ?b }
Jürg Jegge
action filter_type
action find
entity Jürg Jegge
relation occupation
type occupation
['Jürg Jegge', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Jürg_Jegge property:occupation ?b }
[]
occupation
Q36180 Q947873
SYSTEM
writer, television presenter
Q36180 Q947873
(Q1716908,P106,c(Q12737077))
action filter_type
action find
entity Q1716908
relation P106
type Q12737077
The professions of Jürg Jegge are a [ANSWERS]
['Q1716908', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q1716908 property:P106 ?b }
writer television presenter
The professions of Jürg Jegge are a writer and television presenter
writer television presenter
action filter_type
action find
entity Jürg Jegge
relation occupation
type occupation
['Jürg Jegge', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Jürg_Jegge property:occupation ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1716908
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q36180,P27,c(Q15617994)) (Q947873,P27,c(Q15617994))
action filter_type
action find
entity Q1716908
relation P27
type Q15617994
['Q36180', 'P27', {'concept': 'Q15617994'}] ['Q947873', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q1716908 property:P27 ?j }
Jürg Jegge
action filter_type
action find
entity Jürg Jegge
relation country of citizenship
type designation for an administrative territorial entity
['writer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['television presenter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jürg_Jegge property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q36180,P27,c(Q15617994)) (Q947873,P27,c(Q15617994))
action filter_type
action find
entity Q1716908
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q36180', 'P27', {'concept': 'Q15617994'}] ['Q947873', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q1716908 property:P27 ?j }
Switzerland
Switzerland is the native country of that person
Switzerland
action filter_type
action find
entity Jürg Jegge
relation country of citizenship
type designation for an administrative territorial entity
['writer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['television presenter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jürg_Jegge property:country_of_citizenship ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P276
Q151885
USER
What is situated at that administrative territory ?
(c(Q151885),P276,Q39)
action filter_type
action find_reverse
entity Q39
relation P276
type Q151885
[{'concept': 'Q151885'}, 'P276', 'Q39']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q151885 . ?u property:P276 resource:Q39 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation location
type concept
[{'concept': 'concept'}, 'location', 'Switzerland']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:concept . ?u property:location resource:Switzerland }
[]
concept
Q244830
SYSTEM
Zwinglians
Q244830
(c(Q151885),P276,Q39)
action filter_type
action find_reverse
entity Q39
relation P276
type Q151885
[ANSWER] is situated at that administrative territory
[{'concept': 'Q151885'}, 'P276', 'Q39']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q151885 . ?u property:P276 resource:Q39 }
Zwinglians
Zwinglians is situated at that administrative territory
Zwinglians
action filter_type
action find_reverse
entity Switzerland
relation location
type concept
[{'concept': 'concept'}, 'location', 'Switzerland']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:concept . ?u property:location resource:Switzerland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P610
Q14524493
USER
Which terrain is the highest point of Switzerland ?
(Q39,P610,c(Q14524493))
action filter_type
action find
entity Q39
relation P610
type Q14524493
['Q39', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?o WHERE { resource:Q39 property:P610 ?o . ?o rdf:type ontology:Q14524493 }
Switzerland
action filter_type
action find
entity Switzerland
relation highest point
type terrain
['Switzerland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?o WHERE { resource:Switzerland property:highest_point ?o . ?o rdf:type ontology:terrain }
[]
terrain
Q3403
SYSTEM
Dufourspitze
Q3403
(Q39,P610,c(Q14524493))
action filter_type
action find
entity Q39
relation P610
type Q14524493
[ANSWER] is the highest point of Switzerland
['Q39', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?o WHERE { resource:Q39 property:P610 ?o . ?o rdf:type ontology:Q14524493 }
Dufourspitze
Dufourspitze is the highest point of Switzerland
Dufourspitze
action filter_type
action find
entity Switzerland
relation highest point
type terrain
['Switzerland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?o WHERE { resource:Switzerland property:highest_point ?o . ?o rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P85
Q484692
USER
What is the anthem for that administrative territory ?
(Q3403,P85,c(Q484692))
action filter_type
action find
entity Q39
relation P85
type Q484692
['Q3403', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?m WHERE { resource:Q39 property:P85 ?m . ?m rdf:type ontology:Q484692 }
Switzerland
action filter_type
action find
entity Switzerland
relation anthem
type hymn
['Dufourspitze', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?m WHERE { resource:Switzerland property:anthem ?m . ?m rdf:type ontology:hymn }
[]
hymn
Q182536
SYSTEM
Swiss Psalm
Q182536
(Q3403,P85,c(Q484692))
action filter_type
action find
entity Q39
relation P85
type Q484692
The anthem for that administrative territory is the [ANSWER]
['Q3403', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?m WHERE { resource:Q39 property:P85 ?m . ?m rdf:type ontology:Q484692 }
Swiss Psalm
The anthem for that administrative territory is the Swiss Psalm
Swiss Psalm
action filter_type
action find
entity Switzerland
relation anthem
type hymn
['Dufourspitze', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?m WHERE { resource:Switzerland property:anthem ?m . ?m rdf:type ontology:hymn }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P85
Q484692 Q15617994 Q7275
USER
How many hymns are the anthems for more number of administrative territories and states than that hymn ?
(c(Q15617994)|c(Q7275),P85,c(Q484692))
action count
action greater
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q15617994
action find_reverse_tuple_counts
relation P85
type Q484692
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q182536
relation P85
type Q15617994
type Q7275
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?n ) WHERE { { ?t property:P85 ?f . ?f rdf:type ontology:Q484692 . ?t rdf:type ontology:Q15617994 } UNION { ?t property:P85 ?f . ?t rdf:type ontology:Q7275 . ?f rdf:type ontology:Q484692 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P85 resource:Q182536 . { { ?d rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q7275 } } } } . FILTER ( ?n > ?p ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation anthem
type hymn
type state
action count
action filter_multi_types
action find_reverse
entity Swiss Psalm
relation anthem
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?n ) WHERE { { ?t property:anthem ?f . ?f rdf:type ontology:hymn . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t property:anthem ?f . ?t rdf:type ontology:state . ?f rdf:type ontology:hymn } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:anthem resource:Swiss_Psalm . { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:state } } } } . FILTER ( ?n > ?p ) }
[]
hymn designation for an administrative territorial entity state
SYSTEM
30
Q200742 Q176665 Q147367 Q161744 Q213267 Q162483 Q623034 Q185190 Q344452 Q271864 Q161049 Q631618 Q1064182 Q45788 Q146502 Q212725 Q483968 Q326886 Q131713 Q182115 Q483590 Q193233 Q172495 Q130940 Q164259 Q30562 Q992460 Q256615 Q467988 Q166944
(c(Q15617994)|c(Q7275),P85,c(Q484692))
action count
action greater
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q15617994
action find_reverse_tuple_counts
relation P85
type Q484692
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q182536
relation P85
type Q15617994
type Q7275
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?n ) WHERE { { ?t property:P85 ?f . ?f rdf:type ontology:Q484692 . ?t rdf:type ontology:Q15617994 } UNION { ?t property:P85 ?f . ?t rdf:type ontology:Q7275 . ?f rdf:type ontology:Q484692 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P85 resource:Q182536 . { { ?d rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q7275 } } } } . FILTER ( ?n > ?p ) }
Mexican National Anthem Hymn to Liberty Hey, Slavs Shche ne vmerla Ukraina Qaumi Taranah Maamme Pheng Xat Lao Bože Pravde İstiklâl Marşı National anthem of Mongolia A Portuguesa Nokor Reach Ubavoj nam Crnoj Gori Himnusz Lijepa naša domovino Lupang Hinirang Azərbaycan marşı Burundi Bwacu Wilhelmus Mila Rodino Kde domov můj? Aegukga Argentine National Anthem Marcha Real Mer Hayrenik Gott erhalte Franz den Kaiser Himno de Riego Bayernhymne La Renaissance Nad Tatrou sa blýska
30
action count
action greater
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation anthem
type hymn
type state
action count
action filter_multi_types
action find_reverse
entity Swiss Psalm
relation anthem
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?n ) WHERE { { ?t property:anthem ?f . ?f rdf:type ontology:hymn . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t property:anthem ?f . ?t rdf:type ontology:state . ?f rdf:type ontology:hymn } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:anthem resource:Swiss_Psalm . { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:state } } } } . FILTER ( ?n > ?p ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q182536
P800
Q502895
USER
Who has that hymn as their notable work ?
action filter_type
action find_reverse
entity Q182536
relation P800
type Q502895
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P800 resource:Q182536 }
Swiss Psalm
action filter_type
action find_reverse
entity Swiss Psalm
relation notable work
type common name
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:notable_work resource:Swiss_Psalm }
[]
common name
Q667651
SYSTEM
Alberich Zwyssig
Q667651
action filter_type
action find_reverse
entity Q182536
relation P800
type Q502895
[ANSWER] has that hymn as their notable work
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P800 resource:Q182536 }
Alberich Zwyssig
Alberich Zwyssig has that hymn as their notable work
Alberich Zwyssig
action filter_type
action find_reverse
entity Swiss Psalm
relation notable work
type common name
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:notable_work resource:Swiss_Psalm }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q667651 Q39
P27
Q15617994
USER
Is Alberich Zwyssig a civilian of Switzerland ?
(Q667651,P27,Q39)
action is_in
entity Q39
action find
entity Q667651
relation P27
['Q667651', 'P27', 'Q39']
ASK WHERE { resource:Q667651 property:P27 resource:Q39 }
Alberich Zwyssig Switzerland
action is_in
entity Switzerland
action find
entity Alberich Zwyssig
relation country of citizenship
['Alberich Zwyssig', 'country of citizenship', 'Switzerland']
ASK WHERE { resource:Alberich_Zwyssig property:country_of_citizenship resource:Switzerland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q667651,P27,Q39)
action is_in
entity Q39
action find
entity Q667651
relation P27
[ANSWER]
['Q667651', 'P27', 'Q39']
ASK WHERE { resource:Q667651 property:P27 resource:Q39 }
Yes
action is_in
entity Switzerland
action find
entity Alberich Zwyssig
relation country of citizenship
['Alberich Zwyssig', 'country of citizenship', 'Switzerland']
ASK WHERE { resource:Alberich_Zwyssig property:country_of_citizenship resource:Switzerland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q667651
P86
Q484692
USER
Which hymn has Alberich Zwyssig as the composer ?
(c(Q484692),P86,Q667651)
action filter_type
action find_reverse
entity Q667651
relation P86
type Q484692
[{'concept': 'Q484692'}, 'P86', 'Q667651']
SELECT DISTINCT ?h WHERE { ?h property:P86 resource:Q667651 . ?h rdf:type ontology:Q484692 }
Alberich Zwyssig
action filter_type
action find_reverse
entity Alberich Zwyssig
relation composer
type hymn
[{'concept': 'hymn'}, 'composer', 'Alberich Zwyssig']
SELECT DISTINCT ?h WHERE { ?h property:composer resource:Alberich_Zwyssig . ?h rdf:type ontology:hymn }
[]
hymn
Q182536
SYSTEM
Swiss Psalm
Q182536
(c(Q484692),P86,Q667651)
action filter_type
action find_reverse
entity Q667651
relation P86
type Q484692
[ANSWER] has Alberich Zwyssig as the composer
[{'concept': 'Q484692'}, 'P86', 'Q667651']
SELECT DISTINCT ?h WHERE { ?h property:P86 resource:Q667651 . ?h rdf:type ontology:Q484692 }
Swiss Psalm
Swiss Psalm has Alberich Zwyssig as the composer
Swiss Psalm
action filter_type
action find_reverse
entity Alberich Zwyssig
relation composer
type hymn
[{'concept': 'hymn'}, 'composer', 'Alberich Zwyssig']
SELECT DISTINCT ?h WHERE { ?h property:composer resource:Alberich_Zwyssig . ?h rdf:type ontology:hymn }
[]