Simple Question (Direct)
Simple Question
Q626865
P58
Q502895
USER
Who served as the screenwriter for The Old Garden ?
(Q626865,P58,c(Q502895))
action filter_type
action find
entity Q626865
relation P58
type Q502895
['Q626865', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q626865 property:P58 ?f }
The Old Garden
action filter_type
action find
entity The Old Garden
relation screenwriter
type common name
['The Old Garden', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:The_Old_Garden property:screenwriter ?f }
[]
common name
Q483616
SYSTEM
Im Sang-soo
Q483616
(Q626865,P58,c(Q502895))
action filter_type
action find
entity Q626865
relation P58
type Q502895
[ANSWER] served as the screenwriter for The Old Garden
['Q626865', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q626865 property:P58 ?f }
Im Sang-soo
Im Sang-soo served as the screenwriter for The Old Garden
Im Sang-soo
action filter_type
action find
entity The Old Garden
relation screenwriter
type common name
['The Old Garden', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:The_Old_Garden property:screenwriter ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q626865
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q483616,P136,c(Q1792379))
action filter_type
action find
entity Q626865
relation P136
type Q1792379
['Q483616', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1792379 . resource:Q626865 property:P136 ?q }
The Old Garden
action filter_type
action find
entity The Old Garden
relation genre
type art genre
['Im Sang-soo', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:art_genre . resource:The_Old_Garden property:genre ?q }
[]
art genre
Q1054574
SYSTEM
romance film
Q1054574
(Q483616,P136,c(Q1792379))
action filter_type
action find
entity Q626865
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q483616', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1792379 . resource:Q626865 property:P136 ?q }
romance film
Romance film can be considered as category for that work of art
romance film
action filter_type
action find
entity The Old Garden
relation genre
type art genre
['Im Sang-soo', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:art_genre . resource:The_Old_Garden property:genre ?q }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6347024 Q626865
P495
Q15617994
USER
Which administrative territories are the origins of The Old Garden or Kahlil Gibran ?
OR((Q626865,P495,c(Q15617994)), (Q6347024,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q626865
relation P495
action find
entity Q6347024
relation P495
type Q15617994
{'OR': [['Q626865', 'P495', {'concept': 'Q15617994'}], ['Q6347024', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q6347024 property:P495 ?b } UNION { resource:Q626865 property:P495 ?b } } . ?b rdf:type ontology:Q15617994 }
Kahlil Gibran The Old Garden
action filter_type
action union
action find
entity The Old Garden
relation country of origin
action find
entity Kahlil Gibran
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Old Garden', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Kahlil Gibran', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Kahlil_Gibran property:country_of_origin ?b } UNION { resource:The_Old_Garden property:country_of_origin ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884 Q822
SYSTEM
South Korea, Lebanon
Q884 Q822
OR((Q626865,P495,c(Q15617994)), (Q6347024,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q626865
relation P495
action find
entity Q6347024
relation P495
type Q15617994
[ANSWERS] are the origins of The Old Garden or Kahlil Gibran
{'OR': [['Q626865', 'P495', {'concept': 'Q15617994'}], ['Q6347024', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q6347024 property:P495 ?b } UNION { resource:Q626865 property:P495 ?b } } . ?b rdf:type ontology:Q15617994 }
South Korea Lebanon
South Korea and Lebanon are the origins of The Old Garden or Kahlil Gibran
South Korea Lebanon
action filter_type
action union
action find
entity The Old Garden
relation country of origin
action find
entity Kahlil Gibran
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Old Garden', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Kahlil Gibran', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Kahlil_Gibran property:country_of_origin ?b } UNION { resource:The_Old_Garden property:country_of_origin ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q213
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with less number of administrative territories than Czech Republic ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q213
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?k ) WHERE { ?r property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:P530 resource:Q213 . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?w ) }
Czech Republic
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Czech Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?k ) WHERE { ?r property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:diplomatic_relation resource:Czech_Republic . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
132
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q213
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?k ) WHERE { ?r property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:P530 resource:Q213 . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?w ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Czech Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?k ) WHERE { ?r property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:diplomatic_relation resource:Czech_Republic . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q483616 Q7225941
P58
Q838948
USER
How many works of art are Im Sang-soo or Polonia brothers a screenwriter of ?
(c(Q838948),P58,Q483616) (c(Q838948),P58,Q7225941)
action count
action union
action filter_type
action find_reverse
entity Q483616
relation P58
type Q838948
action filter_type
action find_reverse
entity Q7225941
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q483616'] [{'concept': 'Q838948'}, 'P58', 'Q7225941']
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?l ) { ( resource:Q7225941 ) ( resource:Q483616 ) } . ?f property:P58 ?l }
Im Sang-soo Polonia brothers
action count
action union
action filter_type
action find_reverse
entity Im Sang-soo
relation screenwriter
type work of art
action filter_type
action find_reverse
entity Polonia brothers
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Im Sang-soo'] [{'concept': 'work of art'}, 'screenwriter', 'Polonia brothers']
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?l ) { ( resource:Polonia_brothers ) ( resource:Im_Sang-soo ) } . ?f property:screenwriter ?l }
[]
work of art
SYSTEM
10
Q485782 Q626865 Q16179781 Q19939567 Q487487 Q3516741 Q623932 Q625010 Q5643127 Q3549462
(c(Q838948),P58,Q483616) (c(Q838948),P58,Q7225941)
action count
action union
action filter_type
action find_reverse
entity Q483616
relation P58
type Q838948
action filter_type
action find_reverse
entity Q7225941
relation P58
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q483616'] [{'concept': 'Q838948'}, 'P58', 'Q7225941']
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?l ) { ( resource:Q7225941 ) ( resource:Q483616 ) } . ?f property:P58 ?l }
The Housemaid The Old Garden The Eternal Empire Intimate Enemies The Taste of Money Tears Girls' Night Out The President's Last Bang Halloweenight A Good Lawyer's Wife
10
action count
action union
action filter_type
action find_reverse
entity Im Sang-soo
relation screenwriter
type work of art
action filter_type
action find_reverse
entity Polonia brothers
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Im Sang-soo'] [{'concept': 'work of art'}, 'screenwriter', 'Polonia brothers']
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?l ) { ( resource:Polonia_brothers ) ( resource:Im_Sang-soo ) } . ?f property:screenwriter ?l }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with around 24 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 24
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?u ) WHERE { ?h property:P530 ?x . ?h rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?u = 24 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 24
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?u ) WHERE { ?h property:diplomatic_relation ?x . ?h rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?u = 24 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 24
[ANSWERS] have diplomatic relationships with around 24 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?u ) WHERE { ?h property:P530 ?x . ?h rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?u = 24 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relationships with around 24 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 24
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?u ) WHERE { ?h property:diplomatic_relation ?x . ?h rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?u = 24 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q483616
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Im Sang-soo ?
(Q483616,P27,c(Q15617994))
action count
action filter_type
action find
entity Q483616
relation P27
type Q15617994
['Q483616', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q483616 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Im Sang-soo
action count
action filter_type
action find
entity Im Sang-soo
relation country of citizenship
type designation for an administrative territorial entity
['Im Sang-soo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Im_Sang-soo property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q884
(Q483616,P27,c(Q15617994))
action count
action filter_type
action find
entity Q483616
relation P27
type Q15617994
[ANSWER]
['Q483616', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q483616 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
South Korea
1
action count
action filter_type
action find
entity Im Sang-soo
relation country of citizenship
type designation for an administrative territorial entity
['Im Sang-soo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Im_Sang-soo property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q12725484
P27
Q15617994
USER
And how about Constantin Corduneanu?
(Q12725484,P27,c(Q15617994))
action count
action filter_type
action find
entity Q12725484
relation P27
type Q15617994
['Q12725484', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q12725484 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Constantin Corduneanu
action count
action filter_type
action find
entity Constantin Corduneanu
relation country of citizenship
type designation for an administrative territorial entity
['Constantin Corduneanu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Constantin_Corduneanu property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q218
(Q12725484,P27,c(Q15617994))
action count
action filter_type
action find
entity Q12725484
relation P27
type Q15617994
[ANSWER]
['Q12725484', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q12725484 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Romania
1
action count
action filter_type
action find
entity Constantin Corduneanu
relation country of citizenship
type designation for an administrative territorial entity
['Constantin Corduneanu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Constantin_Corduneanu property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6781877
Q15617994
USER
And what about Marzouq AlـHubaini Al-Azmi?
(Q6781877,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6781877
relation P27
type Q15617994
['Q6781877', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q6781877 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Marzouq AlـHubaini Al-Azmi
action count
action filter_type
action find
entity Marzouq AlـHubaini Al-Azmi
relation country of citizenship
type designation for an administrative territorial entity
['Marzouq AlـHubaini Al-Azmi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Marzouq_AlـHubaini_Al-Azmi property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6781877,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6781877
relation P27
type Q15617994
[ANSWER]
['Q6781877', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q6781877 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Marzouq AlـHubaini Al-Azmi
relation country of citizenship
type designation for an administrative territorial entity
['Marzouq AlـHubaini Al-Azmi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Marzouq_AlـHubaini_Al-Azmi property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relationships with greater number of political territories than New Zealand ?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q664 property:P530 ?k . ?k rdf:type ontology:Q1048835 } } . FILTER ( ?r > ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?r ) WHERE { ?d property:P530 ?l . ?l rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q1048835 } GROUP BY ?d } }
New Zealand
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:New_Zealand property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity } } . FILTER ( ?r > ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?r ) WHERE { ?d property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?d } }
[]
political territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q664 property:P530 ?k . ?k rdf:type ontology:Q1048835 } } . FILTER ( ?r > ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?r ) WHERE { ?d property:P530 ?l . ?l rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q1048835 } GROUP BY ?d } }
Germany Australia Canada
3
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:New_Zealand property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity } } . FILTER ( ?r > ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?r ) WHERE { ?d property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q781
P530
Q1048835 Q1048835
USER
And also tell me about Antigua and Barbuda?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?t ) WHERE { ?j property:P530 ?c . ?j rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q781 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?t > ?g ) }
Antigua and Barbuda
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?t ) WHERE { ?j property:diplomatic_relation ?c . ?j rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?t > ?g ) }
[]
political territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?t ) WHERE { ?j property:P530 ?c . ?j rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q781 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?t > ?g ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?t ) WHERE { ?j property:diplomatic_relation ?c . ?j rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?t > ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q56004
P921
Q191067
USER
How many articles were mainly based on Canada or Corvey ?
(c(Q191067),P921,Q16) (c(Q191067),P921,Q56004)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P921
type Q191067
action filter_type
action find_reverse
entity Q56004
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q16'] [{'concept': 'Q191067'}, 'P921', 'Q56004']
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?d ) { ( resource:Q56004 ) ( resource:Q16 ) } . ?t property:P921 ?d }
Canada Corvey
action count
action union
action filter_type
action find_reverse
entity Canada
relation main subject
type article
action filter_type
action find_reverse
entity Corvey
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Canada'] [{'concept': 'article'}, 'main subject', 'Corvey']
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?d ) { ( resource:Corvey ) ( resource:Canada ) } . ?t property:main_subject ?d }
[]
article
SYSTEM
2
Q20409398 Q20411511
(c(Q191067),P921,Q16) (c(Q191067),P921,Q56004)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P921
type Q191067
action filter_type
action find_reverse
entity Q56004
relation P921
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q16'] [{'concept': 'Q191067'}, 'P921', 'Q56004']
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?d ) { ( resource:Q56004 ) ( resource:Q16 ) } . ?t property:P921 ?d }
EB-11 / Corvey Catholic Encyclopedia
2
action count
action union
action filter_type
action find_reverse
entity Canada
relation main subject
type article
action filter_type
action find_reverse
entity Corvey
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Canada'] [{'concept': 'article'}, 'main subject', 'Corvey']
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?d ) { ( resource:Corvey ) ( resource:Canada ) } . ?t property:main_subject ?d }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q569153 Q626865
P47 P495
Q15617994
USER
Which administrative territories are the origins of The Old Garden or are bordered by Isselbach ?
OR((Q626865,P495,c(Q15617994)), (Q569153,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q626865
relation P495
action find
entity Q569153
relation P47
type Q15617994
{'OR': [['Q626865', 'P495', {'concept': 'Q15617994'}], ['Q569153', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q569153 property:P47 ?v } UNION { resource:Q626865 property:P495 ?v } } . ?v rdf:type ontology:Q15617994 }
Isselbach The Old Garden
action filter_type
action union
action find
entity The Old Garden
relation country of origin
action find
entity Isselbach
relation shares border with
type designation for an administrative territorial entity
{'OR': [['The Old Garden', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Isselbach', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Isselbach property:shares_border_with ?v } UNION { resource:The_Old_Garden property:country_of_origin ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q695451 Q646401 Q645146 Q884 Q553288 Q563898 Q566883 Q632991 Q646938 Q654424
SYSTEM
Some of them are Horbach, Gackenbach, Daubach, South Korea, Heilberscheid, Eppenrod, Langenscheid, Montabaur, Stahlhofen, Horhausen
Q695451 Q654424 Q562961 Q646401 Q646938 Q553288 Q645146 Q566883 Q884 Q563898 Q632991
OR((Q626865,P495,c(Q15617994)), (Q569153,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q626865
relation P495
action find
entity Q569153
relation P47
type Q15617994
[ANSWERS] are the origins of The Old Garden or are bordered by Isselbach
{'OR': [['Q626865', 'P495', {'concept': 'Q15617994'}], ['Q569153', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q569153 property:P47 ?v } UNION { resource:Q626865 property:P495 ?v } } . ?v rdf:type ontology:Q15617994 }
Horbach Horhausen Hirschberg Gackenbach Stahlhofen Heilberscheid Daubach Langenscheid South Korea Eppenrod Montabaur
Horbach, Gackenbach, Daubach, South Korea, Heilberscheid, Eppenrod, Langenscheid, Montabaur, Stahlhofen and Horhausen are the origins of The Old Garden or are bordered by Isselbach
Horbach Gackenbach Daubach South Korea Heilberscheid Eppenrod Langenscheid Montabaur Stahlhofen Horhausen
action filter_type
action union
action find
entity The Old Garden
relation country of origin
action find
entity Isselbach
relation shares border with
type designation for an administrative territorial entity
{'OR': [['The Old Garden', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Isselbach', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Isselbach property:shares_border_with ?v } UNION { resource:The_Old_Garden property:country_of_origin ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P915
Q838948
USER
Which works of art were filmed at South Korea ?
(c(Q838948),P915,Q884)
action filter_type
action find_reverse
entity Q884
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q884']
SELECT DISTINCT ?i WHERE { ?i property:P915 resource:Q884 . ?i rdf:type ontology:Q838948 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'South Korea']
SELECT DISTINCT ?i WHERE { ?i property:filming_location resource:South_Korea . ?i rdf:type ontology:work_of_art }
[]
work of art
Q30931 Q492485 Q494594
SYSTEM
Die Another Day, The Thieves, D-War
Q94448 Q487239 Q5594912 Q4652765 Q1392191 Q51173 Q6945937 Q486340 Q13635771 Q5682734 Q494594 Q13846052 Q1467897 Q1473776 Q496495 Q842590 Q7043349 Q492485 Q485462 Q7581677 Q2934082 Q557196 Q7195952 Q5463060 Q5951794 Q4189216 Q7549606 Q30931 Q491978 Q495123 Q5207601 Q18170264 Q3032184 Q7091876 Q562396 Q115890 Q6690132 Q127536 Q1040069 Q3204273 Q488169 Q495128 Q16734412 Q6946250 Q3232560 Q487482 Q483197 Q623844 Q17024752 Q7721618 Q255260 Q496738 Q18202582 Q3809340 Q18128354 Q2351203 Q6911066 Q498218 Q14723541 Q483795 Q494410 Q15982937 Q15895891 Q624957 Q492266 Q16175769 Q626865 Q391544 Q1041472 Q625136 Q3523374 Q8564063 Q5098292 Q488222 Q14795754 Q492203 Q849408 Q624971 Q626649 Q51743
(c(Q838948),P915,Q884)
action filter_type
action find_reverse
entity Q884
relation P915
type Q838948
[ANSWERS] were filmed at South Korea
[{'concept': 'Q838948'}, 'P915', 'Q884']
SELECT DISTINCT ?i WHERE { ?i property:P915 resource:Q884 . ?i rdf:type ontology:Q838948 }
My Girlfriend Is an Agent My Tutor Friend Grand Prix AM 11:00 Spellbound Jeon Woo Chi My Love, My Bride Hansel and Gretel Helpless Haunters D-War Howling Best of the Best Fulltime Killer Doomsday Book Black House No. 3 The Thieves A Bittersweet Life Spy Girl Calla Heaven's Postman Pink Fly, Daddy, Fly Hwa-yi Almost Love So Won Die Another Day Quick Inchon Dachimawa Lee Pluto Ditto Once Upon a Time in High School Natural City A Werewolf Boy Love, So Divine A*P*E Face The Intruder Memories of Murder Tidal Wave A Girl at My Door My Paparotti Like You Know It All Sector 7 Pietà Wet Dreams 2 For the Emperor The Cat A Tale of Two Sisters 71: Into the Fire Shoot Me in the Heart Miracle in Cell No. 7 My Love, My Bride Dragon Ball: Ssawora Son Goku, Igyeora Son Goku More Than Blue Virgin Snow Hide and Seek The Scarlet Letter Taegukgi Monster Intruders She's on Duty Deranged Innocent Thing The Old Garden Shiri A Million The Day a Pig Fell into the Well The Wig The Flu Children The Host The Face Reader Blind Arang Tale of Cinema Green Fish King and the Clown
Die Another Day, The Thieves and D-War were filmed at South Korea
Die Another Day The Thieves D-War
action filter_type
action find_reverse
entity South Korea
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'South Korea']
SELECT DISTINCT ?i WHERE { ?i property:filming_location resource:South_Korea . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30931 Q492485 Q494594
P495
Q15617994
USER
What are the origins of Die Another Day, The Thieves and D-War ?
(Q30931,P495,c(Q15617994)) (Q492485,P495,c(Q15617994)) (Q494594,P495,c(Q15617994))
action union
action filter_type
action find
entity Q30931
relation P495
type Q15617994
action filter_type
action find
entity Q492485
relation P495
type Q15617994
action filter_type
action find
entity Q494594
relation P495
type Q15617994
['Q30931', 'P495', {'concept': 'Q15617994'}] ['Q492485', 'P495', {'concept': 'Q15617994'}] ['Q494594', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { resource:Q492485 property:P495 ?h . ?h rdf:type ontology:Q15617994 } UNION { resource:Q30931 property:P495 ?h . ?h rdf:type ontology:Q15617994 } }
Die Another Day The Thieves D-War
action union
action filter_type
action find
entity Die Another Day
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity The Thieves
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity D-War
relation country of origin
type designation for an administrative territorial entity
['Die Another Day', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Thieves', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['D-War', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { resource:The_Thieves property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Die_Another_Day property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q145 Q884
SYSTEM
United States of America, United Kingdom, South Korea
Q30 Q145 Q884 Q884
(Q30931,P495,c(Q15617994)) (Q492485,P495,c(Q15617994)) (Q494594,P495,c(Q15617994))
action union
action filter_type
action find
entity Q30931
relation P495
type Q15617994
action filter_type
action find
entity Q492485
relation P495
type Q15617994
action filter_type
action find
entity Q494594
relation P495
type Q15617994
The origins of Die Another Day , The Thieves and D-War are the [ANSWERS]
['Q30931', 'P495', {'concept': 'Q15617994'}] ['Q492485', 'P495', {'concept': 'Q15617994'}] ['Q494594', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { resource:Q492485 property:P495 ?h . ?h rdf:type ontology:Q15617994 } UNION { resource:Q30931 property:P495 ?h . ?h rdf:type ontology:Q15617994 } }
United States of America United Kingdom South Korea South Korea
The origins of Die Another Day , The Thieves and D-War are the United States of America, United Kingdom and South Korea
United States of America United Kingdom South Korea
action union
action filter_type
action find
entity Die Another Day
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity The Thieves
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity D-War
relation country of origin
type designation for an administrative territorial entity
['Die Another Day', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Thieves', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['D-War', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { resource:The_Thieves property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Die_Another_Day property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]