Simple Question (Direct)
Simple Question
Q20875893
P39
Q12737077
USER
Which occupation was a position occupied by Josep Lluís Fernàndez i Burgui ?
(Q20875893,P39,c(Q12737077))
action filter_type
action find
entity Q20875893
relation P39
type Q12737077
['Q20875893', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q20875893 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Josep Lluís Fernàndez i Burgui
action filter_type
action find
entity Josep Lluís Fernàndez i Burgui
relation position held
type occupation
['Josep Lluís Fernàndez i Burgui', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Josep_Lluís_Fernàndez_i_Burgui property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q18714088
SYSTEM
Member of the Catalan Parliament
Q18714088
(Q20875893,P39,c(Q12737077))
action filter_type
action find
entity Q20875893
relation P39
type Q12737077
[ANSWER] was a position occupied by Josep Lluís Fernàndez i Burgui
['Q20875893', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q20875893 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Member of the Catalan Parliament
Member of the Catalan Parliament was a position occupied by Josep Lluís Fernàndez i Burgui
Member of the Catalan Parliament
action filter_type
action find
entity Josep Lluís Fernàndez i Burgui
relation position held
type occupation
['Josep Lluís Fernàndez i Burgui', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Josep_Lluís_Fernàndez_i_Burgui property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20875893
P106
Q12737077
USER
What are the professions of Josep Lluís Fernàndez i Burgui ?
(Q20875893,P106,c(Q12737077))
action filter_type
action find
entity Q20875893
relation P106
type Q12737077
['Q20875893', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q20875893 property:P106 ?f }
Josep Lluís Fernàndez i Burgui
action filter_type
action find
entity Josep Lluís Fernàndez i Burgui
relation occupation
type occupation
['Josep Lluís Fernàndez i Burgui', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Josep_Lluís_Fernàndez_i_Burgui property:occupation ?f }
[]
occupation
Q39631 Q82955
SYSTEM
physician, politician
Q39631 Q82955
(Q20875893,P106,c(Q12737077))
action filter_type
action find
entity Q20875893
relation P106
type Q12737077
The professions of Josep Lluís Fernàndez i Burgui are a [ANSWERS]
['Q20875893', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q20875893 property:P106 ?f }
physician politician
The professions of Josep Lluís Fernàndez i Burgui are a physician and politician
physician politician
action filter_type
action find
entity Josep Lluís Fernàndez i Burgui
relation occupation
type occupation
['Josep Lluís Fernàndez i Burgui', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Josep_Lluís_Fernàndez_i_Burgui property:occupation ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12858970
Q12737077
USER
And also tell me about Lyn Hancock?
(Q12858970,P106,c(Q12737077))
action filter_type
action find
entity Q12858970
relation P106
type Q12737077
['Q12858970', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q12858970 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Lyn Hancock
action filter_type
action find
entity Lyn Hancock
relation occupation
type occupation
['Lyn Hancock', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Lyn_Hancock property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q1930187 Q33231 Q957729
SYSTEM
journalist, photographer, photojournalist
Q1930187 Q33231 Q957729
(Q12858970,P106,c(Q12737077))
action filter_type
action find
entity Q12858970
relation P106
type Q12737077
[ANSWERS]
['Q12858970', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q12858970 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
journalist photographer photojournalist
journalist photographer photojournalist
action filter_type
action find
entity Lyn Hancock
relation occupation
type occupation
['Lyn Hancock', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Lyn_Hancock property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39631
P425
Q336
USER
Who has physician as the associated field of occupation ?
(Q39631,P425,c(Q336))
action filter_type
action find
entity Q39631
relation P425
type Q336
['Q39631', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?o WHERE { resource:Q39631 property:P425 ?o . ?o rdf:type ontology:Q336 }
physician
action filter_type
action find
entity physician
relation field of this occupation
type science
['physician', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?o WHERE { resource:physician property:field_of_this_occupation ?o . ?o rdf:type ontology:science }
[]
science
Q11190
SYSTEM
medicine
Q11190
(Q39631,P425,c(Q336))
action filter_type
action find
entity Q39631
relation P425
type Q336
Of [ANSWER] has physician as the associated field of occupation
['Q39631', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?o WHERE { resource:Q39631 property:P425 ?o . ?o rdf:type ontology:Q336 }
medicine
Of medicine has physician as the associated field of occupation
medicine
action filter_type
action find
entity physician
relation field of this occupation
type science
['physician', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?o WHERE { resource:physician property:field_of_this_occupation ?o . ?o rdf:type ontology:science }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q336 Q502895 Q2342494
USER
Which sciences are the area of around the same number of people or collectables as that science ?
(c(Q502895)|c(Q2342494),P101,c(Q336))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q336
type Q502895
action find_reverse_tuple_counts
relation P101
type Q336
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q11190
relation P101
type Q502895
type Q2342494
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q336'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:P101 ?a . ?a rdf:type ontology:Q336 . ?u rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q336 . ?u rdf:type ontology:Q2342494 . ?u property:P101 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P101 resource:Q11190 . { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:Q502895 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?w = ?f ) }
action approx
action union
action find_reverse_tuple_counts
relation field of work
type science
type common name
action find_reverse_tuple_counts
relation field of work
type science
type collectable
action count
action filter_multi_types
action find_reverse
entity medicine
relation field of work
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'science'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:field_of_work ?a . ?a rdf:type ontology:science . ?u rdf:type ontology:common_name } UNION { ?a rdf:type ontology:science . ?u rdf:type ontology:collectable . ?u property:field_of_work ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:field_of_work resource:medicine . { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:common_name ) ( ontology:collectable ) } } } } . FILTER ( ?w = ?f ) }
[]
science common name collectable
Q7094 Q395 Q39286
SYSTEM
biochemistry, mathematics, entomology
Q7094 Q395 Q39286 Q2329 Q11190 Q333
(c(Q502895)|c(Q2342494),P101,c(Q336))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q336
type Q502895
action find_reverse_tuple_counts
relation P101
type Q336
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q11190
relation P101
type Q502895
type Q2342494
[ANSWERS] are the area of around the same number of people or collectables as that science
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q336'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:P101 ?a . ?a rdf:type ontology:Q336 . ?u rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q336 . ?u rdf:type ontology:Q2342494 . ?u property:P101 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P101 resource:Q11190 . { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:Q502895 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?w = ?f ) }
biochemistry mathematics entomology chemistry medicine astronomy
Biochemistry, mathematics and entomology are the area of around the same number of people or collectables as that science
biochemistry mathematics entomology
action approx
action union
action find_reverse_tuple_counts
relation field of work
type science
type common name
action find_reverse_tuple_counts
relation field of work
type science
type collectable
action count
action filter_multi_types
action find_reverse
entity medicine
relation field of work
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'science'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:field_of_work ?a . ?a rdf:type ontology:science . ?u rdf:type ontology:common_name } UNION { ?a rdf:type ontology:science . ?u rdf:type ontology:collectable . ?u property:field_of_work ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:field_of_work resource:medicine . { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:common_name ) ( ontology:collectable ) } } } } . FILTER ( ?w = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2246483
P805
Q336 Q3249551
USER
Which processes were dedicated to around the same number of sciences as Lubrication method ?
(c(Q3249551),P805,c(Q336))
action approx
action find_tuple_counts
relation P805
type Q3249551
type Q336
action count
action filter_type
action find
entity Q2246483
relation P805
type Q3249551
[{'concept': 'Q3249551'}, 'P805', {'concept': 'Q336'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?s ) WHERE { ?e property:P805 ?n . ?e rdf:type ontology:Q3249551 . ?n rdf:type ontology:Q336 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q2246483 property:P805 ?v . ?v rdf:type ontology:Q3249551 } } . FILTER ( ?s = ?z ) }
Lubrication method
action approx
action find_tuple_counts
relation subject of
type process
type science
action count
action filter_type
action find
entity Lubrication method
relation subject of
type process
[{'concept': 'process'}, 'subject of', {'concept': 'science'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?s ) WHERE { ?e property:subject_of ?n . ?e rdf:type ontology:process . ?n rdf:type ontology:science } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Lubrication_method property:subject_of ?v . ?v rdf:type ontology:process } } . FILTER ( ?s = ?z ) }
[]
science process
Q244945 Q2246483 Q189101
SYSTEM
intercropping, Lubrication method, Cell proliferation
Q244945 Q2246483 Q189101
(c(Q3249551),P805,c(Q336))
action approx
action find_tuple_counts
relation P805
type Q3249551
type Q336
action count
action filter_type
action find
entity Q2246483
relation P805
type Q3249551
[ANSWERS] were dedicated to around the same number of sciences as Lubrication method
[{'concept': 'Q3249551'}, 'P805', {'concept': 'Q336'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?s ) WHERE { ?e property:P805 ?n . ?e rdf:type ontology:Q3249551 . ?n rdf:type ontology:Q336 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q2246483 property:P805 ?v . ?v rdf:type ontology:Q3249551 } } . FILTER ( ?s = ?z ) }
intercropping Lubrication method Cell proliferation
Intercropping, Lubrication method and Cell proliferation were dedicated to around the same number of sciences as Lubrication method
intercropping Lubrication method Cell proliferation
action approx
action find_tuple_counts
relation subject of
type process
type science
action count
action filter_type
action find
entity Lubrication method
relation subject of
type process
[{'concept': 'process'}, 'subject of', {'concept': 'science'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?s ) WHERE { ?e property:subject_of ?n . ?e rdf:type ontology:process . ?n rdf:type ontology:science } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Lubrication_method property:subject_of ?v . ?v rdf:type ontology:process } } . FILTER ( ?s = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q189101
P805
Q336 Q3249551
USER
And how about Cell proliferation?
(c(Q3249551),P805,c(Q336))
action approx
action find_tuple_counts
relation P805
type Q3249551
type Q336
action count
action filter_type
action find
entity Q189101
relation P805
type Q3249551
[{'concept': 'Q3249551'}, 'P805', {'concept': 'Q336'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?u ) WHERE { ?j property:P805 ?p . ?p rdf:type ontology:Q336 . ?j rdf:type ontology:Q3249551 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c rdf:type ontology:Q3249551 . resource:Q189101 property:P805 ?c } } . FILTER ( ?u = ?a ) }
Cell proliferation
action approx
action find_tuple_counts
relation subject of
type process
type science
action count
action filter_type
action find
entity Cell proliferation
relation subject of
type process
[{'concept': 'process'}, 'subject of', {'concept': 'science'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?u ) WHERE { ?j property:subject_of ?p . ?p rdf:type ontology:science . ?j rdf:type ontology:process } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c rdf:type ontology:process . resource:Cell_proliferation property:subject_of ?c } } . FILTER ( ?u = ?a ) }
[]
science process
Q244945 Q2246483 Q189101
SYSTEM
intercropping, Lubrication method, Cell proliferation
Q244945 Q2246483 Q189101
(c(Q3249551),P805,c(Q336))
action approx
action find_tuple_counts
relation P805
type Q3249551
type Q336
action count
action filter_type
action find
entity Q189101
relation P805
type Q3249551
[ANSWERS]
[{'concept': 'Q3249551'}, 'P805', {'concept': 'Q336'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?u ) WHERE { ?j property:P805 ?p . ?p rdf:type ontology:Q336 . ?j rdf:type ontology:Q3249551 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c rdf:type ontology:Q3249551 . resource:Q189101 property:P805 ?c } } . FILTER ( ?u = ?a ) }
intercropping Lubrication method Cell proliferation
intercropping Lubrication method Cell proliferation
action approx
action find_tuple_counts
relation subject of
type process
type science
action count
action filter_type
action find
entity Cell proliferation
relation subject of
type process
[{'concept': 'process'}, 'subject of', {'concept': 'science'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?u ) WHERE { ?j property:subject_of ?p . ?p rdf:type ontology:science . ?j rdf:type ontology:process } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c rdf:type ontology:process . resource:Cell_proliferation property:subject_of ?c } } . FILTER ( ?u = ?a ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q189101
P276
Q223557
USER
Which physical object is the place where that process is located ?
(Q244945,P276,c(Q223557)) (Q2246483,P276,c(Q223557)) (Q189101,P276,c(Q223557))
action filter_type
action find
entity Q189101
relation P276
type Q223557
['Q244945', 'P276', {'concept': 'Q223557'}] ['Q2246483', 'P276', {'concept': 'Q223557'}] ['Q189101', 'P276', {'concept': 'Q223557'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q223557 . resource:Q189101 property:P276 ?m }
Cell proliferation
action filter_type
action find
entity Cell proliferation
relation location
type physical object
['intercropping', 'location', {'concept': 'physical object'}] ['Lubrication method', 'location', {'concept': 'physical object'}] ['Cell proliferation', 'location', {'concept': 'physical object'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:physical_object . resource:Cell_proliferation property:location ?m }
[]
physical object
Q170494
SYSTEM
body
Q170494
(Q244945,P276,c(Q223557)) (Q2246483,P276,c(Q223557)) (Q189101,P276,c(Q223557))
action filter_type
action find
entity Q189101
relation P276
type Q223557
[ANSWER] is the place where that process is located
['Q244945', 'P276', {'concept': 'Q223557'}] ['Q2246483', 'P276', {'concept': 'Q223557'}] ['Q189101', 'P276', {'concept': 'Q223557'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q223557 . resource:Q189101 property:P276 ?m }
body
Body is the place where that process is located
body
action filter_type
action find
entity Cell proliferation
relation location
type physical object
['intercropping', 'location', {'concept': 'physical object'}] ['Lubrication method', 'location', {'concept': 'physical object'}] ['Cell proliferation', 'location', {'concept': 'physical object'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:physical_object . resource:Cell_proliferation property:location ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q769
P17
Q1048835 Q223557
USER
How many political territories are more number of physical objects situated in than Grenada ?
(c(Q223557),P17,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P17
type Q1048835
type Q223557
action count
action filter_type
action find
entity Q769
relation P17
type Q1048835
[{'concept': 'Q223557'}, 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?f ) WHERE { ?v property:P17 ?z . ?v rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q223557 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q769 property:P17 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?f > ?e ) }
Grenada
action count
action greater
action find_tuple_counts
relation country
type political territorial entity
type physical object
action count
action filter_type
action find
entity Grenada
relation country
type political territorial entity
[{'concept': 'physical object'}, 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?f ) WHERE { ?v property:country ?z . ?v rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:physical_object } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Grenada property:country ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?f > ?e ) }
[]
political territorial entity physical object
SYSTEM
11
Q183 Q685 Q763 Q664 Q766 Q16 Q35 Q778 Q408 Q9648 Q40
(c(Q223557),P17,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P17
type Q1048835
type Q223557
action count
action filter_type
action find
entity Q769
relation P17
type Q1048835
[ANSWER]
[{'concept': 'Q223557'}, 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?f ) WHERE { ?v property:P17 ?z . ?v rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q223557 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q769 property:P17 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?f > ?e ) }
Germany Solomon Islands Saint Kitts and Nevis New Zealand Jamaica Canada Denmark The Bahamas Australia Falkland Islands Austria
11
action count
action greater
action find_tuple_counts
relation country
type political territorial entity
type physical object
action count
action filter_type
action find
entity Grenada
relation country
type political territorial entity
[{'concept': 'physical object'}, 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?f ) WHERE { ?v property:country ?z . ?v rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:physical_object } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Grenada property:country ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?f > ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q319376
P17
Q1048835 Q223557
USER
And how about Hanau-Münzenberg?
(c(Q223557),P17,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P17
type Q1048835
type Q223557
action count
action filter_type
action find_reverse
entity Q319376
relation P17
type Q1048835
[{'concept': 'Q223557'}, 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?v ) WHERE { ?a property:P17 ?o . ?a rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q223557 } GROUP BY ?a } . FILTER ( ?v > ?z ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:Q1048835 . ?l property:P17 resource:Q319376 } } }
Hanau-Münzenberg
action count
action greater
action find_tuple_counts
relation country
type political territorial entity
type physical object
action count
action filter_type
action find_reverse
entity Hanau-Münzenberg
relation country
type political territorial entity
[{'concept': 'physical object'}, 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?v ) WHERE { ?a property:country ?o . ?a rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:physical_object } GROUP BY ?a } . FILTER ( ?v > ?z ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?l property:country resource:Hanau-Münzenberg } } }
[]
political territorial entity physical object
SYSTEM
13
Q183 Q769 Q685 Q763 Q664 Q766 Q16 Q35 Q778 Q408 Q781 Q9648 Q40
(c(Q223557),P17,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P17
type Q1048835
type Q223557
action count
action filter_type
action find_reverse
entity Q319376
relation P17
type Q1048835
[ANSWER]
[{'concept': 'Q223557'}, 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?v ) WHERE { ?a property:P17 ?o . ?a rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q223557 } GROUP BY ?a } . FILTER ( ?v > ?z ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:Q1048835 . ?l property:P17 resource:Q319376 } } }
Germany Grenada Solomon Islands Saint Kitts and Nevis New Zealand Jamaica Canada Denmark The Bahamas Australia Antigua and Barbuda Falkland Islands Austria
13
action count
action greater
action find_tuple_counts
relation country
type political territorial entity
type physical object
action count
action filter_type
action find_reverse
entity Hanau-Münzenberg
relation country
type political territorial entity
[{'concept': 'physical object'}, 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?v ) WHERE { ?a property:country ?o . ?a rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:physical_object } GROUP BY ?a } . FILTER ( ?v > ?z ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?l property:country resource:Hanau-Münzenberg } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1930187
P921
Q838948
USER
What are journalist a main subject of ?
(c(Q838948),P921,Q1930187)
action filter_type
action find_reverse
entity Q1930187
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q1930187']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P921 resource:Q1930187 }
journalist
action filter_type
action find_reverse
entity journalist
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'journalist']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:main_subject resource:journalist }
[]
work of art
Q3575602 Q622769
SYSTEM
The Fifth Estate, Man of Steel
Q3575602 Q622769
(c(Q838948),P921,Q1930187)
action filter_type
action find_reverse
entity Q1930187
relation P921
type Q838948
Journalist a main subject of are books [ANSWERS]
[{'concept': 'Q838948'}, 'P921', 'Q1930187']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P921 resource:Q1930187 }
The Fifth Estate Man of Steel
Journalist a main subject of are books The Fifth Estate and Man of Steel
The Fifth Estate Man of Steel
action filter_type
action find_reverse
entity journalist
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'journalist']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:main_subject resource:journalist }
[]