Simple Question (Direct)
Simple Question
Q2995003
P27
Q15617994
USER
Which administrative territory is Constantin Melnik an inhabitant of ?
(Q2995003,P27,c(Q15617994))
action filter_type
action find
entity Q2995003
relation P27
type Q15617994
['Q2995003', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2995003 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Constantin Melnik
action filter_type
action find
entity Constantin Melnik
relation country of citizenship
type designation for an administrative territorial entity
['Constantin Melnik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Constantin_Melnik property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2995003,P27,c(Q15617994))
action filter_type
action find
entity Q2995003
relation P27
type Q15617994
[ANSWER] is Constantin Melnik an inhabitant of
['Q2995003', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2995003 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
France
France is Constantin Melnik an inhabitant of
France
action filter_type
action find
entity Constantin Melnik
relation country of citizenship
type designation for an administrative territorial entity
['Constantin Melnik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Constantin_Melnik property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2995003
P21
Q290
USER
Which sex does that person have ?
(Q142,P21,c(Q290))
action filter_type
action find
entity Q2995003
relation P21
type Q290
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q2995003 property:P21 ?i . ?i rdf:type ontology:Q290 }
Constantin Melnik
action filter_type
action find
entity Constantin Melnik
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Constantin_Melnik property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q142,P21,c(Q290))
action filter_type
action find
entity Q2995003
relation P21
type Q290
That person has a [ANSWER]
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q2995003 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Constantin Melnik
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Constantin_Melnik property:gender ?i . ?i rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q256113
P361
Q874405 Q56061 Q15617994
USER
Which administrative territories are parts of greater number of social groups or administrative territories than Ernsgaden ?
(c(Q15617994),P361,c(Q874405)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q256113
relation P361
type Q874405
type Q56061
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?e WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { VALUES ( ?p ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } . ?j rdf:type ?p } . resource:Q256113 property:P361 ?j } } . FILTER ( ?z > ?b ) }
Ernsgaden
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Ernsgaden
relation part of
type social group
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?e WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { VALUES ( ?p ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } . ?j rdf:type ?p } . resource:Ernsgaden property:part_of ?j } } . FILTER ( ?z > ?b ) }
[]
social group administrative territorial entity designation for an administrative territorial entity
Q36 Q697685 Q548611
SYSTEM
Poland, House of Nassau-Weilburg, district of the Czech Republic
Q548611 Q36 Q186115 Q585444 Q2661988 Q2115448 Q697685 Q209495
(c(Q15617994),P361,c(Q874405)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q256113
relation P361
type Q874405
type Q56061
[ANSWERS] are parts of greater number of social groups or administrative territories than Ernsgaden
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?e WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { VALUES ( ?p ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } . ?j rdf:type ?p } . resource:Q256113 property:P361 ?j } } . FILTER ( ?z > ?b ) }
district of the Czech Republic Poland Montmartre administrative district of Prague urban settlement in Russia Intra-city territory of a federal city House of Nassau-Weilburg historical province of France
Poland, House of Nassau-Weilburg and district of the Czech Republic are parts of greater number of social groups or administrative territories than Ernsgaden
Poland House of Nassau-Weilburg district of the Czech Republic
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Ernsgaden
relation part of
type social group
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?e WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { VALUES ( ?p ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } . ?j rdf:type ?p } . resource:Ernsgaden property:part_of ?j } } . FILTER ( ?z > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q503825
P361
Q874405 Q56061 Q15617994
USER
And also tell me about Rohrenfels?
(c(Q15617994),P361,c(Q874405)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q503825
relation P361
type Q874405
type Q56061
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?i WHERE { VALUES ( ?t ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } . ?m rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q503825 property:P361 ?h . { VALUES ( ?d ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } . ?h rdf:type ?d } } } . FILTER ( ?l > ?o ) }
Rohrenfels
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Rohrenfels
relation part of
type social group
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?i WHERE { VALUES ( ?t ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Rohrenfels property:part_of ?h . { VALUES ( ?d ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?d } } } . FILTER ( ?l > ?o ) }
[]
social group administrative territorial entity designation for an administrative territorial entity
Q36 Q697685 Q548611
SYSTEM
Poland, House of Nassau-Weilburg, district of the Czech Republic
Q548611 Q36 Q186115 Q585444 Q2661988 Q2115448 Q697685 Q209495
(c(Q15617994),P361,c(Q874405)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q503825
relation P361
type Q874405
type Q56061
[ANSWERS]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?i WHERE { VALUES ( ?t ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } . ?m rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q503825 property:P361 ?h . { VALUES ( ?d ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } . ?h rdf:type ?d } } } . FILTER ( ?l > ?o ) }
district of the Czech Republic Poland Montmartre administrative district of Prague urban settlement in Russia Intra-city territory of a federal city House of Nassau-Weilburg historical province of France
Poland House of Nassau-Weilburg district of the Czech Republic
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Rohrenfels
relation part of
type social group
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?i WHERE { VALUES ( ?t ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Rohrenfels property:part_of ?h . { VALUES ( ?d ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?d } } } . FILTER ( ?l > ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q711
P122
Q43229 Q12737077 Q15617994
USER
Which administrative territories have greater number of organizations or occupations as government than Mongolia ?
(c(Q15617994),P122,c(Q43229)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action count
action filter_multi_types
action find
entity Q711
relation P122
type Q43229
type Q12737077
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?t ) WHERE { { ?l property:P122 ?v . ?v rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q43229 . ?l property:P122 ?v } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q711 property:P122 ?s . { { ?s rdf:type ontology:Q12737077 } UNION { ?s rdf:type ontology:Q43229 } } } } . FILTER ( ?t > ?r ) }
Mongolia
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find
entity Mongolia
relation basic form of government
type organization
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?t ) WHERE { { ?l property:basic_form_of_government ?v . ?v rdf:type ontology:occupation . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:organization . ?l property:basic_form_of_government ?v } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Mongolia property:basic_form_of_government ?s . { { ?s rdf:type ontology:occupation } UNION { ?s rdf:type ontology:organization } } } } . FILTER ( ?t > ?r ) }
[]
organization occupation designation for an administrative territorial entity
Q541991 Q238 Q228
SYSTEM
Hummelfeld, San Marino, Andorra
Q541991 Q238 Q228
(c(Q15617994),P122,c(Q43229)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action count
action filter_multi_types
action find
entity Q711
relation P122
type Q43229
type Q12737077
[ANSWERS] have greater number of organizations or occupations as government than Mongolia
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?t ) WHERE { { ?l property:P122 ?v . ?v rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q43229 . ?l property:P122 ?v } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q711 property:P122 ?s . { { ?s rdf:type ontology:Q12737077 } UNION { ?s rdf:type ontology:Q43229 } } } } . FILTER ( ?t > ?r ) }
Hummelfeld San Marino Andorra
Hummelfeld, San Marino and Andorra have greater number of organizations or occupations as government than Mongolia
Hummelfeld San Marino Andorra
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find
entity Mongolia
relation basic form of government
type organization
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?t ) WHERE { { ?l property:basic_form_of_government ?v . ?v rdf:type ontology:occupation . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:organization . ?l property:basic_form_of_government ?v } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Mongolia property:basic_form_of_government ?s . { { ?s rdf:type ontology:occupation } UNION { ?s rdf:type ontology:organization } } } } . FILTER ( ?t > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q38
P122
Q43229 Q12737077 Q15617994
USER
And how about Italy?
(c(Q15617994),P122,c(Q43229)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action count
action filter_multi_types
action find
entity Q38
relation P122
type Q43229
type Q12737077
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?w ) { ( ontology:Q12737077 ) ( ontology:Q43229 ) } . ?i rdf:type ?w } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { { ?z rdf:type ontology:Q43229 } UNION { ?z rdf:type ontology:Q12737077 } } . resource:Q38 property:P122 ?z } } . FILTER ( ?p > ?t ) }
Italy
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find
entity Italy
relation basic form of government
type organization
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?w ) { ( ontology:occupation ) ( ontology:organization ) } . ?i rdf:type ?w } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { { ?z rdf:type ontology:organization } UNION { ?z rdf:type ontology:occupation } } . resource:Italy property:basic_form_of_government ?z } } . FILTER ( ?p > ?t ) }
[]
organization occupation designation for an administrative territorial entity
Q541991 Q238 Q228
SYSTEM
Hummelfeld, San Marino, Andorra
Q541991 Q238 Q228
(c(Q15617994),P122,c(Q43229)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action count
action filter_multi_types
action find
entity Q38
relation P122
type Q43229
type Q12737077
[ANSWERS]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?w ) { ( ontology:Q12737077 ) ( ontology:Q43229 ) } . ?i rdf:type ?w } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { { ?z rdf:type ontology:Q43229 } UNION { ?z rdf:type ontology:Q12737077 } } . resource:Q38 property:P122 ?z } } . FILTER ( ?p > ?t ) }
Hummelfeld San Marino Andorra
Hummelfeld San Marino Andorra
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find
entity Italy
relation basic form of government
type organization
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?w ) { ( ontology:occupation ) ( ontology:organization ) } . ?i rdf:type ?w } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { { ?z rdf:type ontology:organization } UNION { ?z rdf:type ontology:occupation } } . resource:Italy property:basic_form_of_government ?z } } . FILTER ( ?p > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q739
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with more number of administrative territories than Colombia ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q739
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?r } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q739 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?u ) }
Colombia
action count
action greater
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 Colombia
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 ?k ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?r } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Colombia property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
43
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q34 Q38 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q739
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?r } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q739 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?u ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Sweden Italy North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
43
action count
action greater
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 Colombia
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 ?k ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?r } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Colombia property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q347
P530
Q15617994 Q15617994
USER
And also tell me about Liechtenstein?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q347
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?l ) WHERE { ?m property:P530 ?s . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q347 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?t ) }
Liechtenstein
action count
action greater
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 Liechtenstein
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 ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?l ) WHERE { ?m property:diplomatic_relation ?s . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Liechtenstein property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
17
Q801 Q805 Q668 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q30 Q38 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q347
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?l ) WHERE { ?m property:P530 ?s . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q347 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?t ) }
Israel Yemen India France United Kingdom People's Republic of China Serbia Russia Turkey Brazil United States of America Italy Japan Egypt Libya Cape Verde Zambia
17
action count
action greater
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 Liechtenstein
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 ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?l ) WHERE { ?m property:diplomatic_relation ?s . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Liechtenstein property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P706
Q151885
USER
Which concepts have their location as France ?
(c(Q151885),P706,Q142)
action filter_type
action find_reverse
entity Q142
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P706 resource:Q142 . ?s rdf:type ontology:Q151885 }
France
action filter_type
action find_reverse
entity France
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'France']
SELECT DISTINCT ?s WHERE { ?s property:located_on_terrain_feature resource:France . ?s rdf:type ontology:concept }
[]
concept
Q1808482 Q2379716
SYSTEM
Tardenoisian, Sögel-Wohlde culture
Q1808482 Q2379716
(c(Q151885),P706,Q142)
action filter_type
action find_reverse
entity Q142
relation P706
type Q151885
[ANSWERS] have their location as France
[{'concept': 'Q151885'}, 'P706', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P706 resource:Q142 . ?s rdf:type ontology:Q151885 }
Tardenoisian Sögel-Wohlde culture
Tardenoisian and Sögel-Wohlde culture have their location as France
Tardenoisian Sögel-Wohlde culture
action filter_type
action find_reverse
entity France
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'France']
SELECT DISTINCT ?s WHERE { ?s property:located_on_terrain_feature resource:France . ?s rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P921
Q15416
USER
Which television program has that administrative territory as its main topic ?
(c(Q15416),P921,Q1808482) (c(Q15416),P921,Q2379716)
action filter_type
action find_reverse
entity Q142
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q1808482'] [{'concept': 'Q15416'}, 'P921', 'Q2379716']
SELECT DISTINCT ?q WHERE { ?q property:P921 resource:Q142 . ?q rdf:type ontology:Q15416 }
France
action filter_type
action find_reverse
entity France
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'Tardenoisian'] [{'concept': 'television program'}, 'main subject', 'Sögel-Wohlde culture']
SELECT DISTINCT ?q WHERE { ?q property:main_subject resource:France . ?q rdf:type ontology:television_program }
[]
television program
Q3194552
SYSTEM
Contes et Légendes de France
Q3194552
(c(Q15416),P921,Q1808482) (c(Q15416),P921,Q2379716)
action filter_type
action find_reverse
entity Q142
relation P921
type Q15416
[ANSWER] has that administrative territory as its main topic
[{'concept': 'Q15416'}, 'P921', 'Q1808482'] [{'concept': 'Q15416'}, 'P921', 'Q2379716']
SELECT DISTINCT ?q WHERE { ?q property:P921 resource:Q142 . ?q rdf:type ontology:Q15416 }
Contes et Légendes de France
Contes et Légendes de France has that administrative territory as its main topic
Contes et Légendes de France
action filter_type
action find_reverse
entity France
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'Tardenoisian'] [{'concept': 'television program'}, 'main subject', 'Sögel-Wohlde culture']
SELECT DISTINCT ?q WHERE { ?q property:main_subject resource:France . ?q rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1808482
P61
Q502895
USER
Who was the inventor or discoverer of Tardenoisian ?
(Q1808482,P61,c(Q502895))
action filter_type
action find
entity Q1808482
relation P61
type Q502895
['Q1808482', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1808482 property:P61 ?c . ?c rdf:type ontology:Q502895 }
Tardenoisian
action filter_type
action find
entity Tardenoisian
relation discoverer or inventor
type common name
['Tardenoisian', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Tardenoisian property:discoverer_or_inventor ?c . ?c rdf:type ontology:common_name }
[]
common name
Q740782
SYSTEM
Louis Laurent Gabriel de Mortillet
Q740782
(Q1808482,P61,c(Q502895))
action filter_type
action find
entity Q1808482
relation P61
type Q502895
The inventor or discoverer of Tardenoisian was the [ANSWER]
['Q1808482', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1808482 property:P61 ?c . ?c rdf:type ontology:Q502895 }
Louis Laurent Gabriel de Mortillet
The inventor or discoverer of Tardenoisian was the Louis Laurent Gabriel de Mortillet
Louis Laurent Gabriel de Mortillet
action filter_type
action find
entity Tardenoisian
relation discoverer or inventor
type common name
['Tardenoisian', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Tardenoisian property:discoverer_or_inventor ?c . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q837
P495
Q15617994 Q838948 Q2031291
USER
How many administrative territories are the origins of lesser number of works of art or releases than Nepal ?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q837
relation P495
type Q838948
type Q2031291
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q2031291 . ?h property:P495 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P495 resource:Q837 . { { ?m rdf:type ontology:Q838948 } UNION { ?m rdf:type ontology:Q2031291 } } } } . FILTER ( ?c < ?o ) }
Nepal
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Nepal
relation country of origin
type work of art
type release
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:release . ?h property:country_of_origin ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:country_of_origin resource:Nepal . { { ?m rdf:type ontology:work_of_art } UNION { ?m rdf:type ontology:release } } } } . FILTER ( ?c < ?o ) }
[]
designation for an administrative territorial entity work of art release
SYSTEM
122
Q805 Q804 Q800 Q1462 Q419 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q1460 Q399 Q398 Q657 Q792 Q790 Q4628 Q796 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q423 Q983 Q851 Q733 Q29999 Q819 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q921 Q1049 Q1025 Q1027 Q1020 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q223 Q222 Q221 Q229 Q347 Q1036 Q1037 Q974 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q837
relation P495
type Q838948
type Q2031291
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q2031291 . ?h property:P495 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P495 resource:Q837 . { { ?m rdf:type ontology:Q838948 } UNION { ?m rdf:type ontology:Q2031291 } } } } . FILTER ( ?c < ?o ) }
Yemen Panama Costa Rica Sardinia Peru Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Sicily Armenia Bahrain Chad El Salvador Haiti Faroe Islands Iraq Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Laos Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Brunei Sudan Mauritania Mauritius Malawi Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Greenland Albania Republic of Macedonia Cyprus Liechtenstein Uganda Rwanda Democratic Republic of the Congo Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
122
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Nepal
relation country of origin
type work of art
type release
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:release . ?h property:country_of_origin ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:country_of_origin resource:Nepal . { { ?m rdf:type ontology:work_of_art } UNION { ?m rdf:type ontology:release } } } } . FILTER ( ?c < ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q265
P495
Q15617994 Q838948 Q2031291
USER
And how about Uzbekistan?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q265
relation P495
type Q838948
type Q2031291
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P495 resource:Q265 . { { ?b rdf:type ontology:Q838948 } UNION { ?b rdf:type ontology:Q2031291 } } } } . FILTER ( ?q < ?d ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } } GROUP BY ?j } }
Uzbekistan
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Uzbekistan
relation country of origin
type work of art
type release
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:country_of_origin resource:Uzbekistan . { { ?b rdf:type ontology:work_of_art } UNION { ?b rdf:type ontology:release } } } } . FILTER ( ?q < ?d ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:release ) } } GROUP BY ?j } }
[]
designation for an administrative territorial entity work of art release
SYSTEM
50
Q805 Q1462 Q12536 Q783 Q36678 Q712 Q1460 Q792 Q4628 Q958 Q986 Q242 Q244 Q153136 Q924 Q983 Q29999 Q819 Q730 Q1013 Q159626 Q238 Q1045 Q1044 Q921 Q1049 Q1025 Q1020 Q223 Q347 Q1030 Q967 Q962 Q963 Q916 Q1007 Q1006 Q1005 Q971 Q970 Q239502 Q686 Q574 Q874 Q1014 Q1016 Q945 Q672 Q176 Q953
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q265
relation P495
type Q838948
type Q2031291
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P495 resource:Q265 . { { ?b rdf:type ontology:Q838948 } UNION { ?b rdf:type ontology:Q2031291 } } } } . FILTER ( ?q < ?d ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } } GROUP BY ?j } }
Yemen Sardinia Abbasid caliphate Honduras West Bank Fiji Sicily El Salvador Faroe Islands South Sudan Eritrea Belize Barbados Habsburg Empire Tanzania Equatorial Guinea Kingdom of the Netherlands Laos Suriname Lesotho Württemberg San Marino Somalia Sierra Leone Brunei Sudan Mauritania Malawi Greenland Liechtenstein Namibia Burundi Benin Botswana Angola Guinea-Bissau Guinea Gambia Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu East Timor Turkmenistan Liberia Libya Togo Tuvalu Quebec Zambia
50
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Uzbekistan
relation country of origin
type work of art
type release
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:country_of_origin resource:Uzbekistan . { { ?b rdf:type ontology:work_of_art } UNION { ?b rdf:type ontology:release } } } } . FILTER ( ?q < ?d ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:release ) } } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
How many works of art have been dubbed by approximately 21 people ?
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 21
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?f = 21 ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?f ) WHERE { ?i property:P725 ?n . ?n rdf:type ontology:Q502895 . ?i rdf:type ontology:Q838948 } GROUP BY ?i } }
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
value 21
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?f = 21 ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?f ) WHERE { ?i property:voice_actor ?n . ?n rdf:type ontology:common_name . ?i rdf:type ontology:work_of_art } GROUP BY ?i } }
[]
common name work of art
SYSTEM
3
Q7737199 Q16857406 Q1058469
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 21
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?f = 21 ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?f ) WHERE { ?i property:P725 ?n . ?n rdf:type ontology:Q502895 . ?i rdf:type ontology:Q838948 } GROUP BY ?i } }
The Good Dinosaur The Jungle Book Ghost in the Shell 2: Innocence
3
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
value 21
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?f = 21 ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?f ) WHERE { ?i property:voice_actor ?n . ?n rdf:type ontology:common_name . ?i rdf:type ontology:work_of_art } GROUP BY ?i } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q2342494 Q838948
USER
How many administrative territories are the narrative locations of around 276 collectables and works of art ?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
value 276
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?a ) WHERE { { ?s property:P840 ?v . ?s rdf:type ontology:Q2342494 . ?v rdf:type ontology:Q15617994 } UNION { ?v rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q838948 . ?s property:P840 ?v } } GROUP BY ?v } . FILTER ( ?a = 276 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
value 276
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?a ) WHERE { { ?s property:narrative_location ?v . ?s rdf:type ontology:collectable . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:work_of_art . ?s property:narrative_location ?v } } GROUP BY ?v } . FILTER ( ?a = 276 ) }
[]
designation for an administrative territorial entity collectable work of art
SYSTEM
3
Q668 Q43 Q38
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
value 276
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?a ) WHERE { { ?s property:P840 ?v . ?s rdf:type ontology:Q2342494 . ?v rdf:type ontology:Q15617994 } UNION { ?v rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q838948 . ?s property:P840 ?v } } GROUP BY ?v } . FILTER ( ?a = 276 ) }
India Turkey Italy
3
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
value 276
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?a ) WHERE { { ?s property:narrative_location ?v . ?s rdf:type ontology:collectable . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:work_of_art . ?s property:narrative_location ?v } } GROUP BY ?v } . FILTER ( ?a = 276 ) }
[]