Simple Question (Direct)
Simple Question
Q15952
P1313
Q12737077
USER
What is the occupation held by La Llacuna ?
(Q15952,P1313,c(Q12737077))
action filter_type
action find
entity Q15952
relation P1313
type Q12737077
['Q15952', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q15952 property:P1313 ?e . ?e rdf:type ontology:Q12737077 }
La Llacuna
action filter_type
action find
entity La Llacuna
relation office held by head of government
type occupation
['La Llacuna', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:La_Llacuna property:office_held_by_head_of_government ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q26691772
SYSTEM
mayor of La Llacuna
Q26691772
(Q15952,P1313,c(Q12737077))
action filter_type
action find
entity Q15952
relation P1313
type Q12737077
The occupation held by La Llacuna is the [ANSWER]
['Q15952', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q15952 property:P1313 ?e . ?e rdf:type ontology:Q12737077 }
mayor of La Llacuna
The occupation held by La Llacuna is the mayor of La Llacuna
mayor of La Llacuna
action filter_type
action find
entity La Llacuna
relation office held by head of government
type occupation
['La Llacuna', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:La_Llacuna property:office_held_by_head_of_government ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15952
P1001
Q12737077
USER
Which occupation has jurisdiction over La Llacuna ?
(c(Q12737077),P1001,Q15952)
action filter_type
action find_reverse
entity Q15952
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q15952']
SELECT DISTINCT ?y WHERE { ?y property:P1001 resource:Q15952 . ?y rdf:type ontology:Q12737077 }
La Llacuna
action filter_type
action find_reverse
entity La Llacuna
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'La Llacuna']
SELECT DISTINCT ?y WHERE { ?y property:applies_to_jurisdiction resource:La_Llacuna . ?y rdf:type ontology:occupation }
[]
occupation
Q26691772
SYSTEM
mayor of La Llacuna
Q26691772
(c(Q12737077),P1001,Q15952)
action filter_type
action find_reverse
entity Q15952
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over La Llacuna
[{'concept': 'Q12737077'}, 'P1001', 'Q15952']
SELECT DISTINCT ?y WHERE { ?y property:P1001 resource:Q15952 . ?y rdf:type ontology:Q12737077 }
mayor of La Llacuna
The mayor of La Llacuna has jurisdiction over La Llacuna
mayor of La Llacuna
action filter_type
action find_reverse
entity La Llacuna
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'La Llacuna']
SELECT DISTINCT ?y WHERE { ?y property:applies_to_jurisdiction resource:La_Llacuna . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15952
P6
Q502895
USER
Which person has La Llacuna as its head of government ?
(Q15952,P6,c(Q502895))
action filter_type
action find
entity Q15952
relation P6
type Q502895
['Q15952', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q15952 property:P6 ?y }
La Llacuna
action filter_type
action find
entity La Llacuna
relation head of government
type common name
['La Llacuna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:La_Llacuna property:head_of_government ?y }
[]
common name
Q14040146
SYSTEM
Jose Parera Tort
Q14040146
(Q15952,P6,c(Q502895))
action filter_type
action find
entity Q15952
relation P6
type Q502895
[ANSWER] has La Llacuna as its head of government
['Q15952', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q15952 property:P6 ?y }
Jose Parera Tort
Jose Parera Tort has La Llacuna as its head of government
Jose Parera Tort
action filter_type
action find
entity La Llacuna
relation head of government
type common name
['La Llacuna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:La_Llacuna property:head_of_government ?y }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q26331781
P725
Q502895 Q386724
USER
Which works had approximately the same number of people as the dubbing artist as Hércules y el examen de conducir ?
(c(Q386724),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26331781
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?a ) WHERE { ?c property:P725 ?j . ?c rdf:type ontology:Q386724 . ?j rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?a = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q26331781 property:P725 ?f . ?f rdf:type ontology:Q386724 } } }
Hércules y el examen de conducir
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y el examen de conducir
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?a ) WHERE { ?c property:voice_actor ?j . ?c rdf:type ontology:work . ?j rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?a = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Hércules_y_el_examen_de_conducir property:voice_actor ?f . ?f rdf:type ontology:work } } }
[]
common name work
Q26331781 Q26712000 Q26301623
SYSTEM
Hércules y el examen de conducir, Hércules y los Tecno-Griegos, Hércules y el primer día de escuela
Q26331781 Q23752771 Q26712000 Q26301623 Q23894983
(c(Q386724),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26331781
relation P725
type Q386724
[ANSWERS] had approximately the same number of people as the dubbing artist as Hércules y el examen de conducir
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?a ) WHERE { ?c property:P725 ?j . ?c rdf:type ontology:Q386724 . ?j rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?a = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q26331781 property:P725 ?f . ?f rdf:type ontology:Q386724 } } }
Hércules y el examen de conducir Iron Man Hércules y los Tecno-Griegos Hércules y el primer día de escuela Iron Man 2
Hércules y el examen de conducir, Hércules y los Tecno-Griegos and Hércules y el primer día de escuela had approximately the same number of people as the dubbing artist as Hércules y el examen de conducir
Hércules y el examen de conducir Hércules y los Tecno-Griegos Hércules y el primer día de escuela
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y el examen de conducir
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?a ) WHERE { ?c property:voice_actor ?j . ?c rdf:type ontology:work . ?j rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?a = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Hércules_y_el_examen_de_conducir property:voice_actor ?f . ?f rdf:type ontology:work } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q26715049
P725
Q502895 Q386724
USER
And also tell me about Peter y el dragón?
(c(Q386724),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26715049
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?x ) WHERE { ?n property:P725 ?j . ?j rdf:type ontology:Q502895 . ?n rdf:type ontology:Q386724 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q386724 . resource:Q26715049 property:P725 ?v } } . FILTER ( ?x = ?e ) }
Peter y el dragón
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Peter y el dragón
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?x ) WHERE { ?n property:voice_actor ?j . ?j rdf:type ontology:common_name . ?n rdf:type ontology:work } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:work . resource:Peter_y_el_dragón property:voice_actor ?v } } . FILTER ( ?x = ?e ) }
[]
common name work
Q13516675 Q27627540 Q26987217
SYSTEM
Sakura Trick, Doctor Strange (Doctor Extraño), Hércules y la visita de Zeus
Q26987217 Q26701981 Q27627540 Q24175397 Q26390366 Q26715049 Q26299860 Q25858085 Q26457246 Q13516675 Q26829863
(c(Q386724),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26715049
relation P725
type Q386724
[ANSWERS]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?x ) WHERE { ?n property:P725 ?j . ?j rdf:type ontology:Q502895 . ?n rdf:type ontology:Q386724 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q386724 . resource:Q26715049 property:P725 ?v } } . FILTER ( ?x = ?e ) }
Hércules y la visita de Zeus Hércules y el grifo Doctor Strange (Doctor Extraño) Capitán América: El primer vengador Hércules y el rey de Tesalia Peter y el dragón Hércules y el primer médico del mundo Alicia a través del espejo Hércules y el arma secreta Sakura Trick Angry Birds: La película
Sakura Trick Doctor Strange (Doctor Extraño) Hércules y la visita de Zeus
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Peter y el dragón
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?x ) WHERE { ?n property:voice_actor ?j . ?j rdf:type ontology:common_name . ?n rdf:type ontology:work } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:work . resource:Peter_y_el_dragón property:voice_actor ?v } } . FILTER ( ?x = ?e ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q13516675 Q27627540 Q26987217
P725
Q502895
USER
Who did the voice dubbing for those works ?
(Q13516675,P725,c(Q502895)) (Q27627540,P725,c(Q502895)) (Q26987217,P725,c(Q502895))
action filter_type
action find
entity prev_answer
relation P725
type Q502895
['Q13516675', 'P725', {'concept': 'Q502895'}] ['Q27627540', 'P725', {'concept': 'Q502895'}] ['Q26987217', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . VALUES ( ?e ) { ( resource:Q26987217 ) ( resource:Q26701981 ) ( resource:Q27627540 ) } . ?e property:P725 ?o }
Sakura Trick Doctor Strange (Doctor Extraño) Hércules y la visita de Zeus
action filter_type
action find
entity prev_answer
relation voice actor
type common name
['Sakura Trick', 'voice actor', {'concept': 'common name'}] ['Doctor Strange (Doctor Extraño)', 'voice actor', {'concept': 'common name'}] ['Hércules y la visita de Zeus', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . VALUES ( ?e ) { ( resource:Hércules_y_la_visita_de_Zeus ) ( resource:Hércules_y_el_grifo ) ( resource:Doctor_Strange_(Doctor_Extraño) ) } . ?e property:voice_actor ?o }
[]
common name
Q50025 Q1183854 Q9012015
SYSTEM
Haruka Tomatsu, Yuka Iguchi, Joan Pera
Q50025 Q1183854 Q1066065 Q5770504 Q16003597 Q15990694 Q24634108 Q27627785 Q24036998 Q27627760 Q27627733 Q27627641 Q24040744 Q23895071 Q24040954 Q11927013 Q26301176 Q26987256 Q26301253 Q26300392 Q26300991 Q9012015 Q26332007 Q26713399 Q24026685 Q5772111 Q26301706
(Q13516675,P725,c(Q502895)) (Q27627540,P725,c(Q502895)) (Q26987217,P725,c(Q502895))
action filter_type
action find
entity prev_answer
relation P725
type Q502895
[ANSWERS] did the voice dubbing for those works
['Q13516675', 'P725', {'concept': 'Q502895'}] ['Q27627540', 'P725', {'concept': 'Q502895'}] ['Q26987217', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . VALUES ( ?e ) { ( resource:Q26987217 ) ( resource:Q26701981 ) ( resource:Q27627540 ) } . ?e property:P725 ?o }
Haruka Tomatsu Yuka Iguchi Saki Fujita Hiromi Igarashi Megumi Toda Yuka Aisaka Iván Muelas Manuel Gimeno Carlos di Blasi Santi Lorenz Nuria Mediavilla Isabel Valls Paco Gázquez José Javier Serrano Salvador Moreno Ivan Labanda Aleix Estadella Marta Martorell Pep Sais Jonatán López Berta Cortés Joan Pera Jordi Ribes Roser Huguet Sergio Zamora Claudio Rodríguez Daniel García
Haruka Tomatsu, Yuka Iguchi and Joan Pera did the voice dubbing for those works
Haruka Tomatsu Yuka Iguchi Joan Pera
action filter_type
action find
entity prev_answer
relation voice actor
type common name
['Sakura Trick', 'voice actor', {'concept': 'common name'}] ['Doctor Strange (Doctor Extraño)', 'voice actor', {'concept': 'common name'}] ['Hércules y la visita de Zeus', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . VALUES ( ?e ) { ( resource:Hércules_y_la_visita_de_Zeus ) ( resource:Hércules_y_el_grifo ) ( resource:Doctor_Strange_(Doctor_Extraño) ) } . ?e property:voice_actor ?o }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q50025 Q1183854 Q9012015
P27
Q15617994
USER
Which administrative territories do Haruka Tomatsu, Yuka Iguchi and Joan Pera belong to ?
(Q50025,P27,c(Q15617994)) (Q1183854,P27,c(Q15617994)) (Q9012015,P27,c(Q15617994))
action union
action filter_type
action find
entity Q50025
relation P27
type Q15617994
action filter_type
action find
entity Q1183854
relation P27
type Q15617994
action filter_type
action find
entity Q9012015
relation P27
type Q15617994
['Q50025', 'P27', {'concept': 'Q15617994'}] ['Q1183854', 'P27', {'concept': 'Q15617994'}] ['Q9012015', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q50025 property:P27 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q1183854 property:P27 ?o . ?o rdf:type ontology:Q15617994 } }
Haruka Tomatsu Yuka Iguchi Joan Pera
action union
action filter_type
action find
entity Haruka Tomatsu
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Yuka Iguchi
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Joan Pera
relation country of citizenship
type designation for an administrative territorial entity
['Haruka Tomatsu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Yuka Iguchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Joan Pera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Haruka_Tomatsu property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Yuka_Iguchi property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q17 Q17 Q29
SYSTEM
Spain for 3rd, Japan for 1st, 2nd
Q17 Q17 Q29
(Q50025,P27,c(Q15617994)) (Q1183854,P27,c(Q15617994)) (Q9012015,P27,c(Q15617994))
action union
action filter_type
action find
entity Q50025
relation P27
type Q15617994
action filter_type
action find
entity Q1183854
relation P27
type Q15617994
action filter_type
action find
entity Q9012015
relation P27
type Q15617994
[ANSWERS]
['Q50025', 'P27', {'concept': 'Q15617994'}] ['Q1183854', 'P27', {'concept': 'Q15617994'}] ['Q9012015', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q50025 property:P27 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q1183854 property:P27 ?o . ?o rdf:type ontology:Q15617994 } }
Japan Japan Spain
Japan, Japan and Spain Haruka Tomatsu, Yuka Iguchi and Joan Pera belong to
Japan Japan Spain
action union
action filter_type
action find
entity Haruka Tomatsu
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Yuka Iguchi
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Joan Pera
relation country of citizenship
type designation for an administrative territorial entity
['Haruka Tomatsu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Yuka Iguchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Joan Pera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Haruka_Tomatsu property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Yuka_Iguchi property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q50025
P264
Q334453
USER
Who sponsored the recoding of that person ?
(Q50025,P264,c(Q334453))
action filter_type
action find
entity Q50025
relation P264
type Q334453
['Q50025', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?w WHERE { resource:Q50025 property:P264 ?w . ?w rdf:type ontology:Q334453 }
Haruka Tomatsu
action filter_type
action find
entity Haruka Tomatsu
relation record label
type division
['Haruka Tomatsu', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?w WHERE { resource:Haruka_Tomatsu property:record_label ?w . ?w rdf:type ontology:division }
[]
division
Clarification for simple ques.
Q50025
SYSTEM
Did you mean Haruka Tomatsu ?
Q17 Q17 Q29
(Q17,P264,c(Q334453)) (Q17,P264,c(Q334453)) (Q29,P264,c(Q334453))
[ANSWER]
['Q17', 'P264', {'concept': 'Q334453'}] ['Q17', 'P264', {'concept': 'Q334453'}] ['Q29', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?w WHERE { resource:Q50025 property:P264 ?w . ?w rdf:type ontology:Q334453 }
Japan Japan Spain
Did you mean Haruka Tomatsu ?
Haruka Tomatsu
['Japan', 'record label', {'concept': 'division'}] ['Japan', 'record label', {'concept': 'division'}] ['Spain', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?w WHERE { resource:Haruka_Tomatsu property:record_label ?w . ?w rdf:type ontology:division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q50025,P264,c(Q334453))
['Q50025', 'P264', {'concept': 'Q334453'}]
['Haruka Tomatsu', 'record label', {'concept': 'division'}]
[]
Q10851759
SYSTEM
Music Ray'n
Q10851759
(Q50025,P264,c(Q334453))
action filter_type
action find
entity Q50025
relation P264
type Q334453
[ANSWER] sponsored the recoding of that person
['Q50025', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?w WHERE { resource:Q50025 property:P264 ?w . ?w rdf:type ontology:Q334453 }
Music Ray'n
Music Ray'n sponsored the recoding of that person
Music Ray'n
action filter_type
action find
entity Haruka Tomatsu
relation record label
type division
['Haruka Tomatsu', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?w WHERE { resource:Haruka_Tomatsu property:record_label ?w . ?w rdf:type ontology:division }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1376
Q1048835 Q20667921 Q486972
USER
Which political territories have min number of french administrative divisions and human settlements as their capital ?
(c(Q20667921)|c(Q486972),P1376,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?h ) WHERE { VALUES ( ?a ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?k rdf:type ?a } GROUP BY ?e } } . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } } GROUP BY ?c } . FILTER ( ?g = ?o ) }
action argmin
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?h ) WHERE { VALUES ( ?a ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?k rdf:type ?a } GROUP BY ?e } } . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } } GROUP BY ?c } . FILTER ( ?g = ?o ) }
[]
political territorial entity type of french administrative division human settlement
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q7915647 Q132418 Q132410 Q13881 Q13882 Q13885 Q13884 Q13887 Q6318040 Q13889 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q785 Q13726 Q13727 Q2051 Q6317672 Q3891 Q3899 Q2175 Q938891 Q10298683 Q2271 Q849807 Q48060 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13900 Q13902 Q515343 Q753689 Q2058837 Q3825827 Q3825439 Q167859 Q43448 Q170390 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q8170 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q168651 Q3312907 Q173407 Q8517 Q3741 Q165956 Q2223 Q6949621 Q133083 Q22880 Q2071352 Q1925048 Q210061 Q494354 Q13786 Q13785 Q9676 Q13869 Q13868 Q13867 Q13866 Q13865 Q13864 Q13863 Q13862 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10547 Q7290462 Q1334322 Q10465 Q628370 Q104891 Q4863230 Q1890 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q746558 Q8560844 Q664 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q12741 Q6339 Q5082 Q3312493 Q3824385 Q3678587 Q2967 Q5065 Q5067 Q5061 Q5062 Q6317167 Q5068 Q13737 Q408 Q2096228 Q13730 Q13739 Q599448 Q40 Q3312467 Q7931 Q7932 Q13861 Q240 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q2140 Q539231 Q13827 Q13826 Q13825 Q13829 Q2698844 Q383734 Q953068 Q35 Q38610 Q3313291 Q3312974 Q7137570 Q3826135 Q170036 Q9648 Q5926575 Q7686343 Q3125978 Q5262649 Q192959 Q3321924 Q8566 Q13857 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3825983 Q2342207 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q757 Q13772 Q5164916 Q90027 Q3313822 Q3656379 Q6308 Q632108 Q5096392 Q6301 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q7890 Q2917 Q7896 Q1399432 Q933179 Q5945 Q3916 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13794 Q13791 Q13792 Q13812 Q13813 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q48079 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q5093 Q18288148 Q5095 Q5096 Q3653113 Q23635 Q6321909 Q671742 Q6317899 Q450521 Q2621992 Q5075 Q3824597 Q834261 Q3557 Q5078 Q193619 Q13740 Q2632922 Q4804007 Q13744 Q5925410 Q1893486 Q3313278 Q2898 Q48094 Q5051137 Q48098 Q201162 Q168856 Q192697 Q178269 Q2772 Q13874 Q7928 Q46070 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q2703450 Q3313040 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q188373 Q2486455 Q48046 Q5048959 Q3826128 Q2379199 Q2101298 Q1823 Q13845 Q13844 Q13847 Q13846 Q13841 Q13840 Q13843 Q7421013 Q3825413 Q189974 Q193295 Q2594990 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q766 Q103672 Q650489 Q8195 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2110 Q48072 Q2718510 Q3586 Q18221 Q192184 Q13892 Q13893 Q13891 Q2875944 Q13895 Q13899 Q3906 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q505220 Q1866 Q3826249 Q209597 Q103093 Q7636360 Q13809 Q178084 Q2697268 Q13860 Q13807 Q13806 Q240441 Q1230021 Q183 Q24174 Q10440 Q933576 Q49655 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q190930 Q13751 Q13750 Q13753 Q13752 Q13755 Q13759 Q8167 Q5657086 Q2697641 Q309460 Q48089 Q7919 Q7917 Q7916 Q7914 Q7912 Q7911 Q7910 Q838690 Q48101 Q1233672 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q7908 Q543868 Q16 Q3540 Q2697221 Q539094 Q205068 Q130840 Q6320495 Q10526 Q191091 Q3321868 Q10483 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13870 Q13871 Q13872 Q13873 Q3724 Q13875 Q13876 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q48057 Q211793 Q48054 Q211795 Q6328 Q6319125 Q3312431 Q10557 Q10554 Q10555 Q2909 Q2640062 Q862584 Q2902 Q10559 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q20667921)|c(Q486972),P1376,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
[ANSWERS] have min number of french administrative divisions and human settlements as their capital
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?h ) WHERE { VALUES ( ?a ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?k rdf:type ?a } GROUP BY ?e } } . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } } GROUP BY ?c } . FILTER ( ?g = ?o ) }
Vargas Guerra District Northern Cape Mpumalanga Sorsogon South Cotabato Sultan Kudarat Southern Leyte Sulu Paita District Surigao del Norte Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Jersey Albay Antique Jambi Province Ayabaca District Kalimantan Tengah Kalimantan Timur Riau Province San Miguel District Huacrachuco South Sumatra Western Highlands Province Gera District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga del Sur Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory County of Oldenburg Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Tübingen Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Landgraviate of Hesse-Kassel Checca District Ternopil Oblast Main-Tauber Special Region of Yogyakarta North West Kepulauan Riau Máncora District Gauteng Electoral Palatinate Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Cebu Cavite Isle of Man Palawan Oriental Mindoro Occidental Mindoro Nueva Vizcaya Nueva Ecija Northern Samar Negros Oriental Negros Occidental Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Lower Franconia Ramón Castilla District County of Toulouse Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Bengkulu Province Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Emirate of Bukhara Manseriche District New Zealand Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ilocos Sur Erzgebirgskreis West Sulawesi Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara Tambopata North Sulawesi Province Basilan Australia Tornquist Aurora Bataan Chimbu Province Austria Tacna District Giessen Government Region Darmstadt Government Region Mountain Province Brussels Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla North Sumatra Province Ambo District Kalinga Isabela Iloilo La Union Chimbote District Iquitos District South-West Africa Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Pariñas District Puquio District Kiev Oblast Falkland Islands Huaytará District Tarma District Bali Jauja District Minsk Region Arequipa Alzey-Worms Misamis Occidental Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Tarata San Cayetano Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Saint Vincent and the Grenadines Capiz Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental Leipzig Lincoln Partido Chiclayo District Nordsachsen Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Kassel Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Kalimantan Barat Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Davao del Sur Cotabato Davao del Norte Ifugao Ilocos Norte Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Leipzig District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Maluku Province Metropolitan City of Florence Papua West Papua Kingdom of Syunik Bermuda Río Tambo District General Pueyrredón Moyobamba District Magdeburg Government Region Villarino South East Sulawesi Province Moho District Bolívar Partido Central Java Province South Sulawesi Union of South Africa Batanes Chancay District Ascope District Batangas Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Potsdam District Catacaos Rostock District Amazonas Region Chernivtsi Oblast South Moravian Region Ivano-Frankivsk Oblast West Sumatra Rizal Kassel  Government Region Plzeň Region Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Chalhuanca District Yucay District Huaraz District Walloon Region Värmland County Urubamba District Callería Mala District Zlín Region Bellavista District Quinua District Cusco Region South Bohemia Region Manantay Cottbus Casitas Huancabamba District politics of Edinburgh Tandil Aceh Maguindanao Leyte Masbate Marinduque Lanao del Norte Laguna Lanao del Sur Saposoa District Pausa District Jõgeva County Hradec Králové Region Dominion of New Zealand Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis Jamaica Jönköping County Margraviate of Baden Breisgau-Hochschwarzwald Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Lampung Province Karl-Marx-Stadt District Abancay District East Java Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tarlac Tawi-Tawi Surigao del Sur Omate District Zambales Zamboanga del Norte Kalimantan Selatan North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District Huancavelica Region Bangka–Belitung Islands Chuschi District Tumbes department Västra Götaland County Sullana District Eastern Samar Ilkhanate Chavín de Huantar District Misamis Oriental Dinagat Islands Davao Oriental General Alvarado Partido Nieva District Germany Dresden Government Region Coburg Santa Cruz District Schellenberg Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Vysočina Region Biliran Benguet Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Manú Pamparomas District County of Hainaut Neubrandenburg District Odenwaldkreis Kreis Bergstraße Darmstadt-Dieburg Groß-Gerau Offenbach Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Hochtaunuskreis Chaupimarca District Canada Banten Province Corongo District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Rosenheim Karlovy Vary Region Samuel Pastor District Regen Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pampanga Pangasinan Quezon Quirino West Java Province Romblon Samar Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region Frankfurt (Oder) San Martín Region Erfurt Lima Region Mittelsachsen Pacasmayo District Cajamarca Swabia Upper Franconia Upper Palatinate Vorpommern-Rügen District Aramango District Enga Province Mecklenburgische Seenplatte District Lower Bavaria Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
Germany, Australia and Denmark have min number of french administrative divisions and human settlements as their capital
Germany Australia Denmark
action argmin
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?h ) WHERE { VALUES ( ?a ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?k rdf:type ?a } GROUP BY ?e } } . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } } GROUP BY ?c } . FILTER ( ?g = ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19969554 Q50025
P19
Q56061
USER
Which administrative territories were Haruka Tomatsu or Florian Malescha born in ?
OR((Q50025,P19,c(Q56061)), (Q19969554,P19,c(Q56061)))
action filter_type
action union
action find
entity Q50025
relation P19
action find
entity Q19969554
relation P19
type Q56061
{'OR': [['Q50025', 'P19', {'concept': 'Q56061'}], ['Q19969554', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { ?p property:P19 ?v . VALUES ( ?p ) { ( resource:Q50025 ) ( resource:Q19969554 ) } } . ?v rdf:type ontology:Q56061 }
Florian Malescha Haruka Tomatsu
action filter_type
action union
action find
entity Haruka Tomatsu
relation place of birth
action find
entity Florian Malescha
relation place of birth
type administrative territorial entity
{'OR': [['Haruka Tomatsu', 'place of birth', {'concept': 'administrative territorial entity'}], ['Florian Malescha', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?p property:place_of_birth ?v . VALUES ( ?p ) { ( resource:Haruka_Tomatsu ) ( resource:Florian_Malescha ) } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270810 Q1726
SYSTEM
Ichinomiya, Munich
Q270810 Q1726
OR((Q50025,P19,c(Q56061)), (Q19969554,P19,c(Q56061)))
action filter_type
action union
action find
entity Q50025
relation P19
action find
entity Q19969554
relation P19
type Q56061
Haruka Tomatsu or Florian Malescha were born in [ANSWERS]
{'OR': [['Q50025', 'P19', {'concept': 'Q56061'}], ['Q19969554', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { ?p property:P19 ?v . VALUES ( ?p ) { ( resource:Q50025 ) ( resource:Q19969554 ) } } . ?v rdf:type ontology:Q56061 }
Ichinomiya Munich
Haruka Tomatsu or Florian Malescha were born in Ichinomiya and Munich
Ichinomiya Munich
action filter_type
action union
action find
entity Haruka Tomatsu
relation place of birth
action find
entity Florian Malescha
relation place of birth
type administrative territorial entity
{'OR': [['Haruka Tomatsu', 'place of birth', {'concept': 'administrative territorial entity'}], ['Florian Malescha', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?p property:place_of_birth ?v . VALUES ( ?p ) { ( resource:Haruka_Tomatsu ) ( resource:Florian_Malescha ) } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q1048835 Q159334 Q3914
USER
How many political territories are atmost 1365 secondary schools or schools present in ?
(c(Q159334)|c(Q3914),P17,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q159334
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q3914
value 1365
[[{'concept': 'Q159334'}, {'concept': 'Q3914'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?k WHERE { { ?w property:P17 ?k . ?w rdf:type ontology:Q159334 . ?k rdf:type ontology:Q1048835 } UNION { ?w property:P17 ?k . ?k rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q3914 } } GROUP BY ?k } . FILTER ( ?t <= 1365 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type secondary school
action find_reverse_tuple_counts
relation country
type political territorial entity
type school
value 1365
[[{'concept': 'secondary school'}, {'concept': 'school'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?k WHERE { { ?w property:country ?k . ?w rdf:type ontology:secondary_school . ?k rdf:type ontology:political_territorial_entity } UNION { ?w property:country ?k . ?k rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:school } } GROUP BY ?k } . FILTER ( ?t <= 1365 ) }
[]
political territorial entity secondary school school
SYSTEM
63
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q183 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q408 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q159334)|c(Q3914),P17,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q159334
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q3914
value 1365
[ANSWER]
[[{'concept': 'Q159334'}, {'concept': 'Q3914'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?k WHERE { { ?w property:P17 ?k . ?w rdf:type ontology:Q159334 . ?k rdf:type ontology:Q1048835 } UNION { ?w property:P17 ?k . ?k rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q3914 } } GROUP BY ?k } . FILTER ( ?t <= 1365 ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Germany Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Australia Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
63
action count
action atmost
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type secondary school
action find_reverse_tuple_counts
relation country
type political territorial entity
type school
value 1365
[[{'concept': 'secondary school'}, {'concept': 'school'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?k WHERE { { ?w property:country ?k . ?w rdf:type ontology:secondary_school . ?k rdf:type ontology:political_territorial_entity } UNION { ?w property:country ?k . ?k rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:school } } GROUP BY ?k } . FILTER ( ?t <= 1365 ) }
[]