Simple Question (Direct)
Simple Question
Q15219941
P410
Q4189293
USER
What is the title conferred upon Wilfrid Gordon Lindsell ?
(Q15219941,P410,c(Q4189293))
action filter_type
action find
entity Q15219941
relation P410
type Q4189293
['Q15219941', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?y WHERE { resource:Q15219941 property:P410 ?y . ?y rdf:type ontology:Q4189293 }
Wilfrid Gordon Lindsell
action filter_type
action find
entity Wilfrid Gordon Lindsell
relation military rank
type title
['Wilfrid Gordon Lindsell', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?y WHERE { resource:Wilfrid_Gordon_Lindsell property:military_rank ?y . ?y rdf:type ontology:title }
[]
title
Q152951
SYSTEM
lieutenant general
Q152951
(Q15219941,P410,c(Q4189293))
action filter_type
action find
entity Q15219941
relation P410
type Q4189293
The title conferred upon Wilfrid Gordon Lindsell is a [ANSWER]
['Q15219941', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?y WHERE { resource:Q15219941 property:P410 ?y . ?y rdf:type ontology:Q4189293 }
lieutenant general
The title conferred upon Wilfrid Gordon Lindsell is a lieutenant general
lieutenant general
action filter_type
action find
entity Wilfrid Gordon Lindsell
relation military rank
type title
['Wilfrid Gordon Lindsell', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?y WHERE { resource:Wilfrid_Gordon_Lindsell property:military_rank ?y . ?y rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15219941
P607
Q198
USER
Which war did Wilfrid Gordon Lindsell take part in ?
(Q15219941,P607,c(Q198))
action filter_type
action find
entity Q15219941
relation P607
type Q198
['Q15219941', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { resource:Q15219941 property:P607 ?h . ?h rdf:type ontology:Q198 }
Wilfrid Gordon Lindsell
action filter_type
action find
entity Wilfrid Gordon Lindsell
relation conflict
type war
['Wilfrid Gordon Lindsell', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { resource:Wilfrid_Gordon_Lindsell property:conflict ?h . ?h rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q15219941,P607,c(Q198))
action filter_type
action find
entity Q15219941
relation P607
type Q198
Wilfrid Gordon Lindsell took part in [ANSWER]
['Q15219941', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { resource:Q15219941 property:P607 ?h . ?h rdf:type ontology:Q198 }
World War I
Wilfrid Gordon Lindsell took part in World War I
World War I
action filter_type
action find
entity Wilfrid Gordon Lindsell
relation conflict
type war
['Wilfrid Gordon Lindsell', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { resource:Wilfrid_Gordon_Lindsell property:conflict ?h . ?h rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q361
P276
Q2221906
USER
Where are that war located ?
(Q361,P276,c(Q2221906))
action filter_type
action find
entity Q361
relation P276
type Q2221906
['Q361', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2221906 . resource:Q361 property:P276 ?c }
World War I
action filter_type
action find
entity World War I
relation location
type geographic location
['World War I', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:geographic_location . resource:World_War_I property:location ?c }
[]
geographic location
Q46 Q15 Q7204
SYSTEM
Europe, Africa, Middle East
Q46 Q15 Q7204
(Q361,P276,c(Q2221906))
action filter_type
action find
entity Q361
relation P276
type Q2221906
That war are located in [ANSWERS]
['Q361', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2221906 . resource:Q361 property:P276 ?c }
Europe Africa Middle East
That war are located in Europe, Africa and Middle East
Europe Africa Middle East
action filter_type
action find
entity World War I
relation location
type geographic location
['World War I', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:geographic_location . resource:World_War_I property:location ?c }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q743768
P276
Q198
USER
Are The Anarchy located at those geographic locations ?
(Q743768,P276,Q46) (Q743768,P276,Q15) (Q743768,P276,Q7204)
action is_in
entity prev_answer
action find
entity Q743768
relation P276
['Q743768', 'P276', 'Q46'] ['Q743768', 'P276', 'Q15'] ['Q743768', 'P276', 'Q7204']
ASK WHERE { resource:Q743768 property:P276 ?r . VALUES ( ?r ) { ( resource:Q46 ) ( resource:Q15 ) ( resource:Q7204 ) } }
The Anarchy
action is_in
entity prev_answer
action find
entity The Anarchy
relation location
['The Anarchy', 'location', 'Europe'] ['The Anarchy', 'location', 'Africa'] ['The Anarchy', 'location', 'Middle East']
ASK WHERE { resource:The_Anarchy property:location ?r . VALUES ( ?r ) { ( resource:Europe ) ( resource:Africa ) ( resource:Middle_East ) } }
[]
war
SYSTEM
NO
(Q743768,P276,Q46) (Q743768,P276,Q15) (Q743768,P276,Q7204)
action is_in
entity prev_answer
action find
entity Q743768
relation P276
[ANSWER]
['Q743768', 'P276', 'Q46'] ['Q743768', 'P276', 'Q15'] ['Q743768', 'P276', 'Q7204']
ASK WHERE { resource:Q743768 property:P276 ?r . VALUES ( ?r ) { ( resource:Q46 ) ( resource:Q15 ) ( resource:Q7204 ) } }
No
action is_in
entity prev_answer
action find
entity The Anarchy
relation location
['The Anarchy', 'location', 'Europe'] ['The Anarchy', 'location', 'Africa'] ['The Anarchy', 'location', 'Middle East']
ASK WHERE { resource:The_Anarchy property:location ?r . VALUES ( ?r ) { ( resource:Europe ) ( resource:Africa ) ( resource:Middle_East ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q830295 Q743768
P840 P276
Q1496967
USER
Which territories are the locations of The Anarchy and are the narrative locations of The Best Exotic Marigold Hotel ?
AND((Q743768,P276,c(Q1496967)), (Q830295,P840,c(Q1496967)))
action filter_type
action intersection
action find
entity Q743768
relation P276
action find
entity Q830295
relation P840
type Q1496967
{'AND': [['Q743768', 'P276', {'concept': 'Q1496967'}], ['Q830295', 'P840', {'concept': 'Q1496967'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1496967 . resource:Q743768 property:P276 ?w . resource:Q830295 property:P840 ?w }
The Best Exotic Marigold Hotel The Anarchy
action filter_type
action intersection
action find
entity The Anarchy
relation location
action find
entity The Best Exotic Marigold Hotel
relation narrative location
type territorial entity
{'AND': [['The Anarchy', 'location', {'concept': 'territorial entity'}], ['The Best Exotic Marigold Hotel', 'narrative location', {'concept': 'territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:territorial_entity . resource:The_Anarchy property:location ?w . resource:The_Best_Exotic_Marigold_Hotel property:narrative_location ?w }
[]
territorial entity
Q21
SYSTEM
England
Q21
AND((Q743768,P276,c(Q1496967)), (Q830295,P840,c(Q1496967)))
action filter_type
action intersection
action find
entity Q743768
relation P276
action find
entity Q830295
relation P840
type Q1496967
[ANSWER] is the locations of The Anarchy and is the narrative locations of The Best Exotic Marigold Hotel
{'AND': [['Q743768', 'P276', {'concept': 'Q1496967'}], ['Q830295', 'P840', {'concept': 'Q1496967'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1496967 . resource:Q743768 property:P276 ?w . resource:Q830295 property:P840 ?w }
England
England is the locations of The Anarchy and is the narrative locations of The Best Exotic Marigold Hotel
England
action filter_type
action intersection
action find
entity The Anarchy
relation location
action find
entity The Best Exotic Marigold Hotel
relation narrative location
type territorial entity
{'AND': [['The Anarchy', 'location', {'concept': 'territorial entity'}], ['The Best Exotic Marigold Hotel', 'narrative location', {'concept': 'territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:territorial_entity . resource:The_Anarchy property:location ?w . resource:The_Best_Exotic_Marigold_Hotel property:narrative_location ?w }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q242352
P921
Q198 Q2342494 Q838948
USER
Which wars were the main subjects in the work approximately the same number of collectables and works of art as Yugoslav Wars ?
(c(Q2342494)|c(Q838948),P921,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q242352
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P921 resource:Q242352 . { { ?q rdf:type ontology:Q2342494 } UNION { ?q rdf:type ontology:Q838948 } } } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?k WHERE { { ?k rdf:type ontology:Q198 . ?v rdf:type ontology:Q2342494 . ?v property:P921 ?k } UNION { ?v property:P921 ?k . ?k rdf:type ontology:Q198 . ?v rdf:type ontology:Q838948 } } GROUP BY ?k } }
Yugoslav Wars
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Yugoslav Wars
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:main_subject resource:Yugoslav_Wars . { { ?q rdf:type ontology:collectable } UNION { ?q rdf:type ontology:work_of_art } } } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?k WHERE { { ?k rdf:type ontology:war . ?v rdf:type ontology:collectable . ?v property:main_subject ?k } UNION { ?v property:main_subject ?k . ?k rdf:type ontology:war . ?v rdf:type ontology:work_of_art } } GROUP BY ?k } }
[]
war collectable work of art
Q545449 Q361 Q8676
SYSTEM
Iraq War, World War I, American Civil War
Q8683 Q81545 Q211855 Q8676 Q633862 Q188972 Q129053 Q1049945 Q10859 Q209297 Q242352 Q201424 Q142529 Q361 Q75984 Q178810 Q545449 Q243620
(c(Q2342494)|c(Q838948),P921,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q242352
relation P921
type Q2342494
type Q838948
[ANSWERS] were the main subjects in the work approximately the same number of collectables and works of art as Yugoslav Wars
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P921 resource:Q242352 . { { ?q rdf:type ontology:Q2342494 } UNION { ?q rdf:type ontology:Q838948 } } } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?k WHERE { { ?k rdf:type ontology:Q198 . ?v rdf:type ontology:Q2342494 . ?v property:P921 ?k } UNION { ?v property:P921 ?k . ?k rdf:type ontology:Q198 . ?v rdf:type ontology:Q838948 } } GROUP BY ?k } }
Cold War 2011 Libyan Civil War Finnish Civil War American Civil War Cold War Greek Civil War partition of India Jacobite rising of 1745 Spanish Civil War Farroupilha Revolution Yugoslav Wars nuclear war Algerian Civil War World War I Dirty War Syrian Civil War Iraq War Somali Civil War
Iraq War, World War I and American Civil War were the main subjects in the work approximately the same number of collectables and works of art as Yugoslav Wars
Iraq War World War I American Civil War
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Yugoslav Wars
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:main_subject resource:Yugoslav_Wars . { { ?q rdf:type ontology:collectable } UNION { ?q rdf:type ontology:work_of_art } } } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?k WHERE { { ?k rdf:type ontology:war . ?v rdf:type ontology:collectable . ?v property:main_subject ?k } UNION { ?v property:main_subject ?k . ?k rdf:type ontology:war . ?v rdf:type ontology:work_of_art } } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q129053
P921
Q198 Q2342494 Q838948
USER
And what about partition of India?
(c(Q2342494)|c(Q838948),P921,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q129053
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?e WHERE { { ?o property:P921 ?e . ?e rdf:type ontology:Q198 . ?o rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q198 . ?o rdf:type ontology:Q2342494 . ?o property:P921 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P921 resource:Q129053 . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?u = ?c ) }
partition of India
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity partition of India
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?e WHERE { { ?o property:main_subject ?e . ?e rdf:type ontology:war . ?o rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:war . ?o rdf:type ontology:collectable . ?o property:main_subject ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:main_subject resource:partition_of_India . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?u = ?c ) }
[]
war collectable work of art
Q545449 Q361 Q8676
SYSTEM
Iraq War, World War I, American Civil War
Q8683 Q81545 Q211855 Q8676 Q633862 Q188972 Q129053 Q1049945 Q10859 Q209297 Q242352 Q201424 Q142529 Q361 Q75984 Q178810 Q545449 Q243620
(c(Q2342494)|c(Q838948),P921,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q129053
relation P921
type Q2342494
type Q838948
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?e WHERE { { ?o property:P921 ?e . ?e rdf:type ontology:Q198 . ?o rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q198 . ?o rdf:type ontology:Q2342494 . ?o property:P921 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P921 resource:Q129053 . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?u = ?c ) }
Cold War 2011 Libyan Civil War Finnish Civil War American Civil War Cold War Greek Civil War partition of India Jacobite rising of 1745 Spanish Civil War Farroupilha Revolution Yugoslav Wars nuclear war Algerian Civil War World War I Dirty War Syrian Civil War Iraq War Somali Civil War
Iraq War World War I American Civil War
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity partition of India
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?e WHERE { { ?o property:main_subject ?e . ?e rdf:type ontology:war . ?o rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:war . ?o rdf:type ontology:collectable . ?o property:main_subject ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:main_subject resource:partition_of_India . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?u = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q82794 Q2221906
USER
How many geographic regions are around 1 geographic location located on ?
(c(Q2221906),P706,c(Q82794))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
value 1
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P706 ?b . ?b rdf:type ontology:Q82794 . ?u rdf:type ontology:Q2221906 } GROUP BY ?b } . FILTER ( ?h = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:located_on_terrain_feature ?b . ?b rdf:type ontology:geographic_region . ?u rdf:type ontology:geographic_location } GROUP BY ?b } . FILTER ( ?h = 1 ) }
[]
geographic region geographic location
SYSTEM
2
Q39061 Q170526
(c(Q2221906),P706,c(Q82794))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
value 1
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P706 ?b . ?b rdf:type ontology:Q82794 . ?u rdf:type ontology:Q2221906 } GROUP BY ?b } . FILTER ( ?h = 1 ) }
Northern Hemisphere Fertile Crescent
2
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:located_on_terrain_feature ?b . ?b rdf:type ontology:geographic_region . ?u rdf:type ontology:geographic_location } GROUP BY ?b } . FILTER ( ?h = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8676
P17
Q15617994
USER
How many administrative territories do American Civil War belong to ?
(Q8676,P17,c(Q15617994))
action count
action filter_type
action find
entity Q8676
relation P17
type Q15617994
['Q8676', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q8676 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
American Civil War
action count
action filter_type
action find
entity American Civil War
relation country
type designation for an administrative territorial entity
['American Civil War', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:American_Civil_War property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q8676,P17,c(Q15617994))
action count
action filter_type
action find
entity Q8676
relation P17
type Q15617994
[ANSWER]
['Q8676', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q8676 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity American Civil War
relation country
type designation for an administrative territorial entity
['American Civil War', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:American_Civil_War property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q15967005
P17
Q15617994
USER
And how about Alexandreia?
(Q15967005,P17,c(Q15617994))
action count
action filter_type
action find
entity Q15967005
relation P17
type Q15617994
['Q15967005', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q15967005 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Alexandreia
action count
action filter_type
action find
entity Alexandreia
relation country
type designation for an administrative territorial entity
['Alexandreia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Alexandreia property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q41
(Q15967005,P17,c(Q15617994))
action count
action filter_type
action find
entity Q15967005
relation P17
type Q15617994
[ANSWER]
['Q15967005', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q15967005 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Greece
1
action count
action filter_type
action find
entity Alexandreia
relation country
type designation for an administrative territorial entity
['Alexandreia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Alexandreia property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]