Simple Question (Direct)
Simple Question
Q12805674
P106
Q12737077
USER
What do Viktor Cotič do for a living ?
(Q12805674,P106,c(Q12737077))
action filter_type
action find
entity Q12805674
relation P106
type Q12737077
['Q12805674', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q12805674 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Viktor Cotič
action filter_type
action find
entity Viktor Cotič
relation occupation
type occupation
['Viktor Cotič', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Viktor_Cotič property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q1028181 Q644687 Q2707485
SYSTEM
painter, illustrator, scenographer
Q1028181 Q644687 Q2707485
(Q12805674,P106,c(Q12737077))
action filter_type
action find
entity Q12805674
relation P106
type Q12737077
Viktor Cotič do for a living as [ANSWERS]
['Q12805674', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q12805674 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
painter illustrator scenographer
Viktor Cotič do for a living as painter, illustrator and scenographer
painter illustrator scenographer
action filter_type
action find
entity Viktor Cotič
relation occupation
type occupation
['Viktor Cotič', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Viktor_Cotič property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q644687
P425
Q8205328
USER
Which artefact has that one as thier associated field of occupation ?
(Q644687,P425,c(Q8205328))
action filter_type
action find
entity Q644687
relation P425
type Q8205328
['Q644687', 'P425', {'concept': 'Q8205328'}]
SELECT DISTINCT ?h WHERE { resource:Q644687 property:P425 ?h . ?h rdf:type ontology:Q8205328 }
illustrator
action filter_type
action find
entity illustrator
relation field of this occupation
type artefact
['illustrator', 'field of this occupation', {'concept': 'artefact'}]
SELECT DISTINCT ?h WHERE { resource:illustrator property:field_of_this_occupation ?h . ?h rdf:type ontology:artefact }
[]
artefact
Clarification for simple ques.
Q2707485
SYSTEM
Did you mean scenographer ?
Q1028181 Q644687 Q2707485
(Q1028181,P425,c(Q8205328)) (Q644687,P425,c(Q8205328)) (Q2707485,P425,c(Q8205328))
[ANSWER]
['Q1028181', 'P425', {'concept': 'Q8205328'}] ['Q644687', 'P425', {'concept': 'Q8205328'}] ['Q2707485', 'P425', {'concept': 'Q8205328'}]
SELECT DISTINCT ?h WHERE { resource:Q644687 property:P425 ?h . ?h rdf:type ontology:Q8205328 }
painter illustrator scenographer
Did you mean scenographer ?
scenographer
['painter', 'field of this occupation', {'concept': 'artefact'}] ['illustrator', 'field of this occupation', {'concept': 'artefact'}] ['scenographer', 'field of this occupation', {'concept': 'artefact'}]
SELECT DISTINCT ?h WHERE { resource:illustrator property:field_of_this_occupation ?h . ?h rdf:type ontology:artefact }
[]
Simple Question (Coreferenced)
USER
No, I meant illustrator. Could you tell me the answer for that?
(Q644687,P425,c(Q8205328))
Q644687
['Q644687', 'P425', {'concept': 'Q8205328'}]
['illustrator', 'field of this occupation', {'concept': 'artefact'}]
[]
Q178659
SYSTEM
illustration
Q178659
(Q644687,P425,c(Q8205328))
action filter_type
action find
entity Q644687
relation P425
type Q8205328
The [ANSWER] has that one as thier associated field of occupation
['Q644687', 'P425', {'concept': 'Q8205328'}]
SELECT DISTINCT ?h WHERE { resource:Q644687 property:P425 ?h . ?h rdf:type ontology:Q8205328 }
illustration
The illustration has that one as thier associated field of occupation
illustration
action filter_type
action find
entity illustrator
relation field of this occupation
type artefact
['illustrator', 'field of this occupation', {'concept': 'artefact'}]
SELECT DISTINCT ?h WHERE { resource:illustrator property:field_of_this_occupation ?h . ?h rdf:type ontology:artefact }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q8205328 Q3305213
USER
Which paintings depict exactly 3 artefacts ?
(c(Q3305213),P180,c(Q8205328))
action equal
action find_tuple_counts
relation P180
type Q3305213
type Q8205328
value 3
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q8205328'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?y property:P180 ?t . ?t rdf:type ontology:Q8205328 . ?y rdf:type ontology:Q3305213 } GROUP BY ?y } . FILTER ( ?g = 3 ) }
action equal
action find_tuple_counts
relation depicts
type painting
type artefact
value 3
[{'concept': 'painting'}, 'depicts', {'concept': 'artefact'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?y property:depicts ?t . ?t rdf:type ontology:artefact . ?y rdf:type ontology:painting } GROUP BY ?y } . FILTER ( ?g = 3 ) }
[]
artefact painting
Q10543635 Q5856992
SYSTEM
Karin Peeling Apples, February
Q10543635 Q5856992
(c(Q3305213),P180,c(Q8205328))
action equal
action find_tuple_counts
relation P180
type Q3305213
type Q8205328
value 3
Karin peeling Apples and February depict exactly 3 artefacts
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q8205328'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?y property:P180 ?t . ?t rdf:type ontology:Q8205328 . ?y rdf:type ontology:Q3305213 } GROUP BY ?y } . FILTER ( ?g = 3 ) }
Karin Peeling Apples February
Karin peeling Apples and February depict exactly 3 artefacts
Karin Peeling Apples February
action equal
action find_tuple_counts
relation depicts
type painting
type artefact
value 3
[{'concept': 'painting'}, 'depicts', {'concept': 'artefact'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?y property:depicts ?t . ?t rdf:type ontology:artefact . ?y rdf:type ontology:painting } GROUP BY ?y } . FILTER ( ?g = 3 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P361
Q811979 Q3305213
USER
Which paintings are parts of approximately the same number of architectural structures as that painting ?
(c(Q3305213),P361,c(Q811979))
[{'concept': 'Q3305213'}, 'P361', {'concept': 'Q811979'}]
SELECT DISTINCT ?z WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q811979 }
[{'concept': 'painting'}, 'part of', {'concept': 'architectural structure'}]
SELECT DISTINCT ?z WHERE { ?z property:part_of ?y . ?z rdf:type ontology:painting . ?y rdf:type ontology:architectural_structure }
[]
architectural structure painting
Comparative|More/Less|Single entity type|Clarification
Q5856992
SYSTEM
Did you mean February ?
(c(Q3305213),P361,c(Q811979))
[ANSWER]
[{'concept': 'Q3305213'}, 'P361', {'concept': 'Q811979'}]
SELECT DISTINCT ?z WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q811979 }
Did you mean February ?
February
[{'concept': 'painting'}, 'part of', {'concept': 'architectural structure'}]
SELECT DISTINCT ?z WHERE { ?z property:part_of ?y . ?z rdf:type ontology:painting . ?y rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q3305213),P361,c(Q811979))
[{'concept': 'Q3305213'}, 'P361', {'concept': 'Q811979'}]
[{'concept': 'painting'}, 'part of', {'concept': 'architectural structure'}]
[]
Q16941162 Q5856992 Q17315852
SYSTEM
June, February, Pygmalion
Q21620211 Q21620216 Q21620197 Q21600399 Q21620166 Q22121267 Q3765046 Q21614964 Q22949516 Q21620287 Q3955636 Q21620189 Q21620227 Q3797739 Q21620222 Q21620184 Q22916484 Q21598236 Q774018 Q976734 Q22121254 Q22910181 Q2716974 Q16941171 Q21600419 Q21600417 Q15117722 Q21620234 Q3698197 Q25415445 Q22910199 Q27042300 Q25999090 Q3765109 Q22910195 Q22342935 Q3760996 Q22949538 Q16941162 Q19060445 Q3837491 Q25999079 Q21620245 Q2529969 Q21614992 Q2736379 Q21614990 Q21614991 Q25999112 Q21618742 Q17315852 Q21618740 Q21618747 Q3802366 Q21618744 Q844675 Q16941150 Q3739862 Q21620139 Q21620256 Q3944650 Q21618758 Q650189 Q500242 Q3889267 Q21618755 Q21618757 Q21618750 Q21618752 Q15980184 Q3873250 Q3701849 Q3983794 Q3696835 Q25998862 Q22949645 Q5856992 Q3618200 Q19668642 Q3482971 Q21620159 Q567861 Q22910142 Q21157096 Q22917363 Q17115019 Q25999101 Q25999107 Q22342972 Q22342976 Q22950333 Q21614941 Q22910015 Q3115074 Q21620261 Q1197593 Q21620266 Q2719737 Q21620205 Q3937289 Q22950458 Q22342966 Q17015401 Q3649318 Q3976326 Q3898510 Q3605053 Q21620171 Q23005657 Q2294201 Q25999029 Q21620279 Q21620275 Q21620270
(c(Q3305213),P361,c(Q811979))
[ANSWERS] are parts of approximately the same number of architectural structures as that painting
[{'concept': 'Q3305213'}, 'P361', {'concept': 'Q811979'}]
SELECT DISTINCT ?z WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q811979 }
The Crucifixion Christ dead on the Cross, with the Virgin Mary, John and the Three Maries mourning The Crucifixion Christ on the Cross between two thieves The Betrayal Peter raises his sword; Judas hangs himself The Nativity Pilate sends Albanus to the Emperor Tiberius. Albanus is wrecked on the coast of Spain Resurrection of Ursula Prophet Joel Christ and disciples at table in the house of Symeon the leper, with Mary Magdalen and Martha serving Pope Clemens I Young woman’s corpse lying on the ground, youth stands holding a mirror at her feet; an older man sits gazing at the scene Separation of Light from Darkness The Ascension The Deposition Christ’s body is removed from the Cross Meeting at the Golden Gate The Crucifixion Longinus pierces Christ’s side Siege and destruction of Jerusalem Our Lady of Sorrows The Presentation in the Temple Stanza di Eliodoro Ceiling fresco in the staircase of the Würzburg Residence The Opening of the Coffin of St Casimir David and Abigail The Meeting of Leo the Great and Attila October The Adoration of the Kings The Visitation Basilica Santa Croce The Emperor sends Vespasian with an army to destroy the Jews Crucifixion Saint Anne Esther and Ahasuerus The Adoration of the Magi Exaltation of the Cross Prophet Jonah Yael and Sisera The Kangxi Emperor's Southern Inspection Tour, Scroll Three: Ji'nan to Mount Tai Prophet Jeremiah Saint Gemolus June Crucifixion and Last Supper Jacob Wrestling with the Angel Charity The incredulity of Thomas, who places his finger in the wound The Mass at Bolsena Christ before Pilate, and before Herod; angels in border Expulsion from the Garden of Eden Christ appears to Mary Magdalen as a gardener (Noli me tangere) Christ appears to two disciples on the road to Emmaus Baptism of Jesus Christ disputing in the Temple Pygmalion Christ before Pilate, with Pilate washing his hands Christ praying in the garden of Gethsemane. Two shields of unidentified arms in borders, with motto 'Entre tenir Dieu le viuelle' Prophet Isaiah Christ is nailed to the Cross; Mary and another pray in border Sistine Chapel ceiling January Decorative bands in the Scrovegni chapel Peniarth 482D f. 196r The Resurrection; Beaufort arms in border Joachim's Sacrificial Offering Mary Magdalen anointing Christ’s feet Adoration of the Magi The Creation of Adam Santa Cristina al Tiverone Altarpiece Entry into Jerusalem Harrowing of hell Christ leads Adam by the hand. On scroll in border, the motto 'Entre tenir Dieu le viuelle' Christ tells his mother of what is to come; Judas on his way to the chief priest; Judas bargaining with the chief priests and receiving his silver Entombment Camera degli Sposi - 1. Court Scene Birth of the Virgin Prophet Daniel Temptation of Adam and Eve The Creation of Eve Entombment of Christ Saint Ambrose February Annunciation to Saint Anne Fresco at the United Nations gate in Geneva Delphic Sibyl Pentecost descent of the Holy Ghost as a dove The Last Judgment Judith and Holofernes Pietà Virgin Mary with Baby Jesus sleeping Frescos in the Church of the Transfiguration in Polack Wisdom Divine Love The Kangxi Emperor's Southern Inspection Tour, Scroll Twelve: Beijing: Yongding Gate to Hall of Supreme Harmony The Kangxi Emperor's Southern Inspection Tour, Scroll Nine: Qiantang River to Shaoxing and Yu Temple The Baptism of Christ Carimes and Lentius writing their narrative of the harrowing of hell Glory of the Virgin and the Archangel Michael who wins the tempter devil grande fresque de la gare de Lyon The Scourging Joachim's Dream The two disciples, Peter and John, are sent to prepare the Passover Deliverance of Saint Peter The Buffeting before the high priest Mary faints in John’s arms outside the gate Joachim among the Shepherds Paradise The Kangxi Emperor's Southern Inspection Tour, Scroll One: Beijing to Nan Yuan Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good Expulsion of Joachim from the Temple Stufetta del cardinal Bibbiena The Fall and Expulsion from Paradise Adam and Eve Raising of Lazarus Exaltation of the Divine Justice and angel with scapular The Expulsion of Heliodorus from the Temple unidentified fresco Vaux Passional. Henry VIII Two scenes in the Temple Christ, the woman taken in adultery, and Pharisees, Christ drives out the money-changers The Virgin, John and the other mourners leave the sealed tomb
June, February and Pygmalion are parts of approximately the same number of architectural structures as that painting
June February Pygmalion
[{'concept': 'painting'}, 'part of', {'concept': 'architectural structure'}]
SELECT DISTINCT ?z WHERE { ?z property:part_of ?y . ?z rdf:type ontology:painting . ?y rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16941162 Q5856992 Q17315852
P180
Q8205328
USER
Which artefacts are expressed in June, February and Pygmalion ?
(Q16941162,P180,c(Q8205328)) (Q5856992,P180,c(Q8205328)) (Q17315852,P180,c(Q8205328))
action union
action filter_type
action find
entity Q16941162
relation P180
type Q8205328
action filter_type
action find
entity Q5856992
relation P180
type Q8205328
action filter_type
action find
entity Q17315852
relation P180
type Q8205328
['Q16941162', 'P180', {'concept': 'Q8205328'}] ['Q5856992', 'P180', {'concept': 'Q8205328'}] ['Q17315852', 'P180', {'concept': 'Q8205328'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?a ) { ( resource:Q16941162 ) ( resource:Q5856992 ) } . ?a property:P180 ?y }
June February Pygmalion
action union
action filter_type
action find
entity June
relation depicts
type artefact
action filter_type
action find
entity February
relation depicts
type artefact
action filter_type
action find
entity Pygmalion
relation depicts
type artefact
['June', 'depicts', {'concept': 'artefact'}] ['February', 'depicts', {'concept': 'artefact'}] ['Pygmalion', 'depicts', {'concept': 'artefact'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?a ) { ( resource:June ) ( resource:February ) } . ?a property:depicts ?y }
[]
artefact
Q200539 Q42177 Q10289
SYSTEM
dress, bed, barrel
Q200539 Q42177 Q10289 Q200539 Q347690
(Q16941162,P180,c(Q8205328)) (Q5856992,P180,c(Q8205328)) (Q17315852,P180,c(Q8205328))
action union
action filter_type
action find
entity Q16941162
relation P180
type Q8205328
action filter_type
action find
entity Q5856992
relation P180
type Q8205328
action filter_type
action find
entity Q17315852
relation P180
type Q8205328
[ANSWERS] are expressed in June, February and Pygmalion
['Q16941162', 'P180', {'concept': 'Q8205328'}] ['Q5856992', 'P180', {'concept': 'Q8205328'}] ['Q17315852', 'P180', {'concept': 'Q8205328'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?a ) { ( resource:Q16941162 ) ( resource:Q5856992 ) } . ?a property:P180 ?y }
dress bed barrel dress workbench
Dress, bed and barrel are expressed in June, February and Pygmalion
dress bed barrel
action union
action filter_type
action find
entity June
relation depicts
type artefact
action filter_type
action find
entity February
relation depicts
type artefact
action filter_type
action find
entity Pygmalion
relation depicts
type artefact
['June', 'depicts', {'concept': 'artefact'}] ['February', 'depicts', {'concept': 'artefact'}] ['Pygmalion', 'depicts', {'concept': 'artefact'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?a ) { ( resource:June ) ( resource:February ) } . ?a property:depicts ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5856992
P170
Q16887380
USER
Who created February ?
(Q5856992,P170,c(Q16887380))
action filter_type
action find
entity Q5856992
relation P170
type Q16887380
['Q5856992', 'P170', {'concept': 'Q16887380'}]
SELECT DISTINCT ?x WHERE { resource:Q5856992 property:P170 ?x . ?x rdf:type ontology:Q16887380 }
February
action filter_type
action find
entity February
relation creator
type group
['February', 'creator', {'concept': 'group'}]
SELECT DISTINCT ?x WHERE { resource:February property:creator ?x . ?x rdf:type ontology:group }
[]
group
Q217816
SYSTEM
Limbourg brothers
Q217816
(Q5856992,P170,c(Q16887380))
action filter_type
action find
entity Q5856992
relation P170
type Q16887380
[ANSWER] created February
['Q5856992', 'P170', {'concept': 'Q16887380'}]
SELECT DISTINCT ?x WHERE { resource:Q5856992 property:P170 ?x . ?x rdf:type ontology:Q16887380 }
Limbourg brothers
Limbourg brothers created February
Limbourg brothers
action filter_type
action find
entity February
relation creator
type group
['February', 'creator', {'concept': 'group'}]
SELECT DISTINCT ?x WHERE { resource:February property:creator ?x . ?x rdf:type ontology:group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4790231
Q16887380
USER
And also tell me about Ariane in Naxos?
(Q4790231,P170,c(Q16887380))
action filter_type
action find
entity Q4790231
relation P170
type Q16887380
['Q4790231', 'P170', {'concept': 'Q16887380'}]
SELECT DISTINCT ?w WHERE { resource:Q4790231 property:P170 ?w . ?w rdf:type ontology:Q16887380 }
Ariane in Naxos
action filter_type
action find
entity Ariane in Naxos
relation creator
type group
['Ariane in Naxos', 'creator', {'concept': 'group'}]
SELECT DISTINCT ?w WHERE { resource:Ariane_in_Naxos property:creator ?w . ?w rdf:type ontology:group }
[]
group
Q809658
SYSTEM
Le Nain Brothers
Q809658
(Q4790231,P170,c(Q16887380))
action filter_type
action find
entity Q4790231
relation P170
type Q16887380
[ANSWER]
['Q4790231', 'P170', {'concept': 'Q16887380'}]
SELECT DISTINCT ?w WHERE { resource:Q4790231 property:P170 ?w . ?w rdf:type ontology:Q16887380 }
Le Nain Brothers
Le Nain Brothers
action filter_type
action find
entity Ariane in Naxos
relation creator
type group
['Ariane in Naxos', 'creator', {'concept': 'group'}]
SELECT DISTINCT ?w WHERE { resource:Ariane_in_Naxos property:creator ?w . ?w rdf:type ontology:group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P361
Q16887380 Q12280 Q486972
USER
Which groups are more number of bridges or human settlements a part of than that group ?
(c(Q12280)|c(Q486972),P361,c(Q16887380))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q16887380
type Q12280
action find_reverse_tuple_counts
relation P361
type Q16887380
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q809658
relation P361
type Q12280
type Q486972
[[{'concept': 'Q12280'}, {'concept': 'Q486972'}], 'P361', {'concept': 'Q16887380'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?d ) WHERE { { ?r property:P361 ?q . ?q rdf:type ontology:Q16887380 . ?r rdf:type ontology:Q12280 } UNION { ?r property:P361 ?q . ?q rdf:type ontology:Q16887380 . ?r rdf:type ontology:Q486972 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P361 resource:Q809658 . { { ?l rdf:type ontology:Q12280 } UNION { ?l rdf:type ontology:Q486972 } } } } . FILTER ( ?d > ?a ) }
action greater
action union
action find_reverse_tuple_counts
relation part of
type group
type bridge
action find_reverse_tuple_counts
relation part of
type group
type human settlement
action count
action filter_multi_types
action find_reverse
entity Le Nain Brothers
relation part of
type bridge
type human settlement
[[{'concept': 'bridge'}, {'concept': 'human settlement'}], 'part of', {'concept': 'group'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?d ) WHERE { { ?r property:part_of ?q . ?q rdf:type ontology:group . ?r rdf:type ontology:bridge } UNION { ?r property:part_of ?q . ?q rdf:type ontology:group . ?r rdf:type ontology:human_settlement } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:part_of resource:Le_Nain_Brothers . { { ?l rdf:type ontology:bridge } UNION { ?l rdf:type ontology:human_settlement } } } } . FILTER ( ?d > ?a ) }
[]
group bridge human settlement
Q19595463 Q19094 Q6822651
SYSTEM
Forts Rouge, Garry and Gibraltar, Berlin Modernism Housing Estates, Metal Highway Bridges of Fulton County Thematic Resources
Q19595463 Q19094 Q6822651 Q279968
(c(Q12280)|c(Q486972),P361,c(Q16887380))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q16887380
type Q12280
action find_reverse_tuple_counts
relation P361
type Q16887380
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q809658
relation P361
type Q12280
type Q486972
[ANSWERS] are more number of bridges or human settlements a part of than that group
[[{'concept': 'Q12280'}, {'concept': 'Q486972'}], 'P361', {'concept': 'Q16887380'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?d ) WHERE { { ?r property:P361 ?q . ?q rdf:type ontology:Q16887380 . ?r rdf:type ontology:Q12280 } UNION { ?r property:P361 ?q . ?q rdf:type ontology:Q16887380 . ?r rdf:type ontology:Q486972 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P361 resource:Q809658 . { { ?l rdf:type ontology:Q12280 } UNION { ?l rdf:type ontology:Q486972 } } } } . FILTER ( ?d > ?a ) }
Forts Rouge, Garry and Gibraltar Berlin Modernism Housing Estates Metal Highway Bridges of Fulton County Thematic Resources Roman Monuments, Cathedral of St. Peter and Church of Our Lady in Trier UNESCO World Heritage Site
Forts Rouge, Garry and Gibraltar, Berlin Modernism Housing Estates and Metal Highway Bridges of Fulton County Thematic Resources are more number of bridges or human settlements a part of than that group
Forts Rouge, Garry and Gibraltar Berlin Modernism Housing Estates Metal Highway Bridges of Fulton County Thematic Resources
action greater
action union
action find_reverse_tuple_counts
relation part of
type group
type bridge
action find_reverse_tuple_counts
relation part of
type group
type human settlement
action count
action filter_multi_types
action find_reverse
entity Le Nain Brothers
relation part of
type bridge
type human settlement
[[{'concept': 'bridge'}, {'concept': 'human settlement'}], 'part of', {'concept': 'group'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?d ) WHERE { { ?r property:part_of ?q . ?q rdf:type ontology:group . ?r rdf:type ontology:bridge } UNION { ?r property:part_of ?q . ?q rdf:type ontology:group . ?r rdf:type ontology:human_settlement } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:part_of resource:Le_Nain_Brothers . { { ?l rdf:type ontology:bridge } UNION { ?l rdf:type ontology:human_settlement } } } } . FILTER ( ?d > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q809658
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Le Nain Brothers ?
(Q809658,P27,c(Q15617994))
action filter_type
action find
entity Q809658
relation P27
type Q15617994
['Q809658', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q809658 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Le Nain Brothers
action filter_type
action find
entity Le Nain Brothers
relation country of citizenship
type designation for an administrative territorial entity
['Le Nain Brothers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Le_Nain_Brothers property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q809658,P27,c(Q15617994))
action filter_type
action find
entity Q809658
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Le Nain Brothers
['Q809658', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q809658 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
France
France is the country of citizenship of Le Nain Brothers
France
action filter_type
action find
entity Le Nain Brothers
relation country of citizenship
type designation for an administrative territorial entity
['Le Nain Brothers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Le_Nain_Brothers property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]