Simple Question (Direct)
Simple Question
Q809504
P19
Q56061
USER
Which administrative territory was Bartolomeo Ortolani born at ?
(Q809504,P19,c(Q56061))
action filter_type
action find
entity Q809504
relation P19
type Q56061
['Q809504', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q809504 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Bartolomeo Ortolani
action filter_type
action find
entity Bartolomeo Ortolani
relation place of birth
type administrative territorial entity
['Bartolomeo Ortolani', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Bartolomeo_Ortolani property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13364
SYSTEM
Ravenna
Q13364
(Q809504,P19,c(Q56061))
action filter_type
action find
entity Q809504
relation P19
type Q56061
Bartolomeo Ortolani was born in [ANSWER]
['Q809504', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q809504 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Ravenna
Bartolomeo Ortolani was born in Ravenna
Ravenna
action filter_type
action find
entity Bartolomeo Ortolani
relation place of birth
type administrative territorial entity
['Bartolomeo Ortolani', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Bartolomeo_Ortolani property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q809504
P21
Q290
USER
What is the sex of that person ?
(Q13364,P21,c(Q290))
action filter_type
action find
entity Q809504
relation P21
type Q290
['Q13364', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q809504 property:P21 ?b . ?b rdf:type ontology:Q290 }
Bartolomeo Ortolani
action filter_type
action find
entity Bartolomeo Ortolani
relation gender
type sex
['Ravenna', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Bartolomeo_Ortolani property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q13364,P21,c(Q290))
action filter_type
action find
entity Q809504
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q13364', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q809504 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Bartolomeo Ortolani
relation gender
type sex
['Ravenna', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Bartolomeo_Ortolani property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q809504
P140
Q879146
USER
Which Christian denomination does that person correspond to ?
(Q6581097,P140,c(Q879146))
action filter_type
action find
entity Q809504
relation P140
type Q879146
['Q6581097', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { resource:Q809504 property:P140 ?y . ?y rdf:type ontology:Q879146 }
Bartolomeo Ortolani
action filter_type
action find
entity Bartolomeo Ortolani
relation religion
type Christian denomination
['male', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { resource:Bartolomeo_Ortolani property:religion ?y . ?y rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q6581097,P140,c(Q879146))
action filter_type
action find
entity Q809504
relation P140
type Q879146
That person corresponds to [ANSWER]
['Q6581097', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { resource:Q809504 property:P140 ?y . ?y rdf:type ontology:Q879146 }
Roman Catholic Church
That person corresponds to Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Bartolomeo Ortolani
relation religion
type Christian denomination
['male', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { resource:Bartolomeo_Ortolani property:religion ?y . ?y rdf:type ontology:Christian_denomination }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q975543 Q809504
P39 P106
Q12737077
USER
Which occupations were the positions for which Bartolomeo Ortolani were appointed or have Aleksandar Flaker as his/her as a career ?
OR((Q809504,P39,c(Q12737077)), (Q975543,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q809504
relation P39
action find
entity Q975543
relation P106
type Q12737077
{'OR': [['Q809504', 'P39', {'concept': 'Q12737077'}], ['Q975543', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q809504 property:P39 ?p } UNION { resource:Q975543 property:P106 ?p } } . ?p rdf:type ontology:Q12737077 }
Aleksandar Flaker Bartolomeo Ortolani
action filter_type
action union
action find
entity Bartolomeo Ortolani
relation position held
action find
entity Aleksandar Flaker
relation occupation
type occupation
{'OR': [['Bartolomeo Ortolani', 'position held', {'concept': 'occupation'}], ['Aleksandar Flaker', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Bartolomeo_Ortolani property:position_held ?p } UNION { resource:Aleksandar_Flaker property:occupation ?p } } . ?p rdf:type ontology:occupation }
[]
occupation
Q462390 Q29182 Q1622272 Q901
SYSTEM
docent, bishop, university teacher, scientist
Q462390 Q29182 Q1622272 Q901
OR((Q809504,P39,c(Q12737077)), (Q975543,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q809504
relation P39
action find
entity Q975543
relation P106
type Q12737077
[ANSWERS] were the positions for which Bartolomeo Ortolani were appointed or have Aleksandar Flaker as his/her as a career
{'OR': [['Q809504', 'P39', {'concept': 'Q12737077'}], ['Q975543', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q809504 property:P39 ?p } UNION { resource:Q975543 property:P106 ?p } } . ?p rdf:type ontology:Q12737077 }
docent bishop university teacher scientist
Docent, bishop, university teacher and scientist were the positions for which Bartolomeo Ortolani were appointed or have Aleksandar Flaker as his/her as a career
docent bishop university teacher scientist
action filter_type
action union
action find
entity Bartolomeo Ortolani
relation position held
action find
entity Aleksandar Flaker
relation occupation
type occupation
{'OR': [['Bartolomeo Ortolani', 'position held', {'concept': 'occupation'}], ['Aleksandar Flaker', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Bartolomeo_Ortolani property:position_held ?p } UNION { resource:Aleksandar_Flaker property:occupation ?p } } . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q901
P710
Q1914636
USER
Which activity did scientist participate in ?
(c(Q1914636),P710,Q901)
action filter_type
action find_reverse
entity Q901
relation P710
type Q1914636
[{'concept': 'Q1914636'}, 'P710', 'Q901']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1914636 . ?p property:P710 resource:Q901 }
scientist
action filter_type
action find_reverse
entity scientist
relation participant
type activity
[{'concept': 'activity'}, 'participant', 'scientist']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:activity . ?p property:participant resource:scientist }
[]
activity
Q1298668
SYSTEM
research project
Q1298668
(c(Q1914636),P710,Q901)
action filter_type
action find_reverse
entity Q901
relation P710
type Q1914636
Scientist participated in [ANSWER]
[{'concept': 'Q1914636'}, 'P710', 'Q901']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1914636 . ?p property:P710 resource:Q901 }
research project
Scientist participated in research project
research project
action filter_type
action find_reverse
entity scientist
relation participant
type activity
[{'concept': 'activity'}, 'participant', 'scientist']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:activity . ?p property:participant resource:scientist }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q901
P101
Q6619679
USER
Who works in the domain of that occupation ?
(c(Q6619679),P101,Q1298668)
action filter_type
action find_reverse
entity Q901
relation P101
type Q6619679
[{'concept': 'Q6619679'}, 'P101', 'Q1298668']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q6619679 . ?f property:P101 resource:Q901 }
scientist
action filter_type
action find_reverse
entity scientist
relation field of work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'field of work', 'research project']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:fictional_humanoid . ?f property:field_of_work resource:scientist }
[]
fictional humanoid
Q2320164
SYSTEM
Victor Frankenstein
Q2320164
(c(Q6619679),P101,Q1298668)
action filter_type
action find_reverse
entity Q901
relation P101
type Q6619679
[ANSWER] works in the domain of that occupation
[{'concept': 'Q6619679'}, 'P101', 'Q1298668']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q6619679 . ?f property:P101 resource:Q901 }
Victor Frankenstein
Victor Frankenstein works in the domain of that occupation
Victor Frankenstein
action filter_type
action find_reverse
entity scientist
relation field of work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'field of work', 'research project']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:fictional_humanoid . ?f property:field_of_work resource:scientist }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P674
Q2342494
USER
How many collectables are that fictional humanoid a character of ?
(c(Q2342494),P674,Q2320164)
action count
action filter_type
action find_reverse
entity Q2320164
relation P674
type Q2342494
[{'concept': 'Q2342494'}, 'P674', 'Q2320164']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w rdf:type ontology:Q2342494 . ?w property:P674 resource:Q2320164 }
action count
action filter_type
action find_reverse
entity Victor Frankenstein
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'Victor Frankenstein']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w rdf:type ontology:collectable . ?w property:characters resource:Victor_Frankenstein }
[]
collectable
SYSTEM
1
Q150827
(c(Q2342494),P674,Q2320164)
action count
action filter_type
action find_reverse
entity Q2320164
relation P674
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P674', 'Q2320164']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w rdf:type ontology:Q2342494 . ?w property:P674 resource:Q2320164 }
Frankenstein
1
action count
action filter_type
action find_reverse
entity Victor Frankenstein
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'Victor Frankenstein']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w rdf:type ontology:collectable . ?w property:characters resource:Victor_Frankenstein }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1656682 Q2221906 Q1914636
USER
How many activities are a portion of exactly 1 events or geographic locations ?
(c(Q1914636),P361,c(Q1656682)|c(Q2221906))
action count
action equal
action union
action find_tuple_counts
relation P361
type Q1914636
type Q1656682
action find_tuple_counts
relation P361
type Q1914636
type Q2221906
value 1
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q1656682'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?x ) WHERE { { ?d property:P361 ?e . ?d rdf:type ontology:Q1914636 . ?e rdf:type ontology:Q1656682 } UNION { ?d property:P361 ?e . ?d rdf:type ontology:Q1914636 . ?e rdf:type ontology:Q2221906 } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation part of
type activity
type event
action find_tuple_counts
relation part of
type activity
type geographic location
value 1
[{'concept': 'activity'}, 'part of', [{'concept': 'event'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?x ) WHERE { { ?d property:part_of ?e . ?d rdf:type ontology:activity . ?e rdf:type ontology:event } UNION { ?d property:part_of ?e . ?d rdf:type ontology:activity . ?e rdf:type ontology:geographic_location } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
[]
event geographic location activity
SYSTEM
3
Q8074593 Q306103 Q306096
(c(Q1914636),P361,c(Q1656682)|c(Q2221906))
action count
action equal
action union
action find_tuple_counts
relation P361
type Q1914636
type Q1656682
action find_tuple_counts
relation P361
type Q1914636
type Q2221906
value 1
[ANSWER]
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q1656682'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?x ) WHERE { { ?d property:P361 ?e . ?d rdf:type ontology:Q1914636 . ?e rdf:type ontology:Q1656682 } UNION { ?d property:P361 ?e . ?d rdf:type ontology:Q1914636 . ?e rdf:type ontology:Q2221906 } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
Zoti mining method Dismantling production
3
action count
action equal
action union
action find_tuple_counts
relation part of
type activity
type event
action find_tuple_counts
relation part of
type activity
type geographic location
value 1
[{'concept': 'activity'}, 'part of', [{'concept': 'event'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?x ) WHERE { { ?d property:part_of ?e . ?d rdf:type ontology:activity . ?e rdf:type ontology:event } UNION { ?d property:part_of ?e . ?d rdf:type ontology:activity . ?e rdf:type ontology:geographic_location } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q809504
P27
Q7275
USER
Which state is the native country of Bartolomeo Ortolani ?
(Q809504,P27,c(Q7275))
action filter_type
action find
entity Q809504
relation P27
type Q7275
['Q809504', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { resource:Q809504 property:P27 ?t . ?t rdf:type ontology:Q7275 }
Bartolomeo Ortolani
action filter_type
action find
entity Bartolomeo Ortolani
relation country of citizenship
type state
['Bartolomeo Ortolani', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { resource:Bartolomeo_Ortolani property:country_of_citizenship ?t . ?t rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q809504,P27,c(Q7275))
action filter_type
action find
entity Q809504
relation P27
type Q7275
[ANSWER] is the native country of Bartolomeo Ortolani
['Q809504', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { resource:Q809504 property:P27 ?t . ?t rdf:type ontology:Q7275 }
Kingdom of Italy
Kingdom of Italy is the native country of Bartolomeo Ortolani
Kingdom of Italy
action filter_type
action find
entity Bartolomeo Ortolani
relation country of citizenship
type state
['Bartolomeo Ortolani', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { resource:Bartolomeo_Ortolani property:country_of_citizenship ?t . ?t rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24233815
Q7275
USER
And what about Thomas Wybard?
(Q24233815,P27,c(Q7275))
action filter_type
action find
entity Q24233815
relation P27
type Q7275
['Q24233815', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q24233815 property:P27 ?w . ?w rdf:type ontology:Q7275 }
Thomas Wybard
action filter_type
action find
entity Thomas Wybard
relation country of citizenship
type state
['Thomas Wybard', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Thomas_Wybard property:country_of_citizenship ?w . ?w rdf:type ontology:state }
[]
state
Q179876
SYSTEM
Kingdom of England
Q179876
(Q24233815,P27,c(Q7275))
action filter_type
action find
entity Q24233815
relation P27
type Q7275
[ANSWER]
['Q24233815', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q24233815 property:P27 ?w . ?w rdf:type ontology:Q7275 }
Kingdom of England
Kingdom of England
action filter_type
action find
entity Thomas Wybard
relation country of citizenship
type state
['Thomas Wybard', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Thomas_Wybard property:country_of_citizenship ?w . ?w rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P36
Q56061
USER
How many administrative territories are the capitals of that state ?
(Q179876,P36,c(Q56061))
action count
action filter_type
action find
entity Q179876
relation P36
type Q56061
['Q179876', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q179876 property:P36 ?q . ?q rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Kingdom of England
relation capital
type administrative territorial entity
['Kingdom of England', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Kingdom_of_England property:capital ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
Q172157 Q84 Q23311
(Q179876,P36,c(Q56061))
action count
action filter_type
action find
entity Q179876
relation P36
type Q56061
[ANSWER]
['Q179876', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q179876 property:P36 ?q . ?q rdf:type ontology:Q56061 }
Winchester London City of London
3
action count
action filter_type
action find
entity Kingdom of England
relation capital
type administrative territorial entity
['Kingdom of England', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Kingdom_of_England property:capital ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q179876
P194
Q1752346
USER
How many assemblies represent Kingdom of England ?
(Q179876,P194,c(Q1752346))
action count
action filter_type
action find
entity Q179876
relation P194
type Q1752346
['Q179876', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q179876 property:P194 ?k . ?k rdf:type ontology:Q1752346 }
Kingdom of England
action count
action filter_type
action find
entity Kingdom of England
relation legislative body
type assembly
['Kingdom of England', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Kingdom_of_England property:legislative_body ?k . ?k rdf:type ontology:assembly }
[]
assembly
SYSTEM
1
Q1130737
(Q179876,P194,c(Q1752346))
action count
action filter_type
action find
entity Q179876
relation P194
type Q1752346
[ANSWER]
['Q179876', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q179876 property:P194 ?k . ?k rdf:type ontology:Q1752346 }
Parliament of England
1
action count
action filter_type
action find
entity Kingdom of England
relation legislative body
type assembly
['Kingdom of England', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Kingdom_of_England property:legislative_body ?k . ?k rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q783684
P194
Q1752346
USER
And how about Provisional Government of the French Republic?
(Q783684,P194,c(Q1752346))
action count
action filter_type
action find
entity Q783684
relation P194
type Q1752346
['Q783684', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q783684 property:P194 ?p . ?p rdf:type ontology:Q1752346 }
Provisional Government of the French Republic
action count
action filter_type
action find
entity Provisional Government of the French Republic
relation legislative body
type assembly
['Provisional Government of the French Republic', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Provisional_Government_of_the_French_Republic property:legislative_body ?p . ?p rdf:type ontology:assembly }
[]
assembly
SYSTEM
1
Q632552
(Q783684,P194,c(Q1752346))
action count
action filter_type
action find
entity Q783684
relation P194
type Q1752346
[ANSWER]
['Q783684', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q783684 property:P194 ?p . ?p rdf:type ontology:Q1752346 }
French Parliament
1
action count
action filter_type
action find
entity Provisional Government of the French Republic
relation legislative body
type assembly
['Provisional Government of the French Republic', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Provisional_Government_of_the_French_Republic property:legislative_body ?p . ?p rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q172
Q1752346
USER
And also tell me about Toronto?
(Q172,P194,c(Q1752346))
action count
action filter_type
action find
entity Q172
relation P194
type Q1752346
['Q172', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ontology:Q1752346 . resource:Q172 property:P194 ?f }
Toronto
action count
action filter_type
action find
entity Toronto
relation legislative body
type assembly
['Toronto', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ontology:assembly . resource:Toronto property:legislative_body ?f }
[]
assembly
SYSTEM
1
(Q172,P194,c(Q1752346))
action count
action filter_type
action find
entity Q172
relation P194
type Q1752346
[ANSWER]
['Q172', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ontology:Q1752346 . resource:Q172 property:P194 ?f }
1
action count
action filter_type
action find
entity Toronto
relation legislative body
type assembly
['Toronto', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ontology:assembly . resource:Toronto property:legislative_body ?f }
[]