Simple Question (Direct)
Simple Question
Q1434311
P27
Q15617994
USER
Which administrative territory is the native country of Stephen Brundidge, Jr. ?
(Q1434311,P27,c(Q15617994))
action filter_type
action find
entity Q1434311
relation P27
type Q15617994
['Q1434311', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1434311 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Stephen Brundidge, Jr.
action filter_type
action find
entity Stephen Brundidge, Jr.
relation country of citizenship
type designation for an administrative territorial entity
['Stephen Brundidge, Jr.', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Stephen_Brundidge,_Jr. property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1434311,P27,c(Q15617994))
action filter_type
action find
entity Q1434311
relation P27
type Q15617994
[ANSWER] is the native country of Stephen Brundidge, Jr.
['Q1434311', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1434311 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
United States of America is the native country of Stephen Brundidge, Jr.
United States of America
action filter_type
action find
entity Stephen Brundidge, Jr.
relation country of citizenship
type designation for an administrative territorial entity
['Stephen Brundidge, Jr.', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Stephen_Brundidge,_Jr. property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P38
Q8142
USER
What is considered to be the currency of that administrative territory ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?u WHERE { resource:Q30 property:P38 ?u . ?u rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:currency ?u . ?u rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
[ANSWER] is considered to be the currency of that administrative territory
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?u WHERE { resource:Q30 property:P38 ?u . ?u rdf:type ontology:Q8142 }
United States dollar
United States dollar is considered to be the currency of that administrative territory
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:currency ?u . ?u rdf:type ontology:currency }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P123
Q166142
USER
Which applications were published by United States of America ?
(c(Q166142),P123,Q30)
action filter_type
action find_reverse
entity Q30
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P123 resource:Q30 . ?l rdf:type ontology:Q166142 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:publisher resource:United_States_of_America . ?l rdf:type ontology:application }
[]
application
Q862542 Q3048269
SYSTEM
Star Wars: Republic Commando, The Lost Crown: A Ghost-Hunting Adventure
Q862542 Q3048269
(c(Q166142),P123,Q30)
action filter_type
action find_reverse
entity Q30
relation P123
type Q166142
United [ANSWERS] were published by United States of America
[{'concept': 'Q166142'}, 'P123', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P123 resource:Q30 . ?l rdf:type ontology:Q166142 }
Star Wars: Republic Commando The Lost Crown: A Ghost-Hunting Adventure
United Star Wars: Republic Commando and The Lost Crown: A Ghost-Hunting Adventure were published by United States of America
Star Wars: Republic Commando The Lost Crown: A Ghost-Hunting Adventure
action filter_type
action find_reverse
entity United States of America
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:publisher resource:United_States_of_America . ?l rdf:type ontology:application }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P1071
Q11460
USER
Which clothing has that administrative territory as its final place of assembly ?
(c(Q11460),P1071,Q862542) (c(Q11460),P1071,Q3048269)
action filter_type
action find_reverse
entity Q30
relation P1071
type Q11460
[{'concept': 'Q11460'}, 'P1071', 'Q862542'] [{'concept': 'Q11460'}, 'P1071', 'Q3048269']
SELECT DISTINCT ?k WHERE { ?k property:P1071 resource:Q30 . ?k rdf:type ontology:Q11460 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type clothing
[{'concept': 'clothing'}, 'location of final assembly', 'Star Wars: Republic Commando'] [{'concept': 'clothing'}, 'location of final assembly', 'The Lost Crown: A Ghost-Hunting Adventure']
SELECT DISTINCT ?k WHERE { ?k property:location_of_final_assembly resource:United_States_of_America . ?k rdf:type ontology:clothing }
[]
clothing
Q18600774
SYSTEM
Aida
Q18600774
(c(Q11460),P1071,Q862542) (c(Q11460),P1071,Q3048269)
action filter_type
action find_reverse
entity Q30
relation P1071
type Q11460
[ANSWER] has that administrative territory as its final place of assembly
[{'concept': 'Q11460'}, 'P1071', 'Q862542'] [{'concept': 'Q11460'}, 'P1071', 'Q3048269']
SELECT DISTINCT ?k WHERE { ?k property:P1071 resource:Q30 . ?k rdf:type ontology:Q11460 }
Aida
Aida has that administrative territory as its final place of assembly
Aida
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type clothing
[{'concept': 'clothing'}, 'location of final assembly', 'Star Wars: Republic Commando'] [{'concept': 'clothing'}, 'location of final assembly', 'The Lost Crown: A Ghost-Hunting Adventure']
SELECT DISTINCT ?k WHERE { ?k property:location_of_final_assembly resource:United_States_of_America . ?k rdf:type ontology:clothing }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P163
Q14660
USER
Which flag is 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 ?q WHERE { ?q rdf:type ontology:Q14660 . resource:Q30 property:P163 ?q }
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 ?q WHERE { ?q rdf:type ontology:flag . resource:United_States_of_America property:flag ?q }
[]
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 [ANSWER] is associated with United States of America
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q14660 . resource:Q30 property:P163 ?q }
flag of the United States of America
The flag of the United States of America is associated with 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 ?q WHERE { ?q rdf:type ontology:flag . resource:United_States_of_America property:flag ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q42537 Q20668033
P180
Q340169
USER
Does The Last Flag Raising Ceremony: Cession of New Orleans (1803) expresses that flag ?
(Q20668033,P180,Q42537)
action is_in
entity Q42537
action find
entity Q20668033
relation P180
['Q20668033', 'P180', 'Q42537']
ASK WHERE { resource:Q20668033 property:P180 resource:Q42537 }
flag of the United States of America The Last Flag Raising Ceremony: Cession of New Orleans (1803)
action is_in
entity flag of the United States of America
action find
entity The Last Flag Raising Ceremony: Cession of New Orleans (1803)
relation depicts
['The Last Flag Raising Ceremony: Cession of New Orleans (1803)', 'depicts', 'flag of the United States of America']
ASK WHERE { resource:The_Last_Flag_Raising_Ceremony:_Cession_of_New_Orleans_(1803) property:depicts resource:flag_of_the_United_States_of_America }
[]
media
SYSTEM
YES
(Q20668033,P180,Q42537)
action is_in
entity Q42537
action find
entity Q20668033
relation P180
[ANSWER]
['Q20668033', 'P180', 'Q42537']
ASK WHERE { resource:Q20668033 property:P180 resource:Q42537 }
Yes
action is_in
entity flag of the United States of America
action find
entity The Last Flag Raising Ceremony: Cession of New Orleans (1803)
relation depicts
['The Last Flag Raising Ceremony: Cession of New Orleans (1803)', 'depicts', 'flag of the United States of America']
ASK WHERE { resource:The_Last_Flag_Raising_Ceremony:_Cession_of_New_Orleans_(1803) property:depicts resource:flag_of_the_United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q11460 Q17335294 Q11060274
USER
How many clothings are demonstrated in approximately 3 coats of arms or prints ?
(c(Q17335294)|c(Q11060274),P180,c(Q11460))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q11460
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q11460
type Q11060274
value 3
[[{'concept': 'Q17335294'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q11460'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?d WHERE { { ?o property:P180 ?d . ?d rdf:type ontology:Q11460 . ?o rdf:type ontology:Q17335294 } UNION { ?o property:P180 ?d . ?d rdf:type ontology:Q11460 . ?o rdf:type ontology:Q11060274 } } GROUP BY ?d } . FILTER ( ?c = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type clothing
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type clothing
type print
value 3
[[{'concept': 'flag or coat of arms'}, {'concept': 'print'}], 'depicts', {'concept': 'clothing'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?d WHERE { { ?o property:depicts ?d . ?d rdf:type ontology:clothing . ?o rdf:type ontology:flag_or_coat_of_arms } UNION { ?o property:depicts ?d . ?d rdf:type ontology:clothing . ?o rdf:type ontology:print } } GROUP BY ?d } . FILTER ( ?c = 3 ) }
[]
clothing flag or coat of arms print
SYSTEM
2
Q41607 Q80151
(c(Q17335294)|c(Q11060274),P180,c(Q11460))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q11460
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q11460
type Q11060274
value 3
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q11460'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?d WHERE { { ?o property:P180 ?d . ?d rdf:type ontology:Q11460 . ?o rdf:type ontology:Q17335294 } UNION { ?o property:P180 ?d . ?d rdf:type ontology:Q11460 . ?o rdf:type ontology:Q11060274 } } GROUP BY ?d } . FILTER ( ?c = 3 ) }
umbrella hat
2
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type clothing
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type clothing
type print
value 3
[[{'concept': 'flag or coat of arms'}, {'concept': 'print'}], 'depicts', {'concept': 'clothing'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?d WHERE { { ?o property:depicts ?d . ?d rdf:type ontology:clothing . ?o rdf:type ontology:flag_or_coat_of_arms } UNION { ?o property:depicts ?d . ?d rdf:type ontology:clothing . ?o rdf:type ontology:print } } GROUP BY ?d } . FILTER ( ?c = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q8205328 Q340169 Q14660
USER
Which flags depict max number of artefacts or medias ?
(c(Q14660),P180,c(Q8205328)|c(Q340169))
action argmax
action union
action find_tuple_counts
relation P180
type Q14660
type Q8205328
action find_tuple_counts
relation P180
type Q14660
type Q340169
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q8205328'}, {'concept': 'Q340169'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q8205328 ) ( ontology:Q340169 ) } } GROUP BY ?b } } . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?r ) WHERE { VALUES ( ?y ) { ( ontology:Q8205328 ) ( ontology:Q340169 ) } . ?l rdf:type ?y } GROUP BY ?w } . FILTER ( ?r = ?s ) }
action argmax
action union
action find_tuple_counts
relation depicts
type flag
type artefact
action find_tuple_counts
relation depicts
type flag
type media
[{'concept': 'flag'}, 'depicts', [{'concept': 'artefact'}, {'concept': 'media'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:artefact ) ( ontology:media ) } } GROUP BY ?b } } . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?r ) WHERE { VALUES ( ?y ) { ( ontology:artefact ) ( ontology:media ) } . ?l rdf:type ?y } GROUP BY ?w } . FILTER ( ?r = ?s ) }
[]
artefact media flag
Q484249 Q19373
SYSTEM
Flag of Mozambique, Flag of South Carolina
Q484249 Q19373
(c(Q14660),P180,c(Q8205328)|c(Q340169))
action argmax
action union
action find_tuple_counts
relation P180
type Q14660
type Q8205328
action find_tuple_counts
relation P180
type Q14660
type Q340169
[ANSWERS] depict max number of artefacts or medias
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q8205328'}, {'concept': 'Q340169'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q8205328 ) ( ontology:Q340169 ) } } GROUP BY ?b } } . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?r ) WHERE { VALUES ( ?y ) { ( ontology:Q8205328 ) ( ontology:Q340169 ) } . ?l rdf:type ?y } GROUP BY ?w } . FILTER ( ?r = ?s ) }
Flag of Mozambique Flag of South Carolina
Flag of Mozambique and Flag of South Carolina depict max number of artefacts or medias
Flag of Mozambique Flag of South Carolina
action argmax
action union
action find_tuple_counts
relation depicts
type flag
type artefact
action find_tuple_counts
relation depicts
type flag
type media
[{'concept': 'flag'}, 'depicts', [{'concept': 'artefact'}, {'concept': 'media'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:artefact ) ( ontology:media ) } } GROUP BY ?b } } . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?r ) WHERE { VALUES ( ?y ) { ( ontology:artefact ) ( ontology:media ) } . ?l rdf:type ?y } GROUP BY ?w } . FILTER ( ?r = ?s ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1001
Q13220204 Q15617994 Q14660
USER
How many flags apply to jurisdiction over greater number of administrative country subdivisions and administrative territories than that flag ?
(c(Q14660),P1001,c(Q13220204)|c(Q15617994))
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q13220204'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q15617994 }
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
second-level administrative country subdivision designation for an administrative territorial entity flag
Comparative|Count over More/Less|Mult. entity type|Clarification
Q484249
SYSTEM
Did you mean Flag of Mozambique ?
(c(Q14660),P1001,c(Q13220204)|c(Q15617994))
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q13220204'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q15617994 }
Did you mean Flag of Mozambique ?
Flag of Mozambique
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q14660),P1001,c(Q13220204)|c(Q15617994))
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q13220204'}, {'concept': 'Q15617994'}]]
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'designation for an administrative territorial entity'}]]
[]
SYSTEM
1
Q46585
(c(Q14660),P1001,c(Q13220204)|c(Q15617994))
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q13220204'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q15617994 }
flag of the Netherlands
1
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]