Simple Question (Direct)
Simple Question
Q1512938
P106
Q12737077
USER
What are the job of Gerhart Harrer ?
(Q1512938,P106,c(Q12737077))
action filter_type
action find
entity Q1512938
relation P106
type Q12737077
['Q1512938', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1512938 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Gerhart Harrer
action filter_type
action find
entity Gerhart Harrer
relation occupation
type occupation
['Gerhart Harrer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Gerhart_Harrer property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q211346 Q783906 Q1622272
SYSTEM
psychiatrist, neurologist, university teacher
Q211346 Q783906 Q1622272
(Q1512938,P106,c(Q12737077))
action filter_type
action find
entity Q1512938
relation P106
type Q12737077
The job of Gerhart Harrer are a [ANSWERS]
['Q1512938', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1512938 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
psychiatrist neurologist university teacher
The job of Gerhart Harrer are a psychiatrist, neurologist and university teacher
psychiatrist neurologist university teacher
action filter_type
action find
entity Gerhart Harrer
relation occupation
type occupation
['Gerhart Harrer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Gerhart_Harrer property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1512938
P27
Q1048835
USER
Which political territory does Gerhart Harrer belong to ?
(Q1512938,P27,c(Q1048835))
action filter_type
action find
entity Q1512938
relation P27
type Q1048835
['Q1512938', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1512938 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Gerhart Harrer
action filter_type
action find
entity Gerhart Harrer
relation country of citizenship
type political territorial entity
['Gerhart Harrer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Gerhart_Harrer property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1512938,P27,c(Q1048835))
action filter_type
action find
entity Q1512938
relation P27
type Q1048835
Gerhart Harrer belongs to [ANSWER]
['Q1512938', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1512938 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Austria
Gerhart Harrer belongs to Austria
Austria
action filter_type
action find
entity Gerhart Harrer
relation country of citizenship
type political territorial entity
['Gerhart Harrer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Gerhart_Harrer property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40
P119
Q502895
USER
Who has that political territory as his/her tomb ?
(c(Q502895),P119,Q40)
action filter_type
action find_reverse
entity Q40
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q40']
SELECT DISTINCT ?a WHERE { ?a property:P119 resource:Q40 . ?a rdf:type ontology:Q502895 }
Austria
action filter_type
action find_reverse
entity Austria
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Austria']
SELECT DISTINCT ?a WHERE { ?a property:place_of_burial resource:Austria . ?a rdf:type ontology:common_name }
[]
common name
Q20791917
SYSTEM
Jean-Alain Tétart
Q20791917
(c(Q502895),P119,Q40)
action filter_type
action find_reverse
entity Q40
relation P119
type Q502895
[ANSWER] has that political territory as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q40']
SELECT DISTINCT ?a WHERE { ?a property:P119 resource:Q40 . ?a rdf:type ontology:Q502895 }
Jean-Alain Tétart
Jean-Alain Tétart has that political territory as his/her tomb
Jean-Alain Tétart
action filter_type
action find_reverse
entity Austria
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Austria']
SELECT DISTINCT ?a WHERE { ?a property:place_of_burial resource:Austria . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1250464
P122
Q7275 Q1307214 Q1048835
USER
Which political territories have around the same number of states and forms of government as the form of government as realm ?
(c(Q1048835),P122,c(Q7275)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P122
type Q1048835
type Q7275
action find_tuple_counts
relation P122
type Q1048835
type Q1307214
action count
action filter_multi_types
action find
entity Q1250464
relation P122
type Q7275
type Q1307214
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q7275'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?p ) WHERE { { ?g property:P122 ?j . ?g rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q7275 } UNION { ?g property:P122 ?j . ?g rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q1307214 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q1250464 property:P122 ?z . { { ?z rdf:type ontology:Q7275 } UNION { ?z rdf:type ontology:Q1307214 } } } } . FILTER ( ?p = ?d ) }
realm
action approx
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
action find_tuple_counts
relation basic form of government
type political territorial entity
type form of government
action count
action filter_multi_types
action find
entity realm
relation basic form of government
type state
type form of government
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'state'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?p ) WHERE { { ?g property:basic_form_of_government ?j . ?g rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:state } UNION { ?g property:basic_form_of_government ?j . ?g rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:form_of_government } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:realm property:basic_form_of_government ?z . { { ?z rdf:type ontology:state } UNION { ?z rdf:type ontology:form_of_government } } } } . FILTER ( ?p = ?d ) }
[]
state form of government political territorial entity
Q408 Q16 Q129286
SYSTEM
Australia, Canada, British Raj
Q178084 Q16 Q408 Q1250464 Q129286
(c(Q1048835),P122,c(Q7275)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P122
type Q1048835
type Q7275
action find_tuple_counts
relation P122
type Q1048835
type Q1307214
action count
action filter_multi_types
action find
entity Q1250464
relation P122
type Q7275
type Q1307214
[ANSWERS] have around the same number of states and forms of government as the form of government as realm
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q7275'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?p ) WHERE { { ?g property:P122 ?j . ?g rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q7275 } UNION { ?g property:P122 ?j . ?g rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q1307214 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q1250464 property:P122 ?z . { { ?z rdf:type ontology:Q7275 } UNION { ?z rdf:type ontology:Q1307214 } } } } . FILTER ( ?p = ?d ) }
Ilkhanate Canada Australia realm British Raj
Australia, Canada and British Raj have around the same number of states and forms of government as the form of government as realm
Australia Canada British Raj
action approx
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
action find_tuple_counts
relation basic form of government
type political territorial entity
type form of government
action count
action filter_multi_types
action find
entity realm
relation basic form of government
type state
type form of government
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'state'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?p ) WHERE { { ?g property:basic_form_of_government ?j . ?g rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:state } UNION { ?g property:basic_form_of_government ?j . ?g rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:form_of_government } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:realm property:basic_form_of_government ?z . { { ?z rdf:type ontology:state } UNION { ?z rdf:type ontology:form_of_government } } } } . FILTER ( ?p = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q38610
P122
Q7275 Q1307214 Q1048835
USER
And how about Dominion of Newfoundland?
(c(Q1048835),P122,c(Q7275)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P122
type Q1048835
type Q7275
action find_tuple_counts
relation P122
type Q1048835
type Q1307214
action count
action filter_multi_types
action find
entity Q38610
relation P122
type Q7275
type Q1307214
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q7275'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:Q7275 ) ( ontology:Q1307214 ) } . ?p rdf:type ?l } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7275 ) ( ontology:Q1307214 ) } } . resource:Q38610 property:P122 ?g } } . FILTER ( ?z = ?c ) }
Dominion of Newfoundland
action approx
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
action find_tuple_counts
relation basic form of government
type political territorial entity
type form of government
action count
action filter_multi_types
action find
entity Dominion of Newfoundland
relation basic form of government
type state
type form of government
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'state'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:state ) ( ontology:form_of_government ) } . ?p rdf:type ?l } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:state ) ( ontology:form_of_government ) } } . resource:Dominion_of_Newfoundland property:basic_form_of_government ?g } } . FILTER ( ?z = ?c ) }
[]
state form of government political territorial entity
Q183 Q35 Q40
SYSTEM
Germany, Denmark, Austria
Q183 Q601252 Q193619 Q1059046 Q763 Q664 Q641138 Q1925048 Q785 Q35 Q38610 Q79965 Q223793 Q2594990 Q757 Q468378 Q40 Q151938 Q31747
(c(Q1048835),P122,c(Q7275)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P122
type Q1048835
type Q7275
action find_tuple_counts
relation P122
type Q1048835
type Q1307214
action count
action filter_multi_types
action find
entity Q38610
relation P122
type Q7275
type Q1307214
[ANSWERS]
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q7275'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:Q7275 ) ( ontology:Q1307214 ) } . ?p rdf:type ?l } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7275 ) ( ontology:Q1307214 ) } } . resource:Q38610 property:P122 ?g } } . FILTER ( ?z = ?c ) }
Germany Banovina of Croatia Union of South Africa Merkit people Saint Kitts and Nevis New Zealand Duchy of Cleves San Pedro Partido Jersey Denmark Dominion of Newfoundland Golden Horde Kingdom of Etruria Dominion of New Zealand Saint Vincent and the Grenadines County of Hoya Austria Neutral Moresnet Irish Free State
Germany Denmark Austria
action approx
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
action find_tuple_counts
relation basic form of government
type political territorial entity
type form of government
action count
action filter_multi_types
action find
entity Dominion of Newfoundland
relation basic form of government
type state
type form of government
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'state'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:state ) ( ontology:form_of_government ) } . ?p rdf:type ?l } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:state ) ( ontology:form_of_government ) } } . resource:Dominion_of_Newfoundland property:basic_form_of_government ?g } } . FILTER ( ?z = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q766
P530
Q1048835 Q1048835
USER
How many political territories holds diplomatic relationship with greater number of political territories than Jamaica ?
(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 Q766
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:Q1048835 . resource:Q766 property:P530 ?m } } . FILTER ( ?e > ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?e ) WHERE { ?s property:P530 ?y . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } GROUP BY ?s } }
Jamaica
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 Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Jamaica property:diplomatic_relation ?m } } . FILTER ( ?e > ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?e ) WHERE { ?s property:diplomatic_relation ?y . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?s } }
[]
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 Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:Q1048835 . resource:Q766 property:P530 ?m } } . FILTER ( ?e > ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?e ) WHERE { ?s property:P530 ?y . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } GROUP BY ?s } }
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 Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Jamaica property:diplomatic_relation ?m } } . FILTER ( ?e > ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?e ) WHERE { ?s property:diplomatic_relation ?y . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P137
Q811430
USER
Which construction can be described as facility operator of Germany ?
(c(Q811430),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q811430
[{'concept': 'Q811430'}, 'P137', 'Q183']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q811430 . ?c property:P137 resource:Q183 }
Germany
action filter_type
action find_reverse
entity Germany
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Germany']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:construction . ?c property:operator resource:Germany }
[]
construction
Q324833
SYSTEM
Embassy of Germany, Washington
Q324833
(c(Q811430),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q811430
[ANSWER] can be described as facility operator of Germany
[{'concept': 'Q811430'}, 'P137', 'Q183']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q811430 . ?c property:P137 resource:Q183 }
Embassy of Germany, Washington
Embassy of Germany, Washington can be described as facility operator of Germany
Embassy of Germany, Washington
action filter_type
action find_reverse
entity Germany
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Germany']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:construction . ?c property:operator resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P123
Q166142
USER
What was released by Germany ?
(c(Q166142),P123,Q183)
action filter_type
action find_reverse
entity Q183
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q183']
SELECT DISTINCT ?n WHERE { ?n property:P123 resource:Q183 . ?n rdf:type ontology:Q166142 }
Germany
action filter_type
action find_reverse
entity Germany
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Germany']
SELECT DISTINCT ?n WHERE { ?n property:publisher resource:Germany . ?n rdf:type ontology:application }
[]
application
Q2482386
SYSTEM
Realms of Arkania: Blade of Destiny
Q2482386
(c(Q166142),P123,Q183)
action filter_type
action find_reverse
entity Q183
relation P123
type Q166142
[ANSWER] was released by Germany
[{'concept': 'Q166142'}, 'P123', 'Q183']
SELECT DISTINCT ?n WHERE { ?n property:P123 resource:Q183 . ?n rdf:type ontology:Q166142 }
Realms of Arkania: Blade of Destiny
Realms of Arkania: Blade of Destiny was released by Germany
Realms of Arkania: Blade of Destiny
action filter_type
action find_reverse
entity Germany
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Germany']
SELECT DISTINCT ?n WHERE { ?n property:publisher resource:Germany . ?n rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P35
Q502895
USER
Which people are the heads of state of Germany ?
(Q183,P35,c(Q502895))
action filter_type
action find
entity Q183
relation P35
type Q502895
['Q183', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q183 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Germany
action filter_type
action find
entity Germany
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Germany property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
common name
Q2567 Q2571 Q2594
SYSTEM
Richard von Weizsäcker, Walter Scheel, Theodor Heuss
Q2569 Q2594 Q2573 Q2563 Q2571 Q2538 Q2551 Q2567 Q2540 Q2582 Q2542
(Q183,P35,c(Q502895))
action filter_type
action find
entity Q183
relation P35
type Q502895
[ANSWERS] are the heads of state of Germany
['Q183', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q183 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Karl Carstens Theodor Heuss Gustav Heinemann Roman Herzog Walter Scheel Joachim Gauck Johannes Rau Richard von Weizsäcker Christian Wulff Heinrich Lübke Horst Köhler
Richard von Weizsäcker, Walter Scheel and Theodor Heuss are the heads of state of Germany
Richard von Weizsäcker Walter Scheel Theodor Heuss
action filter_type
action find
entity Germany
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Germany property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]