Simple Question (Direct)
Simple Question
Q18145904
P136
Q483394
USER
What can be considered as category for Marie Stuart ?
(Q18145904,P136,c(Q483394))
action filter_type
action find
entity Q18145904
relation P136
type Q483394
['Q18145904', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?r WHERE { resource:Q18145904 property:P136 ?r . ?r rdf:type ontology:Q483394 }
Marie Stuart
action filter_type
action find
entity Marie Stuart
relation genre
type genre
['Marie Stuart', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?r WHERE { resource:Marie_Stuart property:genre ?r . ?r rdf:type ontology:genre }
[]
genre
Q557141
SYSTEM
public art
Q557141
(Q18145904,P136,c(Q483394))
action filter_type
action find
entity Q18145904
relation P136
type Q483394
[ANSWER] can be considered as category for Marie Stuart
['Q18145904', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?r WHERE { resource:Q18145904 property:P136 ?r . ?r rdf:type ontology:Q483394 }
public art
Public art can be considered as category for Marie Stuart
public art
action filter_type
action find
entity Marie Stuart
relation genre
type genre
['Marie Stuart', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?r WHERE { resource:Marie_Stuart property:genre ?r . ?r rdf:type ontology:genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q557141
P921
Q2342494
USER
Which collectable has that genre as its main topic ?
(c(Q2342494),P921,Q557141)
action filter_type
action find_reverse
entity Q557141
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q557141']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q557141 . ?t rdf:type ontology:Q2342494 }
public art
action filter_type
action find_reverse
entity public art
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'public art']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:public_art . ?t rdf:type ontology:collectable }
[]
collectable
Q21561363
SYSTEM
Public Sculpture of the City of London
Q21561363
(c(Q2342494),P921,Q557141)
action filter_type
action find_reverse
entity Q557141
relation P921
type Q2342494
[ANSWER] has that genre as its main topic
[{'concept': 'Q2342494'}, 'P921', 'Q557141']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q557141 . ?t rdf:type ontology:Q2342494 }
Public Sculpture of the City of London
Public Sculpture of the City of London has that genre as its main topic
Public Sculpture of the City of London
action filter_type
action find_reverse
entity public art
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'public art']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:public_art . ?t rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21561363 Q24826
P291
Q56061
USER
Is Liverpool the place of publication of Public Sculpture of the City of London ?
(Q21561363,P291,Q24826)
action is_in
entity Q24826
action find
entity Q21561363
relation P291
['Q21561363', 'P291', 'Q24826']
ASK WHERE { resource:Q21561363 property:P291 resource:Q24826 }
Public Sculpture of the City of London Liverpool
action is_in
entity Liverpool
action find
entity Public Sculpture of the City of London
relation place of publication
['Public Sculpture of the City of London', 'place of publication', 'Liverpool']
ASK WHERE { resource:Public_Sculpture_of_the_City_of_London property:place_of_publication resource:Liverpool }
[]
administrative territorial entity
SYSTEM
YES
(Q21561363,P291,Q24826)
action is_in
entity Q24826
action find
entity Q21561363
relation P291
[ANSWER]
['Q21561363', 'P291', 'Q24826']
ASK WHERE { resource:Q21561363 property:P291 resource:Q24826 }
Yes
action is_in
entity Liverpool
action find
entity Public Sculpture of the City of London
relation place of publication
['Public Sculpture of the City of London', 'place of publication', 'Liverpool']
ASK WHERE { resource:Public_Sculpture_of_the_City_of_London property:place_of_publication resource:Liverpool }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18145904 Q131412
P180
Q502895
USER
Is Mary, Queen of Scots depicted in Marie Stuart ?
(Q18145904,P180,Q131412)
action is_in
entity Q131412
action find
entity Q18145904
relation P180
['Q18145904', 'P180', 'Q131412']
ASK WHERE { resource:Q18145904 property:P180 resource:Q131412 }
Marie Stuart Mary, Queen of Scots
action is_in
entity Mary, Queen of Scots
action find
entity Marie Stuart
relation depicts
['Marie Stuart', 'depicts', 'Mary, Queen of Scots']
ASK WHERE { resource:Marie_Stuart property:depicts resource:Mary,_Queen_of_Scots }
[]
common name
SYSTEM
YES
(Q18145904,P180,Q131412)
action is_in
entity Q131412
action find
entity Q18145904
relation P180
[ANSWER]
['Q18145904', 'P180', 'Q131412']
ASK WHERE { resource:Q18145904 property:P180 resource:Q131412 }
Yes
action is_in
entity Mary, Queen of Scots
action find
entity Marie Stuart
relation depicts
['Marie Stuart', 'depicts', 'Mary, Queen of Scots']
ASK WHERE { resource:Marie_Stuart property:depicts resource:Mary,_Queen_of_Scots }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q557141
P136 P495
Q838948
USER
Which works of art have public art as their category and are United States of America a country of origin of ?
AND((c(Q838948),P136,Q557141), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q557141
relation P136
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P136', 'Q557141'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?k WHERE { ?k property:P136 resource:Q557141 . ?k property:P495 resource:Q30 . ?k rdf:type ontology:Q838948 }
United States of America public art
action filter_type
action intersection
action find_reverse
entity public art
relation genre
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'genre', 'public art'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?k WHERE { ?k property:genre resource:public_art . ?k property:country_of_origin resource:United_States_of_America . ?k rdf:type ontology:work_of_art }
[]
work of art
Q7620384 Q7316110 Q7560304 Q7608440 Q6459619 Q7578024 Q7540478 Q16161775 Q5242588 Q5160223
SYSTEM
Some of them are Story Monument, Restful Place, Sometimes I Sits, Stephanie and Spy, LOVE, Spirit of the American Doughboy, Slightly Romanesque/Newhall 43, Miami Indian, Dawnsong, Confluence
Q4922046 Q5160223 Q6459619 Q7620384 Q7316110 Q7578024 Q7540478 Q16161775 Q7560304 Q7608440 Q5242588
AND((c(Q838948),P136,Q557141), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q557141
relation P136
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] have public art as their category and are United States of America a country of origin of
{'AND': [[{'concept': 'Q838948'}, 'P136', 'Q557141'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?k WHERE { ?k property:P136 resource:Q557141 . ?k property:P495 resource:Q30 . ?k rdf:type ontology:Q838948 }
Black Titan Confluence LOVE Story Monument Restful Place Spirit of the American Doughboy Slightly Romanesque/Newhall 43 Miami Indian Sometimes I Sits Stephanie and Spy Dawnsong
Story Monument, Restful Place, Sometimes I Sits, Stephanie and Spy, LOVE, Spirit of the American Doughboy, Slightly Romanesque/Newhall 43, Miami Indian, Dawnsong and Confluence have public art as their category and are United States of America a country of origin of
Story Monument Restful Place Sometimes I Sits Stephanie and Spy LOVE Spirit of the American Doughboy Slightly Romanesque/Newhall 43 Miami Indian Dawnsong Confluence
action filter_type
action intersection
action find_reverse
entity public art
relation genre
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'genre', 'public art'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?k WHERE { ?k property:genre resource:public_art . ?k property:country_of_origin resource:United_States_of_America . ?k rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
How many technicss are used for fabrication of approximately 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action count
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P2079 ?h . ?h rdf:type ontology:Q2695280 . ?a rdf:type ontology:Q838948 } GROUP BY ?h } . FILTER ( ?t = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:fabrication_method ?h . ?h rdf:type ontology:technics . ?a rdf:type ontology:work_of_art } GROUP BY ?h } . FILTER ( ?t = 1 ) }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P2079 ?h . ?h rdf:type ontology:Q2695280 . ?a rdf:type ontology:Q838948 } GROUP BY ?h } . FILTER ( ?t = 1 ) }
gilding collage
2
action count
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:fabrication_method ?h . ?h rdf:type ontology:technics . ?a rdf:type ontology:work_of_art } GROUP BY ?h } . FILTER ( ?t = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q170593
P2079
Q2695280 Q838948
USER
How many technicss are used to fabricate less number of works of art than collage ?
(c(Q838948),P2079,c(Q2695280))
action count
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q170593
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?s ) WHERE { ?z rdf:type ontology:Q2695280 . ?p rdf:type ontology:Q838948 . ?p property:P2079 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P2079 resource:Q170593 . ?d rdf:type ontology:Q838948 } } . FILTER ( ?s < ?o ) }
collage
action count
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity collage
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?s ) WHERE { ?z rdf:type ontology:technics . ?p rdf:type ontology:work_of_art . ?p property:fabrication_method ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:fabrication_method resource:collage . ?d rdf:type ontology:work_of_art } } . FILTER ( ?s < ?o ) }
[]
technics work of art
SYSTEM
10
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action count
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q170593
relation P2079
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?s ) WHERE { ?z rdf:type ontology:Q2695280 . ?p rdf:type ontology:Q838948 . ?p property:P2079 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P2079 resource:Q170593 . ?d rdf:type ontology:Q838948 } } . FILTER ( ?s < ?o ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
10
action count
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity collage
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?s ) WHERE { ?z rdf:type ontology:technics . ?p rdf:type ontology:work_of_art . ?p property:fabrication_method ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:fabrication_method resource:collage . ?d rdf:type ontology:work_of_art } } . FILTER ( ?s < ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1334300
P2079
Q2695280 Q838948
USER
And also tell me about gilding?
(c(Q838948),P2079,c(Q2695280))
action count
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q1334300
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?m ) WHERE { ?w rdf:type ontology:Q2695280 . ?u rdf:type ontology:Q838948 . ?u property:P2079 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P2079 resource:Q1334300 . ?s rdf:type ontology:Q838948 } } . FILTER ( ?m < ?p ) }
gilding
action count
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity gilding
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?m ) WHERE { ?w rdf:type ontology:technics . ?u rdf:type ontology:work_of_art . ?u property:fabrication_method ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:fabrication_method resource:gilding . ?s rdf:type ontology:work_of_art } } . FILTER ( ?m < ?p ) }
[]
technics work of art
SYSTEM
10
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action count
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q1334300
relation P2079
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?m ) WHERE { ?w rdf:type ontology:Q2695280 . ?u rdf:type ontology:Q838948 . ?u property:P2079 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P2079 resource:Q1334300 . ?s rdf:type ontology:Q838948 } } . FILTER ( ?m < ?p ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
10
action count
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity gilding
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?m ) WHERE { ?w rdf:type ontology:technics . ?u rdf:type ontology:work_of_art . ?u property:fabrication_method ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:fabrication_method resource:gilding . ?s rdf:type ontology:work_of_art } } . FILTER ( ?m < ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21561363
P50
Q502895
USER
Who penned Public Sculpture of the City of London ?
(Q21561363,P50,c(Q502895))
action filter_type
action find
entity Q21561363
relation P50
type Q502895
['Q21561363', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q21561363 property:P50 ?n }
Public Sculpture of the City of London
action filter_type
action find
entity Public Sculpture of the City of London
relation author
type common name
['Public Sculpture of the City of London', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Public_Sculpture_of_the_City_of_London property:author ?n }
[]
common name
Q16721296
SYSTEM
Philip Ward-Jackson
Q16721296
(Q21561363,P50,c(Q502895))
action filter_type
action find
entity Q21561363
relation P50
type Q502895
[ANSWER] penned Public Sculpture of the City of London
['Q21561363', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q21561363 property:P50 ?n }
Philip Ward-Jackson
Philip Ward-Jackson penned Public Sculpture of the City of London
Philip Ward-Jackson
action filter_type
action find
entity Public Sculpture of the City of London
relation author
type common name
['Public Sculpture of the City of London', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Public_Sculpture_of_the_City_of_London property:author ?n }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q84500 Q30
P530 P27
Q1048835
USER
Which political territories holds diplomatic relationship with United States of America and are not the countries of citizenship of Anne Weber ?
AND((Q30,P530,c(Q1048835)), NOT((Q84500,P27,c(Q1048835))))
action filter_type
action difference
action find
entity Q30
relation P530
action find
entity Q84500
relation P27
type Q1048835
{'AND': [['Q30', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q84500', 'P27', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?f WHERE { resource:Q30 property:P530 ?f . FILTER NOT EXISTS { resource:Q84500 property:P27 ?f } . ?f rdf:type ontology:Q1048835 }
Anne Weber United States of America
action filter_type
action difference
action find
entity United States of America
relation diplomatic relation
action find
entity Anne Weber
relation country of citizenship
type political territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Anne Weber', 'country of citizenship', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:diplomatic_relation ?f . FILTER NOT EXISTS { resource:Anne_Weber property:country_of_citizenship ?f } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q16
SYSTEM
Australia, Canada
Q408 Q16
AND((Q30,P530,c(Q1048835)), NOT((Q84500,P27,c(Q1048835))))
action filter_type
action difference
action find
entity Q30
relation P530
action find
entity Q84500
relation P27
type Q1048835
[ANSWERS] hold diplomatic relationship with United States of America and are not the countries of citizenship of Anne Weber
{'AND': [['Q30', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q84500', 'P27', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?f WHERE { resource:Q30 property:P530 ?f . FILTER NOT EXISTS { resource:Q84500 property:P27 ?f } . ?f rdf:type ontology:Q1048835 }
Australia Canada
Australia and Canada hold diplomatic relationship with United States of America and are not the countries of citizenship of Anne Weber
Australia Canada
action filter_type
action difference
action find
entity United States of America
relation diplomatic relation
action find
entity Anne Weber
relation country of citizenship
type political territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Anne Weber', 'country of citizenship', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:diplomatic_relation ?f . FILTER NOT EXISTS { resource:Anne_Weber property:country_of_citizenship ?f } . ?f rdf:type ontology:political_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
Which political territories are more number of people a civilian of than that political territory ?
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity common name
Comparative|More/Less|Single entity type|Clarification
Q16
SYSTEM
Did you mean Canada ?
(c(Q502895),P27,c(Q1048835))
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Did you mean Canada ?
Canada
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(c(Q502895),P27,c(Q1048835))
[ANSWER] is more number of people a civilian of than that political territory
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Germany
Germany is more number of people a civilian of than that political territory
Germany
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Germany ?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q183 property:P530 ?q . ?q rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Germany property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q183 property:P530 ?q . ?q rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Germany property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q230
P530
Q15617994
USER
And how about Georgia?
(Q230,P530,c(Q15617994))
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q230 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Georgia
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Georgia property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
80
Q805 Q801 Q800 Q668 Q414 Q145 Q262 Q784 Q786 Q710 Q252 Q399 Q398 Q43 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q881 Q986 Q822 Q241 Q424 Q921 Q31 Q30 Q37 Q38 Q739 Q423 Q983 Q851 Q734 Q1011 Q736 Q27 Q29 Q819 Q189 Q184 Q32 Q347 Q227 Q225 Q222 Q229 Q228 Q17 Q902 Q1008 Q191 Q965 Q967 Q963 Q115 Q114 Q117 Q750 Q211 Q219 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q970 Q686 Q874 Q79 Q878 Q774 Q810 Q1016 Q1013 Q953
(Q230,P530,c(Q15617994))
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
[ANSWER]
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q230 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Yemen Israel Costa Rica India Argentina United Kingdom Algeria Dominica Dominican Republic Kiribati Indonesia Armenia Bahrain Turkey Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Eritrea Lebanon Cuba Cambodia Brunei Belgium United States of America Lithuania Italy Colombia North Korea Equatorial Guinea Saudi Arabia Guyana Cape Verde Ecuador Ireland Spain Laos Iceland Belarus Luxembourg Liechtenstein Azerbaijan Bosnia and Herzegovina Albania Cyprus Andorra Japan Bangladesh Côte d'Ivoire Estonia Burkina Faso Burundi Botswana Ethiopia Kenya Ghana Bolivia Latvia Bulgaria Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Comoros Vanuatu Turkmenistan Egypt United Arab Emirates Guatemala Jordan Libya Lesotho Zambia
80
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Georgia property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1041
Q15617994
USER
And what about Senegal?
(Q1041,P530,c(Q15617994))
action count
action filter_type
action find
entity Q1041
relation P530
type Q15617994
['Q1041', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Q1041 property:P530 ?h . ?h rdf:type ontology:Q15617994 }
Senegal
action count
action filter_type
action find
entity Senegal
relation diplomatic relation
type designation for an administrative territorial entity
['Senegal', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Senegal property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q1041,P530,c(Q15617994))
action count
action filter_type
action find
entity Q1041
relation P530
type Q15617994
[ANSWER]
['Q1041', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Q1041 property:P530 ?h . ?h rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Senegal
relation diplomatic relation
type designation for an administrative territorial entity
['Senegal', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Senegal property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q7316110
P800 P21
Q502895
USER
Which people have Restful Place as a notable work and are a male ?
AND((c(Q502895),P800,Q7316110), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q7316110
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q7316110'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q7316110 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
male Restful Place
action filter_type
action intersection
action find_reverse
entity Restful Place
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Restful Place'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:Restful_Place . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]
common name
Q7847717
SYSTEM
Truman Lowe
Q7847717
AND((c(Q502895),P800,Q7316110), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q7316110
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Restful Place as a notable work and are a male
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q7316110'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q7316110 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
Truman Lowe
Truman Lowe have Restful Place as a notable work and are a male
Truman Lowe
action filter_type
action intersection
action find_reverse
entity Restful Place
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Restful Place'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:Restful_Place . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7847717 Q5450310 Q5439014
P27
Q15617994
USER
Is that person a native of Fingland and Fayette County Public Schools ?
(Q7847717,P27,Q5450310) (Q7847717,P27,Q5439014)
action is_in
entity Q7847717
action intersection
action find_reverse
entity Q5450310
relation P27
action find_reverse
entity Q5439014
relation P27
['Q7847717', 'P27', 'Q5450310'] ['Q7847717', 'P27', 'Q5439014']
ASK WHERE { resource:Q7847717 property:P27 resource:Q5450310 . resource:Q7847717 property:P27 resource:Q5439014 }
Truman Lowe Fingland Fayette County Public Schools
action is_in
entity Truman Lowe
action intersection
action find_reverse
entity Fingland
relation country of citizenship
action find_reverse
entity Fayette County Public Schools
relation country of citizenship
['Truman Lowe', 'country of citizenship', 'Fingland'] ['Truman Lowe', 'country of citizenship', 'Fayette County Public Schools']
ASK WHERE { resource:Truman_Lowe property:country_of_citizenship resource:Fingland . resource:Truman_Lowe property:country_of_citizenship resource:Fayette_County_Public_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7847717,P27,Q5450310) (Q7847717,P27,Q5439014)
action is_in
entity Q7847717
action intersection
action find_reverse
entity Q5450310
relation P27
action find_reverse
entity Q5439014
relation P27
[ANSWER]
['Q7847717', 'P27', 'Q5450310'] ['Q7847717', 'P27', 'Q5439014']
ASK WHERE { resource:Q7847717 property:P27 resource:Q5450310 . resource:Q7847717 property:P27 resource:Q5439014 }
No
action is_in
entity Truman Lowe
action intersection
action find_reverse
entity Fingland
relation country of citizenship
action find_reverse
entity Fayette County Public Schools
relation country of citizenship
['Truman Lowe', 'country of citizenship', 'Fingland'] ['Truman Lowe', 'country of citizenship', 'Fayette County Public Schools']
ASK WHERE { resource:Truman_Lowe property:country_of_citizenship resource:Fingland . resource:Truman_Lowe property:country_of_citizenship resource:Fayette_County_Public_Schools }
[]