Simple Question (Direct)
Simple Question
Q1694
P47
Q515
USER
Who share the border with Bayugan ?
(Q1694,P47,c(Q515))
action filter_type
action find
entity Q1694
relation P47
type Q515
['Q1694', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1694 property:P47 ?f . ?f rdf:type ontology:Q515 }
Bayugan
action filter_type
action find
entity Bayugan
relation shares border with
type city
['Bayugan', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Bayugan property:shares_border_with ?f . ?f rdf:type ontology:city }
[]
city
Q155674 Q1686
SYSTEM
Tandag, Butuan
Q155674 Q1686
(Q1694,P47,c(Q515))
action filter_type
action find
entity Q1694
relation P47
type Q515
[ANSWERS] share the border with Bayugan
['Q1694', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1694 property:P47 ?f . ?f rdf:type ontology:Q515 }
Tandag Butuan
Tandag and Butuan share the border with Bayugan
Tandag Butuan
action filter_type
action find
entity Bayugan
relation shares border with
type city
['Bayugan', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Bayugan property:shares_border_with ?f . ?f rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1694
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Bayugan ?
(Q1694,P1313,c(Q12737077))
action filter_type
action find
entity Q1694
relation P1313
type Q12737077
['Q1694', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1694 property:P1313 ?r . ?r rdf:type ontology:Q12737077 }
Bayugan
action filter_type
action find
entity Bayugan
relation office held by head of government
type occupation
['Bayugan', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Bayugan property:office_held_by_head_of_government ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q1694,P1313,c(Q12737077))
action filter_type
action find
entity Q1694
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Bayugan
['Q1694', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1694 property:P1313 ?r . ?r rdf:type ontology:Q12737077 }
mayor
The mayor serves as the political office that is fulfilled by the head of the government of Bayugan
mayor
action filter_type
action find
entity Bayugan
relation office held by head of government
type occupation
['Bayugan', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Bayugan property:office_held_by_head_of_government ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30185
P466
Q811430
USER
Which construction is inhabited by that occupation ?
(c(Q811430),P466,Q30185)
action filter_type
action find_reverse
entity Q30185
relation P466
type Q811430
[{'concept': 'Q811430'}, 'P466', 'Q30185']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q811430 . ?b property:P466 resource:Q30185 }
mayor
action filter_type
action find_reverse
entity mayor
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'mayor']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:construction . ?b property:occupant resource:mayor }
[]
construction
Q1309294
SYSTEM
Einsteinhaus Caputh
Q1309294
(c(Q811430),P466,Q30185)
action filter_type
action find_reverse
entity Q30185
relation P466
type Q811430
[ANSWER] is inhabited by that occupation
[{'concept': 'Q811430'}, 'P466', 'Q30185']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q811430 . ?b property:P466 resource:Q30185 }
Einsteinhaus Caputh
Einsteinhaus Caputh is inhabited by that occupation
Einsteinhaus Caputh
action filter_type
action find_reverse
entity mayor
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'mayor']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:construction . ?b property:occupant resource:mayor }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30185
P361
Q15617994
USER
What is mayor a component of ?
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q30185 property:P361 ?z . ?z rdf:type ontology:Q15617994 }
mayor
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:mayor property:part_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15284
SYSTEM
municipality
Q15284
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
Mayor is a component of [ANSWER]
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q30185 property:P361 ?z . ?z rdf:type ontology:Q15617994 }
municipality
Mayor is a component of municipality
municipality
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:mayor property:part_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1686
P931
Q62447
USER
Which aerodrome is served by Butuan ?
(c(Q62447),P931,Q1686)
action filter_type
action find_reverse
entity Q1686
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q1686']
SELECT DISTINCT ?k WHERE { ?k property:P931 resource:Q1686 . ?k rdf:type ontology:Q62447 }
Butuan
action filter_type
action find_reverse
entity Butuan
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Butuan']
SELECT DISTINCT ?k WHERE { ?k property:place_served_by_airport resource:Butuan . ?k rdf:type ontology:aerodrome }
[]
aerodrome
Q80960
SYSTEM
Bancasi Airport
Q80960
(c(Q62447),P931,Q1686)
action filter_type
action find_reverse
entity Q1686
relation P931
type Q62447
[ANSWER] is served by Butuan
[{'concept': 'Q62447'}, 'P931', 'Q1686']
SELECT DISTINCT ?k WHERE { ?k property:P931 resource:Q1686 . ?k rdf:type ontology:Q62447 }
Bancasi Airport
Bancasi Airport is served by Butuan
Bancasi Airport
action filter_type
action find_reverse
entity Butuan
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Butuan']
SELECT DISTINCT ?k WHERE { ?k property:place_served_by_airport resource:Butuan . ?k rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1686
P17
Q15617994
USER
Which administrative territory is that city located in ?
(Q80960,P17,c(Q15617994))
action filter_type
action find
entity Q1686
relation P17
type Q15617994
['Q80960', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1686 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Butuan
action filter_type
action find
entity Butuan
relation country
type designation for an administrative territorial entity
['Bancasi Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Butuan property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928
SYSTEM
Philippines
Q928
(Q80960,P17,c(Q15617994))
action filter_type
action find
entity Q1686
relation P17
type Q15617994
That city is located in [ANSWER]
['Q80960', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1686 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Philippines
That city is located in Philippines
Philippines
action filter_type
action find
entity Butuan
relation country
type designation for an administrative territorial entity
['Bancasi Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Butuan property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15727420
P138
Q14524493 Q56061 Q811430
USER
Which constructions have more number of terrains or administrative territories as their toponym than St. Michael (Dortmund-Lanstrop) ?
(c(Q811430),P138,c(Q14524493)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P138
type Q811430
type Q14524493
action find_tuple_counts
relation P138
type Q811430
type Q56061
action count
action filter_multi_types
action find
entity Q15727420
relation P138
type Q14524493
type Q56061
[{'concept': 'Q811430'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?g WHERE { { ?g rdf:type ontology:Q811430 . ?a rdf:type ontology:Q14524493 . ?g property:P138 ?a } UNION { ?g property:P138 ?a . ?g rdf:type ontology:Q811430 . ?a rdf:type ontology:Q56061 } } GROUP BY ?g } . FILTER ( ?x > ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q15727420 property:P138 ?z . { { ?z rdf:type ontology:Q14524493 } UNION { ?z rdf:type ontology:Q56061 } } } } }
St. Michael (Dortmund-Lanstrop)
action greater
action union
action find_tuple_counts
relation named after
type construction
type terrain
action find_tuple_counts
relation named after
type construction
type administrative territorial entity
action count
action filter_multi_types
action find
entity St. Michael (Dortmund-Lanstrop)
relation named after
type terrain
type administrative territorial entity
[{'concept': 'construction'}, 'named after', [{'concept': 'terrain'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?g WHERE { { ?g rdf:type ontology:construction . ?a rdf:type ontology:terrain . ?g property:named_after ?a } UNION { ?g property:named_after ?a . ?g rdf:type ontology:construction . ?a rdf:type ontology:administrative_territorial_entity } } GROUP BY ?g } . FILTER ( ?x > ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:St._Michael_(Dortmund-Lanstrop) property:named_after ?z . { { ?z rdf:type ontology:terrain } UNION { ?z rdf:type ontology:administrative_territorial_entity } } } } }
[]
terrain administrative territorial entity construction
Q15709310 Q15709327 Q10577216
SYSTEM
Tarago, Bungendore, Maria trappgränd
Q15709310 Q15709327 Q10577216
(c(Q811430),P138,c(Q14524493)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P138
type Q811430
type Q14524493
action find_tuple_counts
relation P138
type Q811430
type Q56061
action count
action filter_multi_types
action find
entity Q15727420
relation P138
type Q14524493
type Q56061
[ANSWERS] have more number of terrains or administrative territories as their toponym than St. Michael (Dortmund-Lanstrop)
[{'concept': 'Q811430'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?g WHERE { { ?g rdf:type ontology:Q811430 . ?a rdf:type ontology:Q14524493 . ?g property:P138 ?a } UNION { ?g property:P138 ?a . ?g rdf:type ontology:Q811430 . ?a rdf:type ontology:Q56061 } } GROUP BY ?g } . FILTER ( ?x > ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q15727420 property:P138 ?z . { { ?z rdf:type ontology:Q14524493 } UNION { ?z rdf:type ontology:Q56061 } } } } }
Tarago Bungendore Maria trappgränd
Tarago, Bungendore and Maria trappgränd have more number of terrains or administrative territories as their toponym than St. Michael (Dortmund-Lanstrop)
Tarago Bungendore Maria trappgränd
action greater
action union
action find_tuple_counts
relation named after
type construction
type terrain
action find_tuple_counts
relation named after
type construction
type administrative territorial entity
action count
action filter_multi_types
action find
entity St. Michael (Dortmund-Lanstrop)
relation named after
type terrain
type administrative territorial entity
[{'concept': 'construction'}, 'named after', [{'concept': 'terrain'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?g WHERE { { ?g rdf:type ontology:construction . ?a rdf:type ontology:terrain . ?g property:named_after ?a } UNION { ?g property:named_after ?a . ?g rdf:type ontology:construction . ?a rdf:type ontology:administrative_territorial_entity } } GROUP BY ?g } . FILTER ( ?x > ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:St._Michael_(Dortmund-Lanstrop) property:named_after ?z . { { ?z rdf:type ontology:terrain } UNION { ?z rdf:type ontology:administrative_territorial_entity } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1309294
P138
Q14524493 Q56061 Q811430
USER
And what about Einsteinhaus Caputh?
(c(Q811430),P138,c(Q14524493)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P138
type Q811430
type Q14524493
action find_tuple_counts
relation P138
type Q811430
type Q56061
action count
action filter_multi_types
action find
entity Q1309294
relation P138
type Q14524493
type Q56061
[{'concept': 'Q811430'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) ?p WHERE { VALUES ( ?y ) { ( ontology:Q14524493 ) ( ontology:Q56061 ) } . ?m rdf:type ?y } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q1309294 property:P138 ?w . { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:Q14524493 ) ( ontology:Q56061 ) } } } } . FILTER ( ?f > ?t ) }
Einsteinhaus Caputh
action greater
action union
action find_tuple_counts
relation named after
type construction
type terrain
action find_tuple_counts
relation named after
type construction
type administrative territorial entity
action count
action filter_multi_types
action find
entity Einsteinhaus Caputh
relation named after
type terrain
type administrative territorial entity
[{'concept': 'construction'}, 'named after', [{'concept': 'terrain'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) ?p WHERE { VALUES ( ?y ) { ( ontology:terrain ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?y } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Einsteinhaus_Caputh property:named_after ?w . { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:terrain ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?f > ?t ) }
[]
terrain administrative territorial entity construction
Q15709310 Q15709327 Q10577216
SYSTEM
Tarago, Bungendore, Maria trappgränd
Q15709310 Q15709327 Q10577216
(c(Q811430),P138,c(Q14524493)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P138
type Q811430
type Q14524493
action find_tuple_counts
relation P138
type Q811430
type Q56061
action count
action filter_multi_types
action find
entity Q1309294
relation P138
type Q14524493
type Q56061
[ANSWERS]
[{'concept': 'Q811430'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) ?p WHERE { VALUES ( ?y ) { ( ontology:Q14524493 ) ( ontology:Q56061 ) } . ?m rdf:type ?y } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q1309294 property:P138 ?w . { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:Q14524493 ) ( ontology:Q56061 ) } } } } . FILTER ( ?f > ?t ) }
Tarago Bungendore Maria trappgränd
Tarago Bungendore Maria trappgränd
action greater
action union
action find_tuple_counts
relation named after
type construction
type terrain
action find_tuple_counts
relation named after
type construction
type administrative territorial entity
action count
action filter_multi_types
action find
entity Einsteinhaus Caputh
relation named after
type terrain
type administrative territorial entity
[{'concept': 'construction'}, 'named after', [{'concept': 'terrain'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) ?p WHERE { VALUES ( ?y ) { ( ontology:terrain ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?y } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Einsteinhaus_Caputh property:named_after ?w . { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:terrain ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?f > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2406030
P149
Q968159 Q811430
USER
Which art movements represent the architectural style of around the same number of constructions as Mosan Renaissance ?
(c(Q811430),P149,c(Q968159))
action approx
action find_reverse_tuple_counts
relation P149
type Q968159
type Q811430
action count
action filter_type
action find
entity Q2406030
relation P149
type Q968159
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q968159'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P149 ?x . ?x rdf:type ontology:Q968159 . ?b rdf:type ontology:Q811430 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q2406030 property:P149 ?z . ?z rdf:type ontology:Q968159 } } . FILTER ( ?h = ?o ) }
Mosan Renaissance
action approx
action find_reverse_tuple_counts
relation architectural style
type art movement
type construction
action count
action filter_type
action find
entity Mosan Renaissance
relation architectural style
type art movement
[{'concept': 'construction'}, 'architectural style', {'concept': 'art movement'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:architectural_style ?x . ?x rdf:type ontology:art_movement . ?b rdf:type ontology:construction } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Mosan_Renaissance property:architectural_style ?z . ?z rdf:type ontology:art_movement } } . FILTER ( ?h = ?o ) }
[]
art movement construction
Q37068 Q2406030
SYSTEM
Romanticism, Mosan Renaissance
Q37068 Q2406030
(c(Q811430),P149,c(Q968159))
action approx
action find_reverse_tuple_counts
relation P149
type Q968159
type Q811430
action count
action filter_type
action find
entity Q2406030
relation P149
type Q968159
[ANSWERS] represent the architectural style of around the same number of constructions as Mosan Renaissance
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q968159'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P149 ?x . ?x rdf:type ontology:Q968159 . ?b rdf:type ontology:Q811430 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q2406030 property:P149 ?z . ?z rdf:type ontology:Q968159 } } . FILTER ( ?h = ?o ) }
Romanticism Mosan Renaissance
Romanticism and Mosan Renaissance represent the architectural style of around the same number of constructions as Mosan Renaissance
Romanticism Mosan Renaissance
action approx
action find_reverse_tuple_counts
relation architectural style
type art movement
type construction
action count
action filter_type
action find
entity Mosan Renaissance
relation architectural style
type art movement
[{'concept': 'construction'}, 'architectural style', {'concept': 'art movement'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:architectural_style ?x . ?x rdf:type ontology:art_movement . ?b rdf:type ontology:construction } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Mosan_Renaissance property:architectural_style ?z . ?z rdf:type ontology:art_movement } } . FILTER ( ?h = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q37068
P149
Q968159 Q811430
USER
And also tell me about Romanticism?
(c(Q811430),P149,c(Q968159))
action approx
action find_reverse_tuple_counts
relation P149
type Q968159
type Q811430
action count
action filter_type
action find
entity Q37068
relation P149
type Q968159
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q968159'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q37068 property:P149 ?b . ?b rdf:type ontology:Q968159 } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?l ) WHERE { ?n rdf:type ontology:Q968159 . ?q rdf:type ontology:Q811430 . ?q property:P149 ?n } GROUP BY ?n } }
Romanticism
action approx
action find_reverse_tuple_counts
relation architectural style
type art movement
type construction
action count
action filter_type
action find
entity Romanticism
relation architectural style
type art movement
[{'concept': 'construction'}, 'architectural style', {'concept': 'art movement'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Romanticism property:architectural_style ?b . ?b rdf:type ontology:art_movement } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?l ) WHERE { ?n rdf:type ontology:art_movement . ?q rdf:type ontology:construction . ?q property:architectural_style ?n } GROUP BY ?n } }
[]
art movement construction
Q37068 Q2406030
SYSTEM
Romanticism, Mosan Renaissance
Q37068 Q2406030
(c(Q811430),P149,c(Q968159))
action approx
action find_reverse_tuple_counts
relation P149
type Q968159
type Q811430
action count
action filter_type
action find
entity Q37068
relation P149
type Q968159
[ANSWERS]
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q968159'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q37068 property:P149 ?b . ?b rdf:type ontology:Q968159 } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?l ) WHERE { ?n rdf:type ontology:Q968159 . ?q rdf:type ontology:Q811430 . ?q property:P149 ?n } GROUP BY ?n } }
Romanticism Mosan Renaissance
Romanticism Mosan Renaissance
action approx
action find_reverse_tuple_counts
relation architectural style
type art movement
type construction
action count
action filter_type
action find
entity Romanticism
relation architectural style
type art movement
[{'concept': 'construction'}, 'architectural style', {'concept': 'art movement'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Romanticism property:architectural_style ?b . ?b rdf:type ontology:art_movement } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?l ) WHERE { ?n rdf:type ontology:art_movement . ?q rdf:type ontology:construction . ?q property:architectural_style ?n } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1309294
P88
Q502895
USER
Who commissioned Einsteinhaus Caputh ?
(Q1309294,P88,c(Q502895))
action filter_type
action find
entity Q1309294
relation P88
type Q502895
['Q1309294', 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1309294 property:P88 ?w . ?w rdf:type ontology:Q502895 }
Einsteinhaus Caputh
action filter_type
action find
entity Einsteinhaus Caputh
relation commissioned by
type common name
['Einsteinhaus Caputh', 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Einsteinhaus_Caputh property:commissioned_by ?w . ?w rdf:type ontology:common_name }
[]
common name
Q937
SYSTEM
Albert Einstein
Q937
(Q1309294,P88,c(Q502895))
action filter_type
action find
entity Q1309294
relation P88
type Q502895
[ANSWER] commissioned Einsteinhaus Caputh
['Q1309294', 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1309294 property:P88 ?w . ?w rdf:type ontology:Q502895 }
Albert Einstein
Albert Einstein commissioned Einsteinhaus Caputh
Albert Einstein
action filter_type
action find
entity Einsteinhaus Caputh
relation commissioned by
type common name
['Einsteinhaus Caputh', 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Einsteinhaus_Caputh property:commissioned_by ?w . ?w rdf:type ontology:common_name }
[]