Simple Question (Direct)
Simple Question
Q281566
P1412
Q34770
USER
Which language can Samuel J. Tilden read ?
(Q281566,P1412,c(Q34770))
action filter_type
action find
entity Q281566
relation P1412
type Q34770
['Q281566', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q281566 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Samuel J. Tilden
action filter_type
action find
entity Samuel J. Tilden
relation languages spoken, written or signed
type language
['Samuel J. Tilden', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Samuel_J._Tilden property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q281566,P1412,c(Q34770))
action filter_type
action find
entity Q281566
relation P1412
type Q34770
Samuel J. Tilden can read in [ANSWER]
['Q281566', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q281566 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
Samuel J. Tilden can read in English
English
action filter_type
action find
entity Samuel J. Tilden
relation languages spoken, written or signed
type language
['Samuel J. Tilden', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Samuel_J._Tilden property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q281566
P102
Q7210356
USER
Which party does that person belong to ?
(Q1860,P102,c(Q7210356))
action filter_type
action find
entity Q281566
relation P102
type Q7210356
['Q1860', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q281566 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Samuel J. Tilden
action filter_type
action find
entity Samuel J. Tilden
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Samuel_J._Tilden property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q1860,P102,c(Q7210356))
action filter_type
action find
entity Q281566
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q1860', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q281566 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Democratic Party
That person belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Samuel J. Tilden
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Samuel_J._Tilden property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
Which languages have writing system as max number of notations or writing systems ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?l WHERE { VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?t rdf:type ?v } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?w WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } GROUP BY ?w } . FILTER ( ?k = ?x ) }
action argmax
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?l WHERE { VALUES ( ?v ) { ( ontology:notation ) ( ontology:writing_system ) } . ?t rdf:type ?v } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?w WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:notation ) ( ontology:writing_system ) } } GROUP BY ?w } . FILTER ( ?k = ?x ) }
[]
notation writing system language
Q182695
SYSTEM
Late Old Japanese
Q182695
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
[ANSWER] have writing system as max number of notations or writing systems
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?l WHERE { VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?t rdf:type ?v } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?w WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } GROUP BY ?w } . FILTER ( ?k = ?x ) }
Late Old Japanese
Late Old Japanese have writing system as max number of notations or writing systems
Late Old Japanese
action argmax
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?l WHERE { VALUES ( ?v ) { ( ontology:notation ) ( ontology:writing_system ) } . ?t rdf:type ?v } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?w WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:notation ) ( ontology:writing_system ) } } GROUP BY ?w } . FILTER ( ?k = ?x ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q182695
P364
Q234460
USER
Which text has that one as its original language of creation ?
(c(Q234460),P364,Q182695)
action filter_type
action find_reverse
entity Q182695
relation P364
type Q234460
[{'concept': 'Q234460'}, 'P364', 'Q182695']
SELECT DISTINCT ?f WHERE { ?f property:P364 resource:Q182695 . ?f rdf:type ontology:Q234460 }
Late Old Japanese
action filter_type
action find_reverse
entity Late Old Japanese
relation original language of work
type text
[{'concept': 'text'}, 'original language of work', 'Late Old Japanese']
SELECT DISTINCT ?f WHERE { ?f property:original_language_of_work resource:Late_Old_Japanese . ?f rdf:type ontology:text }
[]
text
Q8269
SYSTEM
The Tale of Genji
Q8269
(c(Q234460),P364,Q182695)
action filter_type
action find_reverse
entity Q182695
relation P364
type Q234460
[ANSWER] has that one as its original language of creation
[{'concept': 'Q234460'}, 'P364', 'Q182695']
SELECT DISTINCT ?f WHERE { ?f property:P364 resource:Q182695 . ?f rdf:type ontology:Q234460 }
The Tale of Genji
The Tale of Genji has that one as its original language of creation
The Tale of Genji
action filter_type
action find_reverse
entity Late Old Japanese
relation original language of work
type text
[{'concept': 'text'}, 'original language of work', 'Late Old Japanese']
SELECT DISTINCT ?f WHERE { ?f property:original_language_of_work resource:Late_Old_Japanese . ?f rdf:type ontology:text }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8269
P655
Q502895
USER
Which person translated that text ?
(Q8269,P655,c(Q502895))
action filter_type
action find
entity Q8269
relation P655
type Q502895
['Q8269', 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q8269 property:P655 ?r }
The Tale of Genji
action filter_type
action find
entity The Tale of Genji
relation translator
type common name
['The Tale of Genji', 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:The_Tale_of_Genji property:translator ?r }
[]
common name
Q1058300
SYSTEM
Suematsu Kenchō
Q1058300
(Q8269,P655,c(Q502895))
action filter_type
action find
entity Q8269
relation P655
type Q502895
[ANSWER] translated that text
['Q8269', 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q8269 property:P655 ?r }
Suematsu Kenchō
Suematsu Kenchō translated that text
Suematsu Kenchō
action filter_type
action find
entity The Tale of Genji
relation translator
type common name
['The Tale of Genji', 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:The_Tale_of_Genji property:translator ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q670705 Q281566
P27
Q15617994
USER
Which administrative territories are Samuel J. Tilden or Fritz Künzli an inhabitant of ?
OR((Q281566,P27,c(Q15617994)), (Q670705,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q281566
relation P27
action find
entity Q670705
relation P27
type Q15617994
{'OR': [['Q281566', 'P27', {'concept': 'Q15617994'}], ['Q670705', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q281566 property:P27 ?v } UNION { resource:Q670705 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Fritz Künzli Samuel J. Tilden
action filter_type
action union
action find
entity Samuel J. Tilden
relation country of citizenship
action find
entity Fritz Künzli
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Samuel J. Tilden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Fritz Künzli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Samuel_J._Tilden property:country_of_citizenship ?v } UNION { resource:Fritz_Künzli property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q30
SYSTEM
Switzerland, United States of America
Q39 Q30
OR((Q281566,P27,c(Q15617994)), (Q670705,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q281566
relation P27
action find
entity Q670705
relation P27
type Q15617994
[ANSWERS] are Samuel J. Tilden or Fritz Künzli an inhabitant of
{'OR': [['Q281566', 'P27', {'concept': 'Q15617994'}], ['Q670705', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q281566 property:P27 ?v } UNION { resource:Q670705 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Switzerland United States of America
Switzerland and United States of America are Samuel J. Tilden or Fritz Künzli an inhabitant of
Switzerland United States of America
action filter_type
action union
action find
entity Samuel J. Tilden
relation country of citizenship
action find
entity Fritz Künzli
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Samuel J. Tilden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Fritz Künzli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Samuel_J._Tilden property:country_of_citizenship ?v } UNION { resource:Fritz_Künzli property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q30
P463
Q484652
USER
What international organizations had that administrative territory as their member ?
(Q30,P463,c(Q484652))
action filter_type
action find
entity Q30
relation P463
type Q484652
['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P463 ?n . ?n rdf:type ontology:Q484652 }
United States of America
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:member_of ?n . ?n rdf:type ontology:international_organization }
[]
international organization
Clarification for simple ques.
Q30
SYSTEM
Did you mean United States of America ?
Q39 Q30
(Q39,P463,c(Q484652)) (Q30,P463,c(Q484652))
[ANSWER]
['Q39', 'P463', {'concept': 'Q484652'}] ['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P463 ?n . ?n rdf:type ontology:Q484652 }
Switzerland United States of America
Did you mean United States of America ?
United States of America
['Switzerland', 'member of', {'concept': 'international organization'}] ['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:member_of ?n . ?n rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q30,P463,c(Q484652))
['Q30', 'P463', {'concept': 'Q484652'}]
['United States of America', 'member of', {'concept': 'international organization'}]
[]
Q1065 Q81299 Q19771
SYSTEM
United Nations, Organization for Security and Co-operation in Europe, G20
Q81299 Q19771 Q1065 Q188822 Q37143 Q674182 Q842490 Q7184 Q1043527
(Q30,P463,c(Q484652))
action filter_type
action find
entity Q30
relation P463
type Q484652
[ANSWERS] had that administrative territory as their member
['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P463 ?n . ?n rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe G20 United Nations Asian Development Bank G8 Arctic Council Organisation for the Prohibition of Chemical Weapons North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
United Nations, Organization for Security and Co-operation in Europe and G20 had that administrative territory as their member
United Nations Organization for Security and Co-operation in Europe G20
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:member_of ?n . ?n rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with exactly 4 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 4
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?w ) WHERE { ?f property:P530 ?t . ?f rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?w = 4 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?w ) WHERE { ?f property:diplomatic_relation ?t . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?w = 4 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
9
Q889 Q884 Q881 Q32 Q34 Q423 Q843 Q227 Q1033
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 4
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?w ) WHERE { ?f property:P530 ?t . ?f rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?w = 4 ) }
Afghanistan South Korea Vietnam Luxembourg Sweden North Korea Pakistan Azerbaijan Nigeria
9
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?w ) WHERE { ?f property:diplomatic_relation ?t . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?w = 4 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
Which languages adopt atmost 2 writing systems and notations as the writing system ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?j WHERE { VALUES ( ?w ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?e rdf:type ?w } GROUP BY ?j } . FILTER ( ?f <= 2 ) }
action atmost
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?j WHERE { VALUES ( ?w ) { ( ontology:notation ) ( ontology:writing_system ) } . ?e rdf:type ?w } GROUP BY ?j } . FILTER ( ?f <= 2 ) }
[]
writing system notation language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 2
[ANSWERS] adopt atmost 2 writing systems and notations as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?j WHERE { VALUES ( ?w ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?e rdf:type ?w } GROUP BY ?j } . FILTER ( ?f <= 2 ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
Avestan, English and Old Egyptian adopt atmost 2 writing systems and notations as the writing system
Avestan English Old Egyptian
action atmost
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?j WHERE { VALUES ( ?w ) { ( ontology:notation ) ( ontology:writing_system ) } . ?e rdf:type ?w } GROUP BY ?j } . FILTER ( ?f <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P163
Q14660
USER
What is the name of flag associated with United States of America ?
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P163 ?m . ?m rdf:type ontology:Q14660 }
United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:flag ?m . ?m rdf:type ontology:flag }
[]
flag
Q42537
SYSTEM
flag of the United States of America
Q42537
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
The name of flag associated with United States of America is the [ANSWER]
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P163 ?m . ?m rdf:type ontology:Q14660 }
flag of the United States of America
The name of flag associated with United States of America is the flag of the United States of America
flag of the United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:flag ?m . ?m rdf:type ontology:flag }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P180
Q340169 Q11060274
USER
How many medias or prints express that flag ?
(c(Q340169),P180,Q42537) (c(Q11060274),P180,Q42537) (c(Q340169),P180,Q42537) (c(Q11060274),P180,Q42537)
action count
action union
action filter_type
action find_reverse
entity Q42537
relation P180
type Q340169
action filter_type
action find_reverse
entity Q42537
relation P180
type Q11060274
[{'concept': 'Q340169'}, 'P180', 'Q42537'] [{'concept': 'Q11060274'}, 'P180', 'Q42537'] [{'concept': 'Q340169'}, 'P180', 'Q42537'] [{'concept': 'Q11060274'}, 'P180', 'Q42537']
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } }
action count
action union
action filter_type
action find_reverse
entity flag of the United States of America
relation depicts
type media
action filter_type
action find_reverse
entity flag of the United States of America
relation depicts
type print
[{'concept': 'media'}, 'depicts', 'flag of the United States of America'] [{'concept': 'print'}, 'depicts', 'flag of the United States of America'] [{'concept': 'media'}, 'depicts', 'flag of the United States of America'] [{'concept': 'print'}, 'depicts', 'flag of the United States of America']
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:media ) ( ontology:print ) } }
[]
media print
SYSTEM
2
Q20536710 Q20668033
(c(Q340169),P180,Q42537) (c(Q11060274),P180,Q42537) (c(Q340169),P180,Q42537) (c(Q11060274),P180,Q42537)
action count
action union
action filter_type
action find_reverse
entity Q42537
relation P180
type Q340169
action filter_type
action find_reverse
entity Q42537
relation P180
type Q11060274
[ANSWER]
[{'concept': 'Q340169'}, 'P180', 'Q42537'] [{'concept': 'Q11060274'}, 'P180', 'Q42537'] [{'concept': 'Q340169'}, 'P180', 'Q42537'] [{'concept': 'Q11060274'}, 'P180', 'Q42537']
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } }
Flags The Last Flag Raising Ceremony: Cession of New Orleans (1803)
2
action count
action union
action filter_type
action find_reverse
entity flag of the United States of America
relation depicts
type media
action filter_type
action find_reverse
entity flag of the United States of America
relation depicts
type print
[{'concept': 'media'}, 'depicts', 'flag of the United States of America'] [{'concept': 'print'}, 'depicts', 'flag of the United States of America'] [{'concept': 'media'}, 'depicts', 'flag of the United States of America'] [{'concept': 'print'}, 'depicts', 'flag of the United States of America']
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:media ) ( ontology:print ) } }
[]