Simple Question (Direct)
Simple Question
Q6381046
P54
Q12973014
USER
Which sports team is Scott Harrington a member of ?
(Q6381046,P54,c(Q12973014))
action filter_type
action find
entity Q6381046
relation P54
type Q12973014
['Q6381046', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?e WHERE { resource:Q6381046 property:P54 ?e . ?e rdf:type ontology:Q12973014 }
Scott Harrington
action filter_type
action find
entity Scott Harrington
relation member of sports team
type sports team
['Scott Harrington', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?e WHERE { resource:Scott_Harrington property:member_of_sports_team ?e . ?e rdf:type ontology:sports_team }
[]
sports team
Q203384
SYSTEM
Toronto Maple Leafs
Q203384
(Q6381046,P54,c(Q12973014))
action filter_type
action find
entity Q6381046
relation P54
type Q12973014
[ANSWER] is Scott Harrington a member of
['Q6381046', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?e WHERE { resource:Q6381046 property:P54 ?e . ?e rdf:type ontology:Q12973014 }
Toronto Maple Leafs
Toronto Maple Leafs is Scott Harrington a member of
Toronto Maple Leafs
action filter_type
action find
entity Scott Harrington
relation member of sports team
type sports team
['Scott Harrington', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?e WHERE { resource:Scott_Harrington property:member_of_sports_team ?e . ?e rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6381046
P641
Q349
USER
What did Scott Harrington participate in ?
(Q6381046,P641,c(Q349))
action filter_type
action find
entity Q6381046
relation P641
type Q349
['Q6381046', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q6381046 property:P641 ?s . ?s rdf:type ontology:Q349 }
Scott Harrington
action filter_type
action find
entity Scott Harrington
relation sport
type sport
['Scott Harrington', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Scott_Harrington property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q6381046,P641,c(Q349))
action filter_type
action find
entity Q6381046
relation P641
type Q349
Scott Harrington participated in [ANSWER]
['Q6381046', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q6381046 property:P641 ?s . ?s rdf:type ontology:Q349 }
ice hockey
Scott Harrington participated in ice hockey
ice hockey
action filter_type
action find
entity Scott Harrington
relation sport
type sport
['Scott Harrington', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Scott_Harrington property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27798883
Q349
USER
And what about 2008 Le Volant d'Or de Toulouse – Women's singles?
(Q27798883,P641,c(Q349))
action filter_type
action find
entity Q27798883
relation P641
type Q349
['Q27798883', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q27798883 property:P641 ?u . ?u rdf:type ontology:Q349 }
2008 Le Volant d'Or de Toulouse – Women's singles
action filter_type
action find
entity 2008 Le Volant d'Or de Toulouse – Women's singles
relation sport
type sport
["2008 Le Volant d'Or de Toulouse – Women's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:2008_Le_Volant_d'Or_de_Toulouse_–_Women's_singles property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q27798883,P641,c(Q349))
action filter_type
action find
entity Q27798883
relation P641
type Q349
[ANSWER]
['Q27798883', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q27798883 property:P641 ?u . ?u rdf:type ontology:Q349 }
badminton
badminton
action filter_type
action find
entity 2008 Le Volant d'Or de Toulouse – Women's singles
relation sport
type sport
["2008 Le Volant d'Or de Toulouse – Women's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:2008_Le_Volant_d'Or_de_Toulouse_–_Women's_singles property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q203384
P466
Q811979
USER
Which architectural structures were inhabited by Toronto Maple Leafs ?
(c(Q811979),P466,Q203384)
action filter_type
action find_reverse
entity Q203384
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q203384']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q203384 . ?y rdf:type ontology:Q811979 }
Toronto Maple Leafs
action filter_type
action find_reverse
entity Toronto Maple Leafs
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Toronto Maple Leafs']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Toronto_Maple_Leafs . ?y rdf:type ontology:architectural_structure }
[]
architectural structure
Q1814534 Q406972
SYSTEM
Maple Leaf Gardens, Air Canada Centre
Q1814534 Q406972
(c(Q811979),P466,Q203384)
action filter_type
action find_reverse
entity Q203384
relation P466
type Q811979
Toronto [ANSWERS] were inhabited by Toronto Maple Leafs
[{'concept': 'Q811979'}, 'P466', 'Q203384']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q203384 . ?y rdf:type ontology:Q811979 }
Maple Leaf Gardens Air Canada Centre
Toronto Maple Leaf Gardens and Air Canada Centre were inhabited by Toronto Maple Leafs
Maple Leaf Gardens Air Canada Centre
action filter_type
action find_reverse
entity Toronto Maple Leafs
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Toronto Maple Leafs']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Toronto_Maple_Leafs . ?y rdf:type ontology:architectural_structure }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1814534
P135
Q2198855
USER
Which cultural movement did that architectural structure belong to
(Q1814534,P135,c(Q2198855))
action filter_type
action find
entity Q1814534
relation P135
type Q2198855
['Q1814534', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?f WHERE { resource:Q1814534 property:P135 ?f . ?f rdf:type ontology:Q2198855 }
Maple Leaf Gardens
action filter_type
action find
entity Maple Leaf Gardens
relation movement
type cultural movement
['Maple Leaf Gardens', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?f WHERE { resource:Maple_Leaf_Gardens property:movement ?f . ?f rdf:type ontology:cultural_movement }
[]
cultural movement
Clarification for simple ques.
Q1814534
SYSTEM
Did you mean Maple Leaf Gardens ?
Q1814534 Q406972
(Q1814534,P135,c(Q2198855)) (Q406972,P135,c(Q2198855))
[ANSWER]
['Q1814534', 'P135', {'concept': 'Q2198855'}] ['Q406972', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?f WHERE { resource:Q1814534 property:P135 ?f . ?f rdf:type ontology:Q2198855 }
Maple Leaf Gardens Air Canada Centre
Did you mean Maple Leaf Gardens ?
Maple Leaf Gardens
['Maple Leaf Gardens', 'movement', {'concept': 'cultural movement'}] ['Air Canada Centre', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?f WHERE { resource:Maple_Leaf_Gardens property:movement ?f . ?f rdf:type ontology:cultural_movement }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1814534,P135,c(Q2198855))
['Q1814534', 'P135', {'concept': 'Q2198855'}]
['Maple Leaf Gardens', 'movement', {'concept': 'cultural movement'}]
[]
Q173782
SYSTEM
Art Deco
Q173782
(Q1814534,P135,c(Q2198855))
action filter_type
action find
entity Q1814534
relation P135
type Q2198855
That architectural structure belonged to [ANSWER]
['Q1814534', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?f WHERE { resource:Q1814534 property:P135 ?f . ?f rdf:type ontology:Q2198855 }
Art Deco
That architectural structure belonged to Art Deco
Art Deco
action filter_type
action find
entity Maple Leaf Gardens
relation movement
type cultural movement
['Maple Leaf Gardens', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?f WHERE { resource:Maple_Leaf_Gardens property:movement ?f . ?f rdf:type ontology:cultural_movement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q173782
P101
Q1914636
USER
Which activities are the area of that cultural movement ?
(Q173782,P101,c(Q1914636))
action filter_type
action find
entity Q173782
relation P101
type Q1914636
['Q173782', 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1914636 . resource:Q173782 property:P101 ?h }
Art Deco
action filter_type
action find
entity Art Deco
relation field of work
type activity
['Art Deco', 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:activity . resource:Art_Deco property:field_of_work ?h }
[]
activity
Q12271 Q243606
SYSTEM
architecture, industrial design
Q12271 Q243606
(Q173782,P101,c(Q1914636))
action filter_type
action find
entity Q173782
relation P101
type Q1914636
And [ANSWERS] are the area of that cultural movement
['Q173782', 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1914636 . resource:Q173782 property:P101 ?h }
architecture industrial design
And architecture and industrial design are the area of that cultural movement
architecture industrial design
action filter_type
action find
entity Art Deco
relation field of work
type activity
['Art Deco', 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:activity . resource:Art_Deco property:field_of_work ?h }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q1914636 Q43229
USER
How many activities are the fields of work of lesser number of organizations than that activity ?
(c(Q43229),P101,c(Q1914636))
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q423229 }
[{'concept': 'organization'}, 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:organization . ?y rdf:type ontology:activity }
[]
activity organization
Comparative|Count over More/Less|Single entity type|Clarification
Q243606
SYSTEM
Did you mean industrial design ?
(c(Q43229),P101,c(Q1914636))
[ANSWER]
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q423229 }
Did you mean industrial design ?
industrial design
[{'concept': 'organization'}, 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:organization . ?y rdf:type ontology:activity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant architecture. Could you tell me the answer for that?
(c(Q43229),P101,c(Q1914636))
Q12271
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q1914636'}]
[{'concept': 'organization'}, 'field of work', {'concept': 'activity'}]
[]
SYSTEM
103
Q1069 Q309823 Q15991269 Q5569949 Q914395 Q7572553 Q1196009 Q7202 Q11635 Q7205 Q10566551 Q27997 Q2485457 Q206814 Q159964 Q2144042 Q8421 Q10979515 Q190149 Q83267 Q159595 Q27908 Q1235196 Q22826122 Q11372 Q163082 Q1089246 Q12015335 Q185727 Q11034 Q34187 Q1392782 Q928357 Q11650 Q184485 Q12969198 Q300920 Q83371 Q3046459 Q835153 Q50675 Q36649 Q49389 Q6502154 Q119190 Q16387 Q1587903 Q638 Q63100 Q337935 Q897511 Q5367 Q8242 Q124946 Q16861871 Q192296 Q853077 Q1562096 Q8162 Q1046801 Q7173 Q2138622 Q10737 Q484591 Q41923 Q514 Q36389 Q83357 Q843601 Q193210 Q1261491 Q857102 Q7168 Q160398 Q177777 Q43114 Q190993 Q627716 Q9350 Q862072 Q222749 Q243606 Q11467 Q80993 Q212105 Q836610 Q8789 Q189594 Q192386 Q602507 Q7141 Q494452 Q373557 Q5567091 Q131683 Q781492 Q1369650 Q3764113 Q31728 Q25261 Q52109 Q931309 Q682010
(c(Q43229),P101,c(Q1914636))
[ANSWER]
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q423229 }
geology open science amateur sport Glitch art Celtic art Space advocacy Big Science molecular biology theater paleontology safety Celtic studies science education civil aviation typography Process engineering aeronautics general economics photogrammetry crime distance education music education documentation science commentary physical chemistry petrology Studio glass engineering disciplines amateur service printing religious studies gnomonics bronze sculpture electronics performing arts Paper cutting eSports seismology Earth system science medical examination historiography visual arts tourism exploration medieval studies information science human science music urban design necromancy cryptanalysis motorsport literature gardening job training weaving mathematics education ironwork linguistics turntablism marine biology nutrition suicide natural history yodeling anatomy taekwondo origami health science skydiving male prostitution software design histology crystallography logistics aikido malacology military aviation yoga conchology acting industrial design metallurgy software engineering special education signals intelligence cryptography Islamic art military science hand-to-hand combat cell biology blazonry aerobatics glass art embryology Optogenetics professional sport choreography public administration meteorology geomorphology medical imaging video art
103
[{'concept': 'organization'}, 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:organization . ?y rdf:type ontology:activity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6381046 Q4931648
P54
Q12973014
USER
How many sports teams are Scott Harrington or Bob Allen a member of ?
(Q6381046,P54,c(Q12973014)) (Q4931648,P54,c(Q12973014))
action count
action union
action filter_type
action find
entity Q6381046
relation P54
type Q12973014
action filter_type
action find
entity Q4931648
relation P54
type Q12973014
['Q6381046', 'P54', {'concept': 'Q12973014'}] ['Q4931648', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m rdf:type ontology:Q12973014 . resource:Q6381046 property:P54 ?m } UNION { resource:Q4931648 property:P54 ?m . ?m rdf:type ontology:Q12973014 } }
Scott Harrington Bob Allen
action count
action union
action filter_type
action find
entity Scott Harrington
relation member of sports team
type sports team
action filter_type
action find
entity Bob Allen
relation member of sports team
type sports team
['Scott Harrington', 'member of sports team', {'concept': 'sports team'}] ['Bob Allen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m rdf:type ontology:sports_team . resource:Scott_Harrington property:member_of_sports_team ?m } UNION { resource:Bob_Allen property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team } }
[]
sports team
SYSTEM
4
Q650840 Q6868005 Q203384 Q826751
(Q6381046,P54,c(Q12973014)) (Q4931648,P54,c(Q12973014))
action count
action union
action filter_type
action find
entity Q6381046
relation P54
type Q12973014
action filter_type
action find
entity Q4931648
relation P54
type Q12973014
[ANSWER]
['Q6381046', 'P54', {'concept': 'Q12973014'}] ['Q4931648', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m rdf:type ontology:Q12973014 . resource:Q6381046 property:P54 ?m } UNION { resource:Q4931648 property:P54 ?m . ?m rdf:type ontology:Q12973014 } }
Philadelphia Phillies Minneapolis Millers Toronto Maple Leafs Cincinnati Reds
4
action count
action union
action filter_type
action find
entity Scott Harrington
relation member of sports team
type sports team
action filter_type
action find
entity Bob Allen
relation member of sports team
type sports team
['Scott Harrington', 'member of sports team', {'concept': 'sports team'}] ['Bob Allen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m rdf:type ontology:sports_team . resource:Scott_Harrington property:member_of_sports_team ?m } UNION { resource:Bob_Allen property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1814534
P17
Q1048835
USER
How many political territories are Maple Leaf Gardens a part of ?
(Q1814534,P17,c(Q1048835))
action count
action filter_type
action find
entity Q1814534
relation P17
type Q1048835
['Q1814534', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:Q1048835 . resource:Q1814534 property:P17 ?j }
Maple Leaf Gardens
action count
action filter_type
action find
entity Maple Leaf Gardens
relation country
type political territorial entity
['Maple Leaf Gardens', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Maple_Leaf_Gardens property:country ?j }
[]
political territorial entity
SYSTEM
1
Q16
(Q1814534,P17,c(Q1048835))
action count
action filter_type
action find
entity Q1814534
relation P17
type Q1048835
[ANSWER]
['Q1814534', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:Q1048835 . resource:Q1814534 property:P17 ?j }
Canada
1
action count
action filter_type
action find
entity Maple Leaf Gardens
relation country
type political territorial entity
['Maple Leaf Gardens', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Maple_Leaf_Gardens property:country ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1814534
P149
Q2198855
USER
Which cultural movement is the architectural style of Maple Leaf Gardens ?
(Q1814534,P149,c(Q2198855))
action filter_type
action find
entity Q1814534
relation P149
type Q2198855
['Q1814534', 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2198855 . resource:Q1814534 property:P149 ?v }
Maple Leaf Gardens
action filter_type
action find
entity Maple Leaf Gardens
relation architectural style
type cultural movement
['Maple Leaf Gardens', 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:cultural_movement . resource:Maple_Leaf_Gardens property:architectural_style ?v }
[]
cultural movement
Q173782
SYSTEM
Art Deco
Q173782
(Q1814534,P149,c(Q2198855))
action filter_type
action find
entity Q1814534
relation P149
type Q2198855
In [ANSWER] is the architectural style of Maple Leaf Gardens
['Q1814534', 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2198855 . resource:Q1814534 property:P149 ?v }
Art Deco
In Art Deco is the architectural style of Maple Leaf Gardens
Art Deco
action filter_type
action find
entity Maple Leaf Gardens
relation architectural style
type cultural movement
['Maple Leaf Gardens', 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:cultural_movement . resource:Maple_Leaf_Gardens property:architectural_style ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1814534
P84
Q4830453
USER
Which business enterprise designed the architecture of that architectural structure ?
(Q173782,P84,c(Q4830453))
action filter_type
action find
entity Q1814534
relation P84
type Q4830453
['Q173782', 'P84', {'concept': 'Q4830453'}]
SELECT DISTINCT ?m WHERE { resource:Q1814534 property:P84 ?m . ?m rdf:type ontology:Q4830453 }
Maple Leaf Gardens
action filter_type
action find
entity Maple Leaf Gardens
relation architect
type business enterprise
['Art Deco', 'architect', {'concept': 'business enterprise'}]
SELECT DISTINCT ?m WHERE { resource:Maple_Leaf_Gardens property:architect ?m . ?m rdf:type ontology:business_enterprise }
[]
business enterprise
Q7369731
SYSTEM
Ross and Macdonald
Q7369731
(Q173782,P84,c(Q4830453))
action filter_type
action find
entity Q1814534
relation P84
type Q4830453
And [ANSWER] designed the architecture of that architectural structure
['Q173782', 'P84', {'concept': 'Q4830453'}]
SELECT DISTINCT ?m WHERE { resource:Q1814534 property:P84 ?m . ?m rdf:type ontology:Q4830453 }
Ross and Macdonald
And Ross and Macdonald designed the architecture of that architectural structure
Ross and Macdonald
action filter_type
action find
entity Maple Leaf Gardens
relation architect
type business enterprise
['Art Deco', 'architect', {'concept': 'business enterprise'}]
SELECT DISTINCT ?m WHERE { resource:Maple_Leaf_Gardens property:architect ?m . ?m rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P159
Q56061
USER
How many administrative territories are the head office for that business enterprise located ?
(Q7369731,P159,c(Q56061))
action count
action filter_type
action find
entity Q7369731
relation P159
type Q56061
['Q7369731', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:Q56061 . resource:Q7369731 property:P159 ?o }
action count
action filter_type
action find
entity Ross and Macdonald
relation headquarters location
type administrative territorial entity
['Ross and Macdonald', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Ross_and_Macdonald property:headquarters_location ?o }
[]
administrative territorial entity
SYSTEM
1
Q340
(Q7369731,P159,c(Q56061))
action count
action filter_type
action find
entity Q7369731
relation P159
type Q56061
[ANSWER]
['Q7369731', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:Q56061 . resource:Q7369731 property:P159 ?o }
Montreal
1
action count
action filter_type
action find
entity Ross and Macdonald
relation headquarters location
type administrative territorial entity
['Ross and Macdonald', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Ross_and_Macdonald property:headquarters_location ?o }
[]