Simple Question (Direct)
Simple Question
Q20710006
P54
Q12973014
USER
Which sports team is Mitchell Stephens a member of ?
(Q20710006,P54,c(Q12973014))
action filter_type
action find
entity Q20710006
relation P54
type Q12973014
['Q20710006', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12973014 . resource:Q20710006 property:P54 ?v }
Mitchell Stephens
action filter_type
action find
entity Mitchell Stephens
relation member of sports team
type sports team
['Mitchell Stephens', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sports_team . resource:Mitchell_Stephens property:member_of_sports_team ?v }
[]
sports team
Q201864
SYSTEM
Tampa Bay Lightning
Q201864
(Q20710006,P54,c(Q12973014))
action filter_type
action find
entity Q20710006
relation P54
type Q12973014
Team [ANSWER] is Mitchell Stephens a member of
['Q20710006', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12973014 . resource:Q20710006 property:P54 ?v }
Tampa Bay Lightning
Team Tampa Bay Lightning is Mitchell Stephens a member of
Tampa Bay Lightning
action filter_type
action find
entity Mitchell Stephens
relation member of sports team
type sports team
['Mitchell Stephens', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sports_team . resource:Mitchell_Stephens property:member_of_sports_team ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q201864
P137
Q811430
USER
Which construction was operated by that sports team ?
(c(Q811430),P137,Q201864)
action filter_type
action find_reverse
entity Q201864
relation P137
type Q811430
[{'concept': 'Q811430'}, 'P137', 'Q201864']
SELECT DISTINCT ?y WHERE { ?y property:P137 resource:Q201864 . ?y rdf:type ontology:Q811430 }
Tampa Bay Lightning
action filter_type
action find_reverse
entity Tampa Bay Lightning
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Tampa Bay Lightning']
SELECT DISTINCT ?y WHERE { ?y property:operator resource:Tampa_Bay_Lightning . ?y rdf:type ontology:construction }
[]
construction
Q940199
SYSTEM
Amalie Arena
Q940199
(c(Q811430),P137,Q201864)
action filter_type
action find_reverse
entity Q201864
relation P137
type Q811430
[ANSWER] was operated by that sports team
[{'concept': 'Q811430'}, 'P137', 'Q201864']
SELECT DISTINCT ?y WHERE { ?y property:P137 resource:Q201864 . ?y rdf:type ontology:Q811430 }
Amalie Arena
Amalie Arena was operated by that sports team
Amalie Arena
action filter_type
action find_reverse
entity Tampa Bay Lightning
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Tampa Bay Lightning']
SELECT DISTINCT ?y WHERE { ?y property:operator resource:Tampa_Bay_Lightning . ?y rdf:type ontology:construction }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q654057
P149
Q32880 Q811430
USER
How many architectural styles are the architectural style of more number of constructions than Tuscan order ?
(c(Q811430),P149,c(Q32880))
action count
action greater
action find_reverse_tuple_counts
relation P149
type Q32880
type Q811430
action count
action filter_type
action find
entity Q654057
relation P149
type Q32880
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q32880'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P149 ?r . ?r rdf:type ontology:Q32880 . ?u rdf:type ontology:Q811430 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q654057 property:P149 ?m . ?m rdf:type ontology:Q32880 } } . FILTER ( ?z > ?a ) }
Tuscan order
action count
action greater
action find_reverse_tuple_counts
relation architectural style
type architectural style
type construction
action count
action filter_type
action find
entity Tuscan order
relation architectural style
type architectural style
[{'concept': 'construction'}, 'architectural style', {'concept': 'architectural style'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:architectural_style ?r . ?r rdf:type ontology:architectural_style . ?u rdf:type ontology:construction } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Tuscan_order property:architectural_style ?m . ?m rdf:type ontology:architectural_style } } . FILTER ( ?z > ?a ) }
[]
architectural style construction
SYSTEM
2
Q74156 Q192664
(c(Q811430),P149,c(Q32880))
action count
action greater
action find_reverse_tuple_counts
relation P149
type Q32880
type Q811430
action count
action filter_type
action find
entity Q654057
relation P149
type Q32880
[ANSWER]
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q32880'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P149 ?r . ?r rdf:type ontology:Q32880 . ?u rdf:type ontology:Q811430 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q654057 property:P149 ?m . ?m rdf:type ontology:Q32880 } } . FILTER ( ?z > ?a ) }
Moorish Revival architecture Doric order
2
action count
action greater
action find_reverse_tuple_counts
relation architectural style
type architectural style
type construction
action count
action filter_type
action find
entity Tuscan order
relation architectural style
type architectural style
[{'concept': 'construction'}, 'architectural style', {'concept': 'architectural style'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:architectural_style ?r . ?r rdf:type ontology:architectural_style . ?u rdf:type ontology:construction } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Tuscan_order property:architectural_style ?m . ?m rdf:type ontology:architectural_style } } . FILTER ( ?z > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2568026
P149
Q32880 Q811430
USER
And how about Viĺnia Baroque?
(c(Q811430),P149,c(Q32880))
action count
action greater
action find_reverse_tuple_counts
relation P149
type Q32880
type Q811430
action count
action filter_type
action find
entity Q2568026
relation P149
type Q32880
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q32880'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P149 ?m . ?m rdf:type ontology:Q32880 . ?b rdf:type ontology:Q811430 } GROUP BY ?m } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:Q32880 . resource:Q2568026 property:P149 ?l } } }
Viĺnia Baroque
action count
action greater
action find_reverse_tuple_counts
relation architectural style
type architectural style
type construction
action count
action filter_type
action find
entity Viĺnia Baroque
relation architectural style
type architectural style
[{'concept': 'construction'}, 'architectural style', {'concept': 'architectural style'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:architectural_style ?m . ?m rdf:type ontology:architectural_style . ?b rdf:type ontology:construction } GROUP BY ?m } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:architectural_style . resource:Viĺnia_Baroque property:architectural_style ?l } } }
[]
architectural style construction
SYSTEM
2
Q74156 Q192664
(c(Q811430),P149,c(Q32880))
action count
action greater
action find_reverse_tuple_counts
relation P149
type Q32880
type Q811430
action count
action filter_type
action find
entity Q2568026
relation P149
type Q32880
[ANSWER]
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q32880'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P149 ?m . ?m rdf:type ontology:Q32880 . ?b rdf:type ontology:Q811430 } GROUP BY ?m } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:Q32880 . resource:Q2568026 property:P149 ?l } } }
Moorish Revival architecture Doric order
2
action count
action greater
action find_reverse_tuple_counts
relation architectural style
type architectural style
type construction
action count
action filter_type
action find
entity Viĺnia Baroque
relation architectural style
type architectural style
[{'concept': 'construction'}, 'architectural style', {'concept': 'architectural style'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:architectural_style ?m . ?m rdf:type ontology:architectural_style . ?b rdf:type ontology:construction } GROUP BY ?m } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:architectural_style . resource:Viĺnia_Baroque property:architectural_style ?l } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q765704 Q2568026
P19 P138
Q56061
USER
Which administrative territories are Viĺnia Baroque named after or were Augusta Klein born at ?
OR((Q2568026,P138,c(Q56061)), (Q765704,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2568026
relation P138
action find
entity Q765704
relation P19
type Q56061
{'OR': [['Q2568026', 'P138', {'concept': 'Q56061'}], ['Q765704', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q2568026 property:P138 ?y } UNION { resource:Q765704 property:P19 ?y } } . ?y rdf:type ontology:Q56061 }
Augusta Klein Viĺnia Baroque
action filter_type
action union
action find
entity Viĺnia Baroque
relation named after
action find
entity Augusta Klein
relation place of birth
type administrative territorial entity
{'OR': [['Viĺnia Baroque', 'named after', {'concept': 'administrative territorial entity'}], ['Augusta Klein', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Viĺnia_Baroque property:named_after ?y } UNION { resource:Augusta_Klein property:place_of_birth ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q610998 Q216
SYSTEM
Steyning, Vilnius
Q610998 Q216
OR((Q2568026,P138,c(Q56061)), (Q765704,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2568026
relation P138
action find
entity Q765704
relation P19
type Q56061
Viĺnia Baroque are named born in [ANSWERS]
{'OR': [['Q2568026', 'P138', {'concept': 'Q56061'}], ['Q765704', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q2568026 property:P138 ?y } UNION { resource:Q765704 property:P19 ?y } } . ?y rdf:type ontology:Q56061 }
Steyning Vilnius
Viĺnia Baroque are named born in Steyning and Vilnius
Steyning Vilnius
action filter_type
action union
action find
entity Viĺnia Baroque
relation named after
action find
entity Augusta Klein
relation place of birth
type administrative territorial entity
{'OR': [['Viĺnia Baroque', 'named after', {'concept': 'administrative territorial entity'}], ['Augusta Klein', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Viĺnia_Baroque property:named_after ?y } UNION { resource:Augusta_Klein property:place_of_birth ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q811430 Q3249551 Q811979
USER
Which constructions are the main uses of atleast 2 processes and architectural structures ?
(c(Q3249551)|c(Q811979),P366,c(Q811430))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q3249551
action find_reverse_tuple_counts
relation P366
type Q811430
type Q811979
value 2
[[{'concept': 'Q3249551'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?f WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q3249551 ) ( ontology:Q811979 ) } } GROUP BY ?f } . FILTER ( ?r >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation use
type construction
type process
action find_reverse_tuple_counts
relation use
type construction
type architectural structure
value 2
[[{'concept': 'process'}, {'concept': 'architectural structure'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?f WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:process ) ( ontology:architectural_structure ) } } GROUP BY ?f } . FILTER ( ?r >= 2 ) }
[]
construction process architectural structure
Q12280 Q12518
SYSTEM
bridge, tower
Q12280 Q12518
(c(Q3249551)|c(Q811979),P366,c(Q811430))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q3249551
action find_reverse_tuple_counts
relation P366
type Q811430
type Q811979
value 2
[ANSWERS] are the main uses of atleast 2 processes and architectural structures
[[{'concept': 'Q3249551'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?f WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q3249551 ) ( ontology:Q811979 ) } } GROUP BY ?f } . FILTER ( ?r >= 2 ) }
bridge tower
Bridge and tower are the main uses of atleast 2 processes and architectural structures
bridge tower
action atleast
action union
action find_reverse_tuple_counts
relation use
type construction
type process
action find_reverse_tuple_counts
relation use
type construction
type architectural structure
value 2
[[{'concept': 'process'}, {'concept': 'architectural structure'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?f WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:process ) ( ontology:architectural_structure ) } } GROUP BY ?f } . FILTER ( ?r >= 2 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q12280 Q12518
P366
Q811979
USER
Which architectural structures mainly plays the role of a bridge and tower ?
(c(Q811979),P366,Q12280) (c(Q811979),P366,Q12518)
action union
action filter_type
action find_reverse
entity Q12280
relation P366
type Q811979
action filter_type
action find_reverse
entity Q12518
relation P366
type Q811979
[{'concept': 'Q811979'}, 'P366', 'Q12280'] [{'concept': 'Q811979'}, 'P366', 'Q12518']
SELECT DISTINCT ?r WHERE { VALUES ( ?a ) { ( resource:Q12518 ) ( resource:Q12280 ) } . ?r property:P366 ?a }
bridge tower
action union
action filter_type
action find_reverse
entity bridge
relation use
type architectural structure
action filter_type
action find_reverse
entity tower
relation use
type architectural structure
[{'concept': 'architectural structure'}, 'use', 'bridge'] [{'concept': 'architectural structure'}, 'use', 'tower']
SELECT DISTINCT ?r WHERE { VALUES ( ?a ) { ( resource:tower ) ( resource:bridge ) } . ?r property:use ?a }
[]
architectural structure
Q5961760 Q5955627 Q5953048
SYSTEM
Pol-e Sefid Ahvaz, Old Bridge of Dezful, Pol-e Siah
Q5961760 Q5955627 Q5953048 Q5942527 Q5921622 Q535993 Q4116471
(c(Q811979),P366,Q12280) (c(Q811979),P366,Q12518)
action union
action filter_type
action find_reverse
entity Q12280
relation P366
type Q811979
action filter_type
action find_reverse
entity Q12518
relation P366
type Q811979
[ANSWERS] mainly play the role of a bridge and tower
[{'concept': 'Q811979'}, 'P366', 'Q12280'] [{'concept': 'Q811979'}, 'P366', 'Q12518']
SELECT DISTINCT ?r WHERE { VALUES ( ?a ) { ( resource:Q12518 ) ( resource:Q12280 ) } . ?r property:P366 ?a }
Pol-e Sefid Ahvaz Old Bridge of Dezful Pol-e Siah Gari Kouh Tower Resket Aliabad Tower Firuzabad Tower
Pol-e Sefid Ahvaz, Old Bridge of Dezful and Pol-e Siah mainly play the role of a bridge and tower
Pol-e Sefid Ahvaz Old Bridge of Dezful Pol-e Siah
action union
action filter_type
action find_reverse
entity bridge
relation use
type architectural structure
action filter_type
action find_reverse
entity tower
relation use
type architectural structure
[{'concept': 'architectural structure'}, 'use', 'bridge'] [{'concept': 'architectural structure'}, 'use', 'tower']
SELECT DISTINCT ?r WHERE { VALUES ( ?a ) { ( resource:tower ) ( resource:bridge ) } . ?r property:use ?a }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5955627
P17
Q15617994
USER
Which administrative territory does that architectural structure belong to ?
(Q5955627,P17,c(Q15617994))
action filter_type
action find
entity Q5955627
relation P17
type Q15617994
['Q5955627', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5955627 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Old Bridge of Dezful
action filter_type
action find
entity Old Bridge of Dezful
relation country
type designation for an administrative territorial entity
['Old Bridge of Dezful', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Old_Bridge_of_Dezful property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q5953048
SYSTEM
Did you mean Pol-e Siah ?
Q5961760 Q5955627 Q5953048
(Q5961760,P17,c(Q15617994)) (Q5955627,P17,c(Q15617994)) (Q5953048,P17,c(Q15617994))
[ANSWER]
['Q5961760', 'P17', {'concept': 'Q15617994'}] ['Q5955627', 'P17', {'concept': 'Q15617994'}] ['Q5953048', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5955627 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Pol-e Sefid Ahvaz Old Bridge of Dezful Pol-e Siah
Did you mean Pol-e Siah ?
Pol-e Siah
['Pol-e Sefid Ahvaz', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Old Bridge of Dezful', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pol-e Siah', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Old_Bridge_of_Dezful property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Old Bridge of Dezful. Could you tell me the answer for that?
(Q5955627,P17,c(Q15617994))
Q5955627
['Q5955627', 'P17', {'concept': 'Q15617994'}]
['Old Bridge of Dezful', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q794
SYSTEM
Iran
Q794
(Q5955627,P17,c(Q15617994))
action filter_type
action find
entity Q5955627
relation P17
type Q15617994
That architectural structure belongs to the [ANSWER]
['Q5955627', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5955627 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Iran
That architectural structure belongs to the Iran
Iran
action filter_type
action find
entity Old Bridge of Dezful
relation country
type designation for an administrative territorial entity
['Old Bridge of Dezful', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Old_Bridge_of_Dezful property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2221906 Q502895 Q811430
USER
How many constructions have around 2 geographic locations and people as their toponym ?
(c(Q811430),P138,c(Q2221906)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q811430
type Q2221906
action find_tuple_counts
relation P138
type Q811430
type Q502895
value 2
[{'concept': 'Q811430'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?p WHERE { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q2221906 ) } . ?b rdf:type ?q } GROUP BY ?p } . FILTER ( ?f = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation named after
type construction
type geographic location
action find_tuple_counts
relation named after
type construction
type common name
value 2
[{'concept': 'construction'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?p WHERE { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:geographic_location ) } . ?b rdf:type ?q } GROUP BY ?p } . FILTER ( ?f = 2 ) }
[]
geographic location common name construction
SYSTEM
2
Q58914 Q821188
(c(Q811430),P138,c(Q2221906)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q811430
type Q2221906
action find_tuple_counts
relation P138
type Q811430
type Q502895
value 2
[ANSWER]
[{'concept': 'Q811430'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?p WHERE { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q2221906 ) } . ?b rdf:type ?q } GROUP BY ?p } . FILTER ( ?f = 2 ) }
Penrose stairs Humboldt Box
2
action count
action approx
action union
action find_tuple_counts
relation named after
type construction
type geographic location
action find_tuple_counts
relation named after
type construction
type common name
value 2
[{'concept': 'construction'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?p WHERE { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:geographic_location ) } . ?b rdf:type ?q } GROUP BY ?p } . FILTER ( ?f = 2 ) }
[]