Simple Question (Direct)
Simple Question
Q7453954
P21
Q290
USER
What is the sex of Sergey Boychenko ?
(Q7453954,P21,c(Q290))
action filter_type
action find
entity Q7453954
relation P21
type Q290
['Q7453954', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q7453954 property:P21 ?g }
Sergey Boychenko
action filter_type
action find
entity Sergey Boychenko
relation gender
type sex
['Sergey Boychenko', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Sergey_Boychenko property:gender ?g }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7453954,P21,c(Q290))
action filter_type
action find
entity Q7453954
relation P21
type Q290
The sex of Sergey Boychenko is a [ANSWER]
['Q7453954', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q7453954 property:P21 ?g }
male
The sex of Sergey Boychenko is a male
male
action filter_type
action find
entity Sergey Boychenko
relation gender
type sex
['Sergey Boychenko', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Sergey_Boychenko property:gender ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7453954
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q7453954
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q7453954 property:P27 ?f }
Sergey Boychenko
action filter_type
action find
entity Sergey Boychenko
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sergey_Boychenko property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q232
SYSTEM
Kazakhstan
Q232
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q7453954
relation P27
type Q15617994
To [ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q7453954 property:P27 ?f }
Kazakhstan
To Kazakhstan is that person a civilian of
Kazakhstan
action filter_type
action find
entity Sergey Boychenko
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sergey_Boychenko property:country_of_citizenship ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q232 Q35672
P17
Q15617994
USER
How many administrative territories are located in Kazakhstan or Pitcairn Islands ?
(c(Q15617994),P17,Q232) (c(Q15617994),P17,Q35672)
action count
action union
action filter_type
action find_reverse
entity Q232
relation P17
type Q15617994
action filter_type
action find_reverse
entity Q35672
relation P17
type Q15617994
[{'concept': 'Q15617994'}, 'P17', 'Q232'] [{'concept': 'Q15617994'}, 'P17', 'Q35672']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:P17 resource:Q232 . ?x rdf:type ontology:Q15617994 } UNION { ?x rdf:type ontology:Q15617994 . ?x property:P17 resource:Q35672 } }
Kazakhstan Pitcairn Islands
action count
action union
action filter_type
action find_reverse
entity Kazakhstan
relation country
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Pitcairn Islands
relation country
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'country', 'Kazakhstan'] [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Pitcairn Islands']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:country resource:Kazakhstan . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:country resource:Pitcairn_Islands } }
[]
designation for an administrative territorial entity
SYSTEM
4
Q12546174 Q6511462 Q836672 Q232
(c(Q15617994),P17,Q232) (c(Q15617994),P17,Q35672)
action count
action union
action filter_type
action find_reverse
entity Q232
relation P17
type Q15617994
action filter_type
action find_reverse
entity Q35672
relation P17
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P17', 'Q232'] [{'concept': 'Q15617994'}, 'P17', 'Q35672']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:P17 resource:Q232 . ?x rdf:type ontology:Q15617994 } UNION { ?x rdf:type ontology:Q15617994 . ?x property:P17 resource:Q35672 } }
Zadarinsky Lebyazhye District region of Kazakhstan Kazakhstan
4
action count
action union
action filter_type
action find_reverse
entity Kazakhstan
relation country
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Pitcairn Islands
relation country
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'country', 'Kazakhstan'] [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Pitcairn Islands']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:country resource:Kazakhstan . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:country resource:Pitcairn_Islands } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15744129
P706
Q82794 Q2221906 Q15617994
USER
Which administrative territories are located in lesser number of geographic regions and geographic locations than Oberscheuren ?
(c(Q15617994),P706,c(Q82794)|c(Q2221906))
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
action count
action filter_multi_types
action find
entity Q15744129
relation P706
type Q82794
type Q2221906
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?a WHERE { { ?a property:P706 ?j . ?a rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q82794 } UNION { ?a property:P706 ?j . ?a rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2221906 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q15744129 property:P706 ?u . { VALUES ( ?o ) { ( ontology:Q82794 ) ( ontology:Q2221906 ) } . ?u rdf:type ?o } } } . FILTER ( ?v < ?m ) }
Oberscheuren
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
action count
action filter_multi_types
action find
entity Oberscheuren
relation located on terrain feature
type geographic region
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?a WHERE { { ?a property:located_on_terrain_feature ?j . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:geographic_region } UNION { ?a property:located_on_terrain_feature ?j . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:geographic_location } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Oberscheuren property:located_on_terrain_feature ?u . { VALUES ( ?o ) { ( ontology:geographic_region ) ( ontology:geographic_location ) } . ?u rdf:type ?o } } } . FILTER ( ?v < ?m ) }
[]
geographic region geographic location designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q24846 Q267993 Q3172 Q922342 Q637400 Q21042 Q632868 Q148 Q21049 Q25129 Q7042 Q312335 Q21160 Q525945 Q5382040 Q3003231 Q505665 Q1462 Q4692611 Q521132 Q5517964 Q496389 Q555609 Q267005 Q128230 Q27332 Q1619957 Q1093572 Q6350324 Q204529 Q4789577 Q501683 Q582690 Q216422 Q5000224 Q20789 Q16642582 Q921 Q633162 Q3146 Q520347 Q851 Q845396 Q15213143 Q598754 Q21074475 Q771971 Q3942 Q145 Q333149 Q27 Q565749 Q4770750 Q20836 Q20837 Q769680 Q5420482 Q19906291 Q192129 Q502662 Q47821 Q20019215 Q4692647 Q3038 Q3068 Q331886 Q15244035 Q6472577 Q25130 Q588957 Q25135 Q229 Q3218 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q25125 Q29931 Q28091 Q25082 Q5275507 Q28013 Q558787 Q14892 Q180271 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q3193 Q522992 Q23968 Q6835962 Q489865 Q518171 Q2119591 Q46870 Q7561974 Q72432 Q504134 Q20754 Q8147649 Q481758 Q8043694 Q55416 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q82794)|c(Q2221906))
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
action count
action filter_multi_types
action find
entity Q15744129
relation P706
type Q82794
type Q2221906
[ANSWERS] are located in lesser number of geographic regions and geographic locations than Oberscheuren
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?a WHERE { { ?a property:P706 ?j . ?a rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q82794 } UNION { ?a property:P706 ?j . ?a rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2221906 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q15744129 property:P706 ?u . { VALUES ( ?o ) { ( ontology:Q82794 ) ( ontology:Q2221906 ) } . ?u rdf:type ?o } } } . FILTER ( ?v < ?m ) }
Yemen Leivathos Langen Zagori Oberhof Chionata Rankwitz Loucha Agioi Pantes Haundorf Juist Muhr am See Fehmarn Sithonia Hohenwarte Nebel Sasbach People's Republic of China Norddorf auf Amrum Langeoog Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Croisset Bergen Sardinia Agios Dimitrios, Cephalonia Hilpoltstein Galaro Lipari Magdala Moneglia Ventotene Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Zingst Arginia Rosengarten Neuenhagen bei Berlin Samsø Burnt River, Ontario Wenningstedt-Braderup Hydra Brunei Drestedt Pellworm Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Nenndorf Avlida Aschaffenburg United Kingdom Abstatt Ireland Erden Ansons Bay Hallig Hooge Fanø Bornholm Exo Chora Western New Guinea Ustica Bad Salzungen Malcesine Natal Agios Nikolaos, Cephalonia Helgoland Loire-Atlantique Absberg Makryotika Lagopodo Spiekeroog Allersberg Wangerooge Cyprus Insel Hiddensee Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Baltrum Langeneß Wittdün auf Amrum Borkum Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Kalipado Nürburg Bayreuth Teglkås Divarata Ostseebad Insel Poel Braunlage Norderney Michata Isola delle Femmine Ellhofen Pylaros Bardolino Sonning Eye Procida Kirchlinteln Gröde Ba District Pantelleria Xenopoulo Chioggia Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
People's Republic of China, United Kingdom and Yemen are located in lesser number of geographic regions and geographic locations than Oberscheuren
People's Republic of China United Kingdom Yemen
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
action count
action filter_multi_types
action find
entity Oberscheuren
relation located on terrain feature
type geographic region
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?a WHERE { { ?a property:located_on_terrain_feature ?j . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:geographic_region } UNION { ?a property:located_on_terrain_feature ?j . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:geographic_location } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Oberscheuren property:located_on_terrain_feature ?u . { VALUES ( ?o ) { ( ontology:geographic_region ) ( ontology:geographic_location ) } . ?u rdf:type ?o } } } . FILTER ( ?v < ?m ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2567507
P530
Q15617994
USER
Are Arno known to have diplomatic connections with those ones ?
(Q2567507,P530,Q148) (Q2567507,P530,Q145) (Q2567507,P530,Q805)
action is_in
entity prev_answer
action find
entity Q2567507
relation P530
['Q2567507', 'P530', 'Q148'] ['Q2567507', 'P530', 'Q145'] ['Q2567507', 'P530', 'Q805']
ASK WHERE { resource:Q2567507 property:P530 ?a . VALUES ( ?a ) { ( resource:Q805 ) ( resource:Q1070686 ) ( resource:Q695445 ) } }
Arno
action is_in
entity prev_answer
action find
entity Arno
relation diplomatic relation
['Arno', 'diplomatic relation', "People's Republic of China"] ['Arno', 'diplomatic relation', 'United Kingdom'] ['Arno', 'diplomatic relation', 'Yemen']
ASK WHERE { resource:Arno property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Yemen ) ( resource:Leivathos ) ( resource:Langen ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2567507,P530,Q148) (Q2567507,P530,Q145) (Q2567507,P530,Q805)
action is_in
entity prev_answer
action find
entity Q2567507
relation P530
[ANSWER]
['Q2567507', 'P530', 'Q148'] ['Q2567507', 'P530', 'Q145'] ['Q2567507', 'P530', 'Q805']
ASK WHERE { resource:Q2567507 property:P530 ?a . VALUES ( ?a ) { ( resource:Q805 ) ( resource:Q1070686 ) ( resource:Q695445 ) } }
No
action is_in
entity prev_answer
action find
entity Arno
relation diplomatic relation
['Arno', 'diplomatic relation', "People's Republic of China"] ['Arno', 'diplomatic relation', 'United Kingdom'] ['Arno', 'diplomatic relation', 'Yemen']
ASK WHERE { resource:Arno property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Yemen ) ( resource:Leivathos ) ( resource:Langen ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q232 Q13847 Q183
P530
Q1048835
USER
Is Kazakhstan known to have diplomatic connections with Masbate and Germany ?
(Q232,P530,Q13847) (Q232,P530,Q183)
action is_in
entity Q232
action intersection
action find_reverse
entity Q13847
relation P530
action find_reverse
entity Q183
relation P530
['Q232', 'P530', 'Q13847'] ['Q232', 'P530', 'Q183']
ASK WHERE { resource:Q232 property:P530 resource:Q13847 . resource:Q232 property:P530 resource:Q183 }
Kazakhstan Masbate Germany
action is_in
entity Kazakhstan
action intersection
action find_reverse
entity Masbate
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Kazakhstan', 'diplomatic relation', 'Masbate'] ['Kazakhstan', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Kazakhstan property:diplomatic_relation resource:Masbate . resource:Kazakhstan property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q232,P530,Q13847) (Q232,P530,Q183)
action is_in
entity Q232
action intersection
action find_reverse
entity Q13847
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q232', 'P530', 'Q13847'] ['Q232', 'P530', 'Q183']
ASK WHERE { resource:Q232 property:P530 resource:Q13847 . resource:Q232 property:P530 resource:Q183 }
NO and YES respectively
action is_in
entity Kazakhstan
action intersection
action find_reverse
entity Masbate
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Kazakhstan', 'diplomatic relation', 'Masbate'] ['Kazakhstan', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Kazakhstan property:diplomatic_relation resource:Masbate . resource:Kazakhstan property:diplomatic_relation resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15617994 Q11060274 Q838948
USER
Which administrative territories are expressed in min number of prints and works of art ?
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?t WHERE { VALUES ( ?i ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?m rdf:type ?i } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?o WHERE { VALUES ( ?q ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?y rdf:type ?q } GROUP BY ?o } . FILTER ( ?v = ?z ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?t WHERE { VALUES ( ?i ) { ( ontology:print ) ( ontology:work_of_art ) } . ?m rdf:type ?i } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?o WHERE { VALUES ( ?q ) { ( ontology:print ) ( ontology:work_of_art ) } . ?y rdf:type ?q } GROUP BY ?o } . FILTER ( ?v = ?z ) }
[]
designation for an administrative territorial entity print work of art
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
[ANSWERS] are expressed in min number of prints and works of art
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?t WHERE { VALUES ( ?i ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?m rdf:type ?i } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?o WHERE { VALUES ( ?q ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?y rdf:type ?q } GROUP BY ?o } . FILTER ( ?v = ?z ) }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy, Brazil and Russia are expressed in min number of prints and works of art
Italy Brazil Russia
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?t WHERE { VALUES ( ?i ) { ( ontology:print ) ( ontology:work_of_art ) } . ?m rdf:type ?i } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?o WHERE { VALUES ( ?q ) { ( ontology:print ) ( ontology:work_of_art ) } . ?y rdf:type ?q } GROUP BY ?o } . FILTER ( ?v = ?z ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17
P530
Q15617994
USER
Do Japan have diplomatic relations with those ones ?
(Q17,P530,Q38) (Q17,P530,Q155) (Q17,P530,Q159)
action is_in
entity prev_answer
action find
entity Q17
relation P530
['Q17', 'P530', 'Q38'] ['Q17', 'P530', 'Q155'] ['Q17', 'P530', 'Q159']
ASK WHERE { resource:Q17 property:P530 ?o . VALUES ( ?o ) { ( resource:Q3883 ) ( resource:Q1256 ) ( resource:Q1462 ) } }
Japan
action is_in
entity prev_answer
action find
entity Japan
relation diplomatic relation
['Japan', 'diplomatic relation', 'Italy'] ['Japan', 'diplomatic relation', 'Brazil'] ['Japan', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Japan property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Catanzaro ) ( resource:Liguria ) ( resource:Sardinia ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17,P530,Q38) (Q17,P530,Q155) (Q17,P530,Q159)
action is_in
entity prev_answer
action find
entity Q17
relation P530
[ANSWER]
['Q17', 'P530', 'Q38'] ['Q17', 'P530', 'Q155'] ['Q17', 'P530', 'Q159']
ASK WHERE { resource:Q17 property:P530 ?o . VALUES ( ?o ) { ( resource:Q3883 ) ( resource:Q1256 ) ( resource:Q1462 ) } }
Yes
action is_in
entity prev_answer
action find
entity Japan
relation diplomatic relation
['Japan', 'diplomatic relation', 'Italy'] ['Japan', 'diplomatic relation', 'Brazil'] ['Japan', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Japan property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Catanzaro ) ( resource:Liguria ) ( resource:Sardinia ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4391124
P206
Q1267889 Q355304 Q15617994
USER
How many administrative territories are located nearby lesser number of waterways or watercourses than Rakhlitsy ?
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q4391124
relation P206
type Q1267889
type Q355304
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q4391124 property:P206 ?v . { VALUES ( ?g ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?v rdf:type ?g } } } . FILTER ( ?x < ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?d WHERE { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } GROUP BY ?d } }
Rakhlitsy
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Rakhlitsy
relation located next to body of water
type waterway
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Rakhlitsy property:located_next_to_body_of_water ?v . { VALUES ( ?g ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?v rdf:type ?g } } } . FILTER ( ?x < ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?d WHERE { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:waterway ) ( ontology:watercourse ) } } GROUP BY ?d } }
[]
waterway watercourse designation for an administrative territorial entity
SYSTEM
62
Q21111 Q505785 Q104577 Q446425 Q3066319 Q668 Q525879 Q55 Q47585 Q1604782 Q6237 Q2316529 Q508863 Q568926 Q1009384 Q657 Q622487 Q4628 Q884 Q664950 Q161258 Q263451 Q442666 Q3111694 Q244095 Q7566251 Q38 Q3352704 Q769680 Q519663 Q2360428 Q236 Q681329 Q560870 Q20 Q29 Q690219 Q511806 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q229 Q17 Q1577 Q516567 Q547059 Q215 Q1604772 Q1009 Q1438 Q20267 Q194136 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q4391124
relation P206
type Q1267889
type Q355304
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q4391124 property:P206 ?v . { VALUES ( ?g ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?v rdf:type ?g } } } . FILTER ( ?x < ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?d WHERE { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } GROUP BY ?d } }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets India Haundorf Netherlands Garda Ulul Lecco Noordpolderzijl Mindelstetten Maasholm Weno Chad Päwesin Faroe Islands South Korea Loddin Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Bellagio South Bay Italy Oneop Bornholm Kösching Tijuana Municipality Montenegro Dümmer Owschlag Norway Spain Perlin North Slope Borough Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Cyprus Japan Neuwerk Kappeln Gnotzheim Slovenia Moch Cameroon Campania Schwarz Riva del Garda Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo Domaso
62
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Rakhlitsy
relation located next to body of water
type waterway
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Rakhlitsy property:located_next_to_body_of_water ?v . { VALUES ( ?g ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?v rdf:type ?g } } } . FILTER ( ?x < ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?d WHERE { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:waterway ) ( ontology:watercourse ) } } GROUP BY ?d } }
[]