Simple Question (Direct)
Simple Question
Q1650894
P140
Q879146
USER
Which Christian denomination does Joseph Salzmann correspond to ?
(Q1650894,P140,c(Q879146))
action filter_type
action find
entity Q1650894
relation P140
type Q879146
['Q1650894', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q879146 . resource:Q1650894 property:P140 ?u }
Joseph Salzmann
action filter_type
action find
entity Joseph Salzmann
relation religion
type Christian denomination
['Joseph Salzmann', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Christian_denomination . resource:Joseph_Salzmann property:religion ?u }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1650894,P140,c(Q879146))
action filter_type
action find
entity Q1650894
relation P140
type Q879146
Joseph Salzmann corresponds à [ANSWER]
['Q1650894', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q879146 . resource:Q1650894 property:P140 ?u }
Roman Catholic Church
Joseph Salzmann corresponds à Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Joseph Salzmann
relation religion
type Christian denomination
['Joseph Salzmann', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Christian_denomination . resource:Joseph_Salzmann property:religion ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1650894
P21
Q290
USER
Which sex does that person have ?
(Q9592,P21,c(Q290))
action filter_type
action find
entity Q1650894
relation P21
type Q290
['Q9592', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q1650894 property:P21 ?z . ?z rdf:type ontology:Q290 }
Joseph Salzmann
action filter_type
action find
entity Joseph Salzmann
relation gender
type sex
['Roman Catholic Church', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Joseph_Salzmann property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q9592,P21,c(Q290))
action filter_type
action find
entity Q1650894
relation P21
type Q290
That person has a [ANSWER]
['Q9592', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q1650894 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Joseph Salzmann
relation gender
type sex
['Roman Catholic Church', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Joseph_Salzmann property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9592
P361
Q12737077
USER
Which occupations are a component of Roman Catholic Church ?
(c(Q12737077),P361,Q9592)
action filter_type
action find_reverse
entity Q9592
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q9592']
SELECT DISTINCT ?h WHERE { ?h property:P361 resource:Q9592 . ?h rdf:type ontology:Q12737077 }
Roman Catholic Church
action filter_type
action find_reverse
entity Roman Catholic Church
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Roman Catholic Church']
SELECT DISTINCT ?h WHERE { ?h property:part_of resource:Roman_Catholic_Church . ?h rdf:type ontology:occupation }
[]
occupation
Q4917919 Q2545007 Q19754832
SYSTEM
Bishop of Meath, Bishop of Lindisfarne, Bishop of Aberdeen
Q27684032 Q4917919 Q19754832 Q19463054 Q19883173 Q2545007 Q1396008 Q135450 Q333751 Q19921364
(c(Q12737077),P361,Q9592)
action filter_type
action find_reverse
entity Q9592
relation P361
type Q12737077
And [ANSWERS] are a component of Roman Catholic Church
[{'concept': 'Q12737077'}, 'P361', 'Q9592']
SELECT DISTINCT ?h WHERE { ?h property:P361 resource:Q9592 . ?h rdf:type ontology:Q12737077 }
Primate of Africa Bishop of Meath Bishop of Aberdeen Bishop of Shrewsbury bishop of Ross Bishop of Lindisfarne Matron Lay brother abbot-bishop Bishop of Moray
And Bishop of Meath, Bishop of Lindisfarne and Bishop of Aberdeen are a component of Roman Catholic Church
Bishop of Meath Bishop of Lindisfarne Bishop of Aberdeen
action filter_type
action find_reverse
entity Roman Catholic Church
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Roman Catholic Church']
SELECT DISTINCT ?h WHERE { ?h property:part_of resource:Roman_Catholic_Church . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4917919 Q2545007 Q19754832
P361
Q879146
USER
Which Christian denominations are Bishop of Meath, Bishop of Lindisfarne and Bishop of Aberdeen a component of ?
(Q4917919,P361,c(Q879146)) (Q2545007,P361,c(Q879146)) (Q19754832,P361,c(Q879146))
action union
action filter_type
action find
entity Q4917919
relation P361
type Q879146
action filter_type
action find
entity Q2545007
relation P361
type Q879146
action filter_type
action find
entity Q19754832
relation P361
type Q879146
['Q4917919', 'P361', {'concept': 'Q879146'}] ['Q2545007', 'P361', {'concept': 'Q879146'}] ['Q19754832', 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?d WHERE { ?a property:P361 ?d . VALUES ( ?a ) { ( resource:Q4917919 ) ( resource:Q2545007 ) } }
Bishop of Meath Bishop of Lindisfarne Bishop of Aberdeen
action union
action filter_type
action find
entity Bishop of Meath
relation part of
type Christian denomination
action filter_type
action find
entity Bishop of Lindisfarne
relation part of
type Christian denomination
action filter_type
action find
entity Bishop of Aberdeen
relation part of
type Christian denomination
['Bishop of Meath', 'part of', {'concept': 'Christian denomination'}] ['Bishop of Lindisfarne', 'part of', {'concept': 'Christian denomination'}] ['Bishop of Aberdeen', 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?d WHERE { ?a property:part_of ?d . VALUES ( ?a ) { ( resource:Bishop_of_Meath ) ( resource:Bishop_of_Lindisfarne ) } }
[]
Christian denomination
Q82708 Q9592 Q9592
SYSTEM
Church of England for 1st, Roman Catholic Church for 2nd, 3rd
Q9592 Q82708 Q9592 Q9592
(Q4917919,P361,c(Q879146)) (Q2545007,P361,c(Q879146)) (Q19754832,P361,c(Q879146))
action union
action filter_type
action find
entity Q4917919
relation P361
type Q879146
action filter_type
action find
entity Q2545007
relation P361
type Q879146
action filter_type
action find
entity Q19754832
relation P361
type Q879146
[ANSWERS]
['Q4917919', 'P361', {'concept': 'Q879146'}] ['Q2545007', 'P361', {'concept': 'Q879146'}] ['Q19754832', 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?d WHERE { ?a property:P361 ?d . VALUES ( ?a ) { ( resource:Q4917919 ) ( resource:Q2545007 ) } }
Roman Catholic Church Church of England Roman Catholic Church Roman Catholic Church
Church of England, Roman Catholic Church and Roman Catholic Church are Bishop of Meath, Bishop of Lindisfarne and Bishop of Aberdeen a component of
Church of England Roman Catholic Church Roman Catholic Church
action union
action filter_type
action find
entity Bishop of Meath
relation part of
type Christian denomination
action filter_type
action find
entity Bishop of Lindisfarne
relation part of
type Christian denomination
action filter_type
action find
entity Bishop of Aberdeen
relation part of
type Christian denomination
['Bishop of Meath', 'part of', {'concept': 'Christian denomination'}] ['Bishop of Lindisfarne', 'part of', {'concept': 'Christian denomination'}] ['Bishop of Aberdeen', 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?d WHERE { ?a property:part_of ?d . VALUES ( ?a ) { ( resource:Bishop_of_Meath ) ( resource:Bishop_of_Lindisfarne ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82708
P466
Q811979
USER
What was inhabited by Church of England ?
(c(Q811979),P466,Q82708)
action filter_type
action find_reverse
entity Q82708
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q82708']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q82708 . ?v rdf:type ontology:Q811979 }
Church of England
action filter_type
action find_reverse
entity Church of England
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Church of England']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:Church_of_England . ?v rdf:type ontology:architectural_structure }
[]
architectural structure
Q2967665
SYSTEM
Church House, Westminster
Q2967665
(c(Q811979),P466,Q82708)
action filter_type
action find_reverse
entity Q82708
relation P466
type Q811979
[ANSWER] was inhabited by Church of England
[{'concept': 'Q811979'}, 'P466', 'Q82708']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q82708 . ?v rdf:type ontology:Q811979 }
Church House, Westminster
Church House, Westminster was inhabited by Church of England
Church House, Westminster
action filter_type
action find_reverse
entity Church of England
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Church of England']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:Church_of_England . ?v rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82708
P159
Q811979
USER
Where is the headquarter of Church of England located ?
(Q82708,P159,c(Q811979))
action filter_type
action find
entity Q82708
relation P159
type Q811979
['Q82708', 'P159', {'concept': 'Q811979'}]
SELECT DISTINCT ?a WHERE { resource:Q82708 property:P159 ?a . ?a rdf:type ontology:Q811979 }
Church of England
action filter_type
action find
entity Church of England
relation headquarters location
type architectural structure
['Church of England', 'headquarters location', {'concept': 'architectural structure'}]
SELECT DISTINCT ?a WHERE { resource:Church_of_England property:headquarters_location ?a . ?a rdf:type ontology:architectural_structure }
[]
architectural structure
Q2967665
SYSTEM
Church House, Westminster
Q2967665
(Q82708,P159,c(Q811979))
action filter_type
action find
entity Q82708
relation P159
type Q811979
The headquarter of Church of England is located in [ANSWER]
['Q82708', 'P159', {'concept': 'Q811979'}]
SELECT DISTINCT ?a WHERE { resource:Q82708 property:P159 ?a . ?a rdf:type ontology:Q811979 }
Church House, Westminster
The headquarter of Church of England is located in Church House, Westminster
Church House, Westminster
action filter_type
action find
entity Church of England
relation headquarters location
type architectural structure
['Church of England', 'headquarters location', {'concept': 'architectural structure'}]
SELECT DISTINCT ?a WHERE { resource:Church_of_England property:headquarters_location ?a . ?a rdf:type ontology:architectural_structure }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16323887
Q811979
USER
And how about Kongens Bryghus?
(Q16323887,P159,c(Q811979))
action filter_type
action find
entity Q16323887
relation P159
type Q811979
['Q16323887', 'P159', {'concept': 'Q811979'}]
SELECT DISTINCT ?n WHERE { resource:Q16323887 property:P159 ?n . ?n rdf:type ontology:Q811979 }
Kongens Bryghus
action filter_type
action find
entity Kongens Bryghus
relation headquarters location
type architectural structure
['Kongens Bryghus', 'headquarters location', {'concept': 'architectural structure'}]
SELECT DISTINCT ?n WHERE { resource:Kongens_Bryghus property:headquarters_location ?n . ?n rdf:type ontology:architectural_structure }
[]
architectural structure
Q3363786
SYSTEM
Christian IV's Brewhouse
Q3363786
(Q16323887,P159,c(Q811979))
action filter_type
action find
entity Q16323887
relation P159
type Q811979
[ANSWER]
['Q16323887', 'P159', {'concept': 'Q811979'}]
SELECT DISTINCT ?n WHERE { resource:Q16323887 property:P159 ?n . ?n rdf:type ontology:Q811979 }
Christian IV's Brewhouse
Christian IV's Brewhouse
action filter_type
action find
entity Kongens Bryghus
relation headquarters location
type architectural structure
['Kongens Bryghus', 'headquarters location', {'concept': 'architectural structure'}]
SELECT DISTINCT ?n WHERE { resource:Kongens_Bryghus property:headquarters_location ?n . ?n rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q15617994 Q811979
USER
Which administrative territories manages around 2 architectural structures ?
(c(Q811979),P137,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P137
type Q15617994
type Q811979
value 2
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:P137 ?z . ?z rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q811979 } GROUP BY ?z } . FILTER ( ?t = 2 ) }
action approx
action find_reverse_tuple_counts
relation operator
type designation for an administrative territorial entity
type architectural structure
value 2
[{'concept': 'architectural structure'}, 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:operator ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:architectural_structure } GROUP BY ?z } . FILTER ( ?t = 2 ) }
[]
designation for an administrative territorial entity architectural structure
Q414 Q55
SYSTEM
Argentina, Netherlands
Q414 Q55
(c(Q811979),P137,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P137
type Q15617994
type Q811979
value 2
[ANSWERS] manage around 2 architectural structures
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:P137 ?z . ?z rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q811979 } GROUP BY ?z } . FILTER ( ?t = 2 ) }
Argentina Netherlands
Argentina and Netherlands manage around 2 architectural structures
Argentina Netherlands
action approx
action find_reverse_tuple_counts
relation operator
type designation for an administrative territorial entity
type architectural structure
value 2
[{'concept': 'architectural structure'}, 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:operator ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:architectural_structure } GROUP BY ?z } . FILTER ( ?t = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q32
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with greater number of administrative territories than Luxembourg ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q32
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q32 property:P530 ?u } } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?v ) WHERE { ?k property:P530 ?l . ?k rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?k } }
Luxembourg
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Luxembourg
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Luxembourg property:diplomatic_relation ?u } } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?v ) WHERE { ?k property:diplomatic_relation ?l . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
34
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q159 Q43 Q155 Q796 Q794 Q884 Q30 Q929 Q38 Q230 Q27 Q184 Q225 Q222 Q347 Q17 Q114 Q212 Q213 Q79 Q858 Q948 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q32
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q32 property:P530 ?u } } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?v ) WHERE { ?k property:P530 ?l . ?k rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?k } }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia Russia Turkey Brazil Iraq Iran South Korea United States of America Central African Republic Italy Georgia Ireland Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Kenya Ukraine Czech Republic Egypt Syria Tunisia Cape Verde Zambia
34
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Luxembourg
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Luxembourg property:diplomatic_relation ?u } } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?v ) WHERE { ?k property:diplomatic_relation ?l . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q858
P530
Q15617994 Q15617994
USER
And how about Syria?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q858
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Q858 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?r property:P530 ?n . ?r rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?r } }
Syria
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Syria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Syria property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?r property:diplomatic_relation ?n . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
12
Q801 Q805 Q142 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q114 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q858
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Q858 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?r property:P530 ?n . ?r rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?r } }
Israel Yemen France Russia Brazil United States of America Central African Republic Italy Georgia Belarus Kenya Zambia
12
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Syria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Syria property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?r property:diplomatic_relation ?n . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2967665
P84
Q502895
USER
Who designed the architecture of Church House, Westminster ?
(Q2967665,P84,c(Q502895))
action filter_type
action find
entity Q2967665
relation P84
type Q502895
['Q2967665', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2967665 property:P84 ?w . ?w rdf:type ontology:Q502895 }
Church House, Westminster
action filter_type
action find
entity Church House, Westminster
relation architect
type common name
['Church House, Westminster', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Church_House,_Westminster property:architect ?w . ?w rdf:type ontology:common_name }
[]
common name
Q382771
SYSTEM
Herbert Baker
Q382771
(Q2967665,P84,c(Q502895))
action filter_type
action find
entity Q2967665
relation P84
type Q502895
The [ANSWER] designed the architecture of Church House, Westminster
['Q2967665', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2967665 property:P84 ?w . ?w rdf:type ontology:Q502895 }
Herbert Baker
The Herbert Baker designed the architecture of Church House, Westminster
Herbert Baker
action filter_type
action find
entity Church House, Westminster
relation architect
type common name
['Church House, Westminster', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Church_House,_Westminster property:architect ?w . ?w rdf:type ontology:common_name }
[]