Simple Question (Direct)
Simple Question
Q90813
P27
Q1048835
USER
Which political territory is the native country of Wolfgang Schivelbusch ?
(Q90813,P27,c(Q1048835))
action filter_type
action find
entity Q90813
relation P27
type Q1048835
['Q90813', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q90813 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Wolfgang Schivelbusch
action filter_type
action find
entity Wolfgang Schivelbusch
relation country of citizenship
type political territorial entity
['Wolfgang Schivelbusch', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Wolfgang_Schivelbusch property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q90813,P27,c(Q1048835))
action filter_type
action find
entity Q90813
relation P27
type Q1048835
The [ANSWER] is the native country of Wolfgang Schivelbusch
['Q90813', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q90813 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Germany
The Germany is the native country of Wolfgang Schivelbusch
Germany
action filter_type
action find
entity Wolfgang Schivelbusch
relation country of citizenship
type political territorial entity
['Wolfgang Schivelbusch', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Wolfgang_Schivelbusch property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90813
P937
Q56061
USER
Where did Wolfgang Schivelbusch work ?
(Q90813,P937,c(Q56061))
action filter_type
action find
entity Q90813
relation P937
type Q56061
['Q90813', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q90813 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Wolfgang Schivelbusch
action filter_type
action find
entity Wolfgang Schivelbusch
relation work location
type administrative territorial entity
['Wolfgang Schivelbusch', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Wolfgang_Schivelbusch property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q90813,P937,c(Q56061))
action filter_type
action find
entity Q90813
relation P937
type Q56061
Wolfgang Schivelbusch worked in [ANSWER]
['Q90813', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q90813 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Berlin
Wolfgang Schivelbusch worked in Berlin
Berlin
action filter_type
action find
entity Wolfgang Schivelbusch
relation work location
type administrative territorial entity
['Wolfgang Schivelbusch', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Wolfgang_Schivelbusch property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2708934
Q56061
USER
And also tell me about Gustav Mayer?
(Q2708934,P937,c(Q56061))
action filter_type
action find
entity Q2708934
relation P937
type Q56061
['Q2708934', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2708934 property:P937 ?g . ?g rdf:type ontology:Q56061 }
Gustav Mayer
action filter_type
action find
entity Gustav Mayer
relation work location
type administrative territorial entity
['Gustav Mayer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Gustav_Mayer property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q14950
SYSTEM
Sinsheim
Q14950
(Q2708934,P937,c(Q56061))
action filter_type
action find
entity Q2708934
relation P937
type Q56061
[ANSWER]
['Q2708934', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2708934 property:P937 ?g . ?g rdf:type ontology:Q56061 }
Sinsheim
Sinsheim
action filter_type
action find
entity Gustav Mayer
relation work location
type administrative territorial entity
['Gustav Mayer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Gustav_Mayer property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q263954
P559
Q56061 Q628179 Q44377
USER
How many administrative territories are a terminus for more number of trails and tunnels than Afobaka ?
(c(Q628179)|c(Q44377),P559,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action count
action filter_multi_types
action find_reverse
entity Q263954
relation P559
type Q628179
type Q44377
[[{'concept': 'Q628179'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?q ) WHERE { { ?m rdf:type ontology:Q44377 . ?u rdf:type ontology:Q56061 . ?m property:P559 ?u } UNION { ?m property:P559 ?u . ?u rdf:type ontology:Q56061 . ?m rdf:type ontology:Q628179 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P559 resource:Q263954 . { { ?g rdf:type ontology:Q628179 } UNION { ?g rdf:type ontology:Q44377 } } } } . FILTER ( ?q > ?o ) }
Afobaka
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action count
action filter_multi_types
action find_reverse
entity Afobaka
relation terminus
type trail
type tunnel
[[{'concept': 'trail'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?q ) WHERE { { ?m rdf:type ontology:tunnel . ?u rdf:type ontology:administrative_territorial_entity . ?m property:terminus ?u } UNION { ?m property:terminus ?u . ?u rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:trail } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:terminus resource:Afobaka . { { ?g rdf:type ontology:trail } UNION { ?g rdf:type ontology:tunnel } } } } . FILTER ( ?q > ?o ) }
[]
administrative territorial entity trail tunnel
SYSTEM
49
Q3051477 Q3112707 Q837211 Q69639 Q375314 Q12439 Q82490 Q4825403 Q172157 Q796625 Q130191 Q5902931 Q7651719 Q992420 Q727 Q7986745 Q7050868 Q28327 Q33959 Q586 Q1017331 Q35433 Q66208 Q2796951 Q687945 Q782155 Q12714367 Q6820370 Q1020951 Q257034 Q1571025 Q856860 Q517381 Q1248150 Q1781385 Q2703030 Q794802 Q6275457 Q375905 Q643160 Q1735 Q17872 Q129610 Q766594 Q1229951 Q237253 Q485186 Q634172 Q865872
(c(Q628179)|c(Q44377),P559,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action count
action filter_multi_types
action find_reverse
entity Q263954
relation P559
type Q628179
type Q44377
[ANSWER]
[[{'concept': 'Q628179'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?q ) WHERE { { ?m rdf:type ontology:Q44377 . ?u rdf:type ontology:Q56061 . ?m property:P559 ?u } UNION { ?m property:P559 ?u . ?u rdf:type ontology:Q56061 . ?m rdf:type ontology:Q628179 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P559 resource:Q263954 . { { ?g rdf:type ontology:Q628179 } UNION { ?g rdf:type ontology:Q44377 } } } } . FILTER ( ?q > ?o ) }
Ellewoutsdijk Sedbury Scheveningen Göschenen Folkestone Detroit Lyme Regis Austrepollen Winchester Edale Norwich Horda, Norway Svartnes Fjærland Amsterdam West Vale Nordrepollen Örnsköldsvik Nice Bonn Westport, County Mayo Saint-Rhémy-en-Bosses Frutigen Cumberland Gap San Bernardino Jarrow Granvin Merritton, Ontario Ilkley Kemble Mullan Hammond Dillenburg Wallsend Björkhagen Kilsby Otira Jong, Norway Deerfield Farnham Innsbruck Alice Springs Galway Bewdley L'Estaque Great Yarmouth Key West Banihal Birstall
49
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action count
action filter_multi_types
action find_reverse
entity Afobaka
relation terminus
type trail
type tunnel
[[{'concept': 'trail'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?q ) WHERE { { ?m rdf:type ontology:tunnel . ?u rdf:type ontology:administrative_territorial_entity . ?m property:terminus ?u } UNION { ?m property:terminus ?u . ?u rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:trail } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:terminus resource:Afobaka . { { ?g rdf:type ontology:trail } UNION { ?g rdf:type ontology:tunnel } } } } . FILTER ( ?q > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2814
P559
Q56061 Q628179 Q44377
USER
And also tell me about Halle (Saale)?
(c(Q628179)|c(Q44377),P559,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action count
action filter_multi_types
action find_reverse
entity Q2814
relation P559
type Q628179
type Q44377
[[{'concept': 'Q628179'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:P559 resource:Q2814 . { { ?q rdf:type ontology:Q628179 } UNION { ?q rdf:type ontology:Q44377 } } } } . FILTER ( ?v > ?x ) . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?v ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:Q628179 ) ( ontology:Q44377 ) } } GROUP BY ?h } }
Halle (Saale)
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action count
action filter_multi_types
action find_reverse
entity Halle (Saale)
relation terminus
type trail
type tunnel
[[{'concept': 'trail'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:terminus resource:Halle_(Saale) . { { ?q rdf:type ontology:trail } UNION { ?q rdf:type ontology:tunnel } } } } . FILTER ( ?v > ?x ) . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?v ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:trail ) ( ontology:tunnel ) } } GROUP BY ?h } }
[]
administrative territorial entity trail tunnel
SYSTEM
49
Q3051477 Q3112707 Q837211 Q69639 Q375314 Q12439 Q82490 Q4825403 Q172157 Q796625 Q130191 Q5902931 Q7651719 Q992420 Q727 Q7986745 Q7050868 Q28327 Q33959 Q586 Q1017331 Q35433 Q66208 Q2796951 Q687945 Q782155 Q12714367 Q6820370 Q1020951 Q257034 Q1571025 Q856860 Q517381 Q1248150 Q1781385 Q2703030 Q794802 Q6275457 Q375905 Q643160 Q1735 Q17872 Q129610 Q766594 Q1229951 Q237253 Q485186 Q634172 Q865872
(c(Q628179)|c(Q44377),P559,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action count
action filter_multi_types
action find_reverse
entity Q2814
relation P559
type Q628179
type Q44377
[ANSWER]
[[{'concept': 'Q628179'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:P559 resource:Q2814 . { { ?q rdf:type ontology:Q628179 } UNION { ?q rdf:type ontology:Q44377 } } } } . FILTER ( ?v > ?x ) . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?v ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:Q628179 ) ( ontology:Q44377 ) } } GROUP BY ?h } }
Ellewoutsdijk Sedbury Scheveningen Göschenen Folkestone Detroit Lyme Regis Austrepollen Winchester Edale Norwich Horda, Norway Svartnes Fjærland Amsterdam West Vale Nordrepollen Örnsköldsvik Nice Bonn Westport, County Mayo Saint-Rhémy-en-Bosses Frutigen Cumberland Gap San Bernardino Jarrow Granvin Merritton, Ontario Ilkley Kemble Mullan Hammond Dillenburg Wallsend Björkhagen Kilsby Otira Jong, Norway Deerfield Farnham Innsbruck Alice Springs Galway Bewdley L'Estaque Great Yarmouth Key West Banihal Birstall
49
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action count
action filter_multi_types
action find_reverse
entity Halle (Saale)
relation terminus
type trail
type tunnel
[[{'concept': 'trail'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:terminus resource:Halle_(Saale) . { { ?q rdf:type ontology:trail } UNION { ?q rdf:type ontology:tunnel } } } } . FILTER ( ?v > ?x ) . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?v ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:trail ) ( ontology:tunnel ) } } GROUP BY ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q757
P17
Q1048835 Q13220204 Q12737077
USER
Which political territories do around the same number of administrative country subdivisions or occupations belong to as Saint Vincent and the Grenadines ?
(c(Q13220204)|c(Q12737077),P17,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q13220204
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q757
relation P17
type Q13220204
type Q12737077
[[{'concept': 'Q13220204'}, {'concept': 'Q12737077'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?a WHERE { { ?z property:P17 ?a . ?a rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q13220204 } UNION { ?a rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q12737077 . ?z property:P17 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P17 resource:Q757 . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:Q13220204 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?o = ?w ) }
Saint Vincent and the Grenadines
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation country
type political territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Saint Vincent and the Grenadines
relation country
type second-level administrative country subdivision
type occupation
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'occupation'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?a WHERE { { ?z property:country ?a . ?a rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?a rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:occupation . ?z property:country ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:country resource:Saint_Vincent_and_the_Grenadines . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:occupation ) } } } } . FILTER ( ?o = ?w ) }
[]
political territorial entity second-level administrative country subdivision occupation
Q5705 Q664 Q769
SYSTEM
Catalonia, New Zealand, Grenada
Q193714 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q13220204)|c(Q12737077),P17,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q13220204
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q757
relation P17
type Q13220204
type Q12737077
[ANSWERS] around the same number of administrative country subdivisions or occupations belong to as Saint Vincent and the Grenadines
[[{'concept': 'Q13220204'}, {'concept': 'Q12737077'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?a WHERE { { ?z property:P17 ?a . ?a rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q13220204 } UNION { ?a rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q12737077 . ?z property:P17 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P17 resource:Q757 . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:Q13220204 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?o = ?w ) }
Mandatory Palestine Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica 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 The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea 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 Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
Catalonia, New Zealand and Grenada around the same number of administrative country subdivisions or occupations belong to as Saint Vincent and the Grenadines
Catalonia New Zealand Grenada
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation country
type political territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Saint Vincent and the Grenadines
relation country
type second-level administrative country subdivision
type occupation
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'occupation'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?a WHERE { { ?z property:country ?a . ?a rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?a rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:occupation . ?z property:country ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:country resource:Saint_Vincent_and_the_Grenadines . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:occupation ) } } } } . FILTER ( ?o = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q778
P17
Q1048835 Q13220204 Q12737077
USER
And how about The Bahamas?
(c(Q13220204)|c(Q12737077),P17,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q13220204
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q778
relation P17
type Q13220204
type Q12737077
[[{'concept': 'Q13220204'}, {'concept': 'Q12737077'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P17 resource:Q778 . { VALUES ( ?u ) { ( ontology:Q13220204 ) ( ontology:Q12737077 ) } . ?y rdf:type ?u } } } . FILTER ( ?e = ?k ) . { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:P17 ?v . ?v rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q12737077 } UNION { ?h property:P17 ?v . ?h rdf:type ontology:Q13220204 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?v } }
The Bahamas
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation country
type political territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity The Bahamas
relation country
type second-level administrative country subdivision
type occupation
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'occupation'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:country resource:The_Bahamas . { VALUES ( ?u ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:occupation ) } . ?y rdf:type ?u } } } . FILTER ( ?e = ?k ) . { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:country ?v . ?v rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:occupation } UNION { ?h property:country ?v . ?h rdf:type ontology:second-level_administrative_country_subdivision . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?v } }
[]
political territorial entity second-level administrative country subdivision occupation
Q35 Q40 Q5705
SYSTEM
Denmark, Austria, Catalonia
Q193714 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q13220204)|c(Q12737077),P17,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q13220204
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q778
relation P17
type Q13220204
type Q12737077
[ANSWERS]
[[{'concept': 'Q13220204'}, {'concept': 'Q12737077'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P17 resource:Q778 . { VALUES ( ?u ) { ( ontology:Q13220204 ) ( ontology:Q12737077 ) } . ?y rdf:type ?u } } } . FILTER ( ?e = ?k ) . { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:P17 ?v . ?v rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q12737077 } UNION { ?h property:P17 ?v . ?h rdf:type ontology:Q13220204 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?v } }
Mandatory Palestine Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
Denmark Austria Catalonia
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation country
type political territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity The Bahamas
relation country
type second-level administrative country subdivision
type occupation
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'occupation'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:country resource:The_Bahamas . { VALUES ( ?u ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:occupation ) } . ?y rdf:type ?u } } } . FILTER ( ?e = ?k ) . { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:country ?v . ?v rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:occupation } UNION { ?h property:country ?v . ?h rdf:type ontology:second-level_administrative_country_subdivision . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?v } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P840
Q15850590 Q2342494
USER
How many theatrical genres or collectables have their narrative set in Germany ?
(c(Q15850590),P840,Q183) (c(Q2342494),P840,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P840
type Q15850590
action filter_type
action find_reverse
entity Q183
relation P840
type Q2342494
[{'concept': 'Q15850590'}, 'P840', 'Q183'] [{'concept': 'Q2342494'}, 'P840', 'Q183']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?q ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } . ?r rdf:type ?q }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation narrative location
type theatrical genre
action filter_type
action find_reverse
entity Germany
relation narrative location
type collectable
[{'concept': 'theatrical genre'}, 'narrative location', 'Germany'] [{'concept': 'collectable'}, 'narrative location', 'Germany']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?q ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } . ?r rdf:type ?q }
[]
theatrical genre collectable
SYSTEM
2
Q822985 Q18109559
(c(Q15850590),P840,Q183) (c(Q2342494),P840,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P840
type Q15850590
action filter_type
action find_reverse
entity Q183
relation P840
type Q2342494
[ANSWER]
[{'concept': 'Q15850590'}, 'P840', 'Q183'] [{'concept': 'Q2342494'}, 'P840', 'Q183']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?q ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } . ?r rdf:type ?q }
Neues vom Tage All the Light We Cannot See
2
action count
action union
action filter_type
action find_reverse
entity Germany
relation narrative location
type theatrical genre
action filter_type
action find_reverse
entity Germany
relation narrative location
type collectable
[{'concept': 'theatrical genre'}, 'narrative location', 'Germany'] [{'concept': 'collectable'}, 'narrative location', 'Germany']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?q ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } . ?r rdf:type ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P36
Q56061
USER
Which administrative territory is called the capital of Denmark ?
(Q35,P36,c(Q56061))
action filter_type
action find
entity Q35
relation P36
type Q56061
['Q35', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q35 property:P36 ?p }
Denmark
action filter_type
action find
entity Denmark
relation capital
type administrative territorial entity
['Denmark', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Denmark property:capital ?p }
[]
administrative territorial entity
Q1748
SYSTEM
Copenhagen
Q1748
(Q35,P36,c(Q56061))
action filter_type
action find
entity Q35
relation P36
type Q56061
The [ANSWER] is called the capital of Denmark
['Q35', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q35 property:P36 ?p }
Copenhagen
The Copenhagen is called the capital of Denmark
Copenhagen
action filter_type
action find
entity Denmark
relation capital
type administrative territorial entity
['Denmark', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Denmark property:capital ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P840
Q2342494
USER
Which collectables have their setting located at Denmark ?
(c(Q2342494),P840,Q35)
action filter_type
action find_reverse
entity Q35
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q35']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2342494 . ?e property:P840 resource:Q35 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Denmark']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:collectable . ?e property:narrative_location resource:Denmark }
[]
collectable
Q10428760 Q10428817
SYSTEM
Bert och brorsorna, Berts bravader
Q10428760 Q10428817
(c(Q2342494),P840,Q35)
action filter_type
action find_reverse
entity Q35
relation P840
type Q2342494
[ANSWERS] have their setting located at Denmark
[{'concept': 'Q2342494'}, 'P840', 'Q35']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2342494 . ?e property:P840 resource:Q35 }
Bert och brorsorna Berts bravader
Bert och brorsorna and Berts bravader have their setting located at Denmark
Bert och brorsorna Berts bravader
action filter_type
action find_reverse
entity Denmark
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Denmark']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:collectable . ?e property:narrative_location resource:Denmark }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P6
Q502895
USER
Which people are the head of government of Denmark ?
(Q35,P6,c(Q502895))
action filter_type
action find
entity Q35
relation P6
type Q502895
['Q35', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q35 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Denmark
action filter_type
action find
entity Denmark
relation head of government
type common name
['Denmark', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Denmark property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q46052 Q182397 Q57652
SYSTEM
Anders Fogh Rasmussen, Lars Løkke Rasmussen, Helle Thorning-Schmidt
Q441330 Q1040851 Q1037599 Q491280 Q918287 Q57652 Q503087 Q725118 Q264340 Q664052 Q727237 Q1274220 Q782403 Q351178 Q1375094 Q1375737 Q367557 Q1343866 Q721358 Q1343877 Q312881 Q46052 Q1335084 Q1744787 Q1576188 Q182397 Q327190 Q348901 Q731504 Q572189 Q1634992 Q710950 Q311063 Q1874069 Q947789 Q591189 Q1375050 Q947911 Q694093 Q966436 Q982328
(Q35,P6,c(Q502895))
action filter_type
action find
entity Q35
relation P6
type Q502895
[ANSWERS] are the head of government of Denmark
['Q35', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q35 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Jens Otto Krag Carl Theodor Zahle Carl Edvard Rotwitt Anders Sandøe Ørsted Viggo Kampmann Helle Thorning-Schmidt Hans Hedtoft Carl Christian Hall Klaus Berntsen Vilhelm Buhl Hilmar Baunsgaard Jens Christian Christensen Christian Emil Krag-Juel-Vind-Frijs Adam Wilhelm Moltke Niels Neergaard Michael Pedersen Friis Thorvald Stauning Ludvig Holstein-Holsteinborg H. C. Hansen Jacob Brønnum Scavenius Estrup Anker Jørgensen Anders Fogh Rasmussen Knud Kristensen Otto Liebe Hannibal Sehested Lars Løkke Rasmussen Poul Schlüter Poul Hartling Erik Scavenius Johan Henrik Deuntzer Hugo Egmont Hørring Erik Eriksen Poul Nyrup Rasmussen Ludvig Holstein-Ledreborg Carl Christoffer Georg Andræ Peter Georg Bang Tage Reedtz-Thott Christian Albrecht Bluhme Ditlev Gothard Monrad Christen Andreas Fonnesbech Thomas Madsen-Mygdal
Anders Fogh Rasmussen, Lars Løkke Rasmussen and Helle Thorning-Schmidt are the head of government of Denmark
Anders Fogh Rasmussen Lars Løkke Rasmussen Helle Thorning-Schmidt
action filter_type
action find
entity Denmark
relation head of government
type common name
['Denmark', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Denmark property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q46052 Q182397 Q57652
P106
Q12737077
USER
What are the job of those people ?
(Q46052,P106,c(Q12737077)) (Q182397,P106,c(Q12737077)) (Q57652,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q46052', 'P106', {'concept': 'Q12737077'}] ['Q182397', 'P106', {'concept': 'Q12737077'}] ['Q57652', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?m property:P106 ?u . VALUES ( ?m ) { ( resource:Q441330 ) ( resource:Q1040851 ) ( resource:Q1037599 ) } . ?u rdf:type ontology:Q12737077 }
Anders Fogh Rasmussen Lars Løkke Rasmussen Helle Thorning-Schmidt
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Anders Fogh Rasmussen', 'occupation', {'concept': 'occupation'}] ['Lars Løkke Rasmussen', 'occupation', {'concept': 'occupation'}] ['Helle Thorning-Schmidt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?m property:occupation ?u . VALUES ( ?m ) { ( resource:Jens_Otto_Krag ) ( resource:Carl_Theodor_Zahle ) ( resource:Carl_Edvard_Rotwitt ) } . ?u rdf:type ontology:occupation }
[]
occupation
Q188094 Q82955 Q82955
SYSTEM
economist for 1st, politician for 2nd, 3rd
Q188094 Q82955 Q82955 Q82955
(Q46052,P106,c(Q12737077)) (Q182397,P106,c(Q12737077)) (Q57652,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q46052', 'P106', {'concept': 'Q12737077'}] ['Q182397', 'P106', {'concept': 'Q12737077'}] ['Q57652', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?m property:P106 ?u . VALUES ( ?m ) { ( resource:Q441330 ) ( resource:Q1040851 ) ( resource:Q1037599 ) } . ?u rdf:type ontology:Q12737077 }
economist politician politician politician
The job of those people are an economist, politician and politician
economist politician politician
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Anders Fogh Rasmussen', 'occupation', {'concept': 'occupation'}] ['Lars Løkke Rasmussen', 'occupation', {'concept': 'occupation'}] ['Helle Thorning-Schmidt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?m property:occupation ?u . VALUES ( ?m ) { ( resource:Jens_Otto_Krag ) ( resource:Carl_Theodor_Zahle ) ( resource:Carl_Edvard_Rotwitt ) } . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q182397
P22
Q502895
USER
Which person has Lars Løkke Rasmussen as a parent ?
(c(Q502895),P22,Q182397)
action filter_type
action find_reverse
entity Q182397
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q182397']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P22 resource:Q182397 }
Lars Løkke Rasmussen
action filter_type
action find_reverse
entity Lars Løkke Rasmussen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Lars Løkke Rasmussen']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:father resource:Lars_Løkke_Rasmussen }
[]
common name
Q16948845
SYSTEM
Bergur Løkke Rasmussen
Q16948845
(c(Q502895),P22,Q182397)
action filter_type
action find_reverse
entity Q182397
relation P22
type Q502895
[ANSWER] has Lars Løkke Rasmussen as a parent
[{'concept': 'Q502895'}, 'P22', 'Q182397']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P22 resource:Q182397 }
Bergur Løkke Rasmussen
Bergur Løkke Rasmussen has Lars Løkke Rasmussen as a parent
Bergur Løkke Rasmussen
action filter_type
action find_reverse
entity Lars Løkke Rasmussen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Lars Løkke Rasmussen']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:father resource:Lars_Løkke_Rasmussen }
[]