Simple Question (Direct)
Simple Question
Q22334250
P702
Q863908
USER
Which gene encodes 3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661 ?
(Q22334250,P702,c(Q863908))
action filter_type
action find
entity Q22334250
relation P702
type Q863908
['Q22334250', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q863908 . resource:Q22334250 property:P702 ?o }
3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
action filter_type
action find
entity 3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
relation encoded by
type nucleic acid sequence
['3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:nucleic_acid_sequence . resource:3-methyl-2-oxobutanoate_hydroxymethyltransferase____lpg2661 property:encoded_by ?o }
[]
nucleic acid sequence
Q22331168
SYSTEM
3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
Q22331168
(Q22334250,P702,c(Q863908))
action filter_type
action find
entity Q22334250
relation P702
type Q863908
3-methyl-2-oxobutanoate hydroxymethyltransferase lpg2661 encodes 3-methyl-2-oxobutanoate hydroxymethyltransferase lpg2661
['Q22334250', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q863908 . resource:Q22334250 property:P702 ?o }
3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
3-methyl-2-oxobutanoate hydroxymethyltransferase lpg2661 encodes 3-methyl-2-oxobutanoate hydroxymethyltransferase lpg2661
3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
action filter_type
action find
entity 3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
relation encoded by
type nucleic acid sequence
['3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:nucleic_acid_sequence . resource:3-methyl-2-oxobutanoate_hydroxymethyltransferase____lpg2661 property:encoded_by ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22334250
P681
Q15989253
USER
Which is the part that is a component of 3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661 ?
(Q22334250,P681,c(Q15989253))
action filter_type
action find
entity Q22334250
relation P681
type Q15989253
['Q22334250', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15989253 . resource:Q22334250 property:P681 ?p }
3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
action filter_type
action find
entity 3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
relation cell component
type part
['3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:part . resource:3-methyl-2-oxobutanoate_hydroxymethyltransferase____lpg2661 property:cell_component ?p }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
(Q22334250,P681,c(Q15989253))
action filter_type
action find
entity Q22334250
relation P681
type Q15989253
[ANSWER] is the part that is a component of 3-methyl-2-oxobutanoate hydroxymethyltransferase lpg2661
['Q22334250', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15989253 . resource:Q22334250 property:P681 ?p }
cytoplasm
Cytoplasm is the part that is a component of 3-methyl-2-oxobutanoate hydroxymethyltransferase lpg2661
cytoplasm
action filter_type
action find
entity 3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
relation cell component
type part
['3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:part . resource:3-methyl-2-oxobutanoate_hydroxymethyltransferase____lpg2661 property:cell_component ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21497670
Q15989253
USER
And what about Protein FAM63A?
(Q21497670,P681,c(Q15989253))
action filter_type
action find
entity Q21497670
relation P681
type Q15989253
['Q21497670', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15989253 . resource:Q21497670 property:P681 ?s }
Protein FAM63A
action filter_type
action find
entity Protein FAM63A
relation cell component
type part
['Protein FAM63A', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:part . resource:Protein_FAM63A property:cell_component ?s }
[]
part
Q40260
SYSTEM
nucleus
Q40260
(Q21497670,P681,c(Q15989253))
action filter_type
action find
entity Q21497670
relation P681
type Q15989253
[ANSWER]
['Q21497670', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15989253 . resource:Q21497670 property:P681 ?s }
nucleus
nucleus
action filter_type
action find
entity Protein FAM63A
relation cell component
type part
['Protein FAM63A', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:part . resource:Protein_FAM63A property:cell_component ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q40260 Q21991987
P681
Q181394
USER
Is that part a cell component of Protein VPRBP ?
(Q21991987,P681,Q40260)
action is_in
entity Q40260
action find
entity Q21991987
relation P681
['Q21991987', 'P681', 'Q40260']
ASK WHERE { resource:Q21991987 property:P681 resource:Q40260 }
nucleus Protein VPRBP
action is_in
entity nucleus
action find
entity Protein VPRBP
relation cell component
['Protein VPRBP', 'cell component', 'nucleus']
ASK WHERE { resource:Protein_VPRBP property:cell_component resource:nucleus }
[]
nutrient
SYSTEM
YES
(Q21991987,P681,Q40260)
action is_in
entity Q40260
action find
entity Q21991987
relation P681
[ANSWER]
['Q21991987', 'P681', 'Q40260']
ASK WHERE { resource:Q21991987 property:P681 resource:Q40260 }
Yes
action is_in
entity nucleus
action find
entity Protein VPRBP
relation cell component
['Protein VPRBP', 'cell component', 'nucleus']
ASK WHERE { resource:Protein_VPRBP property:cell_component resource:nucleus }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22331168
P703
Q631147
USER
Which infraspecific name is 3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661 found in ?
(Q22331168,P703,c(Q631147))
action filter_type
action find
entity Q22331168
relation P703
type Q631147
['Q22331168', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?e WHERE { resource:Q22331168 property:P703 ?e . ?e rdf:type ontology:Q631147 }
3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
action filter_type
action find
entity 3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
relation found in taxon
type infraspecific name
['3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?e WHERE { resource:3-methyl-2-oxobutanoate_hydroxymethyltransferase____lpg2661 property:found_in_taxon ?e . ?e rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102919
SYSTEM
Legionella pneumophila subsp. pneumophila str. Philadelphia 1
Q21102919
(Q22331168,P703,c(Q631147))
action filter_type
action find
entity Q22331168
relation P703
type Q631147
Species [ANSWER] is 3-methyl-2-oxobutanoate hydroxymethyltransferase lpg2661 found in
['Q22331168', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?e WHERE { resource:Q22331168 property:P703 ?e . ?e rdf:type ontology:Q631147 }
Legionella pneumophila subsp. pneumophila str. Philadelphia 1
Species Legionella pneumophila subsp. pneumophila str. Philadelphia 1 is 3-methyl-2-oxobutanoate hydroxymethyltransferase lpg2661 found in
Legionella pneumophila subsp. pneumophila str. Philadelphia 1
action filter_type
action find
entity 3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661
relation found in taxon
type infraspecific name
['3-methyl-2-oxobutanoate hydroxymethyltransferase    lpg2661', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?e WHERE { resource:3-methyl-2-oxobutanoate_hydroxymethyltransferase____lpg2661 property:found_in_taxon ?e . ?e rdf:type ontology:infraspecific_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q223557 Q15989253
USER
Which physical objects are max number of parts a component of ?
(c(Q15989253),P361,Q2943879)
action argmax
action find_reverse_tuple_counts
relation P361
type Q223557
type Q15989253
[{'concept': 'Q15989253'}, 'P361', 'Q2943879']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:P361 ?g . ?q rdf:type ontology:Q15989253 . ?g rdf:type ontology:Q223557 } GROUP BY ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?t ) WHERE { ?i rdf:type ontology:Q223557 . ?x rdf:type ontology:Q15989253 . ?x property:P361 ?i } GROUP BY ?i } . FILTER ( ?t = ?f ) }
action argmax
action find_reverse_tuple_counts
relation part of
type physical object
type part
[{'concept': 'part'}, 'part of', 'Andean Volcanic Belt']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:part_of ?g . ?q rdf:type ontology:part . ?g rdf:type ontology:physical_object } GROUP BY ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?t ) WHERE { ?i rdf:type ontology:physical_object . ?x rdf:type ontology:part . ?x property:part_of ?i } GROUP BY ?i } . FILTER ( ?t = ?f ) }
[]
physical object part
Q2532754
SYSTEM
achievement
Q2532754
(c(Q15989253),P361,Q2943879)
action argmax
action find_reverse_tuple_counts
relation P361
type Q223557
type Q15989253
[ANSWER] is max number of parts a component of
[{'concept': 'Q15989253'}, 'P361', 'Q2943879']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:P361 ?g . ?q rdf:type ontology:Q15989253 . ?g rdf:type ontology:Q223557 } GROUP BY ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?t ) WHERE { ?i rdf:type ontology:Q223557 . ?x rdf:type ontology:Q15989253 . ?x property:P361 ?i } GROUP BY ?i } . FILTER ( ?t = ?f ) }
achievement
Achievement is max number of parts a component of
achievement
action argmax
action find_reverse_tuple_counts
relation part of
type physical object
type part
[{'concept': 'part'}, 'part of', 'Andean Volcanic Belt']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:part_of ?g . ?q rdf:type ontology:part . ?g rdf:type ontology:physical_object } GROUP BY ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?t ) WHERE { ?i rdf:type ontology:physical_object . ?x rdf:type ontology:part . ?x property:part_of ?i } GROUP BY ?i } . FILTER ( ?t = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q223557 Q1183543 Q15989253
USER
How many physical objects are around the same number of devices and parts a part of as that physical object ?
(c(Q1183543)|c(Q15989253),P361,c(Q223557))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q223557
type Q1183543
action find_reverse_tuple_counts
relation P361
type Q223557
type Q15989253
action count
action filter_multi_types
action find_reverse
entity Q2532754
relation P361
type Q1183543
type Q15989253
[[{'concept': 'Q1183543'}, {'concept': 'Q15989253'}], 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?p WHERE { { ?p rdf:type ontology:Q223557 . ?a rdf:type ontology:Q1183543 . ?a property:P361 ?p } UNION { ?a property:P361 ?p . ?p rdf:type ontology:Q223557 . ?a rdf:type ontology:Q15989253 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P361 resource:Q2532754 . { { ?l rdf:type ontology:Q1183543 } UNION { ?l rdf:type ontology:Q15989253 } } } } . FILTER ( ?h = ?x ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type physical object
type device
action find_reverse_tuple_counts
relation part of
type physical object
type part
action count
action filter_multi_types
action find_reverse
entity achievement
relation part of
type device
type part
[[{'concept': 'device'}, {'concept': 'part'}], 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?p WHERE { { ?p rdf:type ontology:physical_object . ?a rdf:type ontology:device . ?a property:part_of ?p } UNION { ?a property:part_of ?p . ?p rdf:type ontology:physical_object . ?a rdf:type ontology:part } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:part_of resource:achievement . { { ?l rdf:type ontology:device } UNION { ?l rdf:type ontology:part } } } } . FILTER ( ?h = ?x ) }
[]
physical object device part
SYSTEM
1
Q2532754
(c(Q1183543)|c(Q15989253),P361,c(Q223557))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q223557
type Q1183543
action find_reverse_tuple_counts
relation P361
type Q223557
type Q15989253
action count
action filter_multi_types
action find_reverse
entity Q2532754
relation P361
type Q1183543
type Q15989253
[ANSWER]
[[{'concept': 'Q1183543'}, {'concept': 'Q15989253'}], 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?p WHERE { { ?p rdf:type ontology:Q223557 . ?a rdf:type ontology:Q1183543 . ?a property:P361 ?p } UNION { ?a property:P361 ?p . ?p rdf:type ontology:Q223557 . ?a rdf:type ontology:Q15989253 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P361 resource:Q2532754 . { { ?l rdf:type ontology:Q1183543 } UNION { ?l rdf:type ontology:Q15989253 } } } } . FILTER ( ?h = ?x ) }
achievement
1
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type physical object
type device
action find_reverse_tuple_counts
relation part of
type physical object
type part
action count
action filter_multi_types
action find_reverse
entity achievement
relation part of
type device
type part
[[{'concept': 'device'}, {'concept': 'part'}], 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?p WHERE { { ?p rdf:type ontology:physical_object . ?a rdf:type ontology:device . ?a property:part_of ?p } UNION { ?a property:part_of ?p . ?p rdf:type ontology:physical_object . ?a rdf:type ontology:part } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:part_of resource:achievement . { { ?l rdf:type ontology:device } UNION { ?l rdf:type ontology:part } } } } . FILTER ( ?h = ?x ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P17
Q15617994 Q223557
USER
Which administrative territories are max number of physical objects situated in ?
(c(Q223557),P17,Q953)
action argmax
action find_tuple_counts
relation P17
type Q15617994
type Q223557
[{'concept': 'Q223557'}, 'P17', 'Q953']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?q ) { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?w ) WHERE { ?k property:P17 ?o . ?o rdf:type ontology:Q223557 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } } . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?d ) WHERE { ?z property:P17 ?r . ?z rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q223557 } GROUP BY ?z } . FILTER ( ?d = ?q ) }
action argmax
action find_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
[{'concept': 'physical object'}, 'country', 'Zambia']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?q ) { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?w ) WHERE { ?k property:country ?o . ?o rdf:type ontology:physical_object . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } } . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?d ) WHERE { ?z property:country ?r . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:physical_object } GROUP BY ?z } . FILTER ( ?d = ?q ) }
[]
designation for an administrative territorial entity physical object
Q30
SYSTEM
United States of America
Q30
(c(Q223557),P17,Q953)
action argmax
action find_tuple_counts
relation P17
type Q15617994
type Q223557
[ANSWER]
[{'concept': 'Q223557'}, 'P17', 'Q953']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?q ) { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?w ) WHERE { ?k property:P17 ?o . ?o rdf:type ontology:Q223557 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } } . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?d ) WHERE { ?z property:P17 ?r . ?z rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q223557 } GROUP BY ?z } . FILTER ( ?d = ?q ) }
United States of America
United States of America
action argmax
action find_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
[{'concept': 'physical object'}, 'country', 'Zambia']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?q ) { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?w ) WHERE { ?k property:country ?o . ?o rdf:type ontology:physical_object . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } } . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?d ) WHERE { ?z property:country ?r . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:physical_object } GROUP BY ?z } . FILTER ( ?d = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the origins of less number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q30
relation P495
type Q2031291
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:Q2031291 . ?z rdf:type ontology:Q15617994 . ?c property:P495 ?z } GROUP BY ?z } . FILTER ( ?w < ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P495 resource:Q30 . ?g rdf:type ontology:Q2031291 } } }
action count
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity United States of America
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:release . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:country_of_origin ?z } GROUP BY ?z } . FILTER ( ?w < ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:country_of_origin resource:United_States_of_America . ?g rdf:type ontology:release } } }
[]
designation for an administrative territorial entity release
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q30
relation P495
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:Q2031291 . ?z rdf:type ontology:Q15617994 . ?c property:P495 ?z } GROUP BY ?z } . FILTER ( ?w < ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P495 resource:Q30 . ?g rdf:type ontology:Q2031291 } } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity United States of America
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:release . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:country_of_origin ?z } GROUP BY ?z } . FILTER ( ?w < ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:country_of_origin resource:United_States_of_America . ?g rdf:type ontology:release } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q38423
P1056
Q223557 Q43229 Q1269299
USER
How many physical objects are made by around the same number of organizations or business organizations as diesel fuel ?
(c(Q43229)|c(Q1269299),P1056,c(Q223557))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q43229
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q38423
relation P1056
type Q43229
type Q1269299
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P1056', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:Q43229 ) ( ontology:Q1269299 ) } . ?u rdf:type ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:P1056 resource:Q38423 . { { ?j rdf:type ontology:Q1269299 } UNION { ?j rdf:type ontology:Q43229 } } } } . FILTER ( ?v = ?f ) }
diesel fuel
action count
action approx
action union
action find_reverse_tuple_counts
relation product
type physical object
type organization
action find_reverse_tuple_counts
relation product
type physical object
type type of business entity
action count
action filter_multi_types
action find_reverse
entity diesel fuel
relation product
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'product', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:organization ) ( ontology:type_of_business_entity ) } . ?u rdf:type ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:product resource:diesel_fuel . { { ?j rdf:type ontology:type_of_business_entity } UNION { ?j rdf:type ontology:organization } } } } . FILTER ( ?v = ?f ) }
[]
physical object organization type of business entity
SYSTEM
8
Q38423 Q40858 Q79746 Q28823 Q14745 Q838948 Q39546 Q161439
(c(Q43229)|c(Q1269299),P1056,c(Q223557))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q43229
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q38423
relation P1056
type Q43229
type Q1269299
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P1056', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:Q43229 ) ( ontology:Q1269299 ) } . ?u rdf:type ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:P1056 resource:Q38423 . { { ?j rdf:type ontology:Q1269299 } UNION { ?j rdf:type ontology:Q43229 } } } } . FILTER ( ?v = ?f ) }
diesel fuel natural gas candle textile furniture work of art tool jewellery
8
action count
action approx
action union
action find_reverse_tuple_counts
relation product
type physical object
type organization
action find_reverse_tuple_counts
relation product
type physical object
type type of business entity
action count
action filter_multi_types
action find_reverse
entity diesel fuel
relation product
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'product', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:organization ) ( ontology:type_of_business_entity ) } . ?u rdf:type ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:product resource:diesel_fuel . { { ?j rdf:type ontology:type_of_business_entity } UNION { ?j rdf:type ontology:organization } } } } . FILTER ( ?v = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q838948
P1056
Q223557 Q43229 Q1269299
USER
And how about work of art?
(c(Q43229)|c(Q1269299),P1056,c(Q223557))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q43229
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q838948
relation P1056
type Q43229
type Q1269299
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P1056', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?o ) WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q43229 ) ( ontology:Q1269299 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P1056 resource:Q838948 . { { ?m rdf:type ontology:Q43229 } UNION { ?m rdf:type ontology:Q1269299 } } } } . FILTER ( ?o = ?a ) }
work of art
action count
action approx
action union
action find_reverse_tuple_counts
relation product
type physical object
type organization
action find_reverse_tuple_counts
relation product
type physical object
type type of business entity
action count
action filter_multi_types
action find_reverse
entity work of art
relation product
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'product', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?o ) WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:organization ) ( ontology:type_of_business_entity ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:product resource:work_of_art . { { ?m rdf:type ontology:organization } UNION { ?m rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?o = ?a ) }
[]
physical object organization type of business entity
SYSTEM
8
Q38423 Q40858 Q79746 Q28823 Q14745 Q838948 Q39546 Q161439
(c(Q43229)|c(Q1269299),P1056,c(Q223557))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q43229
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q838948
relation P1056
type Q43229
type Q1269299
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P1056', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?o ) WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q43229 ) ( ontology:Q1269299 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P1056 resource:Q838948 . { { ?m rdf:type ontology:Q43229 } UNION { ?m rdf:type ontology:Q1269299 } } } } . FILTER ( ?o = ?a ) }
diesel fuel natural gas candle textile furniture work of art tool jewellery
8
action count
action approx
action union
action find_reverse_tuple_counts
relation product
type physical object
type organization
action find_reverse_tuple_counts
relation product
type physical object
type type of business entity
action count
action filter_multi_types
action find_reverse
entity work of art
relation product
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'product', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?o ) WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:organization ) ( ontology:type_of_business_entity ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:product resource:work_of_art . { { ?m rdf:type ontology:organization } UNION { ?m rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?o = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q917
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with more number of administrative territories than Bhutan ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?m > ?p ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q917 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } }
Bhutan
action count
action greater
action find_reverse_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 Bhutan
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 ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?m > ?p ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Bhutan property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?m > ?p ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q917 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
action find_reverse_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 Bhutan
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 ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?m > ?p ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Bhutan property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q695
P530
Q15617994 Q15617994
USER
And what about Palau?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q695
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q695 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?j > ?e ) }
Palau
action count
action greater
action find_reverse_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 Palau
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 ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Palau property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j > ?e ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
141
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q695
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q695 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?j > ?e ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
141
action count
action greater
action find_reverse_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 Palau
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 ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Palau property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j > ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q16645
P30
Q2221906
USER
How many geographic locations are United States of America and United States Minor Outlying Islands a part of ?
(Q30,P30,c(Q2221906)) (Q16645,P30,c(Q2221906))
action count
action intersection
action filter_type
action find
entity Q30
relation P30
type Q2221906
action filter_type
action find
entity Q16645
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}] ['Q16645', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ontology:Q2221906 . resource:Q30 property:P30 ?a . ?a rdf:type ontology:Q2221906 . resource:Q16645 property:P30 ?a }
United States of America United States Minor Outlying Islands
action count
action intersection
action filter_type
action find
entity United States of America
relation continent
type geographic location
action filter_type
action find
entity United States Minor Outlying Islands
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}] ['United States Minor Outlying Islands', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ontology:geographic_location . resource:United_States_of_America property:continent ?a . ?a rdf:type ontology:geographic_location . resource:United_States_Minor_Outlying_Islands property:continent ?a }
[]
geographic location
SYSTEM
2
Q538 Q49
(Q30,P30,c(Q2221906)) (Q16645,P30,c(Q2221906))
action count
action intersection
action filter_type
action find
entity Q30
relation P30
type Q2221906
action filter_type
action find
entity Q16645
relation P30
type Q2221906
[ANSWER]
['Q30', 'P30', {'concept': 'Q2221906'}] ['Q16645', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ontology:Q2221906 . resource:Q30 property:P30 ?a . ?a rdf:type ontology:Q2221906 . resource:Q16645 property:P30 ?a }
Oceania North America
2
action count
action intersection
action filter_type
action find
entity United States of America
relation continent
type geographic location
action filter_type
action find
entity United States Minor Outlying Islands
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}] ['United States Minor Outlying Islands', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ontology:geographic_location . resource:United_States_of_America property:continent ?a . ?a rdf:type ontology:geographic_location . resource:United_States_Minor_Outlying_Islands property:continent ?a }
[]