Simple Question (Direct)
Simple Question
Q1599885
P17
Q15617994
USER
Which administrative territory does Sarrancolin belong to ?
(Q1599885,P17,c(Q15617994))
action filter_type
action find
entity Q1599885
relation P17
type Q15617994
['Q1599885', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1599885 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Sarrancolin
action filter_type
action find
entity Sarrancolin
relation country
type designation for an administrative territorial entity
['Sarrancolin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sarrancolin property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1599885,P17,c(Q15617994))
action filter_type
action find
entity Q1599885
relation P17
type Q15617994
Sarrancolin belongs to [ANSWER]
['Q1599885', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1599885 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
France
Sarrancolin belongs to France
France
action filter_type
action find
entity Sarrancolin
relation country
type designation for an administrative territorial entity
['Sarrancolin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sarrancolin property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1599885
P47
Q20667921
USER
Which french administrative divisions have a shared border with that one ?
(Q142,P47,c(Q20667921))
action filter_type
action find
entity Q1599885
relation P47
type Q20667921
['Q142', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q1599885 property:P47 ?f . ?f rdf:type ontology:Q20667921 }
Sarrancolin
action filter_type
action find
entity Sarrancolin
relation shares border with
type type of french administrative division
['France', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Sarrancolin property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1327516 Q1327683 Q1094342
SYSTEM
Ferrère, Hèches, Beyrède-Jumet
Q1327516 Q1327683 Q1406568 Q1110624 Q1328693 Q938884 Q1094342
(Q142,P47,c(Q20667921))
action filter_type
action find
entity Q1599885
relation P47
type Q20667921
[ANSWERS] have a shared border with that one
['Q142', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q1599885 property:P47 ?f . ?f rdf:type ontology:Q20667921 }
Ferrère Hèches Nistos Ardengost Ilhet Camous Beyrède-Jumet
Ferrère, Hèches and Beyrède-Jumet have a shared border with that one
Ferrère Hèches Beyrède-Jumet
action filter_type
action find
entity Sarrancolin
relation shares border with
type type of french administrative division
['France', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Sarrancolin property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1327516 Q1327683 Q1094342
P47
Q20667921
USER
Which french administrative divisions share border with those ones ?
(c(Q20667921),P47,Q1327516) (c(Q20667921),P47,Q1327683) (c(Q20667921),P47,Q1094342)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1327516'] [{'concept': 'Q20667921'}, 'P47', 'Q1327683'] [{'concept': 'Q20667921'}, 'P47', 'Q1094342']
SELECT DISTINCT ?z WHERE { VALUES ( ?y ) { ( resource:Q1327516 ) ( resource:Q1327683 ) ( resource:Q1406568 ) } . ?z rdf:type ontology:Q20667921 . ?y property:P47 ?z }
Ferrère Hèches Beyrède-Jumet
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Ferrère'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Hèches'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Beyrède-Jumet']
SELECT DISTINCT ?z WHERE { VALUES ( ?y ) { ( resource:Ferrère ) ( resource:Hèches ) ( resource:Nistos ) } . ?z rdf:type ontology:type_of_french_administrative_division . ?y property:shares_border_with ?z }
[]
type of french administrative division
Q835569 Q632117 Q1429752
SYSTEM
Campan, Arreau, Sost
Q595290 Q817305 Q1325284 Q1344829 Q530873 Q1110624 Q735344 Q1406568 Q1429752 Q945086 Q1599885 Q1340958 Q689495 Q595355 Q1326983 Q1324938 Q1406568 Q598486 Q1094342 Q1599885 Q1163202 Q632117 Q689495 Q1327683 Q1328693 Q1599885 Q1110877 Q938884 Q1327205 Q835569
(c(Q20667921),P47,Q1327516) (c(Q20667921),P47,Q1327683) (c(Q20667921),P47,Q1094342)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] share border with those ones
[{'concept': 'Q20667921'}, 'P47', 'Q1327516'] [{'concept': 'Q20667921'}, 'P47', 'Q1327683'] [{'concept': 'Q20667921'}, 'P47', 'Q1094342']
SELECT DISTINCT ?z WHERE { VALUES ( ?y ) { ( resource:Q1327516 ) ( resource:Q1327683 ) ( resource:Q1406568 ) } . ?z rdf:type ontology:Q20667921 . ?y property:P47 ?z }
Jézeau Bourg-d'Oueil Ourde Cirès Bareilles Ardengost Sacoué Nistos Sost Esbareich Sarrancolin Labastide Esparros Bazus-Neste Lortet Mazouau Nistos Gazave Beyrède-Jumet Sarrancolin Bize Arreau Esparros Hèches Ilhet Sarrancolin Aspin-Aure Camous Fréchet-Aure Campan
Campan, Arreau and Sost share border with those ones
Campan Arreau Sost
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Ferrère'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Hèches'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Beyrède-Jumet']
SELECT DISTINCT ?z WHERE { VALUES ( ?y ) { ( resource:Ferrère ) ( resource:Hèches ) ( resource:Nistos ) } . ?z rdf:type ontology:type_of_french_administrative_division . ?y property:shares_border_with ?z }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q835569 Q632117 Q1429752
P17
Q15617994
USER
Which administrative territories are Campan, Arreau and Sost located in ?
(Q835569,P17,c(Q15617994)) (Q632117,P17,c(Q15617994)) (Q1429752,P17,c(Q15617994))
action union
action filter_type
action find
entity Q835569
relation P17
type Q15617994
action filter_type
action find
entity Q632117
relation P17
type Q15617994
action filter_type
action find
entity Q1429752
relation P17
type Q15617994
['Q835569', 'P17', {'concept': 'Q15617994'}] ['Q632117', 'P17', {'concept': 'Q15617994'}] ['Q1429752', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { resource:Q632117 property:P17 ?e . ?e rdf:type ontology:Q15617994 } UNION { resource:Q835569 property:P17 ?e . ?e rdf:type ontology:Q15617994 } }
Campan Arreau Sost
action union
action filter_type
action find
entity Campan
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Arreau
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sost
relation country
type designation for an administrative territorial entity
['Campan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Arreau', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sost', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { resource:Arreau property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Campan property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q835569,P17,c(Q15617994)) (Q632117,P17,c(Q15617994)) (Q1429752,P17,c(Q15617994))
action union
action filter_type
action find
entity Q835569
relation P17
type Q15617994
action filter_type
action find
entity Q632117
relation P17
type Q15617994
action filter_type
action find
entity Q1429752
relation P17
type Q15617994
Which administrative territories are Campan, Arreau and Sost located in
['Q835569', 'P17', {'concept': 'Q15617994'}] ['Q632117', 'P17', {'concept': 'Q15617994'}] ['Q1429752', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { resource:Q632117 property:P17 ?e . ?e rdf:type ontology:Q15617994 } UNION { resource:Q835569 property:P17 ?e . ?e rdf:type ontology:Q15617994 } }
France France France
Which administrative territories are Campan, Arreau and Sost located in
France France France
action union
action filter_type
action find
entity Campan
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Arreau
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sost
relation country
type designation for an administrative territorial entity
['Campan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Arreau', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sost', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { resource:Arreau property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Campan property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q835569
P190
Q1048835
USER
Which political territory is partner town of Campan ?
(Q835569,P190,c(Q1048835))
action filter_type
action find
entity Q835569
relation P190
type Q1048835
['Q835569', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q835569 property:P190 ?k . ?k rdf:type ontology:Q1048835 }
Campan
action filter_type
action find
entity Campan
relation sister city
type political territorial entity
['Campan', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Campan property:sister_city ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q621626
SYSTEM
Banyeres de Mariola
Q621626
(Q835569,P190,c(Q1048835))
action filter_type
action find
entity Q835569
relation P190
type Q1048835
[ANSWER] is partner town of Campan
['Q835569', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q835569 property:P190 ?k . ?k rdf:type ontology:Q1048835 }
Banyeres de Mariola
Banyeres de Mariola is partner town of Campan
Banyeres de Mariola
action filter_type
action find
entity Campan
relation sister city
type political territorial entity
['Campan', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Campan property:sister_city ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q621626
P1001
Q12737077
USER
Which occupation has jurisdiction over that political territory ?
(c(Q12737077),P1001,Q621626)
action filter_type
action find_reverse
entity Q621626
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q621626']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . ?a property:P1001 resource:Q621626 }
Banyeres de Mariola
action filter_type
action find_reverse
entity Banyeres de Mariola
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Banyeres de Mariola']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . ?a property:applies_to_jurisdiction resource:Banyeres_de_Mariola }
[]
occupation
Q26699244
SYSTEM
mayor of Bañeres de Mariola
Q26699244
(c(Q12737077),P1001,Q621626)
action filter_type
action find_reverse
entity Q621626
relation P1001
type Q12737077
[ANSWER] has jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q621626']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . ?a property:P1001 resource:Q621626 }
mayor of Bañeres de Mariola
Mayor of Bañeres de Mariola has jurisdiction over that political territory
mayor of Bañeres de Mariola
action filter_type
action find_reverse
entity Banyeres de Mariola
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Banyeres de Mariola']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . ?a property:applies_to_jurisdiction resource:Banyeres_de_Mariola }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q621626
P19
Q502895
USER
Which people have place of birth as that political territory ?
(c(Q502895),P19,Q26699244)
action filter_type
action find_reverse
entity Q621626
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q26699244']
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q621626 . ?b rdf:type ontology:Q502895 }
Banyeres de Mariola
action filter_type
action find_reverse
entity Banyeres de Mariola
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'mayor of Bañeres de Mariola']
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Banyeres_de_Mariola . ?b rdf:type ontology:common_name }
[]
common name
Q3286768 Q20006711
SYSTEM
Manuel Broseta, Vicent Berenguer i Micó
Q3286768 Q20006711
(c(Q502895),P19,Q26699244)
action filter_type
action find_reverse
entity Q621626
relation P19
type Q502895
[ANSWERS] have place of birth as that political territory
[{'concept': 'Q502895'}, 'P19', 'Q26699244']
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q621626 . ?b rdf:type ontology:Q502895 }
Manuel Broseta Vicent Berenguer i Micó
Manuel Broseta and Vicent Berenguer i Micó have place of birth as that political territory
Manuel Broseta Vicent Berenguer i Micó
action filter_type
action find_reverse
entity Banyeres de Mariola
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'mayor of Bañeres de Mariola']
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Banyeres_de_Mariola . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3286768
P102
Q7278
USER
Which political party is that person a member of ?
(Q3286768,P102,c(Q7278))
action filter_type
action find
entity Q3286768
relation P102
type Q7278
['Q3286768', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?y WHERE { resource:Q3286768 property:P102 ?y . ?y rdf:type ontology:Q7278 }
Manuel Broseta
action filter_type
action find
entity Manuel Broseta
relation member of political party
type political party
['Manuel Broseta', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?y WHERE { resource:Manuel_Broseta property:member_of_political_party ?y . ?y rdf:type ontology:political_party }
[]
political party
Clarification for simple ques.
Q20006711
SYSTEM
Did you mean Vicent Berenguer i Micó ?
Q3286768 Q20006711
(Q3286768,P102,c(Q7278)) (Q20006711,P102,c(Q7278))
[ANSWER]
['Q3286768', 'P102', {'concept': 'Q7278'}] ['Q20006711', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?y WHERE { resource:Q3286768 property:P102 ?y . ?y rdf:type ontology:Q7278 }
Manuel Broseta Vicent Berenguer i Micó
Did you mean Vicent Berenguer i Micó ?
Vicent Berenguer i Micó
['Manuel Broseta', 'member of political party', {'concept': 'political party'}] ['Vicent Berenguer i Micó', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?y WHERE { resource:Manuel_Broseta property:member_of_political_party ?y . ?y rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
USER
No, I meant Manuel Broseta. Could you tell me the answer for that?
(Q3286768,P102,c(Q7278))
Q3286768
['Q3286768', 'P102', {'concept': 'Q7278'}]
['Manuel Broseta', 'member of political party', {'concept': 'political party'}]
[]
Q549209
SYSTEM
Union of the Democratic Centre
Q549209
(Q3286768,P102,c(Q7278))
action filter_type
action find
entity Q3286768
relation P102
type Q7278
[ANSWER] is that person a member of
['Q3286768', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?y WHERE { resource:Q3286768 property:P102 ?y . ?y rdf:type ontology:Q7278 }
Union of the Democratic Centre
Union of the Democratic Centre is that person a member of
Union of the Democratic Centre
action filter_type
action find
entity Manuel Broseta
relation member of political party
type political party
['Manuel Broseta', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?y WHERE { resource:Manuel_Broseta property:member_of_political_party ?y . ?y rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3286768
P1412
Q34770
USER
Which language does Manuel Broseta speak in ?
(Q3286768,P1412,c(Q34770))
action filter_type
action find
entity Q3286768
relation P1412
type Q34770
['Q3286768', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q3286768 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Manuel Broseta
action filter_type
action find
entity Manuel Broseta
relation languages spoken, written or signed
type language
['Manuel Broseta', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Manuel_Broseta property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3286768,P1412,c(Q34770))
action filter_type
action find
entity Q3286768
relation P1412
type Q34770
Manuel Broseta speaks and [ANSWER]
['Q3286768', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q3286768 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Spanish
Manuel Broseta speaks and Spanish
Spanish
action filter_type
action find
entity Manuel Broseta
relation languages spoken, written or signed
type language
['Manuel Broseta', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Manuel_Broseta property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5515960
Q34770
USER
And what about Gabriela Frías?
(Q5515960,P1412,c(Q34770))
action filter_type
action find
entity Q5515960
relation P1412
type Q34770
['Q5515960', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q5515960 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Gabriela Frías
action filter_type
action find
entity Gabriela Frías
relation languages spoken, written or signed
type language
['Gabriela Frías', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Gabriela_Frías property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5515960,P1412,c(Q34770))
action filter_type
action find
entity Q5515960
relation P1412
type Q34770
[ANSWER]
['Q5515960', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q5515960 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity Gabriela Frías
relation languages spoken, written or signed
type language
['Gabriela Frías', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Gabriela_Frías property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q688652
P37
Q34770 Q56061
USER
Which administrative territories have their official language as around the same number of languages as Littau ?
(c(Q56061),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q688652
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q688652 property:P37 ?b . ?b rdf:type ontology:Q56061 } } . FILTER ( ?t = ?s ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?t ) WHERE { ?d property:P37 ?u . ?d rdf:type ontology:Q56061 . ?u rdf:type ontology:Q34770 } GROUP BY ?d } }
Littau
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Littau
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Littau property:official_language ?b . ?b rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?t = ?s ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?t ) WHERE { ?d property:official_language ?u . ?d rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:language } GROUP BY ?d } }
[]
language administrative territorial entity
Q72 Q7172 Q807
SYSTEM
Zürich, Arab League, Lausanne
Q807 Q64004 Q68978 Q689502 Q9125 Q678901 Q66629 Q9009 Q2641849 Q175345 Q68124 Q704257 Q68965 Q757845 Q639054 Q689954 Q689691 Q643200 Q5576202 Q668705 Q69231 Q7149 Q66616 Q54450 Q3834 Q5951348 Q81811 Q669310 Q674433 Q669411 Q70477 Q429962 Q167715 Q669254 Q64011 Q1990899 Q597413 Q390482 Q662499 Q669360 Q678787 Q68883 Q660215 Q7525 Q661369 Q669400 Q4700013 Q121157 Q2094680 Q1352 Q128499 Q69639 Q662405 Q64679 Q70485 Q669466 Q141502 Q3639927 Q666159 Q3951 Q381861 Q69256 Q5689 Q63964 Q156593 Q781354 Q660142 Q572380 Q581562 Q678991 Q869534 Q3702463 Q21669478 Q669375 Q66208 Q659753 Q15077954 Q435231 Q2718721 Q7172 Q689487 Q196357 Q15730054 Q1757 Q669280 Q5999183 Q2492533 Q57110 Q66668 Q541319 Q68160 Q7001862 Q668740 Q2152433 Q183441 Q689499 Q678690 Q21845358 Q1034 Q63931 Q67812 Q669152 Q59117 Q669350 Q67097 Q664153 Q669292 Q3630738 Q289534 Q688652 Q258447 Q1259122 Q669229 Q661817 Q14512466 Q70683 Q669244 Q68103 Q678769 Q669437 Q69484 Q611382 Q69354 Q64123 Q69290 Q25396 Q669424 Q1341 Q78 Q2801411 Q72 Q71 Q70 Q669332 Q277674 Q65757 Q163798 Q65502 Q69940 Q7942521 Q64032 Q198210 Q869624 Q678960 Q1026291 Q68692 Q286332 Q1895
(c(Q56061),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q688652
relation P37
type Q56061
[ANSWERS] have their official language as around the same number of languages as Littau
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q688652 property:P37 ?b . ?b rdf:type ontology:Q56061 } } . FILTER ( ?t = ?s ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?t ) WHERE { ?d property:P37 ?u . ?d rdf:type ontology:Q56061 . ?u rdf:type ontology:Q34770 } GROUP BY ?d } }
Lausanne Grindelwald Thun Röthenbach bei Herzogenbuchsee Winterthur Colombier Saanen Schaffhausen history of Limousin Thielle-Wavre La Chaux-de-Fonds Albany Solothurn Betma Zhovti Vody Buttes Môtiers Mosen Godavarikhani Montignez Innertkirchen Neudorf Indore Vicques Konstanz Huwyl Gaildorf Balm bei Messen Bettmeralp Niederwil Chézard-Saint-Martin Bibern Thiruvananthapuram Gunzwil Lauterbrunnen Volovița Wildhaus Donatyre Busswil bei Büren Umiken Saint-Saphorin-sur-Morges Villars-Sainte-Croix Hilfikon Sevastopol Steinhof Ittenthal Ak-Dzhar Mashhad Tafersit Chennai Yalta Göschenen Opfertshofen Pratteln Coffrane Oberramsern Oberhofen Bilaspur, Haryana Wanzwil Aalen Aeschlen bei Oberdiessbach Wilderswil Åland Islands Sarnen Sambir Kapurthala Hofen Jizzakh Satara Peney-le-Jorat Wahlern Daqdaqabad Il'inskoe Hottwil Frutigen Albligen Tazaghine Altdorf Phalodi Arab League Buchs Snezhinsk Glarus Helsinki Retschwil Illighausen Aandu Corsier-sur-Vevey Koppigen Lieli Vevey Neukirch an der Thur Courtemaîche Midar Rohr Wil Châtillens Bryn Biel/Bienne Stans Ruppoldsried Sulz Aappilattoq Jona Unterseen Grandvaux Brunnenthal Bhood Mettau Littau Äänekoski Driouch Sulz Noiraigue Valens Peyres-Possens St. Peterzell Interlaken Monnaz Winikon Spiez Benzenschwil Montreux Meiringen Genolier Bonaire Etzgen Tolyatti Basel Ben Taieb Zürich Geneva Bern Müswangen Azaz Matten bei Interlaken Thrissur Bönigen Bévilard Voyvodovo, Haskovo Province Uster Shakhunya Mogelsberg Les Tavernes Kant Fenin-Vilars-Saules Alt St. Johann Petrozavodsk
Zürich, Arab League and Lausanne have their official language as around the same number of languages as Littau
Zürich Arab League Lausanne
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Littau
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Littau property:official_language ?b . ?b rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?t = ?s ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?t ) WHERE { ?d property:official_language ?u . ?d rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:language } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q70477
P37
Q34770 Q56061
USER
And what about Chézard-Saint-Martin?
(c(Q56061),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q70477
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?b ) WHERE { ?m property:P37 ?j . ?m rdf:type ontology:Q56061 . ?j rdf:type ontology:Q34770 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Q70477 property:P37 ?p . ?p rdf:type ontology:Q56061 } } . FILTER ( ?b = ?v ) }
Chézard-Saint-Martin
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Chézard-Saint-Martin
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?b ) WHERE { ?m property:official_language ?j . ?m rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:language } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Chézard-Saint-Martin property:official_language ?p . ?p rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?b = ?v ) }
[]
language administrative territorial entity
Q72 Q7172 Q807
SYSTEM
Zürich, Arab League, Lausanne
Q807 Q64004 Q68978 Q689502 Q9125 Q678901 Q66629 Q9009 Q2641849 Q175345 Q68124 Q704257 Q68965 Q757845 Q639054 Q689954 Q689691 Q643200 Q5576202 Q668705 Q69231 Q7149 Q66616 Q54450 Q3834 Q5951348 Q81811 Q669310 Q674433 Q669411 Q70477 Q429962 Q167715 Q669254 Q64011 Q1990899 Q597413 Q390482 Q662499 Q669360 Q678787 Q68883 Q660215 Q7525 Q661369 Q669400 Q4700013 Q121157 Q2094680 Q1352 Q128499 Q69639 Q662405 Q64679 Q70485 Q669466 Q141502 Q3639927 Q666159 Q3951 Q381861 Q69256 Q5689 Q63964 Q156593 Q781354 Q660142 Q572380 Q581562 Q678991 Q869534 Q3702463 Q21669478 Q669375 Q66208 Q659753 Q15077954 Q435231 Q2718721 Q7172 Q689487 Q196357 Q15730054 Q1757 Q669280 Q5999183 Q2492533 Q57110 Q66668 Q541319 Q68160 Q7001862 Q668740 Q2152433 Q183441 Q689499 Q678690 Q21845358 Q1034 Q63931 Q67812 Q669152 Q59117 Q669350 Q67097 Q664153 Q669292 Q3630738 Q289534 Q688652 Q258447 Q1259122 Q669229 Q661817 Q14512466 Q70683 Q669244 Q68103 Q678769 Q669437 Q69484 Q611382 Q69354 Q64123 Q69290 Q25396 Q669424 Q1341 Q78 Q2801411 Q72 Q71 Q70 Q669332 Q277674 Q65757 Q163798 Q65502 Q69940 Q7942521 Q64032 Q198210 Q869624 Q678960 Q1026291 Q68692 Q286332 Q1895
(c(Q56061),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q70477
relation P37
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?b ) WHERE { ?m property:P37 ?j . ?m rdf:type ontology:Q56061 . ?j rdf:type ontology:Q34770 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Q70477 property:P37 ?p . ?p rdf:type ontology:Q56061 } } . FILTER ( ?b = ?v ) }
Lausanne Grindelwald Thun Röthenbach bei Herzogenbuchsee Winterthur Colombier Saanen Schaffhausen history of Limousin Thielle-Wavre La Chaux-de-Fonds Albany Solothurn Betma Zhovti Vody Buttes Môtiers Mosen Godavarikhani Montignez Innertkirchen Neudorf Indore Vicques Konstanz Huwyl Gaildorf Balm bei Messen Bettmeralp Niederwil Chézard-Saint-Martin Bibern Thiruvananthapuram Gunzwil Lauterbrunnen Volovița Wildhaus Donatyre Busswil bei Büren Umiken Saint-Saphorin-sur-Morges Villars-Sainte-Croix Hilfikon Sevastopol Steinhof Ittenthal Ak-Dzhar Mashhad Tafersit Chennai Yalta Göschenen Opfertshofen Pratteln Coffrane Oberramsern Oberhofen Bilaspur, Haryana Wanzwil Aalen Aeschlen bei Oberdiessbach Wilderswil Åland Islands Sarnen Sambir Kapurthala Hofen Jizzakh Satara Peney-le-Jorat Wahlern Daqdaqabad Il'inskoe Hottwil Frutigen Albligen Tazaghine Altdorf Phalodi Arab League Buchs Snezhinsk Glarus Helsinki Retschwil Illighausen Aandu Corsier-sur-Vevey Koppigen Lieli Vevey Neukirch an der Thur Courtemaîche Midar Rohr Wil Châtillens Bryn Biel/Bienne Stans Ruppoldsried Sulz Aappilattoq Jona Unterseen Grandvaux Brunnenthal Bhood Mettau Littau Äänekoski Driouch Sulz Noiraigue Valens Peyres-Possens St. Peterzell Interlaken Monnaz Winikon Spiez Benzenschwil Montreux Meiringen Genolier Bonaire Etzgen Tolyatti Basel Ben Taieb Zürich Geneva Bern Müswangen Azaz Matten bei Interlaken Thrissur Bönigen Bévilard Voyvodovo, Haskovo Province Uster Shakhunya Mogelsberg Les Tavernes Kant Fenin-Vilars-Saules Alt St. Johann Petrozavodsk
Zürich Arab League Lausanne
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Chézard-Saint-Martin
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?b ) WHERE { ?m property:official_language ?j . ?m rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:language } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Chézard-Saint-Martin property:official_language ?p . ?p rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?b = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q273108
P180
Q12737077 Q15709879 Q340169
USER
Which occupations are demonstrated in greater number of artwork series or medias than condottiero ?
(c(Q15709879)|c(Q340169),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q273108
relation P180
type Q15709879
type Q340169
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?r ) { ( ontology:Q340169 ) ( ontology:Q15709879 ) } . ?q rdf:type ?r } GROUP BY ?n } . FILTER ( ?p > ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15709879 ) ( ontology:Q340169 ) } } . ?c property:P180 resource:Q273108 } } }
condottiero
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity condottiero
relation depicts
type artwork series
type media
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?r ) { ( ontology:media ) ( ontology:artwork_series ) } . ?q rdf:type ?r } GROUP BY ?n } . FILTER ( ?p > ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:artwork_series ) ( ontology:media ) } } . ?c property:depicts resource:condottiero } } }
[]
occupation artwork series media
Q4991371 Q838811 Q639669
SYSTEM
soldier, peasant, musician
Q4991371 Q20489032 Q838811 Q639669
(c(Q15709879)|c(Q340169),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q273108
relation P180
type Q15709879
type Q340169
The [ANSWERS] are demonstrated in greater number of artwork series or medias than condottiero
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?r ) { ( ontology:Q340169 ) ( ontology:Q15709879 ) } . ?q rdf:type ?r } GROUP BY ?n } . FILTER ( ?p > ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15709879 ) ( ontology:Q340169 ) } } . ?c property:P180 resource:Q273108 } } }
soldier salt pan worker peasant musician
The soldier, peasant and musician are demonstrated in greater number of artwork series or medias than condottiero
soldier peasant musician
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity condottiero
relation depicts
type artwork series
type media
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?r ) { ( ontology:media ) ( ontology:artwork_series ) } . ?q rdf:type ?r } GROUP BY ?n } . FILTER ( ?p > ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:artwork_series ) ( ontology:media ) } } . ?c property:depicts resource:condottiero } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15618890
P180
Q12737077 Q15709879 Q340169
USER
And what about ventriloquist?
(c(Q15709879)|c(Q340169),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q15618890
relation P180
type Q15709879
type Q340169
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P180 resource:Q15618890 . { VALUES ( ?y ) { ( ontology:Q15709879 ) ( ontology:Q340169 ) } . ?g rdf:type ?y } } } . FILTER ( ?t > ?u ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?r WHERE { { ?v property:P180 ?r . ?r rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q15709879 } UNION { ?v property:P180 ?r . ?v rdf:type ontology:Q340169 . ?r rdf:type ontology:Q12737077 } } GROUP BY ?r } }
ventriloquist
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity ventriloquist
relation depicts
type artwork series
type media
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:depicts resource:ventriloquist . { VALUES ( ?y ) { ( ontology:artwork_series ) ( ontology:media ) } . ?g rdf:type ?y } } } . FILTER ( ?t > ?u ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?r WHERE { { ?v property:depicts ?r . ?r rdf:type ontology:occupation . ?v rdf:type ontology:artwork_series } UNION { ?v property:depicts ?r . ?v rdf:type ontology:media . ?r rdf:type ontology:occupation } } GROUP BY ?r } }
[]
occupation artwork series media
Q186360 Q4991371 Q5716684
SYSTEM
nurse, soldier, dancer
Q177220 Q2995983 Q45199 Q47064 Q186360 Q733786 Q805221 Q12059906 Q622630 Q4991371 Q273108 Q589897 Q20489032 Q5716684 Q18575684 Q838811 Q639669 Q384593 Q1630100 Q39631
(c(Q15709879)|c(Q340169),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q15618890
relation P180
type Q15709879
type Q340169
[ANSWERS]
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P180 resource:Q15618890 . { VALUES ( ?y ) { ( ontology:Q15709879 ) ( ontology:Q340169 ) } . ?g rdf:type ?y } } } . FILTER ( ?t > ?u ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?r WHERE { { ?v property:P180 ?r . ?r rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q15709879 } UNION { ?v property:P180 ?r . ?v rdf:type ontology:Q340169 . ?r rdf:type ontology:Q12737077 } } GROUP BY ?r } }
singer double-bassist sailor military personnel nurse monk ballet dancer herder odalisque soldier condottiero mahout salt pan worker dancer embroiderer peasant musician police officer art model physician
nurse soldier dancer
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity ventriloquist
relation depicts
type artwork series
type media
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:depicts resource:ventriloquist . { VALUES ( ?y ) { ( ontology:artwork_series ) ( ontology:media ) } . ?g rdf:type ?y } } } . FILTER ( ?t > ?u ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?r WHERE { { ?v property:depicts ?r . ?r rdf:type ontology:occupation . ?v rdf:type ontology:artwork_series } UNION { ?v property:depicts ?r . ?v rdf:type ontology:media . ?r rdf:type ontology:occupation } } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q315640
P417
Q502895 Q12737077
USER
How many people are the patron saint of more number of occupations than Francis of Paola ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q315640
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P417 ?d . ?d rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q315640 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . FILTER ( ?q > ?v ) }
Francis of Paola
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Francis of Paola
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:patron_saint ?d . ?d rdf:type ontology:common_name . ?e rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Francis_of_Paola property:patron_saint ?t . ?t rdf:type ontology:common_name } } . FILTER ( ?q > ?v ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q315640
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P417 ?d . ?d rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q315640 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . FILTER ( ?q > ?v ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Francis of Paola
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:patron_saint ?d . ?d rdf:type ontology:common_name . ?e rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Francis_of_Paola property:patron_saint ?t . ?t rdf:type ontology:common_name } } . FILTER ( ?q > ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q445357
P417
Q502895 Q12737077
USER
And what about Henry?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q445357
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:P417 ?a . ?f rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q445357 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?c > ?o ) }
Henry
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Henry
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:patron_saint ?a . ?f rdf:type ontology:occupation . ?a rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Henry property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?c > ?o ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q445357
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:P417 ?a . ?f rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q445357 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?c > ?o ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Henry
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:patron_saint ?a . ?f rdf:type ontology:occupation . ?a rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Henry property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?c > ?o ) }
[]