Simple Question (Direct)
Simple Question
Q6380024
P54
Q12973014
USER
Which sports team is Keith Redmond a member of ?
(Q6380024,P54,c(Q12973014))
action filter_type
action find
entity Q6380024
relation P54
type Q12973014
['Q6380024', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12973014 . resource:Q6380024 property:P54 ?p }
Keith Redmond
action filter_type
action find
entity Keith Redmond
relation member of sports team
type sports team
['Keith Redmond', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_team . resource:Keith_Redmond property:member_of_sports_team ?p }
[]
sports team
Q203008
SYSTEM
Los Angeles Kings
Q203008
(Q6380024,P54,c(Q12973014))
action filter_type
action find
entity Q6380024
relation P54
type Q12973014
The [ANSWER] is Keith Redmond a member of
['Q6380024', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12973014 . resource:Q6380024 property:P54 ?p }
Los Angeles Kings
The Los Angeles Kings is Keith Redmond a member of
Los Angeles Kings
action filter_type
action find
entity Keith Redmond
relation member of sports team
type sports team
['Keith Redmond', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_team . resource:Keith_Redmond property:member_of_sports_team ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6380024
P106
Q12737077
USER
Which occupation is the profession of Keith Redmond ?
(Q6380024,P106,c(Q12737077))
action filter_type
action find
entity Q6380024
relation P106
type Q12737077
['Q6380024', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q6380024 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Keith Redmond
action filter_type
action find
entity Keith Redmond
relation occupation
type occupation
['Keith Redmond', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Keith_Redmond property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q6380024,P106,c(Q12737077))
action filter_type
action find
entity Q6380024
relation P106
type Q12737077
Player [ANSWER] is the profession of Keith Redmond
['Q6380024', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q6380024 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
ice hockey player
Player ice hockey player is the profession of Keith Redmond
ice hockey player
action filter_type
action find
entity Keith Redmond
relation occupation
type occupation
['Keith Redmond', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Keith_Redmond property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6380024
P641
Q349
USER
Which sport was Keith Redmond a part of ?
(Q6380024,P641,c(Q349))
action filter_type
action find
entity Q6380024
relation P641
type Q349
['Q6380024', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q6380024 property:P641 ?u . ?u rdf:type ontology:Q349 }
Keith Redmond
action filter_type
action find
entity Keith Redmond
relation sport
type sport
['Keith Redmond', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Keith_Redmond property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q6380024,P641,c(Q349))
action filter_type
action find
entity Q6380024
relation P641
type Q349
Keith Redmond was the [ANSWER]
['Q6380024', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q6380024 property:P641 ?u . ?u rdf:type ontology:Q349 }
ice hockey
Keith Redmond was the ice hockey
ice hockey
action filter_type
action find
entity Keith Redmond
relation sport
type sport
['Keith Redmond', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Keith_Redmond property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6380024
P21
Q290
USER
Which sex does that person have ?
(Q41466,P21,c(Q290))
action filter_type
action find
entity Q6380024
relation P21
type Q290
['Q41466', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6380024 property:P21 ?k . ?k rdf:type ontology:Q290 }
Keith Redmond
action filter_type
action find
entity Keith Redmond
relation gender
type sex
['ice hockey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Keith_Redmond property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q41466,P21,c(Q290))
action filter_type
action find
entity Q6380024
relation P21
type Q290
That person has a [ANSWER]
['Q41466', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6380024 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Keith Redmond
relation gender
type sex
['ice hockey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Keith_Redmond property:gender ?k . ?k rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q10289991
P21
Q502895
USER
Does Giuseppe Martinelli have the gender as that sex ?
(Q10289991,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q10289991
relation P21
['Q10289991', 'P21', 'Q6581097']
ASK WHERE { resource:Q10289991 property:P21 resource:Q6581097 }
male Giuseppe Martinelli
action is_in
entity male
action find
entity Giuseppe Martinelli
relation gender
['Giuseppe Martinelli', 'gender', 'male']
ASK WHERE { resource:Giuseppe_Martinelli property:gender resource:male }
[]
common name
SYSTEM
YES
(Q10289991,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q10289991
relation P21
[ANSWER]
['Q10289991', 'P21', 'Q6581097']
ASK WHERE { resource:Q10289991 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Giuseppe Martinelli
relation gender
['Giuseppe Martinelli', 'gender', 'male']
ASK WHERE { resource:Giuseppe_Martinelli property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6380024
P27
Q1048835
USER
How many political territories are the countries of citizenship of Keith Redmond ?
(Q6380024,P27,c(Q1048835))
action count
action filter_type
action find
entity Q6380024
relation P27
type Q1048835
['Q6380024', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q6380024 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Keith Redmond
action count
action filter_type
action find
entity Keith Redmond
relation country of citizenship
type political territorial entity
['Keith Redmond', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Keith_Redmond property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q16
(Q6380024,P27,c(Q1048835))
action count
action filter_type
action find
entity Q6380024
relation P27
type Q1048835
[ANSWER]
['Q6380024', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q6380024 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Canada
1
action count
action filter_type
action find
entity Keith Redmond
relation country of citizenship
type political territorial entity
['Keith Redmond', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Keith_Redmond property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6380024
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
action filter_type
action find
entity Q6380024
relation P27
type Q1048835
SELECT DISTINCT ?x WHERE { resource:Q6380024 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Keith Redmond
action filter_type
action find
entity Keith Redmond
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?x WHERE { resource:Keith_Redmond property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
action filter_type
action find
entity Q6380024
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
SELECT DISTINCT ?x WHERE { resource:Q6380024 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Canada
Canada is the country of citizenship of that person
Canada
action filter_type
action find
entity Keith Redmond
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?x WHERE { resource:Keith_Redmond property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4991371
P921
Q12737077 Q2342494 Q838948
USER
Which occupations were discussed in greater number of collectables or works of art than soldier ?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { { ?b rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q2342494 . ?g property:P921 ?b } UNION { ?g property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P921 resource:Q4991371 . { { ?z rdf:type ontology:Q2342494 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?i > ?m ) }
soldier
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity soldier
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { { ?b rdf:type ontology:occupation . ?g rdf:type ontology:collectable . ?g property:main_subject ?b } UNION { ?g property:main_subject ?b . ?b rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:main_subject resource:soldier . { { ?z rdf:type ontology:collectable } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?i > ?m ) }
[]
occupation collectable work of art
Q42973 Q18145518 Q18220900
SYSTEM
architect, Member of the New Zealand House of Representatives, Member of the South Australian House of Assembly
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q774306 Q83307 Q4610556 Q18145518 Q7358 Q82955 Q730242 Q42973 Q1930187 Q937857 Q9402 Q2961580 Q43845 Q101539 Q29182 Q131524 Q205375 Q164236 Q14373094 Q18220900 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q49757 Q2095549 Q1238570 Q2259532 Q1674312 Q16003532
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P921
type Q2342494
type Q838948
The [ANSWERS] were discussed in greater number of collectables or works of art than soldier
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { { ?b rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q2342494 . ?g property:P921 ?b } UNION { ?g property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P921 resource:Q4991371 . { { ?z rdf:type ontology:Q2342494 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?i > ?m ) }
industrialist business magnate physician lumberjack astronaut actor writer surgeon minister model Member of the New Zealand House of Representatives clown politician test pilot architect journalist association football player ninja taxi driver businessperson flight attendant bishop entrepreneur inventor war correspondent rugby league player Member of the South Australian House of Assembly nanny high school student elementary school student comedian photographer poet aviator political scientist cleric rag-and-bone man middle school student
The architect, Member of the New Zealand House of Representatives and Member of the South Australian House of Assembly were discussed in greater number of collectables or works of art than soldier
architect Member of the New Zealand House of Representatives Member of the South Australian House of Assembly
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity soldier
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { { ?b rdf:type ontology:occupation . ?g rdf:type ontology:collectable . ?g property:main_subject ?b } UNION { ?g property:main_subject ?b . ?b rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:main_subject resource:soldier . { { ?z rdf:type ontology:collectable } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?i > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q911554
P921
Q12737077 Q2342494 Q838948
USER
And how about business magnate?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q911554
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:P921 ?i . ?z rdf:type ontology:Q838948 . ?i rdf:type ontology:Q12737077 } UNION { ?z property:P921 ?i . ?i rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P921 resource:Q911554 . { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?j > ?l ) }
business magnate
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity business magnate
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:main_subject ?i . ?z rdf:type ontology:work_of_art . ?i rdf:type ontology:occupation } UNION { ?z property:main_subject ?i . ?i rdf:type ontology:occupation . ?z rdf:type ontology:collectable } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:main_subject resource:business_magnate . { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?j > ?l ) }
[]
occupation collectable work of art
Q1930187 Q937857 Q16746569
SYSTEM
journalist, association football player, high school student
Q39631 Q11631 Q33999 Q1930187 Q937857 Q9402 Q101539 Q164236 Q16746569 Q16003605 Q33231 Q16003532
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q911554
relation P921
type Q2342494
type Q838948
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:P921 ?i . ?z rdf:type ontology:Q838948 . ?i rdf:type ontology:Q12737077 } UNION { ?z property:P921 ?i . ?i rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P921 resource:Q911554 . { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?j > ?l ) }
physician astronaut actor journalist association football player ninja flight attendant war correspondent high school student elementary school student photographer middle school student
journalist association football player high school student
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity business magnate
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:main_subject ?i . ?z rdf:type ontology:work_of_art . ?i rdf:type ontology:occupation } UNION { ?z property:main_subject ?i . ?i rdf:type ontology:occupation . ?z rdf:type ontology:collectable } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:main_subject resource:business_magnate . { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?j > ?l ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q215380 Q20724701
USER
How many bands and city or town in Armenias have the profession of that occupation ?
(c(Q215380),P106,Q937857) (c(Q20724701),P106,Q937857) (c(Q215380),P106,Q1930187) (c(Q20724701),P106,Q1930187) (c(Q215380),P106,Q937857) (c(Q20724701),P106,Q937857) (c(Q215380),P106,Q16746569) (c(Q20724701),P106,Q16746569)
[{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q1930187'] [{'concept': 'Q20724701'}, 'P106', 'Q1930187'] [{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q16746569'] [{'concept': 'Q20724701'}, 'P106', 'Q16746569']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q1930187 } UNION { ?y property:Q528892 resource:Q1930187 } UNION { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q16746569 } UNION { ?y property:Q528892 resource:Q16746569 } } . ?z rdf:type ontology:Q215380 . ?y rdf:type ontology:Q20724701 }
[{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'journalist'] [{'concept': 'city or town in Armenia'}, 'occupation', 'journalist'] [{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'high school student'] [{'concept': 'city or town in Armenia'}, 'occupation', 'high school student']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:journalist } UNION { ?y property:occupation resource:journalist } UNION { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:high_school_student } UNION { ?y property:occupation resource:high_school_student } } . ?z rdf:type ontology:band . ?y rdf:type ontology:city_or_town_in_Armenia }
[]
band city or town in Armenia
Quantitative|Count|Mult. entity type|Clarification
Q937857
SYSTEM
Did you mean association football player ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q1930187 } UNION { ?y property:Q528892 resource:Q1930187 } UNION { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q16746569 } UNION { ?y property:Q528892 resource:Q16746569 } } . ?z rdf:type ontology:Q215380 . ?y rdf:type ontology:Q20724701 }
Did you mean association football player ?
association football player
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:journalist } UNION { ?y property:occupation resource:journalist } UNION { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:high_school_student } UNION { ?y property:occupation resource:high_school_student } } . ?z rdf:type ontology:band . ?y rdf:type ontology:city_or_town_in_Armenia }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q215380),P106,Q937857) (c(Q20724701),P106,Q937857) (c(Q215380),P106,Q1930187) (c(Q20724701),P106,Q1930187) (c(Q215380),P106,Q937857) (c(Q20724701),P106,Q937857) (c(Q215380),P106,Q16746569) (c(Q20724701),P106,Q16746569)
[{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q1930187'] [{'concept': 'Q20724701'}, 'P106', 'Q1930187'] [{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q16746569'] [{'concept': 'Q20724701'}, 'P106', 'Q16746569']
[{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'journalist'] [{'concept': 'city or town in Armenia'}, 'occupation', 'journalist'] [{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'high school student'] [{'concept': 'city or town in Armenia'}, 'occupation', 'high school student']
[]
SYSTEM
1 bands and 1 city or town in Armenias
Q6835842 Q2817360
(c(Q215380),P106,Q937857) (c(Q20724701),P106,Q937857) (c(Q215380),P106,Q1930187) (c(Q20724701),P106,Q1930187) (c(Q215380),P106,Q937857) (c(Q20724701),P106,Q937857) (c(Q215380),P106,Q16746569) (c(Q20724701),P106,Q16746569)
[ANSWER]
[{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q1930187'] [{'concept': 'Q20724701'}, 'P106', 'Q1930187'] [{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q16746569'] [{'concept': 'Q20724701'}, 'P106', 'Q16746569']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q1930187 } UNION { ?y property:Q528892 resource:Q1930187 } UNION { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q16746569 } UNION { ?y property:Q528892 resource:Q16746569 } } . ?z rdf:type ontology:Q215380 . ?y rdf:type ontology:Q20724701 }
Michal Vepřek Masis Voskanyan
1 bands and 1 city or town in Armenias
[{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'journalist'] [{'concept': 'city or town in Armenia'}, 'occupation', 'journalist'] [{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'high school student'] [{'concept': 'city or town in Armenia'}, 'occupation', 'high school student']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:journalist } UNION { ?y property:occupation resource:journalist } UNION { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:high_school_student } UNION { ?y property:occupation resource:high_school_student } } . ?z rdf:type ontology:band . ?y rdf:type ontology:city_or_town_in_Armenia }
[]