Simple Question (Direct)
Simple Question
Q1712692
P937
Q56061
USER
Which administrative territory is the work location of Julius Hirschwald ?
(Q1712692,P937,c(Q56061))
action filter_type
action find
entity Q1712692
relation P937
type Q56061
['Q1712692', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1712692 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Julius Hirschwald
action filter_type
action find
entity Julius Hirschwald
relation work location
type administrative territorial entity
['Julius Hirschwald', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Julius_Hirschwald property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1712692,P937,c(Q56061))
action filter_type
action find
entity Q1712692
relation P937
type Q56061
[ANSWER] is the work location of Julius Hirschwald
['Q1712692', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1712692 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Berlin
Berlin is the work location of Julius Hirschwald
Berlin
action filter_type
action find
entity Julius Hirschwald
relation work location
type administrative territorial entity
['Julius Hirschwald', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Julius_Hirschwald property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1712692
P463
Q19335303
USER
Which German business organization was Julius Hirschwald a member of ?
(Q1712692,P463,c(Q19335303))
action filter_type
action find
entity Q1712692
relation P463
type Q19335303
['Q1712692', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?z WHERE { resource:Q1712692 property:P463 ?z . ?z rdf:type ontology:Q19335303 }
Julius Hirschwald
action filter_type
action find
entity Julius Hirschwald
relation member of
type type of business entity in Germany
['Julius Hirschwald', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?z WHERE { resource:Julius_Hirschwald property:member_of ?z . ?z rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q543804
SYSTEM
German Academy of Sciences Leopoldina
Q543804
(Q1712692,P463,c(Q19335303))
action filter_type
action find
entity Q1712692
relation P463
type Q19335303
The [ANSWER] was Julius Hirschwald a member of
['Q1712692', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?z WHERE { resource:Q1712692 property:P463 ?z . ?z rdf:type ontology:Q19335303 }
German Academy of Sciences Leopoldina
The German Academy of Sciences Leopoldina was Julius Hirschwald a member of
German Academy of Sciences Leopoldina
action filter_type
action find
entity Julius Hirschwald
relation member of
type type of business entity in Germany
['Julius Hirschwald', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?z WHERE { resource:Julius_Hirschwald property:member_of ?z . ?z rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1712692
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q543804,P27,c(Q1048835))
action filter_type
action find
entity Q1712692
relation P27
type Q1048835
['Q543804', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q1712692 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Julius Hirschwald
action filter_type
action find
entity Julius Hirschwald
relation country of citizenship
type political territorial entity
['German Academy of Sciences Leopoldina', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Julius_Hirschwald property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q543804,P27,c(Q1048835))
action filter_type
action find
entity Q1712692
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q543804', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q1712692 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Germany
Germany is the native country of that person
Germany
action filter_type
action find
entity Julius Hirschwald
relation country of citizenship
type political territorial entity
['German Academy of Sciences Leopoldina', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Julius_Hirschwald property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3290279 Q1712692
P27
Q1048835
USER
Or Manio Giovenzio Talna?
OR((Q1712692,P27,c(Q1048835)), (Q3290279,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1712692
relation P27
action find
entity Q3290279
relation P27
type Q1048835
{'OR': [['Q1712692', 'P27', {'concept': 'Q1048835'}], ['Q3290279', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . { { resource:Q1712692 property:P27 ?s } UNION { resource:Q3290279 property:P27 ?s } } }
Manio Giovenzio Talna Julius Hirschwald
action filter_type
action union
action find
entity Julius Hirschwald
relation country of citizenship
action find
entity Manio Giovenzio Talna
relation country of citizenship
type political territorial entity
{'OR': [['Julius Hirschwald', 'country of citizenship', {'concept': 'political territorial entity'}], ['Manio Giovenzio Talna', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . { { resource:Julius_Hirschwald property:country_of_citizenship ?s } UNION { resource:Manio_Giovenzio_Talna property:country_of_citizenship ?s } } }
[]
political territorial entity
Q1747689 Q183
SYSTEM
Ancient Rome, Germany
Q1747689 Q183
OR((Q1712692,P27,c(Q1048835)), (Q3290279,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1712692
relation P27
action find
entity Q3290279
relation P27
type Q1048835
[ANSWERS]
{'OR': [['Q1712692', 'P27', {'concept': 'Q1048835'}], ['Q3290279', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . { { resource:Q1712692 property:P27 ?s } UNION { resource:Q3290279 property:P27 ?s } } }
Ancient Rome Germany
Ancient Rome Germany
action filter_type
action union
action find
entity Julius Hirschwald
relation country of citizenship
action find
entity Manio Giovenzio Talna
relation country of citizenship
type political territorial entity
{'OR': [['Julius Hirschwald', 'country of citizenship', {'concept': 'political territorial entity'}], ['Manio Giovenzio Talna', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . { { resource:Julius_Hirschwald property:country_of_citizenship ?s } UNION { resource:Manio_Giovenzio_Talna property:country_of_citizenship ?s } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q22348500 Q2912397
USER
Which political territories are the start points of greater number of cycling race classes and single-day races than that political territory ?
(c(Q22348500)|c(Q2912397),P1427,c(Q1048835))
[[{'concept': 'Q22348500'}, {'concept': 'Q2912397'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:P1427 ?y } . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q2912397 }
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'single-day race'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:start_point ?y } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:single-day_race }
[]
political territorial entity cycling race class defined by the International Cycling Union single-day race
Comparative|More/Less|Mult. entity type|Clarification
Q183
SYSTEM
Did you mean Germany ?
(c(Q22348500)|c(Q2912397),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q22348500'}, {'concept': 'Q2912397'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:P1427 ?y } . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q2912397 }
Did you mean Germany ?
Germany
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'single-day race'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:start_point ?y } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:single-day_race }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q22348500)|c(Q2912397),P1427,c(Q1048835))
[[{'concept': 'Q22348500'}, {'concept': 'Q2912397'}], 'P1427', {'concept': 'Q1048835'}]
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'single-day race'}], 'start point', {'concept': 'political territorial entity'}]
[]
Q474080 Q492420 Q533277
SYSTEM
Amorebieta-Etxano, Getxo, Almonaster la Real
Q1556707 Q1628353 Q1766072 Q1625868 Q832991 Q474080 Q499184 Q668016 Q12540 Q601112 Q533277 Q743741 Q636467 Q648921 Q13614 Q492420 Q672483 Q987453
(c(Q22348500)|c(Q2912397),P1427,c(Q1048835))
[ANSWERS] are the start points of greater number of cycling race classes and single-day races than that political territory
[[{'concept': 'Q22348500'}, {'concept': 'Q2912397'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q2912397 }
Vila Nova de Cacela Sasamón Santo Domingo de Silos Alcañices Sóller Amorebieta-Etxano Roquetas de Mar Iurreta Calella Pollença Almonaster la Real Felanitx Benicàssim Etxebarria Banyoles Getxo Ordizia San Javier
Amorebieta-Etxano, Getxo and Almonaster la Real are the start points of greater number of cycling race classes and single-day races than that political territory
Amorebieta-Etxano Getxo Almonaster la Real
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'single-day race'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:single-day_race }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q889
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with approximately the same number of political territories as Afghanistan ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q889
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q889 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?h ) WHERE { ?w property:P530 ?m . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?w } }
Afghanistan
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Afghanistan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Afghanistan property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?h ) WHERE { ?w property:diplomatic_relation ?m . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?w } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
48
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q889
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q889 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?h ) WHERE { ?w property:P530 ?m . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?w } }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
48
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Afghanistan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Afghanistan property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?h ) WHERE { ?w property:diplomatic_relation ?m . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?w } }
[]