Simple Question (Direct)
Simple Question
Q21988814
P702
Q863908
USER
What encodes Nephrocystin-3 ?
(Q21988814,P702,c(Q863908))
action filter_type
action find
entity Q21988814
relation P702
type Q863908
['Q21988814', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?a WHERE { resource:Q21988814 property:P702 ?a . ?a rdf:type ontology:Q863908 }
Nephrocystin-3
action filter_type
action find
entity Nephrocystin-3
relation encoded by
type nucleic acid sequence
['Nephrocystin-3', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?a WHERE { resource:Nephrocystin-3 property:encoded_by ?a . ?a rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18266440
SYSTEM
Nphp3
Q18266440
(Q21988814,P702,c(Q863908))
action filter_type
action find
entity Q21988814
relation P702
type Q863908
[ANSWER] encodes Nephrocystin-3
['Q21988814', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?a WHERE { resource:Q21988814 property:P702 ?a . ?a rdf:type ontology:Q863908 }
Nphp3
Nphp3 encodes Nephrocystin-3
Nphp3
action filter_type
action find
entity Nephrocystin-3
relation encoded by
type nucleic acid sequence
['Nephrocystin-3', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?a WHERE { resource:Nephrocystin-3 property:encoded_by ?a . ?a rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18266440
P684
Q863908
USER
Which nucleic acid sequence is an orthologous gene for that one ?
(Q18266440,P684,c(Q863908))
action filter_type
action find
entity Q18266440
relation P684
type Q863908
['Q18266440', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { resource:Q18266440 property:P684 ?c . ?c rdf:type ontology:Q863908 }
Nphp3
action filter_type
action find
entity Nphp3
relation ortholog
type nucleic acid sequence
['Nphp3', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { resource:Nphp3 property:ortholog ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18038560
SYSTEM
NPHP3
Q18038560
(Q18266440,P684,c(Q863908))
action filter_type
action find
entity Q18266440
relation P684
type Q863908
[ANSWER] is an orthologous gene for that one
['Q18266440', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { resource:Q18266440 property:P684 ?c . ?c rdf:type ontology:Q863908 }
NPHP3
NPHP3 is an orthologous gene for that one
NPHP3
action filter_type
action find
entity Nphp3
relation ortholog
type nucleic acid sequence
['Nphp3', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { resource:Nphp3 property:ortholog ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18038560
P703
Q16521
USER
Which taxon is that nucleic acid sequence found in ?
(Q18038560,P703,c(Q16521))
action filter_type
action find
entity Q18038560
relation P703
type Q16521
['Q18038560', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q16521 . resource:Q18038560 property:P703 ?l }
NPHP3
action filter_type
action find
entity NPHP3
relation found in taxon
type taxon
['NPHP3', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:taxon . resource:NPHP3 property:found_in_taxon ?l }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18038560,P703,c(Q16521))
action filter_type
action find
entity Q18038560
relation P703
type Q16521
That nucleic acid sequence is found in [ANSWER]
['Q18038560', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q16521 . resource:Q18038560 property:P703 ?l }
Homo sapiens
That nucleic acid sequence is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity NPHP3
relation found in taxon
type taxon
['NPHP3', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:taxon . resource:NPHP3 property:found_in_taxon ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q15978631 Q1043
P427
Q3343211
USER
Is Carl Linnaeus the taxonomic type of that taxon ?
(Q15978631,P427,Q1043)
action is_in
entity Q1043
action find
entity Q15978631
relation P427
['Q15978631', 'P427', 'Q1043']
ASK WHERE { resource:Q15978631 property:P427 resource:Q1043 }
Homo sapiens Carl Linnaeus
action is_in
entity Carl Linnaeus
action find
entity Homo sapiens
relation taxonomic type
['Homo sapiens', 'taxonomic type', 'Carl Linnaeus']
ASK WHERE { resource:Homo_sapiens property:taxonomic_type resource:Carl_Linnaeus }
[]
zoological nomenclature
SYSTEM
YES
(Q15978631,P427,Q1043)
action is_in
entity Q1043
action find
entity Q15978631
relation P427
[ANSWER]
['Q15978631', 'P427', 'Q1043']
ASK WHERE { resource:Q15978631 property:P427 resource:Q1043 }
Yes
action is_in
entity Carl Linnaeus
action find
entity Homo sapiens
relation taxonomic type
['Homo sapiens', 'taxonomic type', 'Carl Linnaeus']
ASK WHERE { resource:Homo_sapiens property:taxonomic_type resource:Carl_Linnaeus }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P180
Q16521 Q14660
USER
Which flags demonstrate min number of taxons ?
(c(Q14660),P180,c(Q16521))
action argmin
action find_tuple_counts
relation P180
type Q14660
type Q16521
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?x ) WHERE { ?o property:P180 ?f . ?o rdf:type ontology:Q14660 . ?f rdf:type ontology:Q16521 } GROUP BY ?o } } . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?e ) WHERE { ?a rdf:type ontology:Q14660 . ?r rdf:type ontology:Q16521 . ?a property:P180 ?r } GROUP BY ?a } . FILTER ( ?e = ?g ) }
action argmin
action find_tuple_counts
relation depicts
type flag
type taxon
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?x ) WHERE { ?o property:depicts ?f . ?o rdf:type ontology:flag . ?f rdf:type ontology:taxon } GROUP BY ?o } } . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?e ) WHERE { ?a rdf:type ontology:flag . ?r rdf:type ontology:taxon . ?a property:depicts ?r } GROUP BY ?a } . FILTER ( ?e = ?g ) }
[]
taxon flag
Q82194 Q81676 Q160260
SYSTEM
flag of Brazil, flag of Australia, flag of New Zealand
Q270377 Q159872 Q83392 Q1165949 Q235829 Q168935 Q128480 Q42537 Q1426561 Q1074327 Q135034 Q134521 Q484249 Q127179 Q601976 Q252995 Q207518 Q156564 Q163832 Q160260 Q169192 Q124020 Q60149 Q162999 Q48409 Q130458 Q336328 Q105643 Q392167 Q24577771 Q81952 Q104351 Q124329 Q43175 Q127296 Q912854 Q162789 Q79874 Q512175 Q328895 Q130774 Q82194 Q188477 Q41673 Q134874 Q1426630 Q2062018 Q34599 Q673117 Q82236 Q81526 Q167119 Q128347 Q4633 Q83278 Q188609 Q162033 Q1122078 Q102977 Q520966 Q131147 Q202189 Q604735 Q301628 Q637134 Q79198 Q429900 Q165641 Q80110 Q47214 Q632491 Q165230 Q1064042 Q81676 Q182514 Q1426379
(c(Q14660),P180,c(Q16521))
action argmin
action find_tuple_counts
relation P180
type Q14660
type Q16521
[ANSWERS] demonstrate min number of taxons
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?x ) WHERE { ?o property:P180 ?f . ?o rdf:type ontology:Q14660 . ?f rdf:type ontology:Q16521 } GROUP BY ?o } } . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?e ) WHERE { ?a rdf:type ontology:Q14660 . ?r rdf:type ontology:Q16521 . ?a property:P180 ?r } GROUP BY ?a } . FILTER ( ?e = ?g ) }
Flag of Tokelau Flag of Cameroon Flag of Algeria Flag of Ontario flag of Guam Flag of Malaysia flag of Israel flag of the United States of America Flag of the Northwest Territories flag of Tasmania Flag of Antigua and Barbuda Flag of Bhutan Flag of Mozambique flag of Bangladesh Flag of Nova Scotia flag of the Australian Capital Territory flag of Northern Cyprus flag of Alaska Flag of Serbia flag of New Zealand flag of Belize flag of Switzerland Flag of Denmark Flag of Cambodia flag of Albania flag of Egypt Flag of Christmas Island Flag of Tuvalu flag of Quebec flag of the People's Republic of Benin flag of Turkey Flag of Barbados Flag of Angola Flag of Japan Flag of South Korea flag of South Australia Flag of Tunisia flag of Afghanistan Flag of Manitoba Flag of the Cocos (Keeling) Islands flag of Argentina flag of Brazil flag of Samoa flag of India Flag of Bolivia Flag of Nunavut flag of Yukon Flag of Libya Flag of Indiana Flag of Azerbaijan flag of Andorra Flag of the Republic of Macedonia Flag of Pakistan Flag of Cyprus flag of the United Kingdom Flag of Palau flag of Bosnia and Herzegovina Flag of Alberta Flag of Mauritania Flag of Rhode Island Flag of the People's Republic of China Flag of Niue Flag of Sint Maarten Flag of Mississippi flag of British Columbia Flag of Vatican City Flag of Saba flag of Kyrgyzstan flag of Canada flag of the Russian Soviet Federative Socialist Republic Flag of Arizona flag of the Soviet Union flag of New South Wales flag of Australia Flag of Fiji Flag of Amsterdam
Flag of Brazil, flag of Australia and flag of New Zealand demonstrate min number of taxons
flag of Brazil flag of Australia flag of New Zealand
action argmin
action find_tuple_counts
relation depicts
type flag
type taxon
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?x ) WHERE { ?o property:depicts ?f . ?o rdf:type ontology:flag . ?f rdf:type ontology:taxon } GROUP BY ?o } } . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?e ) WHERE { ?a rdf:type ontology:flag . ?r rdf:type ontology:taxon . ?a property:depicts ?r } GROUP BY ?a } . FILTER ( ?e = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15978631 Q880325
P361
Q15617994
USER
How many administrative territories are a component of Homo sapiens or Verwaltungsgemeinschaft Mainburg ?
(c(Q15617994),P361,Q15978631) (c(Q15617994),P361,Q880325)
action count
action union
action filter_type
action find_reverse
entity Q15978631
relation P361
type Q15617994
action filter_type
action find_reverse
entity Q880325
relation P361
type Q15617994
[{'concept': 'Q15617994'}, 'P361', 'Q15978631'] [{'concept': 'Q15617994'}, 'P361', 'Q880325']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { ?z property:P361 resource:Q15978631 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P361 resource:Q880325 . ?z rdf:type ontology:Q15617994 } }
Homo sapiens Verwaltungsgemeinschaft Mainburg
action count
action union
action filter_type
action find_reverse
entity Homo sapiens
relation part of
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Verwaltungsgemeinschaft Mainburg
relation part of
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', 'Homo sapiens'] [{'concept': 'designation for an administrative territorial entity'}, 'part of', 'Verwaltungsgemeinschaft Mainburg']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { ?z property:part_of resource:Homo_sapiens . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:part_of resource:Verwaltungsgemeinschaft_Mainburg . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
4
Q256423 Q510530 Q258021 Q503689
(c(Q15617994),P361,Q15978631) (c(Q15617994),P361,Q880325)
action count
action union
action filter_type
action find_reverse
entity Q15978631
relation P361
type Q15617994
action filter_type
action find_reverse
entity Q880325
relation P361
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', 'Q15978631'] [{'concept': 'Q15617994'}, 'P361', 'Q880325']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { ?z property:P361 resource:Q15978631 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P361 resource:Q880325 . ?z rdf:type ontology:Q15617994 } }
Elsendorf Volkenschwand Aiglsbach Attenhofen
4
action count
action union
action filter_type
action find_reverse
entity Homo sapiens
relation part of
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Verwaltungsgemeinschaft Mainburg
relation part of
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', 'Homo sapiens'] [{'concept': 'designation for an administrative territorial entity'}, 'part of', 'Verwaltungsgemeinschaft Mainburg']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { ?z property:part_of resource:Homo_sapiens . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:part_of resource:Verwaltungsgemeinschaft_Mainburg . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15989253 Q11028 Q14660
USER
How many flags demonstrate around 1 parts or information ?
(c(Q14660),P180,c(Q15989253)|c(Q11028))
action count
action approx
action union
action find_tuple_counts
relation P180
type Q14660
type Q15989253
action find_tuple_counts
relation P180
type Q14660
type Q11028
value 1
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q15989253'}, {'concept': 'Q11028'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?f ) WHERE { { ?h property:P180 ?s . ?h rdf:type ontology:Q14660 . ?s rdf:type ontology:Q15989253 } UNION { ?h property:P180 ?s . ?s rdf:type ontology:Q11028 . ?h rdf:type ontology:Q14660 } } GROUP BY ?h } }
action count
action approx
action union
action find_tuple_counts
relation depicts
type flag
type part
action find_tuple_counts
relation depicts
type flag
type information
value 1
[{'concept': 'flag'}, 'depicts', [{'concept': 'part'}, {'concept': 'information'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?f ) WHERE { { ?h property:depicts ?s . ?h rdf:type ontology:flag . ?s rdf:type ontology:part } UNION { ?h property:depicts ?s . ?s rdf:type ontology:information . ?h rdf:type ontology:flag } } GROUP BY ?h } }
[]
part information flag
SYSTEM
2
Q4633 Q520966
(c(Q14660),P180,c(Q15989253)|c(Q11028))
action count
action approx
action union
action find_tuple_counts
relation P180
type Q14660
type Q15989253
action find_tuple_counts
relation P180
type Q14660
type Q11028
value 1
[ANSWER]
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q15989253'}, {'concept': 'Q11028'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?f ) WHERE { { ?h property:P180 ?s . ?h rdf:type ontology:Q14660 . ?s rdf:type ontology:Q15989253 } UNION { ?h property:P180 ?s . ?s rdf:type ontology:Q11028 . ?h rdf:type ontology:Q14660 } } GROUP BY ?h } }
Flag of Cyprus Flag of Rhode Island
2
action count
action approx
action union
action find_tuple_counts
relation depicts
type flag
type part
action find_tuple_counts
relation depicts
type flag
type information
value 1
[{'concept': 'flag'}, 'depicts', [{'concept': 'part'}, {'concept': 'information'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?f ) WHERE { { ?h property:depicts ?s . ?h rdf:type ontology:flag . ?s rdf:type ontology:part } UNION { ?h property:depicts ?s . ?s rdf:type ontology:information . ?h rdf:type ontology:flag } } GROUP BY ?h } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P941
Q14660 Q14660
USER
Which flags had atmost 1 flag as a source of inspiration ?
(c(Q14660),P941,c(Q14660))
action atmost
action find_tuple_counts
relation P941
type Q14660
type Q14660
value 1
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?t ) WHERE { ?s property:P941 ?z . ?z rdf:type ontology:Q14660 . ?s rdf:type ontology:Q14660 } GROUP BY ?s } . FILTER ( ?t <= 1 ) }
action atmost
action find_tuple_counts
relation inspired by
type flag
type flag
value 1
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?t ) WHERE { ?s property:inspired_by ?z . ?z rdf:type ontology:flag . ?s rdf:type ontology:flag } GROUP BY ?s } . FILTER ( ?t <= 1 ) }
[]
flag flag
Q429900 Q604735
SYSTEM
Flag of Saba, Flag of Sint Maarten
Q429900 Q604735
(c(Q14660),P941,c(Q14660))
action atmost
action find_tuple_counts
relation P941
type Q14660
type Q14660
value 1
[ANSWERS] had atmost 1 flag as a source of inspiration
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?t ) WHERE { ?s property:P941 ?z . ?z rdf:type ontology:Q14660 . ?s rdf:type ontology:Q14660 } GROUP BY ?s } . FILTER ( ?t <= 1 ) }
Flag of Saba Flag of Sint Maarten
Flag of Saba and Flag of Sint Maarten had atmost 1 flag as a source of inspiration
Flag of Saba Flag of Sint Maarten
action atmost
action find_tuple_counts
relation inspired by
type flag
type flag
value 1
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?t ) WHERE { ?s property:inspired_by ?z . ?z rdf:type ontology:flag . ?s rdf:type ontology:flag } GROUP BY ?s } . FILTER ( ?t <= 1 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P163
Q14660 Q13220204
USER
How many flags have greater number of administrative country subdivisions as their flagthan that flag ?
(c(Q13220204),P163,c(Q14660))
[{'concept': 'Q13220204'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q14660 }
[{'concept': 'second-level administrative country subdivision'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:flag ?y . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:flag }
[]
flag second-level administrative country subdivision
Comparative|Count over More/Less|Single entity type|Clarification
Q429900
SYSTEM
Did you mean Flag of Saba ?
(c(Q13220204),P163,c(Q14660))
[ANSWER]
[{'concept': 'Q13220204'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q14660 }
Did you mean Flag of Saba ?
Flag of Saba
[{'concept': 'second-level administrative country subdivision'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:flag ?y . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:flag }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Flag of Sint Maarten. Could you tell me the answer for that?
(c(Q13220204),P163,c(Q14660))
Q604735
[{'concept': 'Q13220204'}, 'P163', {'concept': 'Q14660'}]
[{'concept': 'second-level administrative country subdivision'}, 'flag', {'concept': 'flag'}]
[]
SYSTEM
2
Q543471 Q1426379
(c(Q13220204),P163,c(Q14660))
[ANSWER]
[{'concept': 'Q13220204'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q14660 }
Flag of the Region of Murcia Flag of Amsterdam
2
[{'concept': 'second-level administrative country subdivision'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:flag ?y . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:flag }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q82194 Q173554
P163
Q15617994
USER
How many administrative territories are associated with flag of Brazil or flag of El Salvador ?
(c(Q15617994),P163,Q82194) (c(Q15617994),P163,Q173554)
action count
action union
action filter_type
action find_reverse
entity Q82194
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q173554
relation P163
type Q15617994
[{'concept': 'Q15617994'}, 'P163', 'Q82194'] [{'concept': 'Q15617994'}, 'P163', 'Q173554']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { VALUES ( ?n ) { ( resource:Q173554 ) ( resource:Q82194 ) } . ?a property:P163 ?n }
flag of Brazil flag of El Salvador
action count
action union
action filter_type
action find_reverse
entity flag of Brazil
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity flag of El Salvador
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of El Salvador']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { VALUES ( ?n ) { ( resource:flag_of_El_Salvador ) ( resource:flag_of_Brazil ) } . ?a property:flag ?n }
[]
designation for an administrative territorial entity
SYSTEM
2
Q155 Q792
(c(Q15617994),P163,Q82194) (c(Q15617994),P163,Q173554)
action count
action union
action filter_type
action find_reverse
entity Q82194
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q173554
relation P163
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P163', 'Q82194'] [{'concept': 'Q15617994'}, 'P163', 'Q173554']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { VALUES ( ?n ) { ( resource:Q173554 ) ( resource:Q82194 ) } . ?a property:P163 ?n }
Brazil El Salvador
2
action count
action union
action filter_type
action find_reverse
entity flag of Brazil
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity flag of El Salvador
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of El Salvador']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { VALUES ( ?n ) { ( resource:flag_of_El_Salvador ) ( resource:flag_of_Brazil ) } . ?a property:flag ?n }
[]