Simple Question (Direct)
Simple Question
Q4665169
P54
Q82799
USER
What sports team is Abdoulaye Djibril Diallo a member of ?
(Q4665169,P54,c(Q82799))
action filter_type
action find
entity Q4665169
relation P54
type Q82799
['Q4665169', 'P54', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q4665169 property:P54 ?i . ?i rdf:type ontology:Q82799 }
Abdoulaye Djibril Diallo
action filter_type
action find
entity Abdoulaye Djibril Diallo
relation member of sports team
type name
['Abdoulaye Djibril Diallo', 'member of sports team', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Abdoulaye_Djibril_Diallo property:member_of_sports_team ?i . ?i rdf:type ontology:name }
[]
name
Q1638649
SYSTEM
Melbourne Knights Football Club
Q1638649
(Q4665169,P54,c(Q82799))
action filter_type
action find
entity Q4665169
relation P54
type Q82799
[ANSWER] is Abdoulaye Djibril Diallo a member of
['Q4665169', 'P54', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q4665169 property:P54 ?i . ?i rdf:type ontology:Q82799 }
Melbourne Knights Football Club
Melbourne Knights Football Club is Abdoulaye Djibril Diallo a member of
Melbourne Knights Football Club
action filter_type
action find
entity Abdoulaye Djibril Diallo
relation member of sports team
type name
['Abdoulaye Djibril Diallo', 'member of sports team', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Abdoulaye_Djibril_Diallo property:member_of_sports_team ?i . ?i rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1638649
P118
Q623109
USER
Which sports league does that name play in ?
(Q1638649,P118,c(Q623109))
action filter_type
action find
entity Q1638649
relation P118
type Q623109
['Q1638649', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?b WHERE { resource:Q1638649 property:P118 ?b . ?b rdf:type ontology:Q623109 }
Melbourne Knights Football Club
action filter_type
action find
entity Melbourne Knights Football Club
relation league
type sports league
['Melbourne Knights Football Club', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?b WHERE { resource:Melbourne_Knights_Football_Club property:league ?b . ?b rdf:type ontology:sports_league }
[]
sports league
Q1852347
SYSTEM
Victorian Premier League
Q1852347
(Q1638649,P118,c(Q623109))
action filter_type
action find
entity Q1638649
relation P118
type Q623109
That name plays in [ANSWER]
['Q1638649', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?b WHERE { resource:Q1638649 property:P118 ?b . ?b rdf:type ontology:Q623109 }
Victorian Premier League
That name plays in Victorian Premier League
Victorian Premier League
action filter_type
action find
entity Melbourne Knights Football Club
relation league
type sports league
['Melbourne Knights Football Club', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?b WHERE { resource:Melbourne_Knights_Football_Club property:league ?b . ?b rdf:type ontology:sports_league }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1852347
P17
Q1048835
USER
Which political territory does that sports league belong to ?
(Q1852347,P17,c(Q1048835))
action filter_type
action find
entity Q1852347
relation P17
type Q1048835
['Q1852347', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q1852347 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Victorian Premier League
action filter_type
action find
entity Victorian Premier League
relation country
type political territorial entity
['Victorian Premier League', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Victorian_Premier_League property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q1852347,P17,c(Q1048835))
action filter_type
action find
entity Q1852347
relation P17
type Q1048835
That sports league belongs to the [ANSWER]
['Q1852347', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q1852347 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Australia
That sports league belongs to the Australia
Australia
action filter_type
action find
entity Victorian Premier League
relation country
type political territorial entity
['Victorian Premier League', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Victorian_Premier_League property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q685
P530
Q1048835 Q1048835
USER
How many political territories have tactful political relations with around the same number of political territories as Solomon Islands ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?r ) WHERE { ?g property:P530 ?u . ?g rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:Q1048835 . resource:Q685 property:P530 ?q } } . FILTER ( ?r = ?a ) }
Solomon Islands
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?r ) WHERE { ?g property:diplomatic_relation ?u . ?g rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Solomon_Islands property:diplomatic_relation ?q } } . FILTER ( ?r = ?a ) }
[]
political territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?r ) WHERE { ?g property:P530 ?u . ?g rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:Q1048835 . resource:Q685 property:P530 ?q } } . FILTER ( ?r = ?a ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?r ) WHERE { ?g property:diplomatic_relation ?u . ?g rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Solomon_Islands property:diplomatic_relation ?q } } . FILTER ( ?r = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q664
P530
Q1048835 Q1048835
USER
And also tell me about New Zealand?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?f ) WHERE { ?r property:P530 ?d . ?r rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q1048835 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q664 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?f = ?c ) }
New Zealand
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?f ) WHERE { ?r property:diplomatic_relation ?d . ?r rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:New_Zealand property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?f = ?c ) }
[]
political territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?f ) WHERE { ?r property:P530 ?d . ?r rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q1048835 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q664 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?f = ?c ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?f ) WHERE { ?r property:diplomatic_relation ?d . ?r rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:New_Zealand property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?f = ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3116510
P180
Q82799 Q18783400 Q17335294
USER
Which names are depicted in more number of genres of sculpture and coats of arms than frog ?
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q3116510
relation P180
type Q18783400
type Q17335294
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?v > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P180 resource:Q3116510 . { { ?w rdf:type ontology:Q18783400 } UNION { ?w rdf:type ontology:Q17335294 } } } } . { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:P180 ?z . ?q rdf:type ontology:Q18783400 . ?z rdf:type ontology:Q82799 } UNION { ?q property:P180 ?z . ?z rdf:type ontology:Q82799 . ?q rdf:type ontology:Q17335294 } } GROUP BY ?z } }
frog
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity frog
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?v > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:depicts resource:frog . { { ?w rdf:type ontology:genre_of_sculpture } UNION { ?w rdf:type ontology:flag_or_coat_of_arms } } } } . { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:depicts ?z . ?q rdf:type ontology:genre_of_sculpture . ?z rdf:type ontology:name } UNION { ?q property:depicts ?z . ?z rdf:type ontology:name . ?q rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?z } }
[]
name genre of sculpture flag or coat of arms
Q144 Q726 Q43115
SYSTEM
dog, horse, saint
Q726 Q2092297 Q144 Q43115
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q3116510
relation P180
type Q18783400
type Q17335294
[ANSWERS] are depicted in more number of genres of sculpture and coats of arms than frog
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?v > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P180 resource:Q3116510 . { { ?w rdf:type ontology:Q18783400 } UNION { ?w rdf:type ontology:Q17335294 } } } } . { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:P180 ?z . ?q rdf:type ontology:Q18783400 . ?z rdf:type ontology:Q82799 } UNION { ?q property:P180 ?z . ?z rdf:type ontology:Q82799 . ?q rdf:type ontology:Q17335294 } } GROUP BY ?z } }
horse eagle dog saint
Dog, horse and saint are depicted in more number of genres of sculpture and coats of arms than frog
dog horse saint
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity frog
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?v > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:depicts resource:frog . { { ?w rdf:type ontology:genre_of_sculpture } UNION { ?w rdf:type ontology:flag_or_coat_of_arms } } } } . { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:depicts ?z . ?q rdf:type ontology:genre_of_sculpture . ?z rdf:type ontology:name } UNION { ?q property:depicts ?z . ?z rdf:type ontology:name . ?q rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q5070208
P180
Q82799 Q18783400 Q17335294
USER
And how about kangaroo?
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q5070208
relation P180
type Q18783400
type Q17335294
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?x ) WHERE { VALUES ( ?e ) { ( ontology:Q18783400 ) ( ontology:Q17335294 ) } . ?t rdf:type ?e } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P180 resource:Q5070208 . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:Q18783400 ) ( ontology:Q17335294 ) } } } } . FILTER ( ?x > ?d ) }
kangaroo
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity kangaroo
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?x ) WHERE { VALUES ( ?e ) { ( ontology:genre_of_sculpture ) ( ontology:flag_or_coat_of_arms ) } . ?t rdf:type ?e } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:depicts resource:kangaroo . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:genre_of_sculpture ) ( ontology:flag_or_coat_of_arms ) } } } } . FILTER ( ?x > ?d ) }
[]
name genre of sculpture flag or coat of arms
Q144 Q726 Q43115
SYSTEM
dog, horse, saint
Q726 Q2092297 Q144 Q43115
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q5070208
relation P180
type Q18783400
type Q17335294
[ANSWERS]
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?x ) WHERE { VALUES ( ?e ) { ( ontology:Q18783400 ) ( ontology:Q17335294 ) } . ?t rdf:type ?e } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P180 resource:Q5070208 . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:Q18783400 ) ( ontology:Q17335294 ) } } } } . FILTER ( ?x > ?d ) }
horse eagle dog saint
dog horse saint
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity kangaroo
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?x ) WHERE { VALUES ( ?e ) { ( ontology:genre_of_sculpture ) ( ontology:flag_or_coat_of_arms ) } . ?t rdf:type ?e } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:depicts resource:kangaroo . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:genre_of_sculpture ) ( ontology:flag_or_coat_of_arms ) } } } } . FILTER ( ?x > ?d ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P180
Q3305213 Q340169
USER
How many paintings and medias demonstrate that name ?
(c(Q3305213),P180,Q144) (c(Q340169),P180,Q144) (c(Q3305213),P180,Q144) (c(Q340169),P180,Q144) (c(Q3305213),P180,Q726) (c(Q340169),P180,Q726) (c(Q3305213),P180,Q43115) (c(Q340169),P180,Q43115)
[{'concept': 'Q3305213'}, 'P180', 'Q144'] [{'concept': 'Q340169'}, 'P180', 'Q144'] [{'concept': 'Q3305213'}, 'P180', 'Q144'] [{'concept': 'Q340169'}, 'P180', 'Q144'] [{'concept': 'Q3305213'}, 'P180', 'Q726'] [{'concept': 'Q340169'}, 'P180', 'Q726'] [{'concept': 'Q3305213'}, 'P180', 'Q43115'] [{'concept': 'Q340169'}, 'P180', 'Q43115']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q13511509 } UNION { ?y property:P180 resource:Q13511509 } UNION { ?z property:P180 resource:Q13511509 } UNION { ?y property:P180 resource:Q13511509 } UNION { ?z property:P180 resource:Q3663936 } UNION { ?y property:P180 resource:Q3663936 } UNION { ?z property:P180 resource:Q43115 } UNION { ?y property:P180 resource:Q43115 } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q340169 }
[{'concept': 'painting'}, 'depicts', 'dog'] [{'concept': 'media'}, 'depicts', 'dog'] [{'concept': 'painting'}, 'depicts', 'dog'] [{'concept': 'media'}, 'depicts', 'dog'] [{'concept': 'painting'}, 'depicts', 'horse'] [{'concept': 'media'}, 'depicts', 'horse'] [{'concept': 'painting'}, 'depicts', 'saint'] [{'concept': 'media'}, 'depicts', 'saint']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:dog } UNION { ?y property:depicts resource:dog } UNION { ?z property:depicts resource:dog } UNION { ?y property:depicts resource:dog } UNION { ?z property:depicts resource:horse } UNION { ?y property:depicts resource:horse } UNION { ?z property:depicts resource:saint } UNION { ?y property:depicts resource:saint } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:media }
[]
painting media
Quantitative|Count|Mult. entity type|Clarification
Q43115
SYSTEM
Did you mean saint ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q13511509 } UNION { ?y property:P180 resource:Q13511509 } UNION { ?z property:P180 resource:Q13511509 } UNION { ?y property:P180 resource:Q13511509 } UNION { ?z property:P180 resource:Q3663936 } UNION { ?y property:P180 resource:Q3663936 } UNION { ?z property:P180 resource:Q43115 } UNION { ?y property:P180 resource:Q43115 } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q340169 }
Did you mean saint ?
saint
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:dog } UNION { ?y property:depicts resource:dog } UNION { ?z property:depicts resource:dog } UNION { ?y property:depicts resource:dog } UNION { ?z property:depicts resource:horse } UNION { ?y property:depicts resource:horse } UNION { ?z property:depicts resource:saint } UNION { ?y property:depicts resource:saint } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:media }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant dog. Could you tell me the answer for that?
(c(Q3305213),P180,Q144) (c(Q340169),P180,Q144) (c(Q3305213),P180,Q144) (c(Q340169),P180,Q144) (c(Q3305213),P180,Q726) (c(Q340169),P180,Q726) (c(Q3305213),P180,Q43115) (c(Q340169),P180,Q43115)
Q144
[{'concept': 'Q3305213'}, 'P180', 'Q144'] [{'concept': 'Q340169'}, 'P180', 'Q144'] [{'concept': 'Q3305213'}, 'P180', 'Q144'] [{'concept': 'Q340169'}, 'P180', 'Q144'] [{'concept': 'Q3305213'}, 'P180', 'Q726'] [{'concept': 'Q340169'}, 'P180', 'Q726'] [{'concept': 'Q3305213'}, 'P180', 'Q43115'] [{'concept': 'Q340169'}, 'P180', 'Q43115']
[{'concept': 'painting'}, 'depicts', 'dog'] [{'concept': 'media'}, 'depicts', 'dog'] [{'concept': 'painting'}, 'depicts', 'dog'] [{'concept': 'media'}, 'depicts', 'dog'] [{'concept': 'painting'}, 'depicts', 'horse'] [{'concept': 'media'}, 'depicts', 'horse'] [{'concept': 'painting'}, 'depicts', 'saint'] [{'concept': 'media'}, 'depicts', 'saint']
[]
SYSTEM
7 paintings and 3 medias
Q16324551 Q2653851 Q24040013 Q17015401 Q21494568 Q19862167 Q16941150 Q18683041 Q3937289 Q17644450
(c(Q3305213),P180,Q144) (c(Q340169),P180,Q144) (c(Q3305213),P180,Q144) (c(Q340169),P180,Q144) (c(Q3305213),P180,Q726) (c(Q340169),P180,Q726) (c(Q3305213),P180,Q43115) (c(Q340169),P180,Q43115)
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q144'] [{'concept': 'Q340169'}, 'P180', 'Q144'] [{'concept': 'Q3305213'}, 'P180', 'Q144'] [{'concept': 'Q340169'}, 'P180', 'Q144'] [{'concept': 'Q3305213'}, 'P180', 'Q726'] [{'concept': 'Q340169'}, 'P180', 'Q726'] [{'concept': 'Q3305213'}, 'P180', 'Q43115'] [{'concept': 'Q340169'}, 'P180', 'Q43115']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q13511509 } UNION { ?y property:P180 resource:Q13511509 } UNION { ?z property:P180 resource:Q13511509 } UNION { ?y property:P180 resource:Q13511509 } UNION { ?z property:P180 resource:Q3663936 } UNION { ?y property:P180 resource:Q3663936 } UNION { ?z property:P180 resource:Q43115 } UNION { ?y property:P180 resource:Q43115 } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q340169 }
A Family Supper The Elevation of the Cross Artist in Caffè Greco in Rome Jean Wauquelin presenting his 'Chroniques de Hainaut' to Philip the Good Erechtheum Study for "Diogenes" January Reclining Dog Joachim among the Shepherds St. Roch interceding for the plague-stricken
7 paintings and 3 medias
[{'concept': 'painting'}, 'depicts', 'dog'] [{'concept': 'media'}, 'depicts', 'dog'] [{'concept': 'painting'}, 'depicts', 'dog'] [{'concept': 'media'}, 'depicts', 'dog'] [{'concept': 'painting'}, 'depicts', 'horse'] [{'concept': 'media'}, 'depicts', 'horse'] [{'concept': 'painting'}, 'depicts', 'saint'] [{'concept': 'media'}, 'depicts', 'saint']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:dog } UNION { ?y property:depicts resource:dog } UNION { ?z property:depicts resource:dog } UNION { ?y property:depicts resource:dog } UNION { ?z property:depicts resource:horse } UNION { ?y property:depicts resource:horse } UNION { ?z property:depicts resource:saint } UNION { ?y property:depicts resource:saint } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:media }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q43115 Q51619
P411
Q502895
USER
How many people have saint and Venerable as their canonization status ?
(c(Q502895),P411,Q43115) (c(Q502895),P411,Q51619)
action count
action intersection
action filter_type
action find_reverse
entity Q43115
relation P411
type Q502895
action filter_type
action find_reverse
entity Q51619
relation P411
type Q502895
[{'concept': 'Q502895'}, 'P411', 'Q43115'] [{'concept': 'Q502895'}, 'P411', 'Q51619']
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P411 resource:Q43115 . ?z rdf:type ontology:Q502895 . ?z property:P411 resource:Q51619 . ?z rdf:type ontology:Q502895 }
saint Venerable
action count
action intersection
action filter_type
action find_reverse
entity saint
relation canonization status
type common name
action filter_type
action find_reverse
entity Venerable
relation canonization status
type common name
[{'concept': 'common name'}, 'canonization status', 'saint'] [{'concept': 'common name'}, 'canonization status', 'Venerable']
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:canonization_status resource:saint . ?z rdf:type ontology:common_name . ?z property:canonization_status resource:Venerable . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
7
Q508588 Q45210 Q48252 Q989 Q1048336 Q234697 Q733433
(c(Q502895),P411,Q43115) (c(Q502895),P411,Q51619)
action count
action intersection
action filter_type
action find_reverse
entity Q43115
relation P411
type Q502895
action filter_type
action find_reverse
entity Q51619
relation P411
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P411', 'Q43115'] [{'concept': 'Q502895'}, 'P411', 'Q51619']
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P411 resource:Q43115 . ?z rdf:type ontology:Q502895 . ?z property:P411 resource:Q51619 . ?z rdf:type ontology:Q502895 }
Clemens Maria Hofbauer Joseph Freinademetz Nikola Tavelić John Paul II Marko Krizin Maria Goretti La Mosca Leopold Mandić
7
action count
action intersection
action filter_type
action find_reverse
entity saint
relation canonization status
type common name
action filter_type
action find_reverse
entity Venerable
relation canonization status
type common name
[{'concept': 'common name'}, 'canonization status', 'saint'] [{'concept': 'common name'}, 'canonization status', 'Venerable']
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:canonization_status resource:saint . ?z rdf:type ontology:common_name . ?z property:canonization_status resource:Venerable . ?z rdf:type ontology:common_name }
[]