Simple Question (Direct)
Simple Question
Q2925310
P58
Q502895
USER
Which people wrote the script for Victims of Vice ?
(Q2925310,P58,c(Q502895))
action filter_type
action find
entity Q2925310
relation P58
type Q502895
['Q2925310', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q2925310 property:P58 ?j }
Victims of Vice
action filter_type
action find
entity Victims of Vice
relation screenwriter
type common name
['Victims of Vice', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Victims_of_Vice property:screenwriter ?j }
[]
common name
Q940980 Q3159890
SYSTEM
Jacques Scandelari, Jacques Robert
Q940980 Q3159890
(Q2925310,P58,c(Q502895))
action filter_type
action find
entity Q2925310
relation P58
type Q502895
[ANSWERS] wrote the script for Victims of Vice
['Q2925310', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q2925310 property:P58 ?j }
Jacques Scandelari Jacques Robert
Jacques Scandelari and Jacques Robert wrote the script for Victims of Vice
Jacques Scandelari Jacques Robert
action filter_type
action find
entity Victims of Vice
relation screenwriter
type common name
['Victims of Vice', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Victims_of_Vice property:screenwriter ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2925310
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q940980,P136,c(Q1792379)) (Q3159890,P136,c(Q1792379))
action filter_type
action find
entity Q2925310
relation P136
type Q1792379
['Q940980', 'P136', {'concept': 'Q1792379'}] ['Q3159890', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q2925310 property:P136 ?m . ?m rdf:type ontology:Q1792379 }
Victims of Vice
action filter_type
action find
entity Victims of Vice
relation genre
type art genre
['Jacques Scandelari', 'genre', {'concept': 'art genre'}] ['Jacques Robert', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:Victims_of_Vice property:genre ?m . ?m rdf:type ontology:art_genre }
[]
art genre
Q959790
SYSTEM
crime film
Q959790
(Q940980,P136,c(Q1792379)) (Q3159890,P136,c(Q1792379))
action filter_type
action find
entity Q2925310
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q940980', 'P136', {'concept': 'Q1792379'}] ['Q3159890', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q2925310 property:P136 ?m . ?m rdf:type ontology:Q1792379 }
crime film
Crime film can be considered as category for that work of art
crime film
action filter_type
action find
entity Victims of Vice
relation genre
type art genre
['Jacques Scandelari', 'genre', {'concept': 'art genre'}] ['Jacques Robert', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:Victims_of_Vice property:genre ?m . ?m rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q940980
P20
Q56061
USER
Where did Jacques Scandelari die ?
(Q940980,P20,c(Q56061))
action filter_type
action find
entity Q940980
relation P20
type Q56061
['Q940980', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q940980 property:P20 ?y }
Jacques Scandelari
action filter_type
action find
entity Jacques Scandelari
relation place of death
type administrative territorial entity
['Jacques Scandelari', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Jacques_Scandelari property:place_of_death ?y }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q940980,P20,c(Q56061))
action filter_type
action find
entity Q940980
relation P20
type Q56061
Jacques Scandelari died in [ANSWER]
['Q940980', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q940980 property:P20 ?y }
Paris
Jacques Scandelari died in Paris
Paris
action filter_type
action find
entity Jacques Scandelari
relation place of death
type administrative territorial entity
['Jacques Scandelari', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Jacques_Scandelari property:place_of_death ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q940980
P57
Q838948
USER
Which work of art did that person direct ?
(c(Q838948),P57,Q90)
action filter_type
action find_reverse
entity Q940980
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q90']
SELECT DISTINCT ?x WHERE { ?x property:P57 resource:Q940980 . ?x rdf:type ontology:Q838948 }
Jacques Scandelari
action filter_type
action find_reverse
entity Jacques Scandelari
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Paris']
SELECT DISTINCT ?x WHERE { ?x property:director resource:Jacques_Scandelari . ?x rdf:type ontology:work_of_art }
[]
work of art
Q2925310
SYSTEM
Victims of Vice
Q2925310
(c(Q838948),P57,Q90)
action filter_type
action find_reverse
entity Q940980
relation P57
type Q838948
That person directed to [ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q90']
SELECT DISTINCT ?x WHERE { ?x property:P57 resource:Q940980 . ?x rdf:type ontology:Q838948 }
Victims of Vice
That person directed to Victims of Vice
Victims of Vice
action filter_type
action find_reverse
entity Jacques Scandelari
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Paris']
SELECT DISTINCT ?x WHERE { ?x property:director resource:Jacques_Scandelari . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2925310
P495
Q15617994
USER
Which administrative territory is the origin of that work of art ?
(Q2925310,P495,c(Q15617994))
action filter_type
action find
entity Q2925310
relation P495
type Q15617994
['Q2925310', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2925310 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
Victims of Vice
action filter_type
action find
entity Victims of Vice
relation country of origin
type designation for an administrative territorial entity
['Victims of Vice', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Victims_of_Vice property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2925310,P495,c(Q15617994))
action filter_type
action find
entity Q2925310
relation P495
type Q15617994
The [ANSWER] is the origin of that work of art
['Q2925310', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2925310 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
France
The France is the origin of that work of art
France
action filter_type
action find
entity Victims of Vice
relation country of origin
type designation for an administrative territorial entity
['Victims of Vice', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Victims_of_Vice property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20193089
Q15617994
USER
And how about Contemplation?
(Q20193089,P495,c(Q15617994))
action filter_type
action find
entity Q20193089
relation P495
type Q15617994
['Q20193089', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q20193089 property:P495 ?o }
Contemplation
action filter_type
action find
entity Contemplation
relation country of origin
type designation for an administrative territorial entity
['Contemplation', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Contemplation property:country_of_origin ?o }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q20193089,P495,c(Q15617994))
action filter_type
action find
entity Q20193089
relation P495
type Q15617994
[ANSWER]
['Q20193089', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q20193089 property:P495 ?o }
United States of America
United States of America
action filter_type
action find
entity Contemplation
relation country of origin
type designation for an administrative territorial entity
['Contemplation', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Contemplation property:country_of_origin ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q778
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with more number of administrative territories than The Bahamas ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?y ) WHERE { ?w property:P530 ?z . ?w rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q778 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } }
The Bahamas
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?y ) WHERE { ?w property:diplomatic_relation ?z . ?w rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:The_Bahamas property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
7
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?y ) WHERE { ?w property:P530 ?z . ?w rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q778 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
7
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?y ) WHERE { ?w property:diplomatic_relation ?z . ?w rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:The_Bahamas property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q40
P530
Q15617994 Q1048835
USER
And what about Austria?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?k ) WHERE { ?a property:P530 ?l . ?a rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q40 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?k > ?s ) }
Austria
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?k ) WHERE { ?a property:diplomatic_relation ?l . ?a rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Austria property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?k > ?s ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?k ) WHERE { ?a property:P530 ?l . ?a rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q40 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?k > ?s ) }
Germany Australia Canada
3
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?k ) WHERE { ?a property:diplomatic_relation ?l . ?a rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Austria property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?k > ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P38
Q8142
USER
What is the currency of Netherlands ?
(Q55,P38,c(Q8142))
action filter_type
action find
entity Q55
relation P38
type Q8142
['Q55', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q8142 . resource:Q55 property:P38 ?l }
Netherlands
action filter_type
action find
entity Netherlands
relation currency
type currency
['Netherlands', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:currency . resource:Netherlands property:currency ?l }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q55,P38,c(Q8142))
action filter_type
action find
entity Q55
relation P38
type Q8142
The currency of Netherlands is the [ANSWER]
['Q55', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q8142 . resource:Q55 property:P38 ?l }
United States dollar
The currency of Netherlands is the United States dollar
United States dollar
action filter_type
action find
entity Netherlands
relation currency
type currency
['Netherlands', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:currency . resource:Netherlands property:currency ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P138
Q2221906
USER
Which geographic location is the origin of United States of America ?
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q30 property:P138 ?e . ?e rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:United_States_of_America property:named_after ?e . ?e rdf:type ontology:geographic_location }
[]
geographic location
Q828
SYSTEM
Americas
Q828
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
Are [ANSWER] is the origin of United States of America
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q30 property:P138 ?e . ?e rdf:type ontology:Q2221906 }
Americas
Are Americas is the origin of United States of America
Americas
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:United_States_of_America property:named_after ?e . ?e rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q912823
Q2221906
USER
And what about 2404 Antarctica?
(Q912823,P138,c(Q2221906))
action filter_type
action find
entity Q912823
relation P138
type Q2221906
['Q912823', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { resource:Q912823 property:P138 ?s . ?s rdf:type ontology:Q2221906 }
2404 Antarctica
action filter_type
action find
entity 2404 Antarctica
relation named after
type geographic location
['2404 Antarctica', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { resource:2404_Antarctica property:named_after ?s . ?s rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q912823,P138,c(Q2221906))
action filter_type
action find
entity Q912823
relation P138
type Q2221906
[ANSWER]
['Q912823', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { resource:Q912823 property:P138 ?s . ?s rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity 2404 Antarctica
relation named after
type geographic location
['2404 Antarctica', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { resource:2404_Antarctica property:named_after ?s . ?s rdf:type ontology:geographic_location }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q2221906 Q21114848
USER
How many geographic locations do lesser number of magazine genres belong to than that geographic location ?
(c(Q21114848),P101,c(Q2221906))
action count
action less
action find_tuple_counts
relation P101
type Q2221906
type Q21114848
action count
action filter_type
action find
entity Q51
relation P101
type Q2221906
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { FILTER ( ?f < ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q51 property:P101 ?e . ?e rdf:type ontology:Q2221906 } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?f ) WHERE { ?h property:P101 ?n . ?h rdf:type ontology:Q2221906 . ?n rdf:type ontology:Q21114848 } GROUP BY ?h } }
action count
action less
action find_tuple_counts
relation field of work
type geographic location
type magazine genre
action count
action filter_type
action find
entity Antarctica
relation field of work
type geographic location
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { FILTER ( ?f < ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Antarctica property:field_of_work ?e . ?e rdf:type ontology:geographic_location } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?f ) WHERE { ?h property:field_of_work ?n . ?h rdf:type ontology:geographic_location . ?n rdf:type ontology:magazine_genre } GROUP BY ?h } }
[]
geographic location magazine genre
SYSTEM
0
(c(Q21114848),P101,c(Q2221906))
action count
action less
action find_tuple_counts
relation P101
type Q2221906
type Q21114848
action count
action filter_type
action find
entity Q51
relation P101
type Q2221906
[ANSWER]
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { FILTER ( ?f < ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q51 property:P101 ?e . ?e rdf:type ontology:Q2221906 } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?f ) WHERE { ?h property:P101 ?n . ?h rdf:type ontology:Q2221906 . ?n rdf:type ontology:Q21114848 } GROUP BY ?h } }
0
action count
action less
action find_tuple_counts
relation field of work
type geographic location
type magazine genre
action count
action filter_type
action find
entity Antarctica
relation field of work
type geographic location
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { FILTER ( ?f < ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Antarctica property:field_of_work ?e . ?e rdf:type ontology:geographic_location } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?f ) WHERE { ?h property:field_of_work ?n . ?h rdf:type ontology:geographic_location . ?n rdf:type ontology:magazine_genre } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q553036 Q2221906
USER
How many natural region of Germanys are the location where atleast 1 geographic location are located ?
(c(Q2221906),P706,c(Q553036))
action count
action atleast
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
value 1
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P706 ?h . ?h rdf:type ontology:Q553036 . ?n rdf:type ontology:Q2221906 } GROUP BY ?h } . FILTER ( ?u >= 1 ) }
action count
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:located_on_terrain_feature ?h . ?h rdf:type ontology:natural_region_of_Germany . ?n rdf:type ontology:geographic_location } GROUP BY ?h } . FILTER ( ?u >= 1 ) }
[]
natural region of Germany geographic location
SYSTEM
2
Q4186 Q4204
(c(Q2221906),P706,c(Q553036))
action count
action atleast
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
value 1
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P706 ?h . ?h rdf:type ontology:Q553036 . ?n rdf:type ontology:Q2221906 } GROUP BY ?h } . FILTER ( ?u >= 1 ) }
Harz Black Forest
2
action count
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:located_on_terrain_feature ?h . ?h rdf:type ontology:natural_region_of_Germany . ?n rdf:type ontology:geographic_location } GROUP BY ?h } . FILTER ( ?u >= 1 ) }
[]