Simple Question (Direct)
Simple Question
Q15830966
P21
Q290
USER
What is the sex of Diego Augusto Teixeira Alves ?
(Q15830966,P21,c(Q290))
action filter_type
action find
entity Q15830966
relation P21
type Q290
['Q15830966', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q15830966 property:P21 ?e . ?e rdf:type ontology:Q290 }
Diego Augusto Teixeira Alves
action filter_type
action find
entity Diego Augusto Teixeira Alves
relation gender
type sex
['Diego Augusto Teixeira Alves', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Diego_Augusto_Teixeira_Alves property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15830966,P21,c(Q290))
action filter_type
action find
entity Q15830966
relation P21
type Q290
The sex of Diego Augusto Teixeira Alves is a [ANSWER]
['Q15830966', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q15830966 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
The sex of Diego Augusto Teixeira Alves is a male
male
action filter_type
action find
entity Diego Augusto Teixeira Alves
relation gender
type sex
['Diego Augusto Teixeira Alves', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Diego_Augusto_Teixeira_Alves property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15830966
P106
Q12737077
USER
Which occupation is the profession of Diego Augusto Teixeira Alves ?
(Q15830966,P106,c(Q12737077))
action filter_type
action find
entity Q15830966
relation P106
type Q12737077
['Q15830966', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q15830966 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Diego Augusto Teixeira Alves
action filter_type
action find
entity Diego Augusto Teixeira Alves
relation occupation
type occupation
['Diego Augusto Teixeira Alves', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Diego_Augusto_Teixeira_Alves property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15830966,P106,c(Q12737077))
action filter_type
action find
entity Q15830966
relation P106
type Q12737077
As [ANSWER] is the profession of Diego Augusto Teixeira Alves
['Q15830966', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q15830966 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
As association football player is the profession of Diego Augusto Teixeira Alves
association football player
action filter_type
action find
entity Diego Augusto Teixeira Alves
relation occupation
type occupation
['Diego Augusto Teixeira Alves', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Diego_Augusto_Teixeira_Alves property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15830966
P641
Q349
USER
What did Diego Augusto Teixeira Alves participate in ?
(Q15830966,P641,c(Q349))
action filter_type
action find
entity Q15830966
relation P641
type Q349
['Q15830966', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q15830966 property:P641 ?r }
Diego Augusto Teixeira Alves
action filter_type
action find
entity Diego Augusto Teixeira Alves
relation sport
type sport
['Diego Augusto Teixeira Alves', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Diego_Augusto_Teixeira_Alves property:sport ?r }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q15830966,P641,c(Q349))
action filter_type
action find
entity Q15830966
relation P641
type Q349
Diego Augusto Teixeira Alves participated in [ANSWER]
['Q15830966', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q15830966 property:P641 ?r }
association football
Diego Augusto Teixeira Alves participated in association football
association football
action filter_type
action find
entity Diego Augusto Teixeira Alves
relation sport
type sport
['Diego Augusto Teixeira Alves', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Diego_Augusto_Teixeira_Alves property:sport ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q436681
Q349
USER
And how about Rabah Saâdane?
(Q436681,P641,c(Q349))
action filter_type
action find
entity Q436681
relation P641
type Q349
['Q436681', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q436681 property:P641 ?b . ?b rdf:type ontology:Q349 }
Rabah Saâdane
action filter_type
action find
entity Rabah Saâdane
relation sport
type sport
['Rabah Saâdane', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Rabah_Saâdane property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q436681,P641,c(Q349))
action filter_type
action find
entity Q436681
relation P641
type Q349
[ANSWER]
['Q436681', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q436681 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Rabah Saâdane
relation sport
type sport
['Rabah Saâdane', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Rabah_Saâdane property:sport ?b . ?b rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q6500395
P641
Q502895
USER
Does Lauren Walker play that sport ?
(Q6500395,P641,Q2736)
action is_in
entity Q2736
action find
entity Q6500395
relation P641
['Q6500395', 'P641', 'Q2736']
ASK WHERE { resource:Q6500395 property:P641 resource:Q2736 }
association football Lauren Walker
action is_in
entity association football
action find
entity Lauren Walker
relation sport
['Lauren Walker', 'sport', 'association football']
ASK WHERE { resource:Lauren_Walker property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q6500395,P641,Q2736)
action is_in
entity Q2736
action find
entity Q6500395
relation P641
[ANSWER]
['Q6500395', 'P641', 'Q2736']
ASK WHERE { resource:Q6500395 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Lauren Walker
relation sport
['Lauren Walker', 'sport', 'association football']
ASK WHERE { resource:Lauren_Walker property:sport resource:association_football }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15830966
P27
Q15617994
USER
Which administrative territory is Diego Augusto Teixeira Alves an inhabitant of ?
(Q15830966,P27,c(Q15617994))
action filter_type
action find
entity Q15830966
relation P27
type Q15617994
['Q15830966', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q15830966 property:P27 ?d }
Diego Augusto Teixeira Alves
action filter_type
action find
entity Diego Augusto Teixeira Alves
relation country of citizenship
type designation for an administrative territorial entity
['Diego Augusto Teixeira Alves', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Diego_Augusto_Teixeira_Alves property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q15830966,P27,c(Q15617994))
action filter_type
action find
entity Q15830966
relation P27
type Q15617994
[ANSWER] is Diego Augusto Teixeira Alves an inhabitant of
['Q15830966', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q15830966 property:P27 ?d }
Brazil
Brazil is Diego Augusto Teixeira Alves an inhabitant of
Brazil
action filter_type
action find
entity Diego Augusto Teixeira Alves
relation country of citizenship
type designation for an administrative territorial entity
['Diego Augusto Teixeira Alves', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Diego_Augusto_Teixeira_Alves property:country_of_citizenship ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3139914
Q15617994
USER
And how about Homéric?
(Q3139914,P27,c(Q15617994))
action filter_type
action find
entity Q3139914
relation P27
type Q15617994
['Q3139914', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q3139914 property:P27 ?m }
Homéric
action filter_type
action find
entity Homéric
relation country of citizenship
type designation for an administrative territorial entity
['Homéric', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Homéric property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3139914,P27,c(Q15617994))
action filter_type
action find
entity Q3139914
relation P27
type Q15617994
[ANSWER]
['Q3139914', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q3139914 property:P27 ?m }
France
France
action filter_type
action find
entity Homéric
relation country of citizenship
type designation for an administrative territorial entity
['Homéric', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Homéric property:country_of_citizenship ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q710
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with less number of administrative territories than Kiribati ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q710
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?x ) WHERE { ?l property:P530 ?o . ?l rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P530 resource:Q710 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?x < ?g ) }
Kiribati
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Kiribati
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?x ) WHERE { ?l property:diplomatic_relation ?o . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:diplomatic_relation resource:Kiribati . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x < ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q710
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?x ) WHERE { ?l property:P530 ?o . ?l rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P530 resource:Q710 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?x < ?g ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Kiribati
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?x ) WHERE { ?l property:diplomatic_relation ?o . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:diplomatic_relation resource:Kiribati . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1020
P530
Q15617994 Q15617994
USER
And what about Malawi?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1020
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?s ) WHERE { ?z property:P530 ?f . ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q1020 property:P530 ?k } } . FILTER ( ?s < ?t ) }
Malawi
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Malawi
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?s ) WHERE { ?z property:diplomatic_relation ?f . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Malawi property:diplomatic_relation ?k } } . FILTER ( ?s < ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1020
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?s ) WHERE { ?z property:P530 ?f . ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q1020 property:P530 ?k } } . FILTER ( ?s < ?t ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Malawi
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?s ) WHERE { ?z property:diplomatic_relation ?f . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Malawi property:diplomatic_relation ?k } } . FILTER ( ?s < ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with approximately 105 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 105
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { ?y rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 . ?y property:P530 ?v } GROUP BY ?y } . FILTER ( ?q = 105 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 105
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { ?y rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?v } GROUP BY ?y } . FILTER ( ?q = 105 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 105
[ANSWERS] hold diplomatic relationship with approximately 105 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { ?y rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 . ?y property:P530 ?v } GROUP BY ?y } . FILTER ( ?q = 105 ) }
Germany Australia
Germany and Australia hold diplomatic relationship with approximately 105 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 105
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { ?y rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?v } GROUP BY ?y } . FILTER ( ?q = 105 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19406036 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player or did Jonathan Saltos participate in ?
OR((Q937857,P425,c(Q349)), (Q19406036,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q19406036
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q19406036', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . { { resource:Q937857 property:P425 ?l } UNION { resource:Q19406036 property:P641 ?l } } }
Jonathan Saltos association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Jonathan Saltos
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Jonathan Saltos', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . { { resource:association_football_player property:field_of_this_occupation ?l } UNION { resource:Jonathan_Saltos property:sport ?l } } }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q937857,P425,c(Q349)), (Q19406036,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q19406036
relation P641
type Q349
Teams [ANSWER] is associated with the field of occupation [ANSWER] player or did Jonathan Saltos participate in
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q19406036', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . { { resource:Q937857 property:P425 ?l } UNION { resource:Q19406036 property:P641 ?l } } }
association football
Teams association football is associated with the field of occupation association football player or did Jonathan Saltos participate in
association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Jonathan Saltos
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Jonathan Saltos', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . { { resource:association_football_player property:field_of_this_occupation ?l } UNION { resource:Jonathan_Saltos property:sport ?l } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q159951
P641
Q502895
USER
Does Karl-Heinz Riedle play that sport ?
(Q159951,P641,Q2736)
action is_in
entity Q2736
action find
entity Q159951
relation P641
['Q159951', 'P641', 'Q2736']
ASK WHERE { resource:Q159951 property:P641 resource:Q2736 }
association football Karl-Heinz Riedle
action is_in
entity association football
action find
entity Karl-Heinz Riedle
relation sport
['Karl-Heinz Riedle', 'sport', 'association football']
ASK WHERE { resource:Karl-Heinz_Riedle property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q159951,P641,Q2736)
action is_in
entity Q2736
action find
entity Q159951
relation P641
[ANSWER]
['Q159951', 'P641', 'Q2736']
ASK WHERE { resource:Q159951 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Karl-Heinz Riedle
relation sport
['Karl-Heinz Riedle', 'sport', 'association football']
ASK WHERE { resource:Karl-Heinz_Riedle property:sport resource:association_football }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q35
P495
Q1048835 Q15416 Q2031291
USER
Which political territories are the origins of more number of television programs and releases than Denmark ?
(c(Q15416)|c(Q2031291),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q35
relation P495
type Q15416
type Q2031291
[[{'concept': 'Q15416'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?z WHERE { VALUES ( ?q ) { ( ontology:Q2031291 ) ( ontology:Q15416 ) } . ?k rdf:type ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P495 resource:Q35 . { VALUES ( ?p ) { ( ontology:Q15416 ) ( ontology:Q2031291 ) } . ?s rdf:type ?p } } } . FILTER ( ?v > ?d ) }
Denmark
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Denmark
relation country of origin
type television program
type release
[[{'concept': 'television program'}, {'concept': 'release'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?z WHERE { VALUES ( ?q ) { ( ontology:release ) ( ontology:television_program ) } . ?k rdf:type ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:country_of_origin resource:Denmark . { VALUES ( ?p ) { ( ontology:television_program ) ( ontology:release ) } . ?s rdf:type ?p } } } . FILTER ( ?v > ?d ) }
[]
political territorial entity television program release
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q664 Q16 Q408 Q40
(c(Q15416)|c(Q2031291),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q35
relation P495
type Q15416
type Q2031291
[ANSWERS] are the origins of more number of television programs and releases than Denmark
[[{'concept': 'Q15416'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?z WHERE { VALUES ( ?q ) { ( ontology:Q2031291 ) ( ontology:Q15416 ) } . ?k rdf:type ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P495 resource:Q35 . { VALUES ( ?p ) { ( ontology:Q15416 ) ( ontology:Q2031291 ) } . ?s rdf:type ?p } } } . FILTER ( ?v > ?d ) }
Germany New Zealand Canada Australia Austria
Germany, Australia and Canada are the origins of more number of television programs and releases than Denmark
Germany Australia Canada
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Denmark
relation country of origin
type television program
type release
[[{'concept': 'television program'}, {'concept': 'release'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?z WHERE { VALUES ( ?q ) { ( ontology:release ) ( ontology:television_program ) } . ?k rdf:type ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:country_of_origin resource:Denmark . { VALUES ( ?p ) { ( ontology:television_program ) ( ontology:release ) } . ?s rdf:type ?p } } } . FILTER ( ?v > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13353
P495
Q1048835 Q15416 Q2031291
USER
And what about Montserrat?
(c(Q15416)|c(Q2031291),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q13353
relation P495
type Q15416
type Q2031291
[[{'concept': 'Q15416'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?o WHERE { { ?u property:P495 ?o . ?o rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q2031291 } UNION { ?u property:P495 ?o . ?o rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15416 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { { ?j rdf:type ontology:Q15416 } UNION { ?j rdf:type ontology:Q2031291 } } . ?j property:P495 resource:Q13353 } } . FILTER ( ?i > ?a ) }
Montserrat
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Montserrat
relation country of origin
type television program
type release
[[{'concept': 'television program'}, {'concept': 'release'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?o WHERE { { ?u property:country_of_origin ?o . ?o rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:release } UNION { ?u property:country_of_origin ?o . ?o rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:television_program } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { { ?j rdf:type ontology:television_program } UNION { ?j rdf:type ontology:release } } . ?j property:country_of_origin resource:Montserrat } } . FILTER ( ?i > ?a ) }
[]
political territorial entity television program release
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q838261 Q183 Q664 Q766 Q16 Q35 Q408 Q691 Q40
(c(Q15416)|c(Q2031291),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q13353
relation P495
type Q15416
type Q2031291
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?o WHERE { { ?u property:P495 ?o . ?o rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q2031291 } UNION { ?u property:P495 ?o . ?o rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15416 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { { ?j rdf:type ontology:Q15416 } UNION { ?j rdf:type ontology:Q2031291 } } . ?j property:P495 resource:Q13353 } } . FILTER ( ?i > ?a ) }
Federal Republic of Yugoslavia Germany New Zealand Jamaica Canada Denmark Australia Papua New Guinea Austria
Germany Australia Denmark
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Montserrat
relation country of origin
type television program
type release
[[{'concept': 'television program'}, {'concept': 'release'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?o WHERE { { ?u property:country_of_origin ?o . ?o rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:release } UNION { ?u property:country_of_origin ?o . ?o rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:television_program } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { { ?j rdf:type ontology:television_program } UNION { ?j rdf:type ontology:release } } . ?j property:country_of_origin resource:Montserrat } } . FILTER ( ?i > ?a ) }
[]