Simple Question (Direct)
Simple Question
Q6297922
P27
Q15617994
USER
Which administrative territory does Jozef Skvašík belong to ?
(Q6297922,P27,c(Q15617994))
action filter_type
action find
entity Q6297922
relation P27
type Q15617994
['Q6297922', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q6297922 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Jozef Skvašík
action filter_type
action find
entity Jozef Skvašík
relation country of citizenship
type designation for an administrative territorial entity
['Jozef Skvašík', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Jozef_Skvašík property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(Q6297922,P27,c(Q15617994))
action filter_type
action find
entity Q6297922
relation P27
type Q15617994
Jozef Skvašík belongs to [ANSWER]
['Q6297922', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q6297922 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Slovakia
Jozef Skvašík belongs to Slovakia
Slovakia
action filter_type
action find
entity Jozef Skvašík
relation country of citizenship
type designation for an administrative territorial entity
['Jozef Skvašík', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Jozef_Skvašík property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214
P17
Q41176
USER
Which buildings are located in that administrative territory ?
(c(Q41176),P17,Q214)
action filter_type
action find_reverse
entity Q214
relation P17
type Q41176
[{'concept': 'Q41176'}, 'P17', 'Q214']
SELECT DISTINCT ?t WHERE { ?t property:P17 resource:Q214 . ?t rdf:type ontology:Q41176 }
Slovakia
action filter_type
action find_reverse
entity Slovakia
relation country
type building
[{'concept': 'building'}, 'country', 'Slovakia']
SELECT DISTINCT ?t WHERE { ?t property:country resource:Slovakia . ?t rdf:type ontology:building }
[]
building
Q899662 Q3575549 Q873832
SYSTEM
Bratislava hlavná stanica, Banská Bystrica Ice Stadium, Pálffy Palace
Q873832 Q938516 Q12765543 Q641209 Q557821 Q6776784 Q752582 Q899662 Q3575549 Q14329857 Q281805 Q3501826 Q921212 Q3360878
(c(Q41176),P17,Q214)
action filter_type
action find_reverse
entity Q214
relation P17
type Q41176
[ANSWERS] are located in that administrative territory
[{'concept': 'Q41176'}, 'P17', 'Q214']
SELECT DISTINCT ?t WHERE { ?t property:P17 resource:Q214 . ?t rdf:type ontology:Q41176 }
Pálffy Palace Primate's Palace Europalace Arena Theatre Alexander Duchnovič Theatre Martin University Hospital Mirbach Palace Bratislava hlavná stanica Banská Bystrica Ice Stadium Štefan Kukura Hospital in Michalovce Slovak National Theatre New Scene Summer Archbishop's Palace Jakabov palace
Bratislava hlavná stanica, Banská Bystrica Ice Stadium and Pálffy Palace are located in that administrative territory
Bratislava hlavná stanica Banská Bystrica Ice Stadium Pálffy Palace
action filter_type
action find_reverse
entity Slovakia
relation country
type building
[{'concept': 'building'}, 'country', 'Slovakia']
SELECT DISTINCT ?t WHERE { ?t property:country resource:Slovakia . ?t rdf:type ontology:building }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P186
Q16686022 Q214609 Q41176
USER
Which buildings use exactly 2 natural physical objects or materials as their raw material ?
(c(Q41176),P186,c(Q16686022)|c(Q214609))
action equal
action union
action find_tuple_counts
relation P186
type Q41176
type Q16686022
action find_tuple_counts
relation P186
type Q41176
type Q214609
value 2
[{'concept': 'Q41176'}, 'P186', [{'concept': 'Q16686022'}, {'concept': 'Q214609'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) ?d WHERE { ?h rdf:type ?z . VALUES ( ?z ) { ( ontology:Q214609 ) ( ontology:Q16686022 ) } } GROUP BY ?d } . FILTER ( ?v = 2 ) }
action equal
action union
action find_tuple_counts
relation material used
type building
type natural physical object
action find_tuple_counts
relation material used
type building
type material
value 2
[{'concept': 'building'}, 'material used', [{'concept': 'natural physical object'}, {'concept': 'material'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) ?d WHERE { ?h rdf:type ?z . VALUES ( ?z ) { ( ontology:material ) ( ontology:natural_physical_object ) } } GROUP BY ?d } . FILTER ( ?v = 2 ) }
[]
natural physical object material building
Q247531 Q12060361
SYSTEM
Silberturm, Hohlgangsanlage 8
Q247531 Q12060361
(c(Q41176),P186,c(Q16686022)|c(Q214609))
action equal
action union
action find_tuple_counts
relation P186
type Q41176
type Q16686022
action find_tuple_counts
relation P186
type Q41176
type Q214609
value 2
[ANSWERS] use exactly 2 natural physical objects or materials as their raw material
[{'concept': 'Q41176'}, 'P186', [{'concept': 'Q16686022'}, {'concept': 'Q214609'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) ?d WHERE { ?h rdf:type ?z . VALUES ( ?z ) { ( ontology:Q214609 ) ( ontology:Q16686022 ) } } GROUP BY ?d } . FILTER ( ?v = 2 ) }
Silberturm Hohlgangsanlage 8
Silberturm and Hohlgangsanlage 8 use exactly 2 natural physical objects or materials as their raw material
Silberturm Hohlgangsanlage 8
action equal
action union
action find_tuple_counts
relation material used
type building
type natural physical object
action find_tuple_counts
relation material used
type building
type material
value 2
[{'concept': 'building'}, 'material used', [{'concept': 'natural physical object'}, {'concept': 'material'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) ?d WHERE { ?h rdf:type ?z . VALUES ( ?z ) { ( ontology:material ) ( ontology:natural_physical_object ) } } GROUP BY ?d } . FILTER ( ?v = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1130957
P122
Q4164871 Q15617994 Q15617994
USER
How many administrative territories have more number of positions and administrative territories as the type of government than Courtdale ?
(c(Q15617994),P122,c(Q4164871)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q1130957
relation P122
type Q4164871
type Q15617994
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?c ) WHERE { { ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q4164871 . ?u property:P122 ?i } UNION { ?u property:P122 ?i . ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q1130957 property:P122 ?o . { VALUES ( ?x ) { ( ontology:Q4164871 ) ( ontology:Q15617994 ) } . ?o rdf:type ?x } } } . FILTER ( ?c > ?n ) }
Courtdale
action count
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Courtdale
relation basic form of government
type position
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?c ) WHERE { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:position . ?u property:basic_form_of_government ?i } UNION { ?u property:basic_form_of_government ?i . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Courtdale property:basic_form_of_government ?o . { VALUES ( ?x ) { ( ontology:position ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?o rdf:type ?x } } } . FILTER ( ?c > ?n ) }
[]
position designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
6
Q889 Q689837 Q313175 Q815731 Q1483510 Q696651
(c(Q15617994),P122,c(Q4164871)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q1130957
relation P122
type Q4164871
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?c ) WHERE { { ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q4164871 . ?u property:P122 ?i } UNION { ?u property:P122 ?i . ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q1130957 property:P122 ?o . { VALUES ( ?x ) { ( ontology:Q4164871 ) ( ontology:Q15617994 ) } . ?o rdf:type ?x } } } . FILTER ( ?c > ?n ) }
Afghanistan Spanish Sahara Saxe-Lauenburg Principality of Bulgaria Principality of Wales Saxe-Eisenach
6
action count
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Courtdale
relation basic form of government
type position
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?c ) WHERE { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:position . ?u property:basic_form_of_government ?i } UNION { ?u property:basic_form_of_government ?i . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Courtdale property:basic_form_of_government ?o . { VALUES ( ?x ) { ( ontology:position ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?o rdf:type ?x } } } . FILTER ( ?c > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q236
P122
Q4164871 Q15617994 Q15617994
USER
And what about Montenegro?
(c(Q15617994),P122,c(Q4164871)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q236
relation P122
type Q4164871
type Q15617994
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?g ) WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q4164871 ) } } GROUP BY ?w } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q236 property:P122 ?r . { { ?r rdf:type ontology:Q4164871 } UNION { ?r rdf:type ontology:Q15617994 } } } } }
Montenegro
action count
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Montenegro
relation basic form of government
type position
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?g ) WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:position ) } } GROUP BY ?w } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Montenegro property:basic_form_of_government ?r . { { ?r rdf:type ontology:position } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } }
[]
position designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
6
Q889 Q689837 Q313175 Q815731 Q1483510 Q696651
(c(Q15617994),P122,c(Q4164871)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q236
relation P122
type Q4164871
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?g ) WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q4164871 ) } } GROUP BY ?w } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q236 property:P122 ?r . { { ?r rdf:type ontology:Q4164871 } UNION { ?r rdf:type ontology:Q15617994 } } } } }
Afghanistan Spanish Sahara Saxe-Lauenburg Principality of Bulgaria Principality of Wales Saxe-Eisenach
6
action count
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Montenegro
relation basic form of government
type position
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?g ) WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:position ) } } GROUP BY ?w } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Montenegro property:basic_form_of_government ?r . { { ?r rdf:type ontology:position } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214
P163
Q14660
USER
What is the name of flag associated with Slovakia ?
(Q214,P163,c(Q14660))
action filter_type
action find
entity Q214
relation P163
type Q14660
['Q214', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q214 property:P163 ?g . ?g rdf:type ontology:Q14660 }
Slovakia
action filter_type
action find
entity Slovakia
relation flag
type flag
['Slovakia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:Slovakia property:flag ?g . ?g rdf:type ontology:flag }
[]
flag
Q160861
SYSTEM
Flag of Slovakia
Q160861
(Q214,P163,c(Q14660))
action filter_type
action find
entity Q214
relation P163
type Q14660
The name of flag associated with Slovakia is the [ANSWER]
['Q214', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q214 property:P163 ?g . ?g rdf:type ontology:Q14660 }
Flag of Slovakia
The name of flag associated with Slovakia is the Flag of Slovakia
Flag of Slovakia
action filter_type
action find
entity Slovakia
relation flag
type flag
['Slovakia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:Slovakia property:flag ?g . ?g rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214
P85
Q484692
USER
What is the anthem for that administrative territory ?
(Q160861,P85,c(Q484692))
action filter_type
action find
entity Q214
relation P85
type Q484692
['Q160861', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q484692 . resource:Q214 property:P85 ?g }
Slovakia
action filter_type
action find
entity Slovakia
relation anthem
type hymn
['Flag of Slovakia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:hymn . resource:Slovakia property:anthem ?g }
[]
hymn
Q166944
SYSTEM
Nad Tatrou sa blýska
Q166944
(Q160861,P85,c(Q484692))
action filter_type
action find
entity Q214
relation P85
type Q484692
The anthem for that administrative territory is held [ANSWER]
['Q160861', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q484692 . resource:Q214 property:P85 ?g }
Nad Tatrou sa blýska
The anthem for that administrative territory is held Nad Tatrou sa blýska
Nad Tatrou sa blýska
action filter_type
action find
entity Slovakia
relation anthem
type hymn
['Flag of Slovakia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:hymn . resource:Slovakia property:anthem ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that hymn situated in ?
(Q166944,P17,c(Q15617994))
action count
action filter_type
action find
entity Q166944
relation P17
type Q15617994
['Q166944', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q166944 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Nad Tatrou sa blýska
relation country
type designation for an administrative territorial entity
['Nad Tatrou sa blýska', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Nad_Tatrou_sa_blýska property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q214
(Q166944,P17,c(Q15617994))
action count
action filter_type
action find
entity Q166944
relation P17
type Q15617994
[ANSWER]
['Q166944', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q166944 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Slovakia
1
action count
action filter_type
action find
entity Nad Tatrou sa blýska
relation country
type designation for an administrative territorial entity
['Nad Tatrou sa blýska', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Nad_Tatrou_sa_blýska property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q44539 Q14660
USER
Which temples are expressed in atmost 1 flag ?
(c(Q14660),P180,c(Q44539))
action atmost
action find_reverse_tuple_counts
relation P180
type Q44539
type Q14660
value 1
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q44539'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P180 ?t . ?b rdf:type ontology:Q14660 . ?t rdf:type ontology:Q44539 } GROUP BY ?t } . FILTER ( ?s <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation depicts
type temple
type flag
value 1
[{'concept': 'flag'}, 'depicts', {'concept': 'temple'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:depicts ?t . ?b rdf:type ontology:flag . ?t rdf:type ontology:temple } GROUP BY ?t } . FILTER ( ?s <= 1 ) }
[]
temple flag
Q639909 Q1537232 Q3580230
SYSTEM
Grote of Sint-Laurenskerk, Saint-Pierre-de-Montrouge, Notre-Dame-de-Pitié, Le Croisic
Q12060449 Q17744411 Q17744032 Q7594401 Q18784137 Q25999200 Q1229008 Q7593108 Q612065 Q17743654 Q295844 Q752555 Q17743146 Q134140 Q6755174 Q2300245 Q1433264 Q26203842 Q26214927 Q3580262 Q7592734 Q65326 Q2275186 Q26036638 Q155225 Q17743410 Q7587367 Q19963710 Q17743398 Q5418235 Q756824 Q810111 Q26039804 Q1491188 Q1813687 Q456130 Q99309 Q1436962 Q26016714 Q22337599 Q17738584 Q1537232 Q2912253 Q3306162 Q15584873 Q1787541 Q17741884 Q938556 Q2977 Q17743954 Q17742138 Q17741114 Q17743405 Q26038117 Q17742152 Q11527273 Q7594384 Q1765686 Q784000 Q21658890 Q1698940 Q2983929 Q501527 Q17742757 Q43473 Q25999305 Q25933443 Q129795 Q677659 Q17741801 Q1123019 Q330564 Q195532 Q25803031 Q24575468 Q5117693 Q1896594 Q1087515 Q7592932 Q17743272 Q542070 Q1742727 Q1742720 Q26000881 Q24183387 Q2272511 Q7592979 Q28785 Q17743664 Q26195885 Q2717786 Q3284283 Q2530761 Q678611 Q5116826 Q12331217 Q12325269 Q453634 Q1076211 Q1321231 Q3580230 Q7594300 Q17741930 Q831361 Q17736388 Q1419675 Q1354667 Q17743265 Q1453427 Q25931263 Q7592986 Q17740162 Q1813867 Q5117380 Q26196894 Q185910 Q52531 Q17742465 Q20714145 Q17741036 Q17744179 Q17742945 Q17742849 Q7595030 Q24036452 Q2983934 Q10288 Q2150534 Q17722606 Q7593750 Q157229 Q2323898 Q2555661 Q7245494 Q384813 Q5117722 Q5090115 Q17744259 Q26236358 Q26001309 Q7593714 Q8734962 Q242741 Q922677 Q1710376 Q17738542 Q26026249 Q1509716 Q3585258 Q1697240 Q526293 Q188856 Q7593112 Q7590160 Q12325240 Q3580508 Q3983228 Q17744568 Q17743863 Q16983951 Q16900539 Q17743857 Q427340 Q639909 Q26159961 Q17722469 Q16895839 Q267697 Q17738488 Q1324617 Q15680598 Q2127620 Q828143 Q25938573 Q1143171 Q17743205 Q586142 Q1091640 Q17744340 Q17741004 Q1129555 Q7592791 Q686664 Q26196577 Q2002492 Q5117313 Q1429394 Q1410649 Q1710369 Q952494 Q1545193 Q7593267 Q849241 Q23649192 Q17741245 Q319841 Q17744332 Q17744146 Q17527397 Q11372569 Q7594435 Q848290 Q7594432 Q7593396 Q12072104 Q17743335 Q13128106 Q17744426 Q576929 Q17740962 Q753791 Q17741939 Q17741403 Q1629700
(c(Q14660),P180,c(Q44539))
action atmost
action find_reverse_tuple_counts
relation P180
type Q44539
type Q14660
value 1
[ANSWERS]
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q44539'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P180 ?t . ?b rdf:type ontology:Q14660 . ?t rdf:type ontology:Q44539 } GROUP BY ?t } . FILTER ( ?s <= 1 ) }
St Chad's Church, Holt Church Of St Hilary Church Of St. Andrew St Mary's Church, Pentraeth église Notre-Dame Church of St. Cadoc Trinità dei Monti St Gallgo's Church, Llanallgo Oude Kerk Church Of St Justinian Saint-Sulpice Temple of Antoninus and Faustina Church Of St Cewydd Abu Simbel temples Marble Church Saint-Pierre de Montmartre St. Peter's Church Holy Trinity Church Church of St Mary église Notre-Dame-de-l'Assomption d'Auvers-sur-Oise St Cadfan's Church, Tywyn Église Saint-Jacques-du-Haut-Pas Nieuwe Kerk Church of St Deiniol Santi Giovanni e Paolo Parish Church of St.stephen St. Bridget's Church, Skenfrith Temple of Hera Parish Church Of St Tysilio And St Mary Church of Saint Roch Temple of Hephaestus St. Godehard Parish Church of St John the Baptist Temple of Theseus Santa Maria Formosa Grote of Sint-Jacobskerk (The Hague) Pantheon Saint-Roch Church of Saint Caron église Saint-Sauveur (Les Andelys, Eure) Church Of St Beuno, With Attached Chapel Of St Beuno Saint-Pierre-de-Montrouge Kerk aan Zee Henry VII Lady Chapel Larvik church Église de Notre-Dame-de-la-Mer Church Of Saint Martin Of Tours San Giuseppe di Castello cathedral Church Of St Mary Parish Church Of St. Martin Church Of St Curig Parish Church of Saint Nicholas Church of St Garmon Church Of Saint Mary, Church Street (sw Side) Higashi Hongan-ji St Mary's Church, Mold Tellskapelle temple of the Sibyl St Nicholas, Le Pouliguen St. John's Church Notre Dame de Mantes Church of St. Andrew Church Of St Cenau, Llangenny Angkor Wat Church of St Matthew Church of St Mary Magdalene Westminster Hall and Burying Ground Maison Carrée English Baptist Church Temple of Olympian Zeus La Madeleine Saint-Louis-du-Louvre St. Peter's Church Parish Church of St. Mary, Dolgellau Church of St Peter, St Paul and St John, Llantrisant St. Mary's Church St Mary's Priory Church St David's Church, Barmouth St. John The Baptist Parish Church San Pietro in Vincoli St. Stephen's Church Church of Our Lady of the Snow (Prague) Parish Church of St. Andrew St Mary’s Church, Hay-on-Wye St. Paul's Church, Antwerp St Dunawd's Church, Bangor Is-coed Sacré-Cœur Parish Church Of St.mary,church Street St Michael's Church Santi Apostoli Bloemendaal church St. James Church Nieuwe Kerk Church of Avaldsnes Pedersborg church Lynge Church Second Temple of Hera Église Saint-Philippe-du-Roule Frederik's Church Notre-Dame-de-Pitié, Le Croisic St Mary's Church Church Of St Nicholas Santa Costanza Church Of St Mary Nieuwe Kerk Sant'Andrea al Quirinale Church Of St. Gwyndaf, Llanwnda Church of Our Lady before Týn Church of St Hilary St Dwynwen's Church St Mary's and St Nicholas's Church, Beaumaris Santi Luca e Martina Church of St Cadoc, Llangattock Lingoed Church of St Peter San Simeone Piccolo Santa Maria della Salute St James' Church St Beuno's Church, Berriew St Cybi's Church St. Edmunds King & Martyr Parish Church, New Road Church Of Saint Mary, Church Street St Brynach's Church St Padarn's Church St Catherine's Church Our Lady, Vernon Parthenon Buurkerk St Mary's Church, Kidwelly St John the Baptist Church Church of Our Lady St Cynhaearn's Church Janskerk Priory Church of St Mary, Abergavenny Temple of Athena Nike Church of St Teilo, Llantilio Crossenny Chelsea Old Church St Illtyd's Parish Church, Llantrithyd Church of St Brynach Ruins of Old Church of St Brynach St John the Baptist's Church, Chester Tanum Church Erechtheion San Giacomo di Rialto Saint-Séverin Church Of St Peblig Parish Church of St David collegiate church Église Sainte-Radegonde de Giverny église Notre-Dame Saint-François-Xavier, Paris Panthéon St Garmon's Church, Llanfechain St. Mary's Church, Castlemartin Lyngby Church Notre-Dame de Bon-Port Temple of Athena Church Of Saint Mary, High Street (e Side) St Cadoc's Parish Church, Llancarfan Priory and Parish Church of Saint Mary St Winefride's Church, Holywell Church Of St Cenydd St-Gervais-et-St-Protais Grote of Sint-Laurenskerk St Michael's Church St Peter's Church Sts Thomas Minster St Thomas's Church Church Of St Mary Sant'Ivo alla Sapienza Église Notre-Dame de Vétheuil Cunerakerk Temple of Concord St. Edward's Church St. Mary's Basilica Church Of St Ystyffan Sainte-Trinité, Paris Santa Francesca Romana St Padarn's Church St Cadwaladr's Church San Trovaso St Chad's Church, Shrewsbury Bonn Minster St Michael's Church Our Blessed Lady of Zavel Church St Nicholas's Church Saint-Germain l'Auxerrois Saint-Germain de Charonne Notre-Dame-de-Lorette Sint-Lievensmonstertoren Grote Kerk St Giles' Church Temple of Portunus St Michael's Church, Aberystwyth Church Of St Mary Luxor Temple Church Of St Peris Church Of St Michael And All Angels Church Of St Andrew Gohyakurakan-ji St Mary's Church Janskerk St Mary's Church, Tal-y-llyn St Illtyd's Church, Llantwit Major Vester Egede Church Church Of St Michael And All Angels Church Of St Tudno Church Of St Tegai Temple of Hercules Victor Church Of St Mary Temple of Vesta Priory Church Of St Mary Church Of St Bridget San Giovanni dei Fiorentini
Grote of Sint-Laurenskerk, Saint-Pierre-de-Montrouge and Notre-Dame-de-Pitié, Le Croisic are expressed in atmost 1 flag
Grote of Sint-Laurenskerk Saint-Pierre-de-Montrouge Notre-Dame-de-Pitié, Le Croisic
action atmost
action find_reverse_tuple_counts
relation depicts
type temple
type flag
value 1
[{'concept': 'flag'}, 'depicts', {'concept': 'temple'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:depicts ?t . ?b rdf:type ontology:flag . ?t rdf:type ontology:temple } GROUP BY ?t } . FILTER ( ?s <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q1445650 Q44539
USER
How many holidays are the patron saints of around 4 temples ?
(c(Q44539),P417,c(Q1445650))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q1445650
type Q44539
value 4
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?u ) WHERE { ?i rdf:type ontology:Q1445650 . ?q rdf:type ontology:Q44539 . ?q property:P417 ?i } GROUP BY ?i } . FILTER ( ?u = 4 ) }
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type holiday
type temple
value 4
[{'concept': 'temple'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?u ) WHERE { ?i rdf:type ontology:holiday . ?q rdf:type ontology:temple . ?q property:patron_saint ?i } GROUP BY ?i } . FILTER ( ?u = 4 ) }
[]
holiday temple
SYSTEM
2
Q154326 Q587
(c(Q44539),P417,c(Q1445650))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q1445650
type Q44539
value 4
[ANSWER]
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?u ) WHERE { ?i rdf:type ontology:Q1445650 . ?q rdf:type ontology:Q44539 . ?q property:P417 ?i } GROUP BY ?i } . FILTER ( ?u = 4 ) }
Annunciation All Saints
2
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type holiday
type temple
value 4
[{'concept': 'temple'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?u ) WHERE { ?i rdf:type ontology:holiday . ?q rdf:type ontology:temple . ?q property:patron_saint ?i } GROUP BY ?i } . FILTER ( ?u = 4 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15438495 Q6297922
P106
Q12737077
USER
Which occupations are the professions of Jozef Skvašík or Reinhard G. Lehmann ?
OR((Q6297922,P106,c(Q12737077)), (Q15438495,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6297922
relation P106
action find
entity Q15438495
relation P106
type Q12737077
{'OR': [['Q6297922', 'P106', {'concept': 'Q12737077'}], ['Q15438495', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q6297922 property:P106 ?v } UNION { resource:Q15438495 property:P106 ?v } } . ?v rdf:type ontology:Q12737077 }
Reinhard G. Lehmann Jozef Skvašík
action filter_type
action union
action find
entity Jozef Skvašík
relation occupation
action find
entity Reinhard G. Lehmann
relation occupation
type occupation
{'OR': [['Jozef Skvašík', 'occupation', {'concept': 'occupation'}], ['Reinhard G. Lehmann', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Jozef_Skvašík property:occupation ?v } UNION { resource:Reinhard_G._Lehmann property:occupation ?v } } . ?v rdf:type ontology:occupation }
[]
occupation
Q937857 Q1622272 Q3621491
SYSTEM
association football player, university teacher, archaeologist
Q937857 Q1622272 Q3621491
OR((Q6297922,P106,c(Q12737077)), (Q15438495,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6297922
relation P106
action find
entity Q15438495
relation P106
type Q12737077
The [ANSWERS] are the professions of Jozef Skvašík or Reinhard G. Lehmann
{'OR': [['Q6297922', 'P106', {'concept': 'Q12737077'}], ['Q15438495', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q6297922 property:P106 ?v } UNION { resource:Q15438495 property:P106 ?v } } . ?v rdf:type ontology:Q12737077 }
association football player university teacher archaeologist
The association football player, university teacher and archaeologist are the professions of Jozef Skvašík or Reinhard G. Lehmann
association football player university teacher archaeologist
action filter_type
action union
action find
entity Jozef Skvašík
relation occupation
action find
entity Reinhard G. Lehmann
relation occupation
type occupation
{'OR': [['Jozef Skvašík', 'occupation', {'concept': 'occupation'}], ['Reinhard G. Lehmann', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Jozef_Skvašík property:occupation ?v } UNION { resource:Reinhard_G._Lehmann property:occupation ?v } } . ?v rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q16003605
P921
Q12737077 Q191067 Q838948
USER
How many occupations were lesser number of articles or works of art mainly about than elementary school student ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q16003605
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { { ?t property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q191067 } UNION { ?t property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q838948 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P921 resource:Q16003605 . { { ?c rdf:type ontology:Q191067 } UNION { ?c rdf:type ontology:Q838948 } } } } . FILTER ( ?e < ?q ) }
elementary school student
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity elementary school student
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { { ?t property:main_subject ?v . ?v rdf:type ontology:occupation . ?t rdf:type ontology:article } UNION { ?t property:main_subject ?v . ?v rdf:type ontology:occupation . ?t rdf:type ontology:work_of_art } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:main_subject resource:elementary_school_student . { { ?c rdf:type ontology:article } UNION { ?c rdf:type ontology:work_of_art } } } } . FILTER ( ?e < ?q ) }
[]
occupation article work of art
SYSTEM
92
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16707842
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q16003605
relation P921
type Q191067
type Q838948
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { { ?t property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q191067 } UNION { ?t property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q838948 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P921 resource:Q16003605 . { { ?c rdf:type ontology:Q191067 } UNION { ?c rdf:type ontology:Q838948 } } } } . FILTER ( ?e < ?q ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire Member of Parliament in the United Kingdom
92
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity elementary school student
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { { ?t property:main_subject ?v . ?v rdf:type ontology:occupation . ?t rdf:type ontology:article } UNION { ?t property:main_subject ?v . ?v rdf:type ontology:occupation . ?t rdf:type ontology:work_of_art } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:main_subject resource:elementary_school_student . { { ?c rdf:type ontology:article } UNION { ?c rdf:type ontology:work_of_art } } } } . FILTER ( ?e < ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q911554
P921
Q12737077 Q191067 Q838948
USER
And how about business magnate?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q911554
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } } GROUP BY ?b } . FILTER ( ?j < ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { { ?a rdf:type ontology:Q191067 } UNION { ?a rdf:type ontology:Q838948 } } . ?a property:P921 resource:Q911554 } } }
business magnate
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity business magnate
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:article ) ( ontology:work_of_art ) } } GROUP BY ?b } . FILTER ( ?j < ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { { ?a rdf:type ontology:article } UNION { ?a rdf:type ontology:work_of_art } } . ?a property:main_subject resource:business_magnate } } }
[]
occupation article work of art
SYSTEM
73
Q9045502 Q2666591 Q5185440 Q765778 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q43845 Q14128148 Q814356 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q372436 Q1238570 Q2259532 Q361593 Q1856798 Q16707842
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q911554
relation P921
type Q191067
type Q838948
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } } GROUP BY ?b } . FILTER ( ?j < ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { { ?a rdf:type ontology:Q191067 } UNION { ?a rdf:type ontology:Q838948 } } . ?a property:P921 resource:Q911554 } } }
member of the Parliament of Norway Chair of the Federal Reserve Crime scene cleanup organist surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate businessperson gridiron football player call girl political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor peasant missionary United States federal judge musician poet medical examiner police officer statesman political scientist cleric police officer baseball umpire Member of Parliament in the United Kingdom
73
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity business magnate
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:article ) ( ontology:work_of_art ) } } GROUP BY ?b } . FILTER ( ?j < ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { { ?a rdf:type ontology:article } UNION { ?a rdf:type ontology:work_of_art } } . ?a property:main_subject resource:business_magnate } } }
[]