Simple Question (Direct)
Simple Question
Q125451
P21
Q290
USER
Which sex does Karl Mickel belong to ?
(Q125451,P21,c(Q290))
action filter_type
action find
entity Q125451
relation P21
type Q290
['Q125451', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q125451 property:P21 ?e }
Karl Mickel
action filter_type
action find
entity Karl Mickel
relation gender
type sex
['Karl Mickel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Karl_Mickel property:gender ?e }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q125451,P21,c(Q290))
action filter_type
action find
entity Q125451
relation P21
type Q290
Karl Mickel belongs to [ANSWER]
['Q125451', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q125451 property:P21 ?e }
male
Karl Mickel belongs to male
male
action filter_type
action find
entity Karl Mickel
relation gender
type sex
['Karl Mickel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Karl_Mickel property:gender ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q125451
P27
Q1048835
USER
Which political territory is the country of citizenship of Karl Mickel ?
(Q125451,P27,c(Q1048835))
action filter_type
action find
entity Q125451
relation P27
type Q1048835
['Q125451', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q125451 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Karl Mickel
action filter_type
action find
entity Karl Mickel
relation country of citizenship
type political territorial entity
['Karl Mickel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Karl_Mickel property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q125451,P27,c(Q1048835))
action filter_type
action find
entity Q125451
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Karl Mickel
['Q125451', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q125451 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of Karl Mickel
Germany
action filter_type
action find
entity Karl Mickel
relation country of citizenship
type political territorial entity
['Karl Mickel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Karl_Mickel property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q125451
P463
Q163740
USER
Which nonprofit organization had that person as its member ?
(Q183,P463,c(Q163740))
action filter_type
action find
entity Q125451
relation P463
type Q163740
['Q183', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { resource:Q125451 property:P463 ?n . ?n rdf:type ontology:Q163740 }
Karl Mickel
action filter_type
action find
entity Karl Mickel
relation member of
type nonprofit organization
['Germany', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { resource:Karl_Mickel property:member_of ?n . ?n rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q459620
SYSTEM
German Academy for Language and Literature
Q459620
(Q183,P463,c(Q163740))
action filter_type
action find
entity Q125451
relation P463
type Q163740
[ANSWER] had that person as its member
['Q183', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { resource:Q125451 property:P463 ?n . ?n rdf:type ontology:Q163740 }
German Academy for Language and Literature
German Academy for Language and Literature had that person as its member
German Academy for Language and Literature
action filter_type
action find
entity Karl Mickel
relation member of
type nonprofit organization
['Germany', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { resource:Karl_Mickel property:member_of ?n . ?n rdf:type ontology:nonprofit_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q983625
P706
Q1267889 Q15324 Q1048835
USER
Which political territories are located in greater number of waterways or bodies of water than Puigpunyent ?
(c(Q1048835),P706,c(Q1267889)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q983625
relation P706
type Q1267889
type Q15324
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?s WHERE { { ?s rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q1267889 . ?s property:P706 ?r } UNION { ?s rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15324 . ?s property:P706 ?r } } GROUP BY ?s } . FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Q983625 property:P706 ?m . { { ?m rdf:type ontology:Q1267889 } UNION { ?m rdf:type ontology:Q15324 } } } } }
Puigpunyent
action greater
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Puigpunyent
relation located on terrain feature
type waterway
type body of water
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?s WHERE { { ?s rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:waterway . ?s property:located_on_terrain_feature ?r } UNION { ?s rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:body_of_water . ?s property:located_on_terrain_feature ?r } } GROUP BY ?s } . FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Puigpunyent property:located_on_terrain_feature ?m . { { ?m rdf:type ontology:waterway } UNION { ?m rdf:type ontology:body_of_water } } } } }
[]
waterway body of water political territorial entity
Q785 Q9676 Q168159
SYSTEM
Jersey, Isle of Man, Anglesey
Q785 Q904566 Q42314 Q898856 Q3405693 Q202023 Q9676 Q168159
(c(Q1048835),P706,c(Q1267889)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q983625
relation P706
type Q1267889
type Q15324
[ANSWERS] are located in greater number of waterways or bodies of water than Puigpunyent
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?s WHERE { { ?s rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q1267889 . ?s property:P706 ?r } UNION { ?s rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15324 . ?s property:P706 ?r } } GROUP BY ?s } . FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Q983625 property:P706 ?m . { { ?m rdf:type ontology:Q1267889 } UNION { ?m rdf:type ontology:Q15324 } } } } }
Jersey Brecqhou Channel Islands Jethou Sark Herm Isle of Man Anglesey
Jersey, Isle of Man and Anglesey are located in greater number of waterways or bodies of water than Puigpunyent
Jersey Isle of Man Anglesey
action greater
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Puigpunyent
relation located on terrain feature
type waterway
type body of water
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?s WHERE { { ?s rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:waterway . ?s property:located_on_terrain_feature ?r } UNION { ?s rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:body_of_water . ?s property:located_on_terrain_feature ?r } } GROUP BY ?s } . FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Puigpunyent property:located_on_terrain_feature ?m . { { ?m rdf:type ontology:waterway } UNION { ?m rdf:type ontology:body_of_water } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q168856
P706
Q1267889 Q15324 Q1048835
USER
And also tell me about Chernivtsi Oblast?
(c(Q1048835),P706,c(Q1267889)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q168856
relation P706
type Q1267889
type Q15324
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q168856 property:P706 ?v . { { ?v rdf:type ontology:Q15324 } UNION { ?v rdf:type ontology:Q1267889 } } } } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } GROUP BY ?g } }
Chernivtsi Oblast
action greater
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Chernivtsi Oblast
relation located on terrain feature
type waterway
type body of water
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Chernivtsi_Oblast property:located_on_terrain_feature ?v . { { ?v rdf:type ontology:body_of_water } UNION { ?v rdf:type ontology:waterway } } } } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:waterway ) ( ontology:body_of_water ) } } GROUP BY ?g } }
[]
waterway body of water political territorial entity
Q785 Q9676 Q168159
SYSTEM
Jersey, Isle of Man, Anglesey
Q785 Q904566 Q42314 Q898856 Q3405693 Q202023 Q9676 Q168159
(c(Q1048835),P706,c(Q1267889)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q168856
relation P706
type Q1267889
type Q15324
[ANSWERS]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q168856 property:P706 ?v . { { ?v rdf:type ontology:Q15324 } UNION { ?v rdf:type ontology:Q1267889 } } } } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } GROUP BY ?g } }
Jersey Brecqhou Channel Islands Jethou Sark Herm Isle of Man Anglesey
Jersey Isle of Man Anglesey
action greater
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Chernivtsi Oblast
relation located on terrain feature
type waterway
type body of water
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Chernivtsi_Oblast property:located_on_terrain_feature ?v . { { ?v rdf:type ontology:body_of_water } UNION { ?v rdf:type ontology:waterway } } } } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:waterway ) ( ontology:body_of_water ) } } GROUP BY ?g } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q125451 Q846
P463
Q43229
USER
How many organizations were Karl Mickel or Qatar a member of ?
(Q125451,P463,c(Q43229)) (Q846,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q125451
relation P463
type Q43229
action filter_type
action find
entity Q846
relation P463
type Q43229
['Q125451', 'P463', {'concept': 'Q43229'}] ['Q846', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { VALUES ( ?k ) { ( resource:Q846 ) ( resource:Q125451 ) } . ?k property:P463 ?u }
Karl Mickel Qatar
action count
action union
action filter_type
action find
entity Karl Mickel
relation member of
type organization
action filter_type
action find
entity Qatar
relation member of
type organization
['Karl Mickel', 'member of', {'concept': 'organization'}] ['Qatar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { VALUES ( ?k ) { ( resource:Qatar ) ( resource:Karl_Mickel ) } . ?k property:member_of ?u }
[]
organization
SYSTEM
5
Q624307 Q191384 Q7825 Q656801 Q899770
(Q125451,P463,c(Q43229)) (Q846,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q125451
relation P463
type Q43229
action filter_type
action find
entity Q846
relation P463
type Q43229
[ANSWER]
['Q125451', 'P463', {'concept': 'Q43229'}] ['Q846', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { VALUES ( ?k ) { ( resource:Q846 ) ( resource:Q125451 ) } . ?k property:P463 ?u }
Arab Monetary Fund International Bank for Reconstruction and Development World Trade Organization International Finance Corporation International Centre for Settlement of Investment Disputes
5
action count
action union
action filter_type
action find
entity Karl Mickel
relation member of
type organization
action filter_type
action find
entity Qatar
relation member of
type organization
['Karl Mickel', 'member of', {'concept': 'organization'}] ['Qatar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { VALUES ( ?k ) { ( resource:Qatar ) ( resource:Karl_Mickel ) } . ?k property:member_of ?u }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q231
P127
Q1048835 Q811430 Q4830453
USER
Which political territories are the owners of approximately the same number of constructions or business enterprises as Walloon Region ?
(c(Q811430)|c(Q4830453),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q231
relation P127
type Q811430
type Q4830453
[[{'concept': 'Q811430'}, {'concept': 'Q4830453'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?l WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:Q4830453 ) ( ontology:Q811430 ) } } GROUP BY ?l } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { VALUES ( ?u ) { ( ontology:Q811430 ) ( ontology:Q4830453 ) } . ?x rdf:type ?u } . ?x property:P127 resource:Q231 } } }
Walloon Region
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Walloon Region
relation owned by
type construction
type business enterprise
[[{'concept': 'construction'}, {'concept': 'business enterprise'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?l WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:business_enterprise ) ( ontology:construction ) } } GROUP BY ?l } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { VALUES ( ?u ) { ( ontology:construction ) ( ontology:business_enterprise ) } . ?x rdf:type ?u } . ?x property:owned_by resource:Walloon_Region } } }
[]
political territorial entity construction business enterprise
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q192536 Q170322 Q1648590 Q318314 Q3741 Q2321093 Q5691 Q188399 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q217838 Q74881 Q8543 Q6041 Q2379199 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q193317 Q35 Q191091 Q2947 Q13862 Q276176 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q2271 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q206926
(c(Q811430)|c(Q4830453),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q231
relation P127
type Q811430
type Q4830453
[ANSWERS] are the owners of approximately the same number of constructions or business enterprises as Walloon Region
[[{'concept': 'Q811430'}, {'concept': 'Q4830453'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?l WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:Q4830453 ) ( ontology:Q811430 ) } } GROUP BY ?l } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { VALUES ( ?u ) { ( ontology:Q811430 ) ( ontology:Q4830453 ) } . ?x rdf:type ?u } . ?x property:P127 resource:Q231 } } }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Chorrillos South Karelia Central Bohemian Region Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul South Sumatra Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada North Ayrshire
Australia, Denmark and Canada are the owners of approximately the same number of constructions or business enterprises as Walloon Region
Australia Denmark Canada
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Walloon Region
relation owned by
type construction
type business enterprise
[[{'concept': 'construction'}, {'concept': 'business enterprise'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?l WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:business_enterprise ) ( ontology:construction ) } } GROUP BY ?l } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { VALUES ( ?u ) { ( ontology:construction ) ( ontology:business_enterprise ) } . ?x rdf:type ?u } . ?x property:owned_by resource:Walloon_Region } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6139
P127
Q1048835 Q811430 Q4830453
USER
And what about Havelland?
(c(Q811430)|c(Q4830453),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q6139
relation P127
type Q811430
type Q4830453
[[{'concept': 'Q811430'}, {'concept': 'Q4830453'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P127 resource:Q6139 . { VALUES ( ?s ) { ( ontology:Q811430 ) ( ontology:Q4830453 ) } . ?u rdf:type ?s } } } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?h WHERE { VALUES ( ?j ) { ( ontology:Q811430 ) ( ontology:Q4830453 ) } . ?x rdf:type ?j } GROUP BY ?h } }
Havelland
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Havelland
relation owned by
type construction
type business enterprise
[[{'concept': 'construction'}, {'concept': 'business enterprise'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:owned_by resource:Havelland . { VALUES ( ?s ) { ( ontology:construction ) ( ontology:business_enterprise ) } . ?u rdf:type ?s } } } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?h WHERE { VALUES ( ?j ) { ( ontology:construction ) ( ontology:business_enterprise ) } . ?x rdf:type ?j } GROUP BY ?h } }
[]
political territorial entity construction business enterprise
Q6142 Q6139 Q20937
SYSTEM
Potsdam-Mittelmark, Havelland, Gyeonggi Province
Q20937 Q133083 Q6139 Q6142
(c(Q811430)|c(Q4830453),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q6139
relation P127
type Q811430
type Q4830453
[ANSWERS]
[[{'concept': 'Q811430'}, {'concept': 'Q4830453'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P127 resource:Q6139 . { VALUES ( ?s ) { ( ontology:Q811430 ) ( ontology:Q4830453 ) } . ?u rdf:type ?s } } } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?h WHERE { VALUES ( ?j ) { ( ontology:Q811430 ) ( ontology:Q4830453 ) } . ?x rdf:type ?j } GROUP BY ?h } }
Gyeonggi Province Gauteng Havelland Potsdam-Mittelmark
Potsdam-Mittelmark Havelland Gyeonggi Province
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Havelland
relation owned by
type construction
type business enterprise
[[{'concept': 'construction'}, {'concept': 'business enterprise'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:owned_by resource:Havelland . { VALUES ( ?s ) { ( ontology:construction ) ( ontology:business_enterprise ) } . ?u rdf:type ?s } } } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?h WHERE { VALUES ( ?j ) { ( ontology:construction ) ( ontology:business_enterprise ) } . ?x rdf:type ?j } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q785 Q44057
P915
Q838948
USER
How many works of art were filmed at Jersey or Millennium Bridge ?
(c(Q838948),P915,Q785) (c(Q838948),P915,Q44057)
action count
action union
action filter_type
action find_reverse
entity Q785
relation P915
type Q838948
action filter_type
action find_reverse
entity Q44057
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q785'] [{'concept': 'Q838948'}, 'P915', 'Q44057']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { ?y property:P915 resource:Q785 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P915 resource:Q44057 . ?y rdf:type ontology:Q838948 } }
Jersey Millennium Bridge
action count
action union
action filter_type
action find_reverse
entity Jersey
relation filming location
type work of art
action filter_type
action find_reverse
entity Millennium Bridge
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Jersey'] [{'concept': 'work of art'}, 'filming location', 'Millennium Bridge']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { ?y property:filming_location resource:Jersey . ?y rdf:type ontology:work_of_art } UNION { ?y property:filming_location resource:Millennium_Bridge . ?y rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
2
Q572736 Q5887360
(c(Q838948),P915,Q785) (c(Q838948),P915,Q44057)
action count
action union
action filter_type
action find_reverse
entity Q785
relation P915
type Q838948
action filter_type
action find_reverse
entity Q44057
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q785'] [{'concept': 'Q838948'}, 'P915', 'Q44057']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { ?y property:P915 resource:Q785 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P915 resource:Q44057 . ?y rdf:type ontology:Q838948 } }
Force 10 from Navarone Guardians of the Galaxy
2
action count
action union
action filter_type
action find_reverse
entity Jersey
relation filming location
type work of art
action filter_type
action find_reverse
entity Millennium Bridge
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Jersey'] [{'concept': 'work of art'}, 'filming location', 'Millennium Bridge']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { ?y property:filming_location resource:Jersey . ?y rdf:type ontology:work_of_art } UNION { ?y property:filming_location resource:Millennium_Bridge . ?y rdf:type ontology:work_of_art } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q785
P1001
Q14660 Q40231
USER
How many flags and elections apply to jurisdiction over Jersey ?
(c(Q14660),P1001,Q785) (c(Q40231),P1001,Q785)
action count
action union
action filter_type
action find_reverse
entity Q785
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q785
relation P1001
type Q40231
[{'concept': 'Q14660'}, 'P1001', 'Q785'] [{'concept': 'Q40231'}, 'P1001', 'Q785']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:P1001 resource:Q785 . ?x rdf:type ontology:Q14660 } UNION { ?x property:P1001 resource:Q785 . ?x rdf:type ontology:Q40231 } }
Jersey
action count
action union
action filter_type
action find_reverse
entity Jersey
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Jersey
relation applies to jurisdiction
type election
[{'concept': 'flag'}, 'applies to jurisdiction', 'Jersey'] [{'concept': 'election'}, 'applies to jurisdiction', 'Jersey']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:applies_to_jurisdiction resource:Jersey . ?x rdf:type ontology:flag } UNION { ?x property:applies_to_jurisdiction resource:Jersey . ?x rdf:type ontology:election } }
[]
flag election
SYSTEM
1 flags and 1 elections
Q189612 Q25343642
(c(Q14660),P1001,Q785) (c(Q40231),P1001,Q785)
action count
action union
action filter_type
action find_reverse
entity Q785
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q785
relation P1001
type Q40231
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', 'Q785'] [{'concept': 'Q40231'}, 'P1001', 'Q785']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:P1001 resource:Q785 . ?x rdf:type ontology:Q14660 } UNION { ?x property:P1001 resource:Q785 . ?x rdf:type ontology:Q40231 } }
Flag of Jersey Jersey legislative election
1 flags and 1 elections
action count
action union
action filter_type
action find_reverse
entity Jersey
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Jersey
relation applies to jurisdiction
type election
[{'concept': 'flag'}, 'applies to jurisdiction', 'Jersey'] [{'concept': 'election'}, 'applies to jurisdiction', 'Jersey']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:applies_to_jurisdiction resource:Jersey . ?x rdf:type ontology:flag } UNION { ?x property:applies_to_jurisdiction resource:Jersey . ?x rdf:type ontology:election } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P463
Q43229 Q1129645
USER
How many organizations and trade blocs had United States of America as their member ?
(Q30,P463,c(Q43229)) (Q30,P463,c(Q1129645))
action count
action union
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q30
relation P463
type Q1129645
['Q30', 'P463', {'concept': 'Q43229'}] ['Q30', 'P463', {'concept': 'Q1129645'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?k ) { ( ontology:Q43229 ) ( ontology:Q1129645 ) } . ?w rdf:type ?k }
United States of America
action count
action union
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity United States of America
relation member of
type trade bloc
['United States of America', 'member of', {'concept': 'organization'}] ['United States of America', 'member of', {'concept': 'trade bloc'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?k ) { ( ontology:organization ) ( ontology:trade_bloc ) } . ?w rdf:type ?k }
[]
organization trade bloc
SYSTEM
8 organizations and 1 trade blocs
Q340195 Q191384 Q899770 Q41550 Q181574 Q656801 Q7825 Q170481 Q827525
(Q30,P463,c(Q43229)) (Q30,P463,c(Q1129645))
action count
action union
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q30
relation P463
type Q1129645
[ANSWER]
['Q30', 'P463', {'concept': 'Q43229'}] ['Q30', 'P463', {'concept': 'Q1129645'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?k ) { ( ontology:Q43229 ) ( ontology:Q1129645 ) } . ?w rdf:type ?k }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development North American Free Trade Agreement International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
8 organizations and 1 trade blocs
action count
action union
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity United States of America
relation member of
type trade bloc
['United States of America', 'member of', {'concept': 'organization'}] ['United States of America', 'member of', {'concept': 'trade bloc'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?k ) { ( ontology:organization ) ( ontology:trade_bloc ) } . ?w rdf:type ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215
P138
Q17444909
USER
Which astronomical object type has Slovenia as its toponym ?
(c(Q17444909),P138,Q215)
action filter_type
action find_reverse
entity Q215
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q215']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q215 . ?t rdf:type ontology:Q17444909 }
Slovenia
action filter_type
action find_reverse
entity Slovenia
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Slovenia']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Slovenia . ?t rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q734267
SYSTEM
9674 Slovenija
Q734267
(c(Q17444909),P138,Q215)
action filter_type
action find_reverse
entity Q215
relation P138
type Q17444909
[ANSWER] has Slovenia as its toponym
[{'concept': 'Q17444909'}, 'P138', 'Q215']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q215 . ?t rdf:type ontology:Q17444909 }
9674 Slovenija
9674 Slovenija has Slovenia as its toponym
9674 Slovenija
action filter_type
action find_reverse
entity Slovenia
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Slovenia']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Slovenia . ?t rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q215
P6
Q502895
USER
Who are the heads of the government of that administrative territory ?
(Q734267,P6,c(Q502895))
action filter_type
action find
entity Q215
relation P6
type Q502895
['Q734267', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q215 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Slovenia
action filter_type
action find
entity Slovenia
relation head of government
type common name
['9674 Slovenija', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Slovenia property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
Q3739767 Q17117413
SYSTEM
Alenka Bratušek, Miro Cerar
Q3739767 Q17117413
(Q734267,P6,c(Q502895))
action filter_type
action find
entity Q215
relation P6
type Q502895
The heads of the government of that administrative territory are the [ANSWERS]
['Q734267', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q215 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Alenka Bratušek Miro Cerar
The heads of the government of that administrative territory are the Alenka Bratušek and Miro Cerar
Alenka Bratušek Miro Cerar
action filter_type
action find
entity Slovenia
relation head of government
type common name
['9674 Slovenija', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Slovenia property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q215 Q205047
P163
Q14660
USER
How many flags have Slovenia or Iraqi Kurdistan as their flag ?
(Q215,P163,c(Q14660)) (Q205047,P163,c(Q14660))
action count
action union
action filter_type
action find
entity Q215
relation P163
type Q14660
action filter_type
action find
entity Q205047
relation P163
type Q14660
['Q215', 'P163', {'concept': 'Q14660'}] ['Q205047', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { resource:Q205047 property:P163 ?h . ?h rdf:type ontology:Q14660 } UNION { resource:Q215 property:P163 ?h . ?h rdf:type ontology:Q14660 } }
Slovenia Iraqi Kurdistan
action count
action union
action filter_type
action find
entity Slovenia
relation flag
type flag
action filter_type
action find
entity Iraqi Kurdistan
relation flag
type flag
['Slovenia', 'flag', {'concept': 'flag'}] ['Iraqi Kurdistan', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { resource:Iraqi_Kurdistan property:flag ?h . ?h rdf:type ontology:flag } UNION { resource:Slovenia property:flag ?h . ?h rdf:type ontology:flag } }
[]
flag
SYSTEM
2
Q130807 Q208671
(Q215,P163,c(Q14660)) (Q205047,P163,c(Q14660))
action count
action union
action filter_type
action find
entity Q215
relation P163
type Q14660
action filter_type
action find
entity Q205047
relation P163
type Q14660
[ANSWER]
['Q215', 'P163', {'concept': 'Q14660'}] ['Q205047', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { resource:Q205047 property:P163 ?h . ?h rdf:type ontology:Q14660 } UNION { resource:Q215 property:P163 ?h . ?h rdf:type ontology:Q14660 } }
flag of Slovenia Flag of Iraqi Kurdistan
2
action count
action union
action filter_type
action find
entity Slovenia
relation flag
type flag
action filter_type
action find
entity Iraqi Kurdistan
relation flag
type flag
['Slovenia', 'flag', {'concept': 'flag'}] ['Iraqi Kurdistan', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { resource:Iraqi_Kurdistan property:flag ?h . ?h rdf:type ontology:flag } UNION { resource:Slovenia property:flag ?h . ?h rdf:type ontology:flag } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P17
Q1048835 Q44539 Q811430
USER
Which political territories are min number of temples and constructions present in ?
(c(Q44539)|c(Q811430),P17,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q44539
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q811430
[[{'concept': 'Q44539'}, {'concept': 'Q811430'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?q WHERE { { ?q rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q44539 . ?j property:P17 ?q } UNION { ?j property:P17 ?q . ?q rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q811430 } } GROUP BY ?q } . FILTER ( ?o = ?n ) . { SELECT DISTINCT ( MIN ( ?k ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?s WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:Q44539 ) ( ontology:Q811430 ) } } GROUP BY ?s } } }
action argmin
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type temple
action find_reverse_tuple_counts
relation country
type political territorial entity
type construction
[[{'concept': 'temple'}, {'concept': 'construction'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?q WHERE { { ?q rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:temple . ?j property:country ?q } UNION { ?j property:country ?q . ?q rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:construction } } GROUP BY ?q } . FILTER ( ?o = ?n ) . { SELECT DISTINCT ( MIN ( ?k ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?s WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:temple ) ( ontology:construction ) } } GROUP BY ?s } } }
[]
political territorial entity temple construction
Q5705 Q1000 Q769
SYSTEM
Catalonia, Gabon, Grenada
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q193619 Q769 Q685 Q699964 Q13767 Q34617 Q22880 Q641138 Q693551 Q848383 Q5705 Q13726 Q953068 Q5785 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q2002138 Q3899 Q35672 Q1747689 Q757 Q9648 Q231 Q234 Q2991382 Q168651 Q399702 Q35086 Q23635 Q208279 Q1615455 Q31747 Q25305 Q129286
(c(Q44539)|c(Q811430),P17,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q44539
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q811430
[ANSWERS] are min number of temples and constructions present in
[[{'concept': 'Q44539'}, {'concept': 'Q811430'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?q WHERE { { ?q rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q44539 . ?j property:P17 ?q } UNION { ?j property:P17 ?q . ?q rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q811430 } } GROUP BY ?q } . FILTER ( ?o = ?n ) . { SELECT DISTINCT ( MIN ( ?k ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?s WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:Q44539 ) ( ontology:Q811430 ) } } GROUP BY ?s } } }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Union of South Africa Grenada Solomon Islands Archduchy of Austria Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Duchy of Cleves Landgraviate of Hesse-Darmstadt Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Ancient Rome Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Duchy of Mirandola Irish Free State British Virgin Islands British Raj
Catalonia, Gabon and Grenada are min number of temples and constructions present in
Catalonia Gabon Grenada
action argmin
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type temple
action find_reverse_tuple_counts
relation country
type political territorial entity
type construction
[[{'concept': 'temple'}, {'concept': 'construction'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?q WHERE { { ?q rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:temple . ?j property:country ?q } UNION { ?j property:country ?q . ?q rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:construction } } GROUP BY ?q } . FILTER ( ?o = ?n ) . { SELECT DISTINCT ( MIN ( ?k ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?s WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:temple ) ( ontology:construction ) } } GROUP BY ?s } } }
[]