Simple Question (Direct)
Simple Question
Q4682659
P106
Q12737077
USER
What is the job of Dănuț Perjă ?
(Q4682659,P106,c(Q12737077))
action filter_type
action find
entity Q4682659
relation P106
type Q12737077
['Q4682659', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q4682659 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Dănuț Perjă
action filter_type
action find
entity Dănuț Perjă
relation occupation
type occupation
['Dănuț Perjă', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Dănuț_Perjă property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4682659,P106,c(Q12737077))
action filter_type
action find
entity Q4682659
relation P106
type Q12737077
[ANSWER]
['Q4682659', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q4682659 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Dănuț Perjă
relation occupation
type occupation
['Dănuț Perjă', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Dănuț_Perjă property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4682659
P27
Q15617994
USER
Which administrative territory is the native country of Dănuț Perjă ?
(Q4682659,P27,c(Q15617994))
action filter_type
action find
entity Q4682659
relation P27
type Q15617994
['Q4682659', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q4682659 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Dănuț Perjă
action filter_type
action find
entity Dănuț Perjă
relation country of citizenship
type designation for an administrative territorial entity
['Dănuț Perjă', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Dănuț_Perjă property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q4682659,P27,c(Q15617994))
action filter_type
action find
entity Q4682659
relation P27
type Q15617994
[ANSWER]
['Q4682659', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q4682659 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Romania
Romania
action filter_type
action find
entity Dănuț Perjă
relation country of citizenship
type designation for an administrative territorial entity
['Dănuț Perjă', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Dănuț_Perjă property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P159
Q43229
USER
Which organization has its HQ location at that administrative territory ?
(c(Q43229),P159,Q218)
action filter_type
action find_reverse
entity Q218
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q218']
SELECT DISTINCT ?m WHERE { ?m property:P159 resource:Q218 . ?m rdf:type ontology:Q43229 }
Romania
action filter_type
action find_reverse
entity Romania
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Romania']
SELECT DISTINCT ?m WHERE { ?m property:headquarters_location resource:Romania . ?m rdf:type ontology:organization }
[]
organization
Q4763964
SYSTEM
Angst
Q4763964
(c(Q43229),P159,Q218)
action filter_type
action find_reverse
entity Q218
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q218']
SELECT DISTINCT ?m WHERE { ?m property:P159 resource:Q218 . ?m rdf:type ontology:Q43229 }
Angst
Angst
action filter_type
action find_reverse
entity Romania
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Romania']
SELECT DISTINCT ?m WHERE { ?m property:headquarters_location resource:Romania . ?m rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P740
Q2088357
USER
Which musical ensembles originated at Romania ?
(c(Q2088357),P740,Q218)
action filter_type
action find_reverse
entity Q218
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q218']
SELECT DISTINCT ?o WHERE { ?o property:P740 resource:Q218 . ?o rdf:type ontology:Q2088357 }
Romania
action filter_type
action find_reverse
entity Romania
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Romania']
SELECT DISTINCT ?o WHERE { ?o property:location_of_formation resource:Romania . ?o rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q8049215 Q25056373
SYSTEM
Yarabi, Last Night
Q8049215 Q25056373
(c(Q2088357),P740,Q218)
action filter_type
action find_reverse
entity Q218
relation P740
type Q2088357
[ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q218']
SELECT DISTINCT ?o WHERE { ?o property:P740 resource:Q218 . ?o rdf:type ontology:Q2088357 }
Yarabi Last Night
Yarabi Last Night
action filter_type
action find_reverse
entity Romania
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Romania']
SELECT DISTINCT ?o WHERE { ?o property:location_of_formation resource:Romania . ?o rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q8049215 Q25056373
P740
Q15617994
USER
Where were Yarabi and Last Night formed ?
(Q8049215,P740,c(Q15617994)) (Q25056373,P740,c(Q15617994))
action union
action filter_type
action find
entity Q8049215
relation P740
type Q15617994
action filter_type
action find
entity Q25056373
relation P740
type Q15617994
['Q8049215', 'P740', {'concept': 'Q15617994'}] ['Q25056373', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { resource:Q8049215 property:P740 ?l . ?l rdf:type ontology:Q15617994 } UNION { resource:Q25056373 property:P740 ?l . ?l rdf:type ontology:Q15617994 } }
Yarabi Last Night
action union
action filter_type
action find
entity Yarabi
relation location of formation
type designation for an administrative territorial entity
action filter_type
action find
entity Last Night
relation location of formation
type designation for an administrative territorial entity
['Yarabi', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Last Night', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { resource:Yarabi property:location_of_formation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Last_Night property:location_of_formation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q218 Q218
SYSTEM
Romania
Q218 Q218
(Q8049215,P740,c(Q15617994)) (Q25056373,P740,c(Q15617994))
action union
action filter_type
action find
entity Q8049215
relation P740
type Q15617994
action filter_type
action find
entity Q25056373
relation P740
type Q15617994
[ANSWER]
['Q8049215', 'P740', {'concept': 'Q15617994'}] ['Q25056373', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { resource:Q8049215 property:P740 ?l . ?l rdf:type ontology:Q15617994 } UNION { resource:Q25056373 property:P740 ?l . ?l rdf:type ontology:Q15617994 } }
Romania Romania
Romania Romania
action union
action filter_type
action find
entity Yarabi
relation location of formation
type designation for an administrative territorial entity
action filter_type
action find
entity Last Night
relation location of formation
type designation for an administrative territorial entity
['Yarabi', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Last Night', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { resource:Yarabi property:location_of_formation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Last_Night property:location_of_formation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P551
Q502895
USER
Which people dwell at Romania ?
(c(Q502895),P551,Q218)
action filter_type
action find_reverse
entity Q218
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q218']
SELECT DISTINCT ?x WHERE { ?x property:P551 resource:Q218 . ?x rdf:type ontology:Q502895 }
Romania
action filter_type
action find_reverse
entity Romania
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Romania']
SELECT DISTINCT ?x WHERE { ?x property:residence resource:Romania . ?x rdf:type ontology:common_name }
[]
common name
Q7544298 Q1001320 Q20511302
SYSTEM
Smbat Byurat, Filip Lăzăreanu, Salpi
Q1001320 Q20511302 Q16734285 Q20870685 Q7544298
(c(Q502895),P551,Q218)
action filter_type
action find_reverse
entity Q218
relation P551
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P551', 'Q218']
SELECT DISTINCT ?x WHERE { ?x property:P551 resource:Q218 . ?x rdf:type ontology:Q502895 }
Filip Lăzăreanu Salpi Andrei Pătrui Théophile Bradeau Smbat Byurat
Smbat Byurat Filip Lăzăreanu Salpi
action filter_type
action find_reverse
entity Romania
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Romania']
SELECT DISTINCT ?x WHERE { ?x property:residence resource:Romania . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7544298 Q1001320 Q20511302
P551
Q15617994
USER
What were the places of residence of those people ?
(Q7544298,P551,c(Q15617994)) (Q1001320,P551,c(Q15617994)) (Q20511302,P551,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P551
type Q15617994
['Q7544298', 'P551', {'concept': 'Q15617994'}] ['Q1001320', 'P551', {'concept': 'Q15617994'}] ['Q20511302', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?k ) { ( resource:Q1001320 ) ( resource:Q20511302 ) ( resource:Q16734285 ) } . ?k property:P551 ?c . ?c rdf:type ontology:Q15617994 }
Smbat Byurat Filip Lăzăreanu Salpi
action filter_type
action find
entity prev_answer
relation residence
type designation for an administrative territorial entity
['Smbat Byurat', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Filip Lăzăreanu', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Salpi', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?k ) { ( resource:Filip_Lăzăreanu ) ( resource:Salpi ) ( resource:Andrei_Pătrui ) } . ?k property:residence ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q218 Q218
SYSTEM
Romania
Q218 Q218 Q218
(Q7544298,P551,c(Q15617994)) (Q1001320,P551,c(Q15617994)) (Q20511302,P551,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P551
type Q15617994
[ANSWER]
['Q7544298', 'P551', {'concept': 'Q15617994'}] ['Q1001320', 'P551', {'concept': 'Q15617994'}] ['Q20511302', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?k ) { ( resource:Q1001320 ) ( resource:Q20511302 ) ( resource:Q16734285 ) } . ?k property:P551 ?c . ?c rdf:type ontology:Q15617994 }
Romania Romania Romania
Romania Romania Romania
action filter_type
action find
entity prev_answer
relation residence
type designation for an administrative territorial entity
['Smbat Byurat', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Filip Lăzăreanu', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Salpi', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?k ) { ( resource:Filip_Lăzăreanu ) ( resource:Salpi ) ( resource:Andrei_Pătrui ) } . ?k property:residence ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P915
Q838948
USER
Which work of art was filmed at that administrative territory ?
(c(Q838948),P915,Q218) (c(Q838948),P915,Q218) (c(Q838948),P915,Q218)
action filter_type
action find_reverse
entity Q218
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q218'] [{'concept': 'Q838948'}, 'P915', 'Q218'] [{'concept': 'Q838948'}, 'P915', 'Q218']
SELECT DISTINCT ?a WHERE { ?a property:P915 resource:Q218 . ?a rdf:type ontology:Q838948 }
Romania
action filter_type
action find_reverse
entity Romania
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Romania'] [{'concept': 'work of art'}, 'filming location', 'Romania'] [{'concept': 'work of art'}, 'filming location', 'Romania']
SELECT DISTINCT ?a WHERE { ?a property:filming_location resource:Romania . ?a rdf:type ontology:work_of_art }
[]
work of art
Q19828480
SYSTEM
The Forest is Like the Mountains
Q19828480
(c(Q838948),P915,Q218) (c(Q838948),P915,Q218) (c(Q838948),P915,Q218)
action filter_type
action find_reverse
entity Q218
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q218'] [{'concept': 'Q838948'}, 'P915', 'Q218'] [{'concept': 'Q838948'}, 'P915', 'Q218']
SELECT DISTINCT ?a WHERE { ?a property:P915 resource:Q218 . ?a rdf:type ontology:Q838948 }
The Forest is Like the Mountains
The Forest is Like the Mountains
action filter_type
action find_reverse
entity Romania
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Romania'] [{'concept': 'work of art'}, 'filming location', 'Romania'] [{'concept': 'work of art'}, 'filming location', 'Romania']
SELECT DISTINCT ?a WHERE { ?a property:filming_location resource:Romania . ?a rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q632868
P706
Q271669 Q56061 Q15617994
USER
How many administrative territories are located in more number of landforms and administrative territories than Sasbach ?
(c(Q15617994),P706,c(Q271669)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q271669
action find_tuple_counts
relation P706
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q632868
relation P706
type Q271669
type Q56061
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?l WHERE { VALUES ( ?j ) { ( ontology:Q271669 ) ( ontology:Q56061 ) } . ?y rdf:type ?j } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q632868 property:P706 ?q . { { ?q rdf:type ontology:Q271669 } UNION { ?q rdf:type ontology:Q56061 } } } } . FILTER ( ?m > ?e ) }
Sasbach
action count
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Sasbach
relation located on terrain feature
type landform
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?l WHERE { VALUES ( ?j ) { ( ontology:landform ) ( ontology:administrative_territorial_entity ) } . ?y rdf:type ?j } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Sasbach property:located_on_terrain_feature ?q . { { ?q rdf:type ontology:landform } UNION { ?q rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?m > ?e ) }
[]
landform administrative territorial entity designation for an administrative territorial entity
SYSTEM
54
Q805 Q1070686 Q5101419 Q682072 Q6685870 Q4692591 Q3172 Q922342 Q21042 Q21049 Q21160 Q5382040 Q4692611 Q5517964 Q496389 Q128230 Q27332 Q1619957 Q1093572 Q6350324 Q4789577 Q20789 Q16642582 Q921 Q851 Q845396 Q15213143 Q771971 Q145 Q27 Q5420482 Q19906291 Q192129 Q20019215 Q4692647 Q15244035 Q6472577 Q229 Q4769813 Q21008 Q7916724 Q660806 Q28091 Q5275507 Q28013 Q6353095 Q5283827 Q6835962 Q2119591 Q8147649 Q8043694 Q3559483 Q3559279 Q3559271
(c(Q15617994),P706,c(Q271669)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q271669
action find_tuple_counts
relation P706
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q632868
relation P706
type Q271669
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?l WHERE { VALUES ( ?j ) { ( ontology:Q271669 ) ( ontology:Q56061 ) } . ?y rdf:type ?j } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q632868 property:P706 ?q . { { ?q rdf:type ontology:Q271669 } UNION { ?q rdf:type ontology:Q56061 } } } } . FILTER ( ?m > ?e ) }
Yemen Leivathos Chionata Rankwitz Loucha Agioi Pantes Fehmarn Sithonia Nebel Norddorf auf Amrum List auf Sylt Epanochori, Cephalonia Agios Dimitrios, Cephalonia Galaro Lipari Ventotene Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Arginia Wenningstedt-Braderup Hydra Brunei Saudi Arabia Pyramiden Davgata Avlida United Kingdom Ireland Exo Chora Western New Guinea Ustica Natal Agios Nikolaos, Cephalonia Makryotika Lagopodo Cyprus Ano Gerakari Sylt Vasilikades Karlshagen Wittdün auf Amrum Digaleto Hörnum Kalipado Divarata Michata Pylaros Ba District Xenopoulo Elatia Artemisia Arkadioi
54
action count
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Sasbach
relation located on terrain feature
type landform
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?l WHERE { VALUES ( ?j ) { ( ontology:landform ) ( ontology:administrative_territorial_entity ) } . ?y rdf:type ?j } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Sasbach property:located_on_terrain_feature ?q . { { ?q rdf:type ontology:landform } UNION { ?q rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?m > ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q838948 Q386724
USER
How many works are recounted in atleast 1 work of art ?
(c(Q386724),P1445,c(Q838948))
action count
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 1
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { ?g property:P1445 ?y . ?g rdf:type ontology:Q386724 . ?y rdf:type ontology:Q838948 } GROUP BY ?g } . FILTER ( ?x >= 1 ) }
action count
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { ?g property:fictional_universe_described_in ?y . ?g rdf:type ontology:work . ?y rdf:type ontology:work_of_art } GROUP BY ?g } . FILTER ( ?x >= 1 ) }
[]
work of art work
SYSTEM
1
Q384426
(c(Q386724),P1445,c(Q838948))
action count
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 1
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { ?g property:P1445 ?y . ?g rdf:type ontology:Q386724 . ?y rdf:type ontology:Q838948 } GROUP BY ?g } . FILTER ( ?x >= 1 ) }
Pirates of the Caribbean
1
action count
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { ?g property:fictional_universe_described_in ?y . ?g rdf:type ontology:work . ?y rdf:type ontology:work_of_art } GROUP BY ?g } . FILTER ( ?x >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for fabrication of atleast 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action atleast
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?g ) WHERE { ?n rdf:type ontology:Q2695280 . ?u rdf:type ontology:Q838948 . ?u property:P2079 ?n } GROUP BY ?n } . FILTER ( ?g >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?g ) WHERE { ?n rdf:type ontology:technics . ?u rdf:type ontology:work_of_art . ?u property:fabrication_method ?n } GROUP BY ?n } . FILTER ( ?g >= 1 ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action atleast
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWERS]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?g ) WHERE { ?n rdf:type ontology:Q2695280 . ?u rdf:type ontology:Q838948 . ?u property:P2079 ?n } GROUP BY ?n } . FILTER ( ?g >= 1 ) }
gilding collage
gilding collage
action atleast
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?g ) WHERE { ?n rdf:type ontology:technics . ?u rdf:type ontology:work_of_art . ?u property:fabrication_method ?n } GROUP BY ?n } . FILTER ( ?g >= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q170593
P425
Q12737077
USER
Which occupation does that technics belong to ?
(c(Q12737077),P425,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q170593']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . ?z property:P425 resource:Q170593 }
collage
action filter_type
action find_reverse
entity collage
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'collage']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . ?z property:field_of_this_occupation resource:collage }
[]
occupation
Clarification for simple ques.
Q170593
SYSTEM
Did you mean collage ?
Q1334300 Q170593
(c(Q12737077),P425,Q1334300) (c(Q12737077),P425,Q170593)
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q1334300'] [{'concept': 'Q12737077'}, 'P425', 'Q170593']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . ?z property:P425 resource:Q170593 }
gilding collage
Did you mean collage ?
collage
[{'concept': 'occupation'}, 'field of this occupation', 'gilding'] [{'concept': 'occupation'}, 'field of this occupation', 'collage']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . ?z property:field_of_this_occupation resource:collage }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q12737077),P425,Q170593)
[{'concept': 'Q12737077'}, 'P425', 'Q170593']
[{'concept': 'occupation'}, 'field of this occupation', 'collage']
[]
Q22343478
SYSTEM
collagist
Q22343478
(c(Q12737077),P425,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P425
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q170593']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . ?z property:P425 resource:Q170593 }
collagist
collagist
action filter_type
action find_reverse
entity collage
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'collage']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . ?z property:field_of_this_occupation resource:collage }
[]