Simple Question (Direct)
Simple Question
Q4502043
P20
Q15617994
USER
Where did the demise of Cornelis "Cor" Hendricus Hoeboer occur ?
(Q4502043,P20,c(Q15617994))
action filter_type
action find
entity Q4502043
relation P20
type Q15617994
['Q4502043', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q4502043 property:P20 ?c . ?c rdf:type ontology:Q15617994 }
Cornelis "Cor" Hendricus Hoeboer
action filter_type
action find
entity Cornelis "Cor" Hendricus Hoeboer
relation place of death
type designation for an administrative territorial entity
['Cornelis "Cor" Hendricus Hoeboer', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Cornelis_"Cor"_Hendricus_Hoeboer property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q4502043,P20,c(Q15617994))
action filter_type
action find
entity Q4502043
relation P20
type Q15617994
The demise of Cornelis " Cor " Hendricus Hoeboer occurred in [ANSWER]
['Q4502043', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q4502043 property:P20 ?c . ?c rdf:type ontology:Q15617994 }
Netherlands
The demise of Cornelis " Cor " Hendricus Hoeboer occurred in Netherlands
Netherlands
action filter_type
action find
entity Cornelis "Cor" Hendricus Hoeboer
relation place of death
type designation for an administrative territorial entity
['Cornelis "Cor" Hendricus Hoeboer', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Cornelis_"Cor"_Hendricus_Hoeboer property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4502043
P21
Q290
USER
What is the sex of that person ?
(Q55,P21,c(Q290))
action filter_type
action find
entity Q4502043
relation P21
type Q290
['Q55', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q4502043 property:P21 ?u }
Cornelis "Cor" Hendricus Hoeboer
action filter_type
action find
entity Cornelis "Cor" Hendricus Hoeboer
relation gender
type sex
['Netherlands', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Cornelis_"Cor"_Hendricus_Hoeboer property:gender ?u }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q55,P21,c(Q290))
action filter_type
action find
entity Q4502043
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q55', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q4502043 property:P21 ?u }
male
The sex of that person is a male
male
action filter_type
action find
entity Cornelis "Cor" Hendricus Hoeboer
relation gender
type sex
['Netherlands', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Cornelis_"Cor"_Hendricus_Hoeboer property:gender ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4502043
P27
Q15617994
USER
How many administrative territories are Cornelis "Cor" Hendricus Hoeboer a civilian of ?
(Q4502043,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4502043
relation P27
type Q15617994
['Q4502043', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q4502043 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Cornelis "Cor" Hendricus Hoeboer
action count
action filter_type
action find
entity Cornelis "Cor" Hendricus Hoeboer
relation country of citizenship
type designation for an administrative territorial entity
['Cornelis "Cor" Hendricus Hoeboer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Cornelis_"Cor"_Hendricus_Hoeboer property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29999
(Q4502043,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4502043
relation P27
type Q15617994
[ANSWER]
['Q4502043', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q4502043 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
1
action count
action filter_type
action find
entity Cornelis "Cor" Hendricus Hoeboer
relation country of citizenship
type designation for an administrative territorial entity
['Cornelis "Cor" Hendricus Hoeboer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Cornelis_"Cor"_Hendricus_Hoeboer property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6767926
P27
Q15617994
USER
And how about Mark Harman?
(Q6767926,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6767926
relation P27
type Q15617994
['Q6767926', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q6767926 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Mark Harman
action count
action filter_type
action find
entity Mark Harman
relation country of citizenship
type designation for an administrative territorial entity
['Mark Harman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Mark_Harman property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q6767926,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6767926
relation P27
type Q15617994
[ANSWER]
['Q6767926', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q6767926 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Mark Harman
relation country of citizenship
type designation for an administrative territorial entity
['Mark Harman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Mark_Harman property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q722983
Q15617994
USER
And how about Ferdinand-Alphonse Hamelin?
(Q722983,P27,c(Q15617994))
action count
action filter_type
action find
entity Q722983
relation P27
type Q15617994
['Q722983', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q722983 property:P27 ?z }
Ferdinand-Alphonse Hamelin
action count
action filter_type
action find
entity Ferdinand-Alphonse Hamelin
relation country of citizenship
type designation for an administrative territorial entity
['Ferdinand-Alphonse Hamelin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ferdinand-Alphonse_Hamelin property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q722983,P27,c(Q15617994))
action count
action filter_type
action find
entity Q722983
relation P27
type Q15617994
[ANSWER]
['Q722983', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q722983 property:P27 ?z }
1
action count
action filter_type
action find
entity Ferdinand-Alphonse Hamelin
relation country of citizenship
type designation for an administrative territorial entity
['Ferdinand-Alphonse Hamelin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ferdinand-Alphonse_Hamelin property:country_of_citizenship ?z }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with more number of administrative territories than Denmark ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { FILTER ( ?l > ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q35 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?l ) WHERE { ?y property:P530 ?f . ?y rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?y } }
Denmark
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { FILTER ( ?l > ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Denmark property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?l ) WHERE { ?y property:diplomatic_relation ?f . ?y rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q40 Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { FILTER ( ?l > ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q35 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?l ) WHERE { ?y property:P530 ?f . ?y rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?y } }
Austria Germany Australia Canada
4
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { FILTER ( ?l > ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Denmark property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?l ) WHERE { ?y property:diplomatic_relation ?f . ?y rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q781
P530
Q1048835 Q15617994
USER
And what about Antigua and Barbuda?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?v ) WHERE { ?r property:P530 ?x . ?r rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Q781 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?v > ?n ) }
Antigua and Barbuda
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?v ) WHERE { ?r property:diplomatic_relation ?x . ?r rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v > ?n ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
7
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?v ) WHERE { ?r property:P530 ?x . ?r rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Q781 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?v > ?n ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
7
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?v ) WHERE { ?r property:diplomatic_relation ?x . ?r rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q778
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with greater number of administrative territories than The Bahamas ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?g ) WHERE { ?o property:P530 ?w . ?o rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { resource:Q778 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } }
The Bahamas
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?g ) WHERE { ?o property:diplomatic_relation ?w . ?o rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { resource:The_Bahamas property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with greater number of administrative territories than The Bahamas
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?g ) WHERE { ?o property:P530 ?w . ?o rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { resource:Q778 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany, Australia and Denmark hold diplomatic relationship with greater number of administrative territories than The Bahamas
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?g ) WHERE { ?o property:diplomatic_relation ?w . ?o rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { resource:The_Bahamas property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6391330
P530
Q15617994
USER
Do Kenowa Hills Public Schools have diplomatic associations with those political territories ?
(Q6391330,P530,Q183) (Q6391330,P530,Q408) (Q6391330,P530,Q35)
action is_in
entity prev_answer
action find
entity Q6391330
relation P530
['Q6391330', 'P530', 'Q183'] ['Q6391330', 'P530', 'Q408'] ['Q6391330', 'P530', 'Q35']
ASK WHERE { resource:Q6391330 property:P530 ?e . VALUES ( ?e ) { ( resource:Q40 ) ( resource:Q183 ) ( resource:Q408 ) } }
Kenowa Hills Public Schools
action is_in
entity prev_answer
action find
entity Kenowa Hills Public Schools
relation diplomatic relation
['Kenowa Hills Public Schools', 'diplomatic relation', 'Germany'] ['Kenowa Hills Public Schools', 'diplomatic relation', 'Australia'] ['Kenowa Hills Public Schools', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Kenowa_Hills_Public_Schools property:diplomatic_relation ?e . VALUES ( ?e ) { ( resource:Austria ) ( resource:Germany ) ( resource:Australia ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6391330,P530,Q183) (Q6391330,P530,Q408) (Q6391330,P530,Q35)
action is_in
entity prev_answer
action find
entity Q6391330
relation P530
[ANSWER]
['Q6391330', 'P530', 'Q183'] ['Q6391330', 'P530', 'Q408'] ['Q6391330', 'P530', 'Q35']
ASK WHERE { resource:Q6391330 property:P530 ?e . VALUES ( ?e ) { ( resource:Q40 ) ( resource:Q183 ) ( resource:Q408 ) } }
No
action is_in
entity prev_answer
action find
entity Kenowa Hills Public Schools
relation diplomatic relation
['Kenowa Hills Public Schools', 'diplomatic relation', 'Germany'] ['Kenowa Hills Public Schools', 'diplomatic relation', 'Australia'] ['Kenowa Hills Public Schools', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Kenowa_Hills_Public_Schools property:diplomatic_relation ?e . VALUES ( ?e ) { ( resource:Austria ) ( resource:Germany ) ( resource:Australia ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P915
Q201658 Q838948
USER
How many film genres or works of art were filmed at Germany ?
(c(Q201658),P915,Q183) (c(Q838948),P915,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P915
type Q201658
action filter_type
action find_reverse
entity Q183
relation P915
type Q838948
[{'concept': 'Q201658'}, 'P915', 'Q183'] [{'concept': 'Q838948'}, 'P915', 'Q183']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:P915 resource:Q183 . ?m rdf:type ontology:Q201658 } UNION { ?m rdf:type ontology:Q838948 . ?m property:P915 resource:Q183 } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation filming location
type film genre
action filter_type
action find_reverse
entity Germany
relation filming location
type work of art
[{'concept': 'film genre'}, 'filming location', 'Germany'] [{'concept': 'work of art'}, 'filming location', 'Germany']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:filming_location resource:Germany . ?m rdf:type ontology:film_genre } UNION { ?m rdf:type ontology:work_of_art . ?m property:filming_location resource:Germany } }
[]
film genre work of art
SYSTEM
141
Q797445 Q7879141 Q587566 Q270061 Q1171442 Q17014725 Q971985 Q7758601 Q16249045 Q3088260 Q7924385 Q2524426 Q541354 Q490076 Q2500178 Q474425 Q18713033 Q16249196 Q671631 Q5896770 Q666707 Q679833 Q12485037 Q936327 Q7138266 Q7745749 Q421583 Q188159 Q204398 Q16251439 Q5967392 Q157879 Q15715216 Q167411 Q895543 Q7749543 Q313764 Q1630478 Q2906966 Q164813 Q15140361 Q540624 Q10544134 Q1302032 Q19315473 Q5002116 Q207916 Q15040678 Q819084 Q313819 Q1283810 Q158759 Q159063 Q16494458 Q6818502 Q694781 Q892039 Q664234 Q378754 Q153723 Q1169101 Q3963179 Q3560411 Q3560415 Q18407657 Q151183 Q12137068 Q1195819 Q571583 Q842720 Q3352751 Q152857 Q6750834 Q1575773 Q325648 Q2251852 Q1218840 Q5395738 Q185658 Q652251 Q166696 Q3045056 Q3346699 Q3210569 Q228554 Q170268 Q637849 Q4666737 Q478793 Q455555 Q488316 Q1454148 Q2394581 Q250971 Q14952480 Q15040657 Q1467237 Q1637791 Q12123479 Q13564191 Q760989 Q498287 Q14511981 Q1347086 Q127021 Q643847 Q180416 Q5943675 Q3246496 Q705871 Q989866 Q1806709 Q481310 Q671718 Q309248 Q163549 Q5619208 Q677347 Q216269 Q314942 Q4536024 Q18067135 Q21065355 Q627209 Q158398 Q107914 Q3521099 Q1033396 Q1192054 Q3206615 Q4407383 Q4656385 Q498442 Q926309 Q1524596 Q1430155 Q1203252 Q535628 Q546900 Q3016883 Q158023
(c(Q201658),P915,Q183) (c(Q838948),P915,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P915
type Q201658
action filter_type
action find_reverse
entity Q183
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q201658'}, 'P915', 'Q183'] [{'concept': 'Q838948'}, 'P915', 'Q183']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:P915 resource:Q183 . ?m rdf:type ontology:Q201658 } UNION { ?m rdf:type ontology:Q838948 . ?m property:P915 resource:Q183 } }
Baader Ullasa Paravaigal Stroszek 7 Zwerge – Der Wald ist nicht genug The Silence Under the Pavement Lies the Strand Target The Prosecutor Hallers Unfinished Business Pola X Via Mala Viktor Vogel – Commercial Man Faust Night Crossing Urban Explorer Nekromantik 2 Hunter's Prayer Amour Fou Ninja Assassin Honor Bound The Bridesmaid Black Death Habibie & Ainun Willy Wonka & the Chocolate Factory Parker The Last Escape Lore A Dangerous Method Octopussy A Hologram for the King I, Anna The Ghost Writer Hitman: Agent 47 The Counterfeiters Among Vultures The Magician of Lublin The Tin Drum The Good Neighbour Blood Trails Perfume: The Story of a Murderer Porobashinee Germany, Year Zero Carousel Chicken with Plums Snowden Buster's Bedroom Tomorrow Never Dies The Voices Before the Fall Anonymous One, Two, Three Unknown The Reader Run Boy Run Mercilessly Betrayed The American Friend Bon Appétit Itinéraire d'un enfant gâté The Church Inglourious Basterds Dr. M The Little Napoleon Violent Shit II: Mother Hold My Hand Violent Shit Captain America: Civil War The Loves of Pharaoh The Eye of Evil $ Laser Mission Hostel Only Lovers Left Alive Downfall Manniac Hannah Arendt Head-On F for Fake The Last Company Errors of the Human Body Indiana Jones and the Last Crusade Nekromantik The Baader Meinhof Complex Disengagement Nymphomaniac The Mark of the Angels – Miserere Trains'n'Roses Hanna The Damned Abendland Berlin 36 Anatomy 2 Anatomy Free Land Les Misérables Young Goethe in Love Early to Bed K3: Prison of Hell Ruby Cairo Chitty Chitty Bang Bang Fuck for Forest 102 Years in the Heart of Europe: A Portrait of Ernst Jünger Moscow on the Hudson Hansel and Gretel: Witch Hunters The Book Thief Slasher M Smilla's Sense of Snow Das Experiment Az Karkheh ta Rhein House of Boys The Edge of Heaven Martin Luther Last Hippie Standing Visions of Eight The Search The Three Musketeers Black Book Gunner Palace The Countess 23 Pandorum The Apparition Bridge of Spies Look Who's Back Rollerball Iron Sky Diamonds Are Forever The Grand Budapest Hotel Cannibal The Holcroft Covenant Beauty and the Beast Monuments Men A Defeated People Spaceballs Brüno Chalet Girl The Angel's Melancholy Don 2 First Spaceship on Venus Suspiria Passion The White Ribbon
141
action count
action union
action filter_type
action find_reverse
entity Germany
relation filming location
type film genre
action filter_type
action find_reverse
entity Germany
relation filming location
type work of art
[{'concept': 'film genre'}, 'filming location', 'Germany'] [{'concept': 'work of art'}, 'filming location', 'Germany']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:filming_location resource:Germany . ?m rdf:type ontology:film_genre } UNION { ?m rdf:type ontology:work_of_art . ?m property:filming_location resource:Germany } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many administrative territories holds diplomatic relationship with atmost 3 political territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { FILTER ( ?n <= 3 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?j } }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { FILTER ( ?n <= 3 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?j } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
164
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 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 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { FILTER ( ?n <= 3 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?j } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America 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 Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan 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 Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
164
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { FILTER ( ?n <= 3 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P740
Q43229
USER
Which organizations originated at Germany ?
(c(Q43229),P740,Q183)
action filter_type
action find_reverse
entity Q183
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q183']
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q183 . ?k rdf:type ontology:Q43229 }
Germany
action filter_type
action find_reverse
entity Germany
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Germany']
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Germany . ?k rdf:type ontology:organization }
[]
organization
Q300518 Q2743805 Q877200
SYSTEM
OBI, Lavasoft, Dual
Q5706319 Q2743805 Q877200 Q300518 Q7616372 Q17077985 Q468381 Q1809053
(c(Q43229),P740,Q183)
action filter_type
action find_reverse
entity Q183
relation P740
type Q43229
[ANSWERS] originated at Germany
[{'concept': 'Q43229'}, 'P740', 'Q183']
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q183 . ?k rdf:type ontology:Q43229 }
Helko Lavasoft Dual OBI Stiefel Laboratories Herpa Wings Avira Lesiëm
OBI, Lavasoft and Dual originated at Germany
OBI Lavasoft Dual
action filter_type
action find_reverse
entity Germany
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Germany']
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Germany . ?k rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2743805
P159
Q56061
USER
Which administrative territory is the HQ of that organization ?
(Q2743805,P159,c(Q56061))
action filter_type
action find
entity Q2743805
relation P159
type Q56061
['Q2743805', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q2743805 property:P159 ?z . ?z rdf:type ontology:Q56061 }
Lavasoft
action filter_type
action find
entity Lavasoft
relation headquarters location
type administrative territorial entity
['Lavasoft', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Lavasoft property:headquarters_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q2743805
SYSTEM
Did you mean Lavasoft ?
Q300518 Q2743805 Q877200
(Q300518,P159,c(Q56061)) (Q2743805,P159,c(Q56061)) (Q877200,P159,c(Q56061))
[ANSWER]
['Q300518', 'P159', {'concept': 'Q56061'}] ['Q2743805', 'P159', {'concept': 'Q56061'}] ['Q877200', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q2743805 property:P159 ?z . ?z rdf:type ontology:Q56061 }
OBI Lavasoft Dual
Did you mean Lavasoft ?
Lavasoft
['OBI', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Lavasoft', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Dual', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Lavasoft property:headquarters_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2743805,P159,c(Q56061))
['Q2743805', 'P159', {'concept': 'Q56061'}]
['Lavasoft', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q340
SYSTEM
Montreal
Q340
(Q2743805,P159,c(Q56061))
action filter_type
action find
entity Q2743805
relation P159
type Q56061
[ANSWER] is the HQ of that organization
['Q2743805', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q2743805 property:P159 ?z . ?z rdf:type ontology:Q56061 }
Montreal
Montreal is the HQ of that organization
Montreal
action filter_type
action find
entity Lavasoft
relation headquarters location
type administrative territorial entity
['Lavasoft', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Lavasoft property:headquarters_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]