Simple Question (Direct)
Simple Question
Q2835535
P39
Q12737077
USER
Which occupations were the positions occupied by Alfred de Flers ?
(Q2835535,P39,c(Q12737077))
action filter_type
action find
entity Q2835535
relation P39
type Q12737077
['Q2835535', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q2835535 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Alfred de Flers
action filter_type
action find
entity Alfred de Flers
relation position held
type occupation
['Alfred de Flers', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Alfred_de_Flers property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q3780304 Q382617 Q21032547
SYSTEM
Member of the General Council, maire, senator of the French Third Republic
Q3780304 Q382617 Q21032547
(Q2835535,P39,c(Q12737077))
action filter_type
action find
entity Q2835535
relation P39
type Q12737077
[ANSWERS] were the positions occupied by Alfred de Flers
['Q2835535', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q2835535 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Member of the General Council maire senator of the French Third Republic
Member of the General Council, maire and senator of the French Third Republic were the positions occupied by Alfred de Flers
Member of the General Council maire senator of the French Third Republic
action filter_type
action find
entity Alfred de Flers
relation position held
type occupation
['Alfred de Flers', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Alfred_de_Flers property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2835535
P106
Q12737077
USER
Which occupation has Alfred de Flers as his/her 's career ?
(Q2835535,P106,c(Q12737077))
action filter_type
action find
entity Q2835535
relation P106
type Q12737077
['Q2835535', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q2835535 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Alfred de Flers
action filter_type
action find
entity Alfred de Flers
relation occupation
type occupation
['Alfred de Flers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Alfred_de_Flers property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2835535,P106,c(Q12737077))
action filter_type
action find
entity Q2835535
relation P106
type Q12737077
The [ANSWER] has Alfred de Flers as his/her 's career
['Q2835535', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q2835535 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
The politician has Alfred de Flers as his/her 's career
politician
action filter_type
action find
entity Alfred de Flers
relation occupation
type occupation
['Alfred de Flers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Alfred_de_Flers property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2835535
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q82955,P19,c(Q56061))
action filter_type
action find
entity Q2835535
relation P19
type Q56061
['Q82955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q2835535 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Alfred de Flers
action filter_type
action find
entity Alfred de Flers
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Alfred_de_Flers property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q82955,P19,c(Q56061))
action filter_type
action find
entity Q2835535
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q82955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q2835535 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Paris
Paris is the birthplace of that person
Paris
action filter_type
action find
entity Alfred de Flers
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Alfred_de_Flers property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q14508266 Q2835535
P27
Q15617994
USER
Which administrative territories are Alfred de Flers or Armando Collado a civilian of ?
OR((Q2835535,P27,c(Q15617994)), (Q14508266,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2835535
relation P27
action find
entity Q14508266
relation P27
type Q15617994
{'OR': [['Q2835535', 'P27', {'concept': 'Q15617994'}], ['Q14508266', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?a property:P27 ?l . VALUES ( ?a ) { ( resource:Q2835535 ) ( resource:Q14508266 ) } } . ?l rdf:type ontology:Q15617994 }
Armando Collado Alfred de Flers
action filter_type
action union
action find
entity Alfred de Flers
relation country of citizenship
action find
entity Armando Collado
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Alfred de Flers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Armando Collado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?a property:country_of_citizenship ?l . VALUES ( ?a ) { ( resource:Alfred_de_Flers ) ( resource:Armando_Collado ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q792
SYSTEM
France, El Salvador
Q142 Q792
OR((Q2835535,P27,c(Q15617994)), (Q14508266,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2835535
relation P27
action find
entity Q14508266
relation P27
type Q15617994
[ANSWERS] are Alfred de Flers or Armando Collado a civilian of
{'OR': [['Q2835535', 'P27', {'concept': 'Q15617994'}], ['Q14508266', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?a property:P27 ?l . VALUES ( ?a ) { ( resource:Q2835535 ) ( resource:Q14508266 ) } } . ?l rdf:type ontology:Q15617994 }
France El Salvador
France and El Salvador are Alfred de Flers or Armando Collado a civilian of
France El Salvador
action filter_type
action union
action find
entity Alfred de Flers
relation country of citizenship
action find
entity Armando Collado
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Alfred de Flers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Armando Collado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?a property:country_of_citizenship ?l . VALUES ( ?a ) { ( resource:Alfred_de_Flers ) ( resource:Armando_Collado ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14508266
P54
Q1194951
USER
Which national sports team is Armando Collado a member of ?
(Q142,P54,c(Q1194951)) (Q792,P54,c(Q1194951))
action filter_type
action find
entity Q14508266
relation P54
type Q1194951
['Q142', 'P54', {'concept': 'Q1194951'}] ['Q792', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q14508266 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Armando Collado
action filter_type
action find
entity Armando Collado
relation member of sports team
type national sports team
['France', 'member of sports team', {'concept': 'national sports team'}] ['El Salvador', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Armando_Collado property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
national sports team
Q327924
SYSTEM
Nicaragua national football team
Q327924
(Q142,P54,c(Q1194951)) (Q792,P54,c(Q1194951))
action filter_type
action find
entity Q14508266
relation P54
type Q1194951
The [ANSWER] is Armando Collado a member of
['Q142', 'P54', {'concept': 'Q1194951'}] ['Q792', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q14508266 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Nicaragua national football team
The Nicaragua national football team is Armando Collado a member of
Nicaragua national football team
action filter_type
action find
entity Armando Collado
relation member of sports team
type national sports team
['France', 'member of sports team', {'concept': 'national sports team'}] ['El Salvador', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Armando_Collado property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P54
Q502895
USER
How many people are members of that national sports team ?
(c(Q502895),P54,Q327924)
action count
action filter_type
action find_reverse
entity Q327924
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q327924']
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:P54 resource:Q327924 . ?d rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Nicaragua national football team
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Nicaragua national football team']
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:member_of_sports_team resource:Nicaragua_national_football_team . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
54
Q6793596 Q5368214 Q4830371 Q7944752 Q969423 Q6111049 Q6795803 Q6752620 Q6659754 Q3701716 Q17489730 Q6298956 Q17274424 Q19944899 Q17484210 Q7051159 Q5937238 Q8000080 Q9263318 Q9184640 Q5257227 Q18169349 Q6861015 Q6757928 Q7376891 Q5220896 Q3870513 Q6844950 Q6757895 Q7299794 Q5388191 Q6805150 Q16727479 Q6752518 Q19957839 Q7290544 Q7406405 Q5239947 Q32490 Q17388875 Q5371917 Q16205000 Q5366623 Q11770441 Q5841105 Q5511656 Q16216837 Q5294979 Q5511641 Q14508266 Q16727912 Q17486486 Q19698537 Q7358636
(c(Q502895),P54,Q327924)
action count
action filter_type
action find_reverse
entity Q327924
relation P54
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P54', 'Q327924']
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:P54 resource:Q327924 . ?d rdf:type ontology:Q502895 }
Mauricio Cruz Jiron Elvis Pinel Axel Villanueva Víctor Webster Keylor Navas Roger Mayorga Maximo Gámez Manuel Gutiérrez Castro Livio Bendaña Espinoza Daniel Reyes Avellán Luis Fernando Copete Juan Barrera Carlos Chavarría Ariagner Smith Manuel Rosas Norfran Lazo Josue Quijano Wilber Sánchez Franklin López Carlos Alonso Denis Espinoza Eduardo Urroz Milton Bustos Marcos Roman Rudel Calero Danny Téllez Nasser Valverde Miguel Ángel Sánchez López Marcos Méndez Raúl Leguías Erick Téllez Medardo Martínez José María Bermúdez Manuel Cuadra Serrano Luis Galeano Ramón Otoniel Olivas Salvador Dubois Leiva David Solórzano Samuel Wilson Ricardo Vega Emilio Palacios Livio José Bendaña Elmer Mejia Marlon Medina Silvio Avilés Félix Zeledón Hamilton West Donald Parrales Félix Rodríguez Armando Collado Sergio Chamorro Daniel Cadena Alejandro Tapia Roger Mejía
54
action count
action filter_type
action find_reverse
entity Nicaragua national football team
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Nicaragua national football team']
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:member_of_sports_team resource:Nicaragua_national_football_team . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14508266
P21
Q290
USER
What is the sex of Armando Collado ?
(Q14508266,P21,c(Q290))
action filter_type
action find
entity Q14508266
relation P21
type Q290
['Q14508266', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q14508266 property:P21 ?i . ?i rdf:type ontology:Q290 }
Armando Collado
action filter_type
action find
entity Armando Collado
relation gender
type sex
['Armando Collado', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Armando_Collado property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q14508266,P21,c(Q290))
action filter_type
action find
entity Q14508266
relation P21
type Q290
The sex of Armando Collado is the [ANSWER]
['Q14508266', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q14508266 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Armando Collado is the male
male
action filter_type
action find
entity Armando Collado
relation gender
type sex
['Armando Collado', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Armando_Collado property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1684529
Q290
USER
And what about Jácome de Morais Sarmento?
(Q1684529,P21,c(Q290))
action filter_type
action find
entity Q1684529
relation P21
type Q290
['Q1684529', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1684529 property:P21 ?k . ?k rdf:type ontology:Q290 }
Jácome de Morais Sarmento
action filter_type
action find
entity Jácome de Morais Sarmento
relation gender
type sex
['Jácome de Morais Sarmento', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Jácome_de_Morais_Sarmento property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1684529,P21,c(Q290))
action filter_type
action find
entity Q1684529
relation P21
type Q290
[ANSWER]
['Q1684529', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1684529 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Jácome de Morais Sarmento
relation gender
type sex
['Jácome de Morais Sarmento', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Jácome_de_Morais_Sarmento property:gender ?k . ?k rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q216422
P706
Q15324 Q1267889 Q15617994
USER
How many administrative territories are located in lesser number of bodies of water or waterways than Samsø ?
(c(Q15617994),P706,c(Q15324)|c(Q1267889))
action count
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
action count
action filter_multi_types
action find
entity Q216422
relation P706
type Q15324
type Q1267889
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?f ) WHERE { { ?s property:P706 ?n . ?s rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15324 } UNION { ?s rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1267889 . ?s property:P706 ?n } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Q216422 property:P706 ?e . { VALUES ( ?v ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?e rdf:type ?v } } } . FILTER ( ?f < ?u ) }
Samsø
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Samsø
relation located on terrain feature
type body of water
type waterway
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?f ) WHERE { { ?s property:located_on_terrain_feature ?n . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:body_of_water } UNION { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:waterway . ?s property:located_on_terrain_feature ?n } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Samsø property:located_on_terrain_feature ?e . { VALUES ( ?v ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?e rdf:type ?v } } } . FILTER ( ?f < ?u ) }
[]
body of water waterway designation for an administrative territorial entity
SYSTEM
121
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q267993 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q7042 Q312335 Q21160 Q525945 Q5382040 Q252320 Q3003231 Q505665 Q1462 Q15744129 Q4692611 Q521132 Q790 Q508054 Q1721440 Q5517964 Q555609 Q267005 Q27332 Q1619957 Q1093572 Q6350324 Q244 Q4789577 Q501683 Q582690 Q5000224 Q20789 Q16642582 Q33 Q921 Q633162 Q520347 Q851 Q845396 Q15213143 Q598754 Q252772 Q21074475 Q104192 Q81306 Q771971 Q1778088 Q3942 Q145 Q333149 Q27 Q494305 Q565749 Q5420482 Q19906291 Q502662 Q47821 Q20019215 Q503693 Q4692647 Q3068 Q331886 Q15244035 Q6472577 Q588957 Q229 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q28091 Q754 Q507258 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q522992 Q15744111 Q760 Q6835962 Q518171 Q2119591 Q46870 Q7561974 Q504134 Q625747 Q2585085 Q8147649 Q153969 Q481758 Q8043694 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q15324)|c(Q1267889))
action count
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
action count
action filter_multi_types
action find
entity Q216422
relation P706
type Q15324
type Q1267889
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?f ) WHERE { { ?s property:P706 ?n . ?s rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15324 } UNION { ?s rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1267889 . ?s property:P706 ?n } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Q216422 property:P706 ?e . { VALUES ( ?v ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?e rdf:type ?v } } } . FILTER ( ?f < ?u ) }
Yemen Leivathos Langen Zagori Oberhof Chionata Rankwitz Loucha Agioi Pantes Haundorf Muhr am See Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Pleinfeld Croisset Bergen Sardinia Oberscheuren Agios Dimitrios, Cephalonia Hilpoltstein Haiti Neu Wulmstorf Kaimig Galaro Magdala Moneglia Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Barbados Arginia Rosengarten Neuenhagen bei Berlin Burnt River, Ontario Wenningstedt-Braderup Hydra Finland Brunei Drestedt Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Eichstätt Nenndorf Kleinmachnow Forbach Avlida Kochenbach Aschaffenburg United Kingdom Abstatt Ireland Kelheim Erden Exo Chora Western New Guinea Bad Salzungen Malcesine Natal Riedenburg Agios Nikolaos, Cephalonia Loire-Atlantique Absberg Makryotika Lagopodo Allersberg Cyprus Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Wittdün auf Amrum Trinidad and Tobago Kipfenberg Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Braunlage Niederscheuren Saint Lucia Michata Ellhofen Pylaros Bardolino Sonning Eye Kirchlinteln Rangsdorf Wintersberg Ba District Lindau Pantelleria Xenopoulo Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
121
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Samsø
relation located on terrain feature
type body of water
type waterway
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?f ) WHERE { { ?s property:located_on_terrain_feature ?n . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:body_of_water } UNION { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:waterway . ?s property:located_on_terrain_feature ?n } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Samsø property:located_on_terrain_feature ?e . { VALUES ( ?v ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?e rdf:type ?v } } } . FILTER ( ?f < ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q56061 Q1792379 Q11060274
USER
How many administrative territories are demonstrated in atmost 9 art genres and prints ?
(c(Q1792379)|c(Q11060274),P180,c(Q56061))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q56061
type Q11060274
value 9
[[{'concept': 'Q1792379'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { FILTER ( ?c <= 9 ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:P180 ?d . ?d rdf:type ontology:Q56061 . ?z rdf:type ontology:Q1792379 } UNION { ?z property:P180 ?d . ?d rdf:type ontology:Q56061 . ?z rdf:type ontology:Q11060274 } } GROUP BY ?d } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type art genre
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type print
value 9
[[{'concept': 'art genre'}, {'concept': 'print'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { FILTER ( ?c <= 9 ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:depicts ?d . ?d rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:art_genre } UNION { ?z property:depicts ?d . ?d rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:print } } GROUP BY ?d } }
[]
administrative territorial entity art genre print
SYSTEM
460
Q894252 Q11370950 Q81076 Q10084 Q5180660 Q2536016 Q103011 Q7228196 Q52437 Q2741834 Q2218481 Q2035368 Q3876885 Q319536 Q319538 Q33486 Q12443 Q9427 Q3405864 Q11093013 Q7165393 Q3615313 Q6661066 Q1889195 Q950671 Q2214216 Q10989923 Q1198413 Q322 Q151920 Q467664 Q13375 Q1656724 Q130514 Q3404679 Q787395 Q33959 Q2184880 Q23051 Q2656 Q5687 Q7259867 Q54108 Q573757 Q4810069 Q9920 Q1310876 Q1866840 Q744948 Q3401639 Q15682 Q1908075 Q82070 Q2684439 Q5776 Q1757 Q1754 Q13153 Q319710 Q329967 Q12061339 Q13644930 Q6661117 Q62289 Q1965490 Q5058788 Q13644939 Q6477 Q2233618 Q1973162 Q41843 Q178835 Q1024924 Q1025821 Q2367253 Q1616324 Q80985 Q657748 Q472667 Q7837859 Q5616341 Q3297078 Q3401919 Q10690 Q3406673 Q3437 Q47164 Q12892 Q257446 Q365 Q5836 Q5288857 Q42053 Q179815 Q624065 Q991055 Q1247496 Q319576 Q1311946 Q4996547 Q153516 Q54143 Q180294 Q8818 Q80561 Q675460 Q428829 Q854672 Q5058745 Q13129603 Q7682007 Q3401133 Q1992389 Q174054 Q2385069 Q8021998 Q1524 Q9918 Q1489 Q3398339 Q1796191 Q2020203 Q1640443 Q6661380 Q7837893 Q2467 Q49156 Q3561 Q3398830 Q3398834 Q2313777 Q139564 Q144983 Q406 Q234178 Q8678 Q8054067 Q495 Q2044 Q7525 Q179046 Q319242 Q2695104 Q1012797 Q515 Q5623909 Q3405897 Q6661275 Q54145 Q1021164 Q527467 Q54217 Q199797 Q54134 Q7162078 Q1001536 Q2273077 Q272777 Q463937 Q3399236 Q3834 Q5463763 Q22336755 Q1191195 Q102217 Q1234779 Q3403140 Q1726 Q237 Q1936328 Q12994 Q995477 Q282461 Q2653611 Q621 Q7837767 Q5173016 Q748777 Q1296 Q6661758 Q1866857 Q636188 Q3402958 Q203387 Q16548107 Q1563 Q3406382 Q170263 Q372324 Q5200191 Q1748 Q205905 Q13129631 Q6661101 Q3811275 Q87 Q690 Q85 Q1013633 Q2227185 Q2100774 Q284467 Q187346 Q42462 Q9945 Q6661589 Q1741 Q6990839 Q200311 Q2243491 Q2913827 Q6661409 Q3399377 Q3404936 Q2634 Q3812274 Q285412 Q215177 Q319672 Q16869 Q4914513 Q191687 Q6661329 Q12302777 Q172 Q270 Q7588179 Q3309484 Q1020726 Q647698 Q84 Q1235510 Q2513006 Q376866 Q1638504 Q13678 Q5116688 Q79980 Q163490 Q23311 Q6661145 Q4769524 Q3401109 Q837211 Q579854 Q6737 Q951659 Q9908 Q3309494 Q171923 Q1492 Q6225 Q1867 Q2532363 Q3551 Q1807193 Q648732 Q6729228 Q13129664 Q3398922 Q43475 Q1479 Q7837785 Q3957 Q158467 Q64004 Q18419 Q1024911 Q6661964 Q271269 Q983538 Q5566589 Q5572835 Q674950 Q548248 Q2807 Q7930989 Q783437 Q49218 Q1353 Q183303 Q1974260 Q101254 Q13498 Q13496 Q677678 Q2185491 Q1026871 Q4667051 Q220 Q340 Q6661212 Q2240740 Q26421 Q4667113 Q1964775 Q123076 Q145948 Q2316216 Q672545 Q25231 Q25230 Q6661749 Q3050619 Q617 Q642810 Q339535 Q3402179 Q634054 Q922270 Q784824 Q3398367 Q158788 Q692847 Q487315 Q184163 Q2037687 Q2963905 Q48292 Q6661527 Q8621 Q24861 Q3398962 Q1894788 Q49146 Q779813 Q2487253 Q3397661 Q3406111 Q1024903 Q178813 Q1218 Q165887 Q3405138 Q54264 Q1070 Q10866 Q3398817 Q3869 Q34404 Q8717 Q3404531 Q64 Q60 Q62 Q3403507 Q3395358 Q1824365 Q3766 Q3460719 Q781725 Q835831 Q965581 Q2771917 Q478675 Q138833 Q1144249 Q5289699 Q126148 Q4870052 Q3876767 Q876315 Q771986 Q6661879 Q3402636 Q1011600 Q1428848 Q7005760 Q46843 Q7909529 Q42810 Q216258 Q1310 Q6661173 Q647 Q641 Q616837 Q16258 Q727 Q4898676 Q649 Q669171 Q9306 Q2599413 Q2301524 Q2085995 Q3401728 Q180141 Q881062 Q15088 Q5788 Q4980850 Q578447 Q13129719 Q580 Q13126981 Q12191 Q3398853 Q34370 Q1449 Q360795 Q7678684 Q3878864 Q207639 Q2666382 Q1024935 Q7163099 Q6441 Q3817101 Q3400567 Q5642527 Q156990 Q3402457 Q914291 Q40844 Q2272941 Q14702005 Q26793 Q7838879 Q3363693 Q3397480 Q6732359 Q7592977 Q2619155 Q60956 Q2239 Q509028 Q1002793 Q5119942 Q1026572 Q7165298 Q3402425 Q535982 Q1781556 Q752762 Q3992 Q177165 Q36600 Q1883524 Q995231 Q3395924 Q3402761 Q4942645 Q3877586 Q1009261 Q1813948 Q922365 Q16033791 Q6661943 Q1229951 Q213205 Q6661088 Q332952 Q665163 Q3878353 Q138311 Q3405649 Q12116357 Q4982108 Q1085
(c(Q1792379)|c(Q11060274),P180,c(Q56061))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q56061
type Q11060274
value 9
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { FILTER ( ?c <= 9 ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:P180 ?d . ?d rdf:type ontology:Q56061 . ?z rdf:type ontology:Q1792379 } UNION { ?z property:P180 ?d . ?d rdf:type ontology:Q56061 . ?z rdf:type ontology:Q11060274 } } GROUP BY ?d } }
Borth Kameido Zierikzee Vlissingen Craig-y-Don Crickhowell Corinth Pontfadog Murano Llanidloes Oosterbeek Tremadog Minsterley Aberdyfi Abererch Hartford Marquette Timbuktu Llandygai Cyffylliog Penybont Andaraí Llanarmon, Gwynedd Mogenstrup Porthmadog Soestdijk Llanfihangel-yng-Ngwynfa military camp Llanfairpwllgwyngyll Tiberias Butte Pisa ideal city Luxor Crumlin Llanfairfechan Nice St Pierre, Monmouthshire Swansea Palermo Jericho Pumsaint Bahía Blanca Usk Peristerona Haarlem Hokksund Llangybi, Gwynedd New Rochelle Henllan Cádiz Karrebæksminde Tyre Trefriw Bethlehem Helsinki Stockholm Ronda Abersoch Paestum Llangedwyn Llandrinio Llanboidy Rockaway Beach Laugharne Cenarth Llanrhystud Pirna Llanrwst Neath Abbey Beersheba Baalbek Llanbedrog Pwllheli Halfweg Egmond aan Zee Fes Manchester-by-the-Sea Amlwch Tregeiriog Guilsfield Sodom Nantmor Cardiff Esgairgeiliog Perugia Santa Monica Antwerp Holyhead Cologne Toledo Dolanog Isfahan Durham Molesey Milford Haven Rievaulx Abbey Aberffraw Montgomery Bull Bay, Anglesey Nuenen Melrose Jaffa Valencia Antakya Machynlleth Caernarfon Nisa Cemmaes Llanarmon Dyffryn Ceiriog Tan-y-Bwlch, Maentwrog Bagillt Beaumaris Isola Bella Duivendrecht Willington Worthenbury Athens Enkhuizen Mexico City Devil's Bridge Frederiksværk Rhyl West Wyalong Llanfoist Tregynon Nassau Gloucester Algiers Corris Llanaelhaearn Kamperveen Atlantic City Banská Bystrica Istanbul Bangor Rio de Janeiro Ynys Môn Turin Florence Sevastopol Fatehpur Sikri Caesarea Maritima Grafton, Cheshire Ostia Antica city Gwytherin Llanbadarn Fawr Llandysilio Medford Pontypool Colwyn Bay Norwalk Tacoma Newburyport Pen-y-groes, Carmarthenshire Budleigh Salterton Newcastle Emlyn Hadrian's Villa Saint Thomas Bodedern Konstanz Fløng Aston Mold Vitebsk Thornbury Llanfair-ar-y-bryn Munich Vatican City Nevern Bruges Drøbak IJmuiden Penmaenmawr Versailles Trefeglwys Corris Uchaf Tintagel Ghent Llansantffraed Llanystumdwy Rey, Iran Carno Betws-y-Coed Castle Caereinion Havana Glyndyfrdwy Chester Dawson City Cynwyl Gaeo Copenhagen Lancaster Llanfechell Llanbedr-Dyffryn-Clwyd Whittington Alexandria Delft Cairo Ruthin Felpham Point Judith, Rhode Island Vogelenzang Constantine York Laren Llangynyw Vienna Neltume Mathura Tintern Llanfwrog Llangadfan Clynnog Fawr Llanfair Talhaiarn Naples Baschurch Llithfaen Skagen Aberporth Constantinople Binsey, Oxfordshire Heliopolis Llanfaelog Baldersbrønde Toronto Warsaw St. George, Conwy Berriew Stalheim Malakoff London Dolgellau Cropthorne Santa Maria de Belém Llanberis Agrigento Church Stoke Varanasi Sidon City of London Llandderfel Annisquam Caerwys Scheveningen Gamla stan Castellammare di Stabia Claremont Bloemendaal Bronllys Bala Barcelona Coventry Taipei Presteigne Rabat Rhuddlan St Davids Maenclochog Llanllwchaiarn Y Felinheli Derby Bordeaux Trefin town Gwalior Grindelwald Brooklyn Welshpool Llechryd Åsgårdstrand Green River Llansanffraid Glan Conwy Glyn Ceiriog residential area St Asaph Madrid city Ploumanac'h Rochester Delhi Jalalabad Nefyn Newport Taranto Brindisi fortified town East Bergholt Winchelsea Aberdulais Rome Montreal Llandinam IJsselmonde Dordrecht Aberhafesp Nantlle Valley Palmyra Atoll Svolvær Chirk Barmouth Svalbard Guernsey Llansanffraid Glyndyfrdwy Holywell Padua Missolonghi Hammamet Llanfair Conwy Llanddewi Brefi Pembroke Dock Sarn Meyllteyrn Melenki Segesta Monterey Colchester Dedham Chirbury Arles Llangurig Terni Albany Garndolbenmaen Margam Abbey New London Cardigan Tregaron Llangeitho Llansawel Sloten Herculaneum Jerusalem Emmaus St Dogmaels Newport Ahmedabad Narni Aberllefenni Marburg New Orleans Seville Bangor-on-Dee Berlin New York City San Francisco Llanbrynmair Kidwelly Dodleston Damascus Old Colwyn Llangernyw Mount Vernon Cardia Abergele Riobamba Kom Ombo Lulworth Dolwyddelan Tangier Battle Harbour Bethel Taos Chepstow Llanwnnog Y Ffôr Ellesmere Port Flint New Broughton Auerbach Vale of Clwyd Le Havre Hilo Arnhem Llanddulas Rennes Venice Sarepta Maldonado Amsterdam Bettws Cedewain Moscow Newtown Eberswalde Stratford St. Mary Stege St Clears Llandre Sodom and Gomorrah Blaenau Ffestiniog Tarragona Petra Bryn Du Countryside Llwyn-y-brain Łódź Cellan Nantes Trawsfynydd Rotterdam Genoa Isawa Tal-y-llyn, Gwynedd Pontesbury Chichester Llanfair Caereinion Harlech Penmachno Montpellier Halton Llanengan Halkyn Monmouth Bryncrug Newport Breda Tywyn Llanwddyn Bergen Tretower Meifod Llanymynech Magor, Monmouthshire St Donats Hillested Ashkelon Kongens Lyngby ranch Llangollen Cilgerran Llanrhaeadr-ym-Mochnant Pentrefoelas Llanuwchllyn Lystra Gärdet Merthyr Tydfil Liège Narberth, Pembrokeshire The Hague Bethesda Long Branch Llansanffraid-ym-Mechain Llandegfan Bontuchel Westbury Caerleon Prestatyn Dyffryn Ardudwy Llangwyfan, Aberffraw Llay L'Estaque San Francisco Bay Area Llanbadarn Fawr Überlingen Nahant Shrawardine Elizabeth Chwilog Chiajna Buan, Gwynedd Prague
460
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type art genre
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type print
value 9
[[{'concept': 'art genre'}, {'concept': 'print'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { FILTER ( ?c <= 9 ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:depicts ?d . ?d rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:art_genre } UNION { ?z property:depicts ?d . ?d rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:print } } GROUP BY ?d } }
[]