Simple Question (Direct)
Simple Question
Q204891
P411
Q82799
USER
Which name represents the canonization status of Guido Maria Conforti ?
(Q204891,P411,c(Q82799))
action filter_type
action find
entity Q204891
relation P411
type Q82799
['Q204891', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q204891 property:P411 ?x . ?x rdf:type ontology:Q82799 }
Guido Maria Conforti
action filter_type
action find
entity Guido Maria Conforti
relation canonization status
type name
['Guido Maria Conforti', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Guido_Maria_Conforti property:canonization_status ?x . ?x rdf:type ontology:name }
[]
name
Q43115
SYSTEM
saint
Q43115
(Q204891,P411,c(Q82799))
action filter_type
action find
entity Q204891
relation P411
type Q82799
The [ANSWER] represents the canonization status of Guido Maria Conforti
['Q204891', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q204891 property:P411 ?x . ?x rdf:type ontology:Q82799 }
saint
The saint represents the canonization status of Guido Maria Conforti
saint
action filter_type
action find
entity Guido Maria Conforti
relation canonization status
type name
['Guido Maria Conforti', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Guido_Maria_Conforti property:canonization_status ?x . ?x rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q204891
P21
Q290
USER
Which sex does Guido Maria Conforti belong to ?
(Q204891,P21,c(Q290))
action filter_type
action find
entity Q204891
relation P21
type Q290
['Q204891', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q204891 property:P21 ?n . ?n rdf:type ontology:Q290 }
Guido Maria Conforti
action filter_type
action find
entity Guido Maria Conforti
relation gender
type sex
['Guido Maria Conforti', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Guido_Maria_Conforti property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q204891,P21,c(Q290))
action filter_type
action find
entity Q204891
relation P21
type Q290
Guido Maria Conforti belongs to [ANSWER]
['Q204891', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q204891 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Guido Maria Conforti belongs to male
male
action filter_type
action find
entity Guido Maria Conforti
relation gender
type sex
['Guido Maria Conforti', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Guido_Maria_Conforti property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1140124
Q290
USER
And also tell me about Satto?
(Q1140124,P21,c(Q290))
action filter_type
action find
entity Q1140124
relation P21
type Q290
['Q1140124', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q1140124 property:P21 ?b . ?b rdf:type ontology:Q290 }
Satto
action filter_type
action find
entity Satto
relation gender
type sex
['Satto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Satto property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1140124,P21,c(Q290))
action filter_type
action find
entity Q1140124
relation P21
type Q290
[ANSWER]
['Q1140124', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q1140124 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Satto
relation gender
type sex
['Satto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Satto property:gender ?b . ?b rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q568872
P138
Q2221906 Q56061 Q82799
USER
How many names have around the same number of geographic locations or administrative territories as their toponym as Palmer ?
(c(Q82799),P138,c(Q2221906)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q2221906
action find_tuple_counts
relation P138
type Q82799
type Q56061
action count
action filter_multi_types
action find
entity Q568872
relation P138
type Q2221906
type Q56061
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:Q2221906 ) ( ontology:Q56061 ) } . ?k rdf:type ?t } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q568872 property:P138 ?w . { { ?w rdf:type ontology:Q2221906 } UNION { ?w rdf:type ontology:Q56061 } } } } . FILTER ( ?d = ?o ) }
Palmer
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type geographic location
action find_tuple_counts
relation named after
type name
type administrative territorial entity
action count
action filter_multi_types
action find
entity Palmer
relation named after
type geographic location
type administrative territorial entity
[{'concept': 'name'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:geographic_location ) ( ontology:administrative_territorial_entity ) } . ?k rdf:type ?t } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Palmer property:named_after ?w . { { ?w rdf:type ontology:geographic_location } UNION { ?w rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?d = ?o ) }
[]
geographic location administrative territorial entity name
SYSTEM
105
Q18335877 Q25212228 Q6501864 Q27022433 Q18198499 Q16281329 Q25368020 Q23727105 Q18043344 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q25115046 Q16871796 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q17747435 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q23783070 Q1643088 Q21507928 Q2909103 Q24529820 Q807882 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q13553585 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q20027829 Q18578754 Q25201582 Q1882407 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q16860286 Q25326750 Q16865812 Q20963077 Q612479 Q1755217 Q17625919 Q26247962 Q24689291 Q23301520 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q2221906)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q2221906
action find_tuple_counts
relation P138
type Q82799
type Q56061
action count
action filter_multi_types
action find
entity Q568872
relation P138
type Q2221906
type Q56061
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:Q2221906 ) ( ontology:Q56061 ) } . ?k rdf:type ?t } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q568872 property:P138 ?w . { { ?w rdf:type ontology:Q2221906 } UNION { ?w rdf:type ontology:Q56061 } } } } . FILTER ( ?d = ?o ) }
Prévot Émile-Louis Kaplan Danziger Elizur Sha'aban Racine Poisson Renard Súla Rosario Meyer Ruby Pseudo-Lucian Louarn Lancaster Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Ruzena Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Potier Ramos Mouton Boissel Rameau Barbus Müller Ahrens Mercier Dumoulin Boulanger Peleg Gold Bigot Métivier Poulain Laserbeak Palmer Vallon Berger Duce Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Arminia Kelly Abel Pignon Rose Ofer Lamour Saxon Voisin Roux MacGowan Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Boucher Février Couture Aryaman Koehler Magowan Du Moulin Master of The Hours of Henri II Vigneron Aonchotheca moraveci Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
105
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type geographic location
action find_tuple_counts
relation named after
type name
type administrative territorial entity
action count
action filter_multi_types
action find
entity Palmer
relation named after
type geographic location
type administrative territorial entity
[{'concept': 'name'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:geographic_location ) ( ontology:administrative_territorial_entity ) } . ?k rdf:type ?t } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Palmer property:named_after ?w . { { ?w rdf:type ontology:geographic_location } UNION { ?w rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?d = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q19831835
P138
Q2221906 Q56061 Q82799
USER
And how about Qutb?
(c(Q82799),P138,c(Q2221906)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q2221906
action find_tuple_counts
relation P138
type Q82799
type Q56061
action count
action filter_multi_types
action find
entity Q19831835
relation P138
type Q2221906
type Q56061
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?h WHERE { VALUES ( ?i ) { ( ontology:Q2221906 ) ( ontology:Q56061 ) } . ?f rdf:type ?i } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q19831835 property:P138 ?e . { { ?e rdf:type ontology:Q2221906 } UNION { ?e rdf:type ontology:Q56061 } } } } . FILTER ( ?y = ?q ) }
Qutb
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type geographic location
action find_tuple_counts
relation named after
type name
type administrative territorial entity
action count
action filter_multi_types
action find
entity Qutb
relation named after
type geographic location
type administrative territorial entity
[{'concept': 'name'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?h WHERE { VALUES ( ?i ) { ( ontology:geographic_location ) ( ontology:administrative_territorial_entity ) } . ?f rdf:type ?i } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Qutb property:named_after ?e . { { ?e rdf:type ontology:geographic_location } UNION { ?e rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?y = ?q ) }
[]
geographic location administrative territorial entity name
SYSTEM
105
Q18335877 Q25212228 Q6501864 Q27022433 Q18198499 Q16281329 Q25368020 Q23727105 Q18043344 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q25115046 Q16871796 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q17747435 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q23783070 Q1643088 Q21507928 Q2909103 Q24529820 Q807882 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q13553585 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q20027829 Q18578754 Q25201582 Q1882407 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q16860286 Q25326750 Q16865812 Q20963077 Q612479 Q1755217 Q17625919 Q26247962 Q24689291 Q23301520 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q2221906)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q2221906
action find_tuple_counts
relation P138
type Q82799
type Q56061
action count
action filter_multi_types
action find
entity Q19831835
relation P138
type Q2221906
type Q56061
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?h WHERE { VALUES ( ?i ) { ( ontology:Q2221906 ) ( ontology:Q56061 ) } . ?f rdf:type ?i } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q19831835 property:P138 ?e . { { ?e rdf:type ontology:Q2221906 } UNION { ?e rdf:type ontology:Q56061 } } } } . FILTER ( ?y = ?q ) }
Prévot Émile-Louis Kaplan Danziger Elizur Sha'aban Racine Poisson Renard Súla Rosario Meyer Ruby Pseudo-Lucian Louarn Lancaster Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Ruzena Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Potier Ramos Mouton Boissel Rameau Barbus Müller Ahrens Mercier Dumoulin Boulanger Peleg Gold Bigot Métivier Poulain Laserbeak Palmer Vallon Berger Duce Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Arminia Kelly Abel Pignon Rose Ofer Lamour Saxon Voisin Roux MacGowan Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Boucher Février Couture Aryaman Koehler Magowan Du Moulin Master of The Hours of Henri II Vigneron Aonchotheca moraveci Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
105
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type geographic location
action find_tuple_counts
relation named after
type name
type administrative territorial entity
action count
action filter_multi_types
action find
entity Qutb
relation named after
type geographic location
type administrative territorial entity
[{'concept': 'name'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?h WHERE { VALUES ( ?i ) { ( ontology:geographic_location ) ( ontology:administrative_territorial_entity ) } . ?f rdf:type ?i } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Qutb property:named_after ?e . { { ?e rdf:type ontology:geographic_location } UNION { ?e rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?y = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q21447940
P361
Q9332 Q8436 Q82799
USER
How many names are a component of more number of behaviors and families than Hester ?
(c(Q82799),P361,c(Q9332)|c(Q8436))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q9332
action find_tuple_counts
relation P361
type Q82799
type Q8436
action count
action filter_multi_types
action find
entity Q21447940
relation P361
type Q9332
type Q8436
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?y ) WHERE { VALUES ( ?t ) { ( ontology:Q9332 ) ( ontology:Q8436 ) } . ?s rdf:type ?t } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q21447940 property:P361 ?f . { { ?f rdf:type ontology:Q9332 } UNION { ?f rdf:type ontology:Q8436 } } } } . FILTER ( ?y > ?v ) }
Hester
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type behavior
action find_tuple_counts
relation part of
type name
type family
action count
action filter_multi_types
action find
entity Hester
relation part of
type behavior
type family
[{'concept': 'name'}, 'part of', [{'concept': 'behavior'}, {'concept': 'family'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?y ) WHERE { VALUES ( ?t ) { ( ontology:behavior ) ( ontology:family ) } . ?s rdf:type ?t } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Hester property:part_of ?f . { { ?f rdf:type ontology:behavior } UNION { ?f rdf:type ontology:family } } } } . FILTER ( ?y > ?v ) }
[]
behavior family name
SYSTEM
3
Q235598 Q742083 Q382004
(c(Q82799),P361,c(Q9332)|c(Q8436))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q9332
action find_tuple_counts
relation P361
type Q82799
type Q8436
action count
action filter_multi_types
action find
entity Q21447940
relation P361
type Q9332
type Q8436
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?y ) WHERE { VALUES ( ?t ) { ( ontology:Q9332 ) ( ontology:Q8436 ) } . ?s rdf:type ?t } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q21447940 property:P361 ?f . { { ?f rdf:type ontology:Q9332 } UNION { ?f rdf:type ontology:Q8436 } } } } . FILTER ( ?y > ?v ) }
Piso Princes of Paliano Afa-Negus
3
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type behavior
action find_tuple_counts
relation part of
type name
type family
action count
action filter_multi_types
action find
entity Hester
relation part of
type behavior
type family
[{'concept': 'name'}, 'part of', [{'concept': 'behavior'}, {'concept': 'family'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?y ) WHERE { VALUES ( ?t ) { ( ontology:behavior ) ( ontology:family ) } . ?s rdf:type ?t } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Hester property:part_of ?f . { { ?f rdf:type ontology:behavior } UNION { ?f rdf:type ontology:family } } } } . FILTER ( ?y > ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3372303
P361
Q9332 Q8436 Q82799
USER
And how about Mai?
(c(Q82799),P361,c(Q9332)|c(Q8436))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q9332
action find_tuple_counts
relation P361
type Q82799
type Q8436
action count
action filter_multi_types
action find
entity Q3372303
relation P361
type Q9332
type Q8436
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q8436 ) ( ontology:Q9332 ) } . ?a rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q3372303 property:P361 ?t . { { ?t rdf:type ontology:Q9332 } UNION { ?t rdf:type ontology:Q8436 } } } } . FILTER ( ?d > ?k ) }
Mai
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type behavior
action find_tuple_counts
relation part of
type name
type family
action count
action filter_multi_types
action find
entity Mai
relation part of
type behavior
type family
[{'concept': 'name'}, 'part of', [{'concept': 'behavior'}, {'concept': 'family'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { VALUES ( ?h ) { ( ontology:family ) ( ontology:behavior ) } . ?a rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Mai property:part_of ?t . { { ?t rdf:type ontology:behavior } UNION { ?t rdf:type ontology:family } } } } . FILTER ( ?d > ?k ) }
[]
behavior family name
SYSTEM
3
Q235598 Q742083 Q382004
(c(Q82799),P361,c(Q9332)|c(Q8436))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q9332
action find_tuple_counts
relation P361
type Q82799
type Q8436
action count
action filter_multi_types
action find
entity Q3372303
relation P361
type Q9332
type Q8436
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q8436 ) ( ontology:Q9332 ) } . ?a rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q3372303 property:P361 ?t . { { ?t rdf:type ontology:Q9332 } UNION { ?t rdf:type ontology:Q8436 } } } } . FILTER ( ?d > ?k ) }
Piso Princes of Paliano Afa-Negus
3
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type behavior
action find_tuple_counts
relation part of
type name
type family
action count
action filter_multi_types
action find
entity Mai
relation part of
type behavior
type family
[{'concept': 'name'}, 'part of', [{'concept': 'behavior'}, {'concept': 'family'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { VALUES ( ?h ) { ( ontology:family ) ( ontology:behavior ) } . ?a rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Mai property:part_of ?t . { { ?t rdf:type ontology:behavior } UNION { ?t rdf:type ontology:family } } } } . FILTER ( ?d > ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43115
P180
Q17335294
USER
Which coat of arms expressess saint ?
(c(Q17335294),P180,Q43115)
action filter_type
action find_reverse
entity Q43115
relation P180
type Q17335294
[{'concept': 'Q17335294'}, 'P180', 'Q43115']
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q43115 . ?m rdf:type ontology:Q17335294 }
saint
action filter_type
action find_reverse
entity saint
relation depicts
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'depicts', 'saint']
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:saint . ?m rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q19986529
SYSTEM
coat of arms of Alem
Q19986529
(c(Q17335294),P180,Q43115)
action filter_type
action find_reverse
entity Q43115
relation P180
type Q17335294
PROBLEM SINGULARIZE
[{'concept': 'Q17335294'}, 'P180', 'Q43115']
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q43115 . ?m rdf:type ontology:Q17335294 }
coat of arms of Alem
PROBLEM SINGULARIZE
coat of arms of Alem
action filter_type
action find_reverse
entity saint
relation depicts
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'depicts', 'saint']
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:saint . ?m rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19986529
P462
Q1075
USER
Which color is that coat of arms associated with ?
(Q19986529,P462,c(Q1075))
action filter_type
action find
entity Q19986529
relation P462
type Q1075
['Q19986529', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?i WHERE { resource:Q19986529 property:P462 ?i . ?i rdf:type ontology:Q1075 }
coat of arms of Alem
action filter_type
action find
entity coat of arms of Alem
relation color
type color
['coat of arms of Alem', 'color', {'concept': 'color'}]
SELECT DISTINCT ?i WHERE { resource:coat_of_arms_of_Alem property:color ?i . ?i rdf:type ontology:color }
[]
color
Q15964916
SYSTEM
Dutch national tinctures
Q15964916
(Q19986529,P462,c(Q1075))
action filter_type
action find
entity Q19986529
relation P462
type Q1075
That coat of arms is associated with [ANSWER]
['Q19986529', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?i WHERE { resource:Q19986529 property:P462 ?i . ?i rdf:type ontology:Q1075 }
Dutch national tinctures
That coat of arms is associated with Dutch national tinctures
Dutch national tinctures
action filter_type
action find
entity coat of arms of Alem
relation color
type color
['coat of arms of Alem', 'color', {'concept': 'color'}]
SELECT DISTINCT ?i WHERE { resource:coat_of_arms_of_Alem property:color ?i . ?i rdf:type ontology:color }
[]