Simple Question (Direct)
Simple Question
Q1707752
P39
Q12737077
USER
Which occupation was a position occupied by Joseph Oppenhoff ?
(Q1707752,P39,c(Q12737077))
action filter_type
action find
entity Q1707752
relation P39
type Q12737077
['Q1707752', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1707752 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Joseph Oppenhoff
action filter_type
action find
entity Joseph Oppenhoff
relation position held
type occupation
['Joseph Oppenhoff', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Joseph_Oppenhoff property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q18627832
SYSTEM
Member of Landtag of Prussia
Q18627832
(Q1707752,P39,c(Q12737077))
action filter_type
action find
entity Q1707752
relation P39
type Q12737077
The [ANSWER] was a position occupied by Joseph Oppenhoff
['Q1707752', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1707752 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Member of Landtag of Prussia
The Member of Landtag of Prussia was a position occupied by Joseph Oppenhoff
Member of Landtag of Prussia
action filter_type
action find
entity Joseph Oppenhoff
relation position held
type occupation
['Joseph Oppenhoff', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Joseph_Oppenhoff property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1707752
P106
Q12737077
USER
What are the job of that person ?
(Q18627832,P106,c(Q12737077))
action filter_type
action find
entity Q1707752
relation P106
type Q12737077
['Q18627832', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1707752 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Joseph Oppenhoff
action filter_type
action find
entity Joseph Oppenhoff
relation occupation
type occupation
['Member of Landtag of Prussia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Joseph_Oppenhoff property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q16533 Q82955
SYSTEM
judge, politician
Q16533 Q82955
(Q18627832,P106,c(Q12737077))
action filter_type
action find
entity Q1707752
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q18627832', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1707752 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
judge politician
The job of that person are the judge and politician
judge politician
action filter_type
action find
entity Joseph Oppenhoff
relation occupation
type occupation
['Member of Landtag of Prussia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Joseph_Oppenhoff property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q15619164 Q895526
USER
How many abstract beings and authority organs have the profession as that occupation ?
(c(Q15619164),P106,Q16533) (c(Q895526),P106,Q16533) (c(Q15619164),P106,Q16533) (c(Q895526),P106,Q16533) (c(Q15619164),P106,Q82955) (c(Q895526),P106,Q82955)
[{'concept': 'Q15619164'}, 'P106', 'Q16533'] [{'concept': 'Q895526'}, 'P106', 'Q16533'] [{'concept': 'Q15619164'}, 'P106', 'Q16533'] [{'concept': 'Q895526'}, 'P106', 'Q16533'] [{'concept': 'Q15619164'}, 'P106', 'Q82955'] [{'concept': 'Q895526'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q6302455 } UNION { ?y property:Q528892 resource:Q6302455 } UNION { ?z property:Q528892 resource:Q6302455 } UNION { ?y property:Q528892 resource:Q6302455 } UNION { ?z property:Q528892 resource:Q82955 } UNION { ?y property:Q528892 resource:Q82955 } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q895526 }
[{'concept': 'abstract being'}, 'occupation', 'judge'] [{'concept': 'authority organ'}, 'occupation', 'judge'] [{'concept': 'abstract being'}, 'occupation', 'judge'] [{'concept': 'authority organ'}, 'occupation', 'judge'] [{'concept': 'abstract being'}, 'occupation', 'politician'] [{'concept': 'authority organ'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:judge } UNION { ?y property:occupation resource:judge } UNION { ?z property:occupation resource:judge } UNION { ?y property:occupation resource:judge } UNION { ?z property:occupation resource:politician } UNION { ?y property:occupation resource:politician } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:authority_organ }
[]
abstract being authority organ
Quantitative|Count|Mult. entity type|Clarification
Q16533
SYSTEM
Did you mean judge ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q6302455 } UNION { ?y property:Q528892 resource:Q6302455 } UNION { ?z property:Q528892 resource:Q6302455 } UNION { ?y property:Q528892 resource:Q6302455 } UNION { ?z property:Q528892 resource:Q82955 } UNION { ?y property:Q528892 resource:Q82955 } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q895526 }
Did you mean judge ?
judge
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:judge } UNION { ?y property:occupation resource:judge } UNION { ?z property:occupation resource:judge } UNION { ?y property:occupation resource:judge } UNION { ?z property:occupation resource:politician } UNION { ?y property:occupation resource:politician } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:authority_organ }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q15619164),P106,Q16533) (c(Q895526),P106,Q16533) (c(Q15619164),P106,Q16533) (c(Q895526),P106,Q16533) (c(Q15619164),P106,Q82955) (c(Q895526),P106,Q82955)
[{'concept': 'Q15619164'}, 'P106', 'Q16533'] [{'concept': 'Q895526'}, 'P106', 'Q16533'] [{'concept': 'Q15619164'}, 'P106', 'Q16533'] [{'concept': 'Q895526'}, 'P106', 'Q16533'] [{'concept': 'Q15619164'}, 'P106', 'Q82955'] [{'concept': 'Q895526'}, 'P106', 'Q82955']
[{'concept': 'abstract being'}, 'occupation', 'judge'] [{'concept': 'authority organ'}, 'occupation', 'judge'] [{'concept': 'abstract being'}, 'occupation', 'judge'] [{'concept': 'authority organ'}, 'occupation', 'judge'] [{'concept': 'abstract being'}, 'occupation', 'politician'] [{'concept': 'authority organ'}, 'occupation', 'politician']
[]
SYSTEM
1 abstract beings and 1 authority organs
Q2151996 Q21095939
(c(Q15619164),P106,Q16533) (c(Q895526),P106,Q16533) (c(Q15619164),P106,Q16533) (c(Q895526),P106,Q16533) (c(Q15619164),P106,Q82955) (c(Q895526),P106,Q82955)
[ANSWER]
[{'concept': 'Q15619164'}, 'P106', 'Q16533'] [{'concept': 'Q895526'}, 'P106', 'Q16533'] [{'concept': 'Q15619164'}, 'P106', 'Q16533'] [{'concept': 'Q895526'}, 'P106', 'Q16533'] [{'concept': 'Q15619164'}, 'P106', 'Q82955'] [{'concept': 'Q895526'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q6302455 } UNION { ?y property:Q528892 resource:Q6302455 } UNION { ?z property:Q528892 resource:Q6302455 } UNION { ?y property:Q528892 resource:Q6302455 } UNION { ?z property:Q528892 resource:Q82955 } UNION { ?y property:Q528892 resource:Q82955 } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q895526 }
Constance Harm Senior Crown prosecutor
1 abstract beings and 1 authority organs
[{'concept': 'abstract being'}, 'occupation', 'judge'] [{'concept': 'authority organ'}, 'occupation', 'judge'] [{'concept': 'abstract being'}, 'occupation', 'judge'] [{'concept': 'authority organ'}, 'occupation', 'judge'] [{'concept': 'abstract being'}, 'occupation', 'politician'] [{'concept': 'authority organ'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:judge } UNION { ?y property:occupation resource:judge } UNION { ?z property:occupation resource:judge } UNION { ?y property:occupation resource:judge } UNION { ?z property:occupation resource:politician } UNION { ?y property:occupation resource:politician } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:authority_organ }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16533 Q719883
P1001
Q1048835
USER
How many political territories apply to jurisdiction of judge or Statute of Westminster 1931 ?
(Q16533,P1001,c(Q1048835)) (Q719883,P1001,c(Q1048835))
action count
action union
action filter_type
action find
entity Q16533
relation P1001
type Q1048835
action filter_type
action find
entity Q719883
relation P1001
type Q1048835
['Q16533', 'P1001', {'concept': 'Q1048835'}] ['Q719883', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?q property:P1001 ?i . VALUES ( ?q ) { ( resource:Q719883 ) ( resource:Q16533 ) } }
judge Statute of Westminster 1931
action count
action union
action filter_type
action find
entity judge
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Statute of Westminster 1931
relation applies to jurisdiction
type political territorial entity
['judge', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Statute of Westminster 1931', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?q property:applies_to_jurisdiction ?i . VALUES ( ?q ) { ( resource:Statute_of_Westminster_1931 ) ( resource:judge ) } }
[]
political territorial entity
SYSTEM
13
Q763 Q781 Q769 Q778 Q16 Q193619 Q408 Q685 Q691 Q757 Q31747 Q664 Q766
(Q16533,P1001,c(Q1048835)) (Q719883,P1001,c(Q1048835))
action count
action union
action filter_type
action find
entity Q16533
relation P1001
type Q1048835
action filter_type
action find
entity Q719883
relation P1001
type Q1048835
[ANSWER]
['Q16533', 'P1001', {'concept': 'Q1048835'}] ['Q719883', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?q property:P1001 ?i . VALUES ( ?q ) { ( resource:Q719883 ) ( resource:Q16533 ) } }
Saint Kitts and Nevis Antigua and Barbuda Grenada The Bahamas Canada Union of South Africa Australia Solomon Islands Papua New Guinea Saint Vincent and the Grenadines Irish Free State New Zealand Jamaica
13
action count
action union
action filter_type
action find
entity judge
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Statute of Westminster 1931
relation applies to jurisdiction
type political territorial entity
['judge', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Statute of Westminster 1931', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?q property:applies_to_jurisdiction ?i . VALUES ( ?q ) { ( resource:Statute_of_Westminster_1931 ) ( resource:judge ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1707752
P102
Q7210356
USER
Which party is Joseph Oppenhoff affiliated with ?
(Q1707752,P102,c(Q7210356))
action filter_type
action find
entity Q1707752
relation P102
type Q7210356
['Q1707752', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q1707752 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Joseph Oppenhoff
action filter_type
action find
entity Joseph Oppenhoff
relation member of political party
type political organization
['Joseph Oppenhoff', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Joseph_Oppenhoff property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
political organization
Q157537
SYSTEM
Centre Party
Q157537
(Q1707752,P102,c(Q7210356))
action filter_type
action find
entity Q1707752
relation P102
type Q7210356
Joseph Oppenhoff is affiliated with [ANSWER]
['Q1707752', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q1707752 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Centre Party
Joseph Oppenhoff is affiliated with Centre Party
Centre Party
action filter_type
action find
entity Joseph Oppenhoff
relation member of political party
type political organization
['Joseph Oppenhoff', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Joseph_Oppenhoff property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1707752
P19
Q56061
USER
Which administrative territory was Joseph Oppenhoff born at ?
(Q1707752,P19,c(Q56061))
action filter_type
action find
entity Q1707752
relation P19
type Q56061
['Q1707752', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1707752 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Joseph Oppenhoff
action filter_type
action find
entity Joseph Oppenhoff
relation place of birth
type administrative territorial entity
['Joseph Oppenhoff', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Joseph_Oppenhoff property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1017
SYSTEM
Aachen
Q1017
(Q1707752,P19,c(Q56061))
action filter_type
action find
entity Q1707752
relation P19
type Q56061
Joseph Oppenhoff was born in [ANSWER]
['Q1707752', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1707752 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Aachen
Joseph Oppenhoff was born in Aachen
Aachen
action filter_type
action find
entity Joseph Oppenhoff
relation place of birth
type administrative territorial entity
['Joseph Oppenhoff', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Joseph_Oppenhoff property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3164778
Q56061
USER
And what about Jean-Christophe Urbain?
(Q3164778,P19,c(Q56061))
action filter_type
action find
entity Q3164778
relation P19
type Q56061
['Q3164778', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3164778 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Jean-Christophe Urbain
action filter_type
action find
entity Jean-Christophe Urbain
relation place of birth
type administrative territorial entity
['Jean-Christophe Urbain', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Jean-Christophe_Urbain property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3164778,P19,c(Q56061))
action filter_type
action find
entity Q3164778
relation P19
type Q56061
[ANSWER]
['Q3164778', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3164778 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Paris
Paris
action filter_type
action find
entity Jean-Christophe Urbain
relation place of birth
type administrative territorial entity
['Jean-Christophe Urbain', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Jean-Christophe_Urbain property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]